CN206077423U - The TTCAN communication control systems of TTCAN communication controls module and vehicle - Google Patents

The TTCAN communication control systems of TTCAN communication controls module and vehicle Download PDF

Info

Publication number
CN206077423U
CN206077423U CN201621024166.8U CN201621024166U CN206077423U CN 206077423 U CN206077423 U CN 206077423U CN 201621024166 U CN201621024166 U CN 201621024166U CN 206077423 U CN206077423 U CN 206077423U
Authority
CN
China
Prior art keywords
ttcan
cpu
communication
control element
time
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 - After Issue
Application number
CN201621024166.8U
Other languages
Chinese (zh)
Inventor
衷磊
孔宪波
谢玉球
陆春吉
陈京德
燕青云
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.)
Beijing Golden Technology & Trade Co Ltd
Original Assignee
Beijing Golden Technology & Trade Co Ltd
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 Beijing Golden Technology & Trade Co Ltd filed Critical Beijing Golden Technology & Trade Co Ltd
Priority to CN201621024166.8U priority Critical patent/CN206077423U/en
Application granted granted Critical
Publication of CN206077423U publication Critical patent/CN206077423U/en
Withdrawn - After Issue legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

A kind of TTCAN communication controls module, including:CPU, interface module, and time cycle control element;Wherein:CPU distinguishes Connection Time periodic Control element and interface module;Time cycle control element is used to periodically send the external timing signal to CPU, the external timing signal as the sequential trigger trigger event of CPU time periodic scheduling table, and is carried out data exchange by interface module and CAN and system equipment by CPU.

Description

The TTCAN communication control systems of TTCAN communication controls module and vehicle
Technical field
This utility model belongs to technical field of information communication, and in particular to a kind of TTCAN by external hardware Time Triggered Communication control module.
Background technology
Agreement based on event triggered fashion mainly includes the CAN (Controller formulated by German Bosch companies Area Network) bus and its agreement.In network all activities be all by caused by the generation of event, but the product of event Life is random, accidental, and it is unpredictable when to have an event triggering, and this just likely results in the event in network Between clash.CAN is exactly a communication bus based on event-triggered protocols.
With vehicle security performance require more and more higher, with time triggering mode as core, it is proposed that new bus and Agreement, wherein three kinds of representative buses and agreement are respectively:Time-Triggered CAN (TTCAN), TTP and FlexRay.Agreement based on time triggering mode is produced based on Time Triggered structure.All nodes are according to time synchronized Change, time labelling has been stamped in each activity on network.Task in system is according to the timetable formulated before work Corresponding bus time has been distributed, therefore, in the bus network communicated using time triggering mode, node is all according in advance The static scheduling time table (being also called the matrix cycle) of formulation completes task, and static schedule is downloaded to the controller of each node In, the branch system of communication system need to only be aware of when to transmit a piece of news and when a piece of news in bus is to oneself It is useful.One of major advantage of Time Triggered structure is flexible combination ability, and this causes new to be partially integrated into one The test to new part can be reduced when in system, this is key factor when designing the system harsh to security requirement. Relatively conventional CAN protocol, TTCAN have real-time height, good reliability, and data volume is big, it is to avoid bus congestion, greatly improves net The features such as network utilization rate.
At present, the timing mode that TTCAN bus communications are generally adopted is the node after host node timed message is received When CPU arranges a Special timer clock generation Interruption pair, data communication task is completed by default matrix periodic chart. But the communication modes too rely on host node and easily produce synchronization failure, and the clock frequency of each system equipment CPU is present Error, it is impossible to enough accomplish global all unified, time drift causes synchronous error excessive, while increasing at each node cpu of network The burden of reason data interruption.
Utility model content
For above-mentioned problems of the prior art, the technical problems to be solved in the utility model is:How to solve TTCAN buses too rely on host node and easily produce synchronization failure, and time drift causes synchronous error excessive.
Synchronization failure is produced easily in order to solve TTCAN buses and too rely on host node, time drift causes synchronous error Excessive, the utility model proposes a kind of time cycle control element, which includes:
Including:Enumerator, and the state machine containing programmable n status information;Wherein, state machine is with enumerator Count every time and change status information coding successively, and the status information is sequentially output by outfan (SB0) and encode to CPU.
Further, the state machine also includes the phase place machine containing 4 phase information codings, and passes through another outfan (SB1) it is sequentially output the phase information to encode to CPU.
Further, the status information coding constitutes the external timing signal with the programmable n cycle.
Further, the status information coding and phase information are encoded and constitute the external timing signal with n*4 cycle
This utility model also proposed a kind of TTCAN communication controls module, it is characterised in that include:CPU, interface module, And according to above-mentioned time cycle control element;Wherein:CPU distinguishes Connection Time periodic Control element and interface module;When Between periodic Control element be used to periodically send the external timing signal to CPU, CPU using the external timing signal as The sequential trigger trigger event of CPU time periodic scheduling table, and carried out with CAN and system equipment by interface module Data exchange.
This utility model also proposed a kind of TTCAN communication control systems of vehicle, including CAN network, and several systems set Several described TTCAN communication control modules standby and one-to-one with the system equipment;Wherein, it is several described TTCAN communication controls module all adopts identical time cycle control element, and provides the external timing signal of same period;Institute State system equipment to be connected with CAN network by TTCAN communication control modules, constitute TTCAN communication networks.
It is complete to TTCAN network controlling networks that the module sends periodicity cadence signal using external time periodic Control element Office's time cycle and local time cycle, substantially eliminate the time drift of TTCAN network nodes generation, due to time synchronized it is complete Controlled by external hardware element, therefore, the impact of the network time synchronization not running status of master node.
Description of the drawings
Fig. 1 is the module connection figure of TTCAN communication controls module of the present utility model;
Fig. 2 is the time division state figure of TTCAN communication controls module of the present utility model;
Fig. 3 is TTCAN communication controls module network topological diagram of the present utility model.
Specific embodiment
Referring to Fig. 1, it is the module connection figure of TTCAN communication controls module of the present utility model.Which includes:CPU, interface mould Block, and time cycle control element.CPU distinguishes Connection Time periodic Control element and interface module;CPU passes through interface module Data exchange is carried out with CAN and system equipment.
The configuration of interface module is as follows:
1) module CAN port:Two outside isolated form CAN driver groups are connected by the built-in two-way CAN controller of module CPU Into broader data bandwidth can be provided when two-way CAN is used alone, it is also possible to be used in combination and backuped each other.
2) SPI communication ports:The built-in two-way SPI communication ports of module CPU, can be logical with Upper system CPU by SPI communication ports News exchange message, is then sent through CAN mouths.Two-way SPI can be used alone, it would however also be possible to employ the mode of backuping each other is used in combination.
3) RS232 communication ports:The built-in two-way RS232 communication ports of module CPU (LVTTL level), by RS232 communication ports CAN mouths can be then sent through with Upper system CPU communications exchange message.Same two-way RS232 can be used alone, it is also possible to Joint SPI mouth is used.
4) I/O input-output lines:Can be used to be used as to shake hands with Upper system CPU.
The TTCAN communication controls module using specific external time periodic Control element send periodicity cadence signal to CPU, so as to controlling network length of a game cycle and local time cycle.
Used as a preferred embodiment, the periodic timing trigger of the external time periodic Control element is by 16 Period of state output lead and phase output line composition in 2 cycles, maximum can constitute 16*4=64 local time's cycle.
The external time periodic Control element mainly by enumerator and state machine into.
Used as schematic embodiment, this utility model employs module down counter:Down counter is by 24 d type flip flops Composition, when module resets, down counter is preset frequency dividing constant n.During work, a pulse is often input into, down counter subtracts one, The output state trigger when computer is reduced to 0, often triggers once, and module status machine enters next state.
State machine adopts 16 finite state machines, 16 bar state output leads:
State table:
Above-mentioned 16 states are exported by SB0 pins.
As the presently preferred embodiments, the external time periodic Control element also includes two phase output lines, constitutes 4 phase places Information.
16 states above, each period of state are divided into the parts such as 4 phase places:
Above-mentioned 4 states are exported by pin SB1.Thus, constitute 16*4=64 local time to export in the cycle to CPU (ginsengs See Fig. 2).
Output lead TINT:It is a few microsecond width positive pulses that a width is sent during each State Transferring, and the signal can conduct The markers of test global synchronization, it is also possible to as the interrupt request singal or latch signal of giving CPU.
The TTCAN communication controls module sends periodicity cadence signal using external time periodic Control element and controls to CPU Network global time cycle processed and local time cycle.Periodic timing trigger has 16 bar state cycle output leads and 2 Phase output line composition in cycle, maximum can constitute 16*4=64 local time's cycle, when all adopting on a network During the TTCAN communication control modules, because each module has a clock of unified parameters, each module Uniting it is complete by hardware Control identical length of a game's cycle and the local time cycle, therefore intermodule produce time drift be negligible.Separately Outward, the length of a game of bus network and subcycle time controlled by external hardware element completely, therefore, network time synchronization is not received The impact of the running status of host node.
Presently describe the course of work of external time periodic Control element:
Module internal reset after system electrification, input line RST# of time cycle control element, synchronous input line ST#, this Two lines are connected respectively to electro-detection in module and reset, synchronous input end.When it is low level that this two pins wherein have one State machine enters state 0 and initializes Clock dividers.After reset or synchronization, state machine output lead output 0,000 0000 0000 0001 simultaneously phase output line be output as 00, output lead TINT is output as 0.When RST#, ST# line is height simultaneously, module is opened Beginning work.State- output line, phase line, the periodic output pulse signal of inside modules TINT line.
After CPU receives above-mentioned local time's periodic signal, signal is identified, and by the sequential in round-robin scheduling table Sequencing Frame was transmitted in order to local time's cycle, that is, realize TTCAN network schedulings.
In the case of multimode networking work, reset circuit is typically triggered by house dog in circuit, each chip TINT lines output pulsion phase illustrates the situation of each RST# input time delay to time difference, and ST# lines are input into a negative arteries and veins After punching, the TINT lines output pulsion phase of each inside modules is just disappeared substantially to time difference, reaches multimode networking synchronization Purpose.
Referring to Fig. 3, be the TTCAN communication control systems of vehicle, including CAN network, several system equipments and with it is described The one-to-one several TTCAN communication controls modules of system equipment;Wherein, all of TTCAN communication controls module all adopts phase Same time cycle control element, and the external timing signal of same period is provided;The system equipment is logical by TTCAN controls News module is connected with CAN network, constitutes TTCAN communication networks.
In normal operation, TTCAN communication controls module can be in the specific time period, by several communication control modules One of them automatically send reset signal to CAN network, so as to initialize week time of all communication control modules Phase control element, to unify all transmission to the external timing signal of CPU.Can automatically be divided by cycle period dispatch list Above-mentioned reset signal is sent in the specific time period with certain module.
Meanwhile, CPU can monitor the specific ID message frame transmitted on identification network according to specific time sequence trigger, work as discovery The message frame time beat is abnormal, when device power resets, the network operation when put into an equipment again at any time, then network needs Resynchronisation, at this moment only needs to just make network reach global synchronization to one negative pulse of ST# lines of time cycle control element. Whether effectively the negative pulse can be by different distributed modules (by software) according to the working condition () of module, automatically Applied by certain module, or (hardware) directly applies from bus.
The watchdog reset when certain equipment runs, CPU are restarted, and are at this moment restarted due to CPU and can't cause the total of outside Line Time Triggered synchronous element resets, therefore the outside sequential triggering cycle can be re-recognized after CPU reworks.
The system is modular construction, easily realizes starting design from top when network is constituted, and module is only responsible for Communication, it is unrelated with the use function of part of appliance.
When on the network of TTCAN communication control systems all using the TTCAN communication control modules when because each module There are the clock of unified parameters, each module Uniting and complete identical length of a game's cycle and local time's week by hardware controls Phase, thus intermodule produce time drift be negligible.The markers output lead of module as state latch signal or in Disconnected trigger gives communication CPU, represents the beginning in local time's cycle, it is also possible in module as a test markers Signal, time delay between test module, the time delay reflect the performance of module global synchronization in network communication.With hard Part method time delay is less than 2 clock pulses, and send the module time of Signalling method generation with communication CPU (software) from bus Delay should be less than a CAN positions time.
The TTCAN networks of structure solve bus and too rely on host node and easily produce synchronization failure, and time drift is caused The problems such as synchronous error is excessive.
Preferred embodiment of the present utility model is the foregoing is only, protection model of the present utility model is not intended to limit Enclose.All any modification, equivalent substitution and improvements made within spirit of the present utility model and principle etc., are all contained in this reality With in new protection domain.

Claims (11)

1. a kind of time cycle control element, it is characterised in that include:Enumerator, and containing programmable n status information State machine;Wherein, state machine is encoded as each counting of enumerator changes status information successively, and passes through outfan (SB0) It is sequentially output the status information to encode to CPU.
2. time cycle control element according to claim 1, it is characterised in that the state machine is also included containing 4 The phase place machine of phase information coding, and the phase information is sequentially output by another outfan (SB1) encodes to CPU.
3. time cycle control element according to claim 1, it is characterised in that the status information coding composition has The external timing signal in programmable n cycle.
4. time cycle control element according to claim 2, it is characterised in that the status information coding and phase place are believed Breath coding constitutes the external timing signal with n*4 cycle.
5. a kind of TTCAN communication controls module, it is characterised in that include:CPU, interface module, and according to Claims 1-4 Time cycle control element described in middle any one;Wherein:CPU distinguishes Connection Time periodic Control element and interface module; Time cycle control element is used to periodically send the external timing signal to CPU, CPU using the external timing signal as The sequential trigger trigger event of CPU time periodic scheduling table, and carried out with CAN and system equipment by interface module Data exchange.
6. TTCAN communication controls module according to claim 5, it is characterised in that the interface module includes at least Individual CAN port, the I/O ports of more than 2, and at least one SPI communication ports and/or at least one RS232 communication ports.
7. a kind of TTCAN communication control systems of vehicle, including CAN network, several system equipments and with the system equipment One-to-one several TTCAN communication control modules according to claim 5 or 6;Wherein, several described TTCAN controls Communication module processed all adopts identical time cycle control element, and provides the external timing signal of same period;The system Equipment is connected with CAN network by TTCAN communication control modules, constitutes TTCAN communication networks.
8. TTCAN communication control systems of vehicle according to claim 7, it is characterised in that the TTCAN communication controls Module carries out data exchange with system equipment by least one SPI communication ports and/or at least one RS232 communication ports.
9. TTCAN communication control systems of vehicle according to claim 7, it is characterised in that all TTCAN controls The time cycle control element of communication module receives unified reset signal in the specific time period, all so as to initialize The time cycle control element of TTCAN communication control modules, to unify all transmission to the external timing signal of CPU.
10. TTCAN communication control systems of vehicle according to claim 9, it is characterised in that the reset signal is by counting One of them in individual TTCAN communication controls module is automatically sent in the specific time period.
The TTCAN communication control systems of 11. vehicles according to claim 7, it is characterised in that set in several systems In the case of one of appearance initialization or addition new system equipment in standby, the TTCAN corresponding with the system equipment Communication control module sends reset signal to CAN network, so as to initialize week time of all TTCAN communication controls modules Phase control element, to unify all transmission to the external timing signal of CPU.
CN201621024166.8U 2016-08-31 2016-08-31 The TTCAN communication control systems of TTCAN communication controls module and vehicle Withdrawn - After Issue CN206077423U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201621024166.8U CN206077423U (en) 2016-08-31 2016-08-31 The TTCAN communication control systems of TTCAN communication controls module and vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201621024166.8U CN206077423U (en) 2016-08-31 2016-08-31 The TTCAN communication control systems of TTCAN communication controls module and vehicle

Publications (1)

Publication Number Publication Date
CN206077423U true CN206077423U (en) 2017-04-05

Family

ID=58435937

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201621024166.8U Withdrawn - After Issue CN206077423U (en) 2016-08-31 2016-08-31 The TTCAN communication control systems of TTCAN communication controls module and vehicle

Country Status (1)

Country Link
CN (1) CN206077423U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107786402A (en) * 2016-08-31 2018-03-09 北京金雅丰科贸有限公司 The TTCAN communication control systems of TTCAN communication controls module and vehicle

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107786402A (en) * 2016-08-31 2018-03-09 北京金雅丰科贸有限公司 The TTCAN communication control systems of TTCAN communication controls module and vehicle
CN107786402B (en) * 2016-08-31 2024-01-19 北京昱连科技有限公司 TTCAN control communication module and TTCAN control communication system of vehicle

Similar Documents

Publication Publication Date Title
CN104866455B (en) How main referee method in dynamic reconfigurable high-speed serial bus
CN105354159A (en) RS485 distributed bus system based control method
US9037688B2 (en) System having trace resources
CN103155492A (en) Communication system and communication apparatus
CN101610145A (en) A kind of method and system of realizing the Synchronization Control of distributed system
CN112398714B (en) Backboard bus master station, system and data communication method thereof
CN112422219A (en) Ethernet interface and related systems, methods and devices
CN102811152B (en) Method for realizing real-time transaction and data exchange of multiple main bus network communication
CN104035901A (en) TTCAN bus timing and data transmitting method
KR20130100780A (en) Apparatus and method for providing global time information in event-controlled bus communication
CN105681131B (en) Main preparation system and its parallel output method
CN107505883A (en) A kind of highly reliable dual redundant integrated control module based on microcontroller
CN105281433A (en) Distribution terminal communication system
CN104009976A (en) Real-time communication method and equipment used among multiple main station systems
CN206077423U (en) The TTCAN communication control systems of TTCAN communication controls module and vehicle
CN106201971A (en) A kind of railway signal safety computer platform based on bus synchronous verification
CN201163781Y (en) Industrial Ethernet switchboard based on DRP protocol
CN109474637A (en) It is a kind of that type bus protocol is fought for based on fixed time slicing
CN103944738B (en) A kind of interchanger for supporting Function Extension
CN112073981A (en) Network system integrating uTTE and uAFDX communication modes
CN107786402A (en) The TTCAN communication control systems of TTCAN communication controls module and vehicle
CN104541479A (en) Communication controller
JP6271113B1 (en) Time synchronization slave device and communication control method
CN104135411A (en) Device and method of implementing multi-node communication based on RS232 interface
CN109756361B (en) Real-time Ethernet design method based on general platform

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Room 103, 1 / F, building 11, No.7 yard 1, Liangshuihe 1st Street, Daxing District, Beijing, 100176

Patentee after: Beijing Yulian Technology Co.,Ltd.

Address before: 100107 Beijing city Chaoyang District Road No. 9 Fu Dragon King International A block 1802

Patentee before: BEIJING JINYAFENG SCIENTIFIC TRADE Co.,Ltd.

AV01 Patent right actively abandoned
AV01 Patent right actively abandoned
AV01 Patent right actively abandoned

Granted publication date: 20170405

Effective date of abandoning: 20240119

AV01 Patent right actively abandoned

Granted publication date: 20170405

Effective date of abandoning: 20240119