[go: up one dir, main page]

CN114301946A - Vehicle-mounted heterogeneous network system taking TSN (traffic service network) as backbone network and automobile - Google Patents

Vehicle-mounted heterogeneous network system taking TSN (traffic service network) as backbone network and automobile Download PDF

Info

Publication number
CN114301946A
CN114301946A CN202111653777.4A CN202111653777A CN114301946A CN 114301946 A CN114301946 A CN 114301946A CN 202111653777 A CN202111653777 A CN 202111653777A CN 114301946 A CN114301946 A CN 114301946A
Authority
CN
China
Prior art keywords
network
domain
tsn
vehicle
chip
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
CN202111653777.4A
Other languages
Chinese (zh)
Other versions
CN114301946B (en
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.)
Hunan University
Original Assignee
Hunan University
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 Hunan University filed Critical Hunan University
Priority to CN202111653777.4A priority Critical patent/CN114301946B/en
Publication of CN114301946A publication Critical patent/CN114301946A/en
Application granted granted Critical
Publication of CN114301946B publication Critical patent/CN114301946B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention discloses a vehicle-mounted heterogeneous network system and a vehicle with a TSN (traffic service network) as a backbone network, which comprise a TSN-based backbone network, a CAN-based first vehicle-mounted network sub-domain, a TSN-based second vehicle-mounted network sub-domain and a MOST-based third network sub-domain; the first vehicle-mounted network sub-domain, the second vehicle-mounted network sub-domain and the third network sub-domain are in communication connection with a backbone network through a backbone network TSN switch, and the backbone network TSN switch is further connected with a central control unit. The method not only maintains the function subdomain division characteristics of the existing integrated network architecture, but also improves the network bandwidth and the computing capacity to meet the development requirements of a new generation of intelligent networked automobiles.

Description

一种以TSN为主干网络的车载异构网络系统及汽车A vehicle-mounted heterogeneous network system with TSN as the backbone network and the vehicle

技术领域technical field

本发明涉及汽车电子控制领域,尤其涉及一种以TSN为主干网络的车载异构网络系统及汽车。The invention relates to the field of automotive electronic control, in particular to a vehicle-mounted heterogeneous network system and a vehicle with TSN as the backbone network.

背景技术Background technique

现有非智能网联车载网络架构采用的是按照功能域划分的集中式网络架构,典型的集中式网络架构是各个功能子域使用CAN和Most等传统车载网络。如图1所示,为按照功能域划分的集中式网络架构图。在该架构中,多个电子控制单元(Electronic ControlUnit,ECU)挂载到同一条CAN总线上,不同的CAN总线之间通过中央控制单元进行连接,这种架构平衡了汽车车载网络中的功耗、成本、等问题,直到现在,该网络架构还在一些车辆中使用。The existing non-intelligent connected vehicle network architecture adopts a centralized network architecture divided according to functional domains. A typical centralized network architecture is that each functional sub-domain uses traditional vehicle networks such as CAN and Most. As shown in Figure 1, it is a centralized network architecture diagram divided according to functional domains. In this architecture, multiple Electronic Control Units (ECUs) are mounted on the same CAN bus, and different CAN buses are connected through the central control unit. This architecture balances the power consumption in the vehicle's on-board network. , cost, and other issues, until now, this network architecture is still used in some vehicles.

随着汽车电子的发展,自动驾驶(高级辅助驾驶)系统、智能座舱系统的出现使得传统车载网络在带宽和线束等方面的瓶颈凸显,与此同时车载以太网不断发展,因此时间敏感网络(Time-Sensitive Networking,TSN)被主张运用于车载网络。With the development of automotive electronics, the emergence of automatic driving (advanced driving assistance) systems and intelligent cockpit systems have highlighted the bottlenecks of traditional in-vehicle networks in terms of bandwidth and wiring harnesses. -Sensitive Networking, TSN) is advocated for in-vehicle networking.

发明内容SUMMARY OF THE INVENTION

本发明的主要目的在于提供一种以TSN为主干网络的车载异构网络系统及汽车,保证网络的可靠性和关键流量的较低时延,同时其相关特性能保证多传感器节点的同步。The main purpose of the present invention is to provide a vehicle-mounted heterogeneous network system and vehicle with TSN as the backbone network, which can ensure the reliability of the network and lower delay of key traffic, and at the same time, its related characteristics can ensure the synchronization of multi-sensor nodes.

为实现上述目的,本发明提供的一种以TSN为主干网络的车载异构网络系统,包括基于TSN的主干网络、基于CAN网络的第一车载网络子域、基于TSN网络的第二车载网络子域以及基于MOST网络的第三网络子域;所述第一车载网络子域、第二车载网络子域以及第三网络子域通过主干网TSN交换机与主干网络进行通信连接,所述主干网TSN交换机还连接中央控制单元;其中,所述第一车载网络子域包括动力总成域、底盘域和车身域中的一个或者多个,所述第二车载网络子域包括智能辅助驾驶系统域,所述第三网络子域包括信息娱乐域。In order to achieve the above object, the present invention provides a vehicle-mounted heterogeneous network system with TSN as the backbone network, including a TSN-based backbone network, a CAN network-based first vehicle-mounted network subdomain, and a TSN-based second vehicle-mounted network subdomain. domain and a third network sub-domain based on the MOST network; the first in-vehicle network sub-domain, the second in-vehicle network sub-domain and the third network sub-domain communicate with the backbone network through a backbone network TSN switch, and the backbone network TSN The switch is also connected to the central control unit; wherein the first in-vehicle network sub-domain includes one or more of a powertrain domain, a chassis domain and a body domain, and the second in-vehicle network sub-domain includes an intelligent assisted driving system domain, The third network subdomain includes the infotainment domain.

进一步地,所述主干网TSN交换机中使用SJA1105TEL交换芯片且板载 TJA1100以太网PHY芯片,所述主干网TSN交换机与所述主干网络内多个使用TJA1101PHY芯片的节点进行连接;所述SJA1105TEL芯片工作在ISO/OSI 网络模型的MAC层,通过以太网链路层MII/RMII接口来输入输出数据。Further, the SJA1105TEL switch chip is used in the backbone network TSN switch and the TJA1100 Ethernet PHY chip is onboard, and the backbone network TSN switch is connected to a plurality of nodes using the TJA1101PHY chip in the backbone network; the SJA1105TEL chip works In the MAC layer of the ISO/OSI network model, data is input and output through the Ethernet link layer MII/RMII interface.

进一步地,所述第二车载网络子域包括域内TSN交换机以及通过所述域内TSN交换机通信连接的多个基于TSN的节点,所述节点包括传感器节点和执行器节点;所述域内TSN交换机通过域控单元与所述主干网TSN交换机通信连接。Further, the second in-vehicle network subdomain includes an intra-domain TSN switch and a plurality of TSN-based nodes communicatively connected through the intra-domain TSN switch, and the nodes include sensor nodes and actuator nodes; the intra-domain TSN switch passes through the domain TSN switch. The control unit is connected in communication with the backbone network TSN switch.

进一步地,所述第二车载网络子域的每个节点还对应设置有与所述 TJA1100芯片连接的TJA1101芯片以及内置于STM32F407ZGT芯片的以太网控制器,所述TJA1100或者TJA1101芯片支持TSN以太网的物理层层芯片,并通过SMI接口来配置。Further, each node of the second in-vehicle network subdomain is also correspondingly provided with a TJA1101 chip connected to the TJA1100 chip and an Ethernet controller built in the STM32F407ZGT chip, and the TJA1100 or TJA1101 chip supports TSN Ethernet. The physical layer chip is configured through the SMI interface.

进一步地,所述第一车载网络子域的CAN-TSN网关通过TJA1101芯片与所述主干网TSN交换机连接;所述CAN-TSN网关包括内置于 STM32F407ZGT芯片的CAN控制器和以太网控制器。Further, the CAN-TSN gateway of the first in-vehicle network subdomain is connected to the backbone network TSN switch through a TJA1101 chip; the CAN-TSN gateway includes a CAN controller and an Ethernet controller built in the STM32F407ZGT chip.

进一步地,所述CAN-TSN网关通过TJA1050收发器芯片连接所述第一车载网络子域的各个CAN网络节点;所述TJA1050收发器芯片是CAN协议控制器和物理总线之间的接口,向总线提供差分传输能力,向CAN控制器提供差分接收能力。Further, the CAN-TSN gateway is connected to each CAN network node of the first in-vehicle network subdomain through a TJA1050 transceiver chip; the TJA1050 transceiver chip is the interface between the CAN protocol controller and the physical bus, and is connected to the bus. Provide differential transmission capability and provide differential reception capability to CAN controller.

进一步地,所述动力总成域使用高速CAN网络。Further, the powertrain domain uses a high-speed CAN network.

本发明还提供一种汽车,包括汽车本体以及如上任一项所述的以TSN为主干网络的车载异构网络系统。The present invention also provides an automobile, including the automobile body and the in-vehicle heterogeneous network system with TSN as the backbone network according to any one of the above.

在本发明的技术方案中,通过按照功能域划分的集中式网络架构,包括基于TSN的主干网络、基于CAN网络的第一车载网络子域、基于TSN网络的第二车载网络子域以及基于MOST网络的第三网络子域;所述第一车载网络子域、第二车载网络子域以及第三网络子域通过主干网TSN交换机与主干网络进行通信连接,所述主干网TSN交换机还连接中央控制单元。既保持了现有集成网络架构的功能子域划分特征,也提升了网络带宽和计算能力以满足新一代智能网联汽车的发展需求,比如可以利用TSN以太网时钟同步、流量调度与整形、通信路径的选择和冗余等特性,为新一代智能网联车载网络分支提供高带宽、低时延、实时性和可靠性保证的网络通道,满足高带宽与低时延需求。新一代智能网联以TSN为主干网络的车载异构网络系统具备灵活性,在传统的车载网络子域如底盘域和车身域内仍然可以使用传统CAN网络,动力总成域可以使用高速CAN网络(CAN-FD),而在信息娱乐域仍可以使用MOST网络,这些子域可以通过网关和主干网络进行连接。In the technical solution of the present invention, a centralized network architecture divided according to functional domains includes a TSN-based backbone network, a CAN network-based first in-vehicle network sub-domain, a TSN-based second in-vehicle network sub-domain, and a MOST-based network sub-domain. The third network subdomain of the network; the first vehicle network subdomain, the second vehicle network subdomain, and the third network subdomain communicate with the backbone network through the backbone network TSN switch, and the backbone network TSN switch is also connected to the central control unit. It not only maintains the functional sub-domain division characteristics of the existing integrated network architecture, but also improves the network bandwidth and computing power to meet the development needs of the new generation of intelligent connected vehicles. For example, it can use TSN Ethernet clock synchronization, traffic scheduling and shaping, communication Features such as path selection and redundancy provide a network channel with high bandwidth, low latency, real-time and reliability guarantees for the new generation of intelligent networked vehicle network branches to meet the requirements of high bandwidth and low latency. The vehicle heterogeneous network system with TSN as the backbone network of the new generation of intelligent network is flexible, and the traditional CAN network can still be used in the traditional vehicle network sub-domains such as the chassis domain and the body domain, and the powertrain domain can use the high-speed CAN network ( CAN-FD), while MOST networks can still be used in the infotainment domain, where these subdomains can be connected via gateways and backbone networks.

附图说明Description of drawings

图1为背景技术中的传统车载网络架构图;Fig. 1 is the traditional in-vehicle network architecture diagram in the background technology;

图2为本发明一实施例中的以TSN为主干网络的车载异构网络系统架构图;FIG. 2 is an architecture diagram of a vehicle-mounted heterogeneous network system with TSN as the backbone network according to an embodiment of the present invention;

图3为本发明一实施例中的以TSN为主干网络的车载异构网络系统的异构 CAN-TSN网络架构;3 is a heterogeneous CAN-TSN network architecture of a vehicle-mounted heterogeneous network system with TSN as the backbone network in an embodiment of the present invention;

图4为本发明一实施例中的TSN终端节点软件层级架构图;FIG. 4 is a software hierarchical architecture diagram of a TSN terminal node in an embodiment of the present invention;

图5为本发明一实施例中的CAN-TSN网关节点软件层级架构图。FIG. 5 is a software hierarchy diagram of a CAN-TSN gateway node in an embodiment of the present invention.

本发明目的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The object realization, functional features and advantages of the present invention will be further described with reference to the accompanying drawings in conjunction with the embodiments.

具体实施方式Detailed ways

应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.

在后续的描述中,使用用于表示元件的诸如“模块”、“部件”或“单元”的后缀仅为了有利于本发明的说明,其本身没有特定的意义。因此,“模块”、“部件”或“单元”可以混合地使用。In the following description, suffixes such as 'module', 'component' or 'unit' used to represent elements are used only to facilitate the description of the present invention and have no specific meaning per se. Thus, "module", "component" or "unit" may be used interchangeably.

由于智能网联汽车需要感知、决策与执行,相关系统需要处理庞大的数据,包括高级驾驶辅助系统、自动驾驶系统等人工智能(AI)系统都会产生超过GB/小时的数据。庞大的数据通信使得汽车网络架构需具备高带宽与强实时的特点,随着以太网在智能网联汽车中的逐步应用,汽车网络体系架构已逐渐由基于中央网关的集成网络架构发展成为以TSN以太网为骨干网络,集成动力总成、底盘、车身、娱乐等域级别网络的层级网络体系架构--基于域控制单元的骨干以太网架构。Because intelligent networked vehicles need perception, decision-making and execution, related systems need to process huge amounts of data, including advanced driver assistance systems, automatic driving systems and other artificial intelligence (AI) systems will generate more than GB/hour of data. The huge data communication makes the automobile network architecture need to have the characteristics of high bandwidth and strong real-time. With the gradual application of Ethernet in intelligent networked vehicles, the automobile network architecture has gradually developed from an integrated network architecture based on a central gateway to a TSN-based network architecture. Ethernet is the backbone network, a hierarchical network architecture that integrates domain-level networks such as powertrain, chassis, body, and entertainment—backbone Ethernet architecture based on domain control units.

本申请中提供的以TSN为主干网络的车载异构网络系统的新一代智能网联车载网络架构如图2所示,它是以TSN为骨干网,并在每个子域设立各自的域控制单元来控制域内的通信。因此,新一代智能网联车载网络架构是基于域控制单元的骨干以太网架构。The next-generation intelligent network-connected vehicle network architecture of the vehicle heterogeneous network system with TSN as the backbone network provided in this application is shown in Figure 2. It uses TSN as the backbone network and sets up its own domain control unit in each sub-domain to control communication within the domain. Therefore, the new generation of intelligent networked vehicle network architecture is based on the backbone Ethernet architecture of the domain control unit.

其中,请一并结合图2,所述以TSN为主干网络的车载异构网络系统100 包括基于TSN的主干网络、基于CAN网络的第一车载网络子域、基于TSN 网络的第二车载网络子域以及基于MOST网络的第三网络子域30;所述第一车载网络子域10、第二车载网络子域20以及第三网络子域30通过主干网TSN 交换机40与主干网络进行通信连接,所述主干网TSN交换机40还连接中央控制单元50;其中,所述第一车载网络子域10包括动力总成域、底盘域和车身域中的一个或者多个,所述第二车载网络子域20包括智能辅助驾驶系统域,所述第三网络子域30包括信息娱乐域。2, the in-vehicle heterogeneous network system 100 with TSN as the backbone network includes a TSN-based backbone network, a CAN network-based first in-vehicle network subdomain, and a TSN-based second in-vehicle network subdomain. domain and the third network subdomain 30 based on the MOST network; the first vehicle network subdomain 10, the second vehicle network subdomain 20 and the third network subdomain 30 are communicated and connected to the backbone network through the backbone network TSN switch 40, The backbone network TSN switch 40 is also connected to the central control unit 50; wherein, the first in-vehicle network sub-domain 10 includes one or more of the powertrain domain, the chassis domain and the body domain, and the second in-vehicle network sub-domain 10 includes one or more of the powertrain domain, chassis domain and body domain. The domain 20 includes the intelligent assisted driving system domain, and the third network sub-domain 30 includes the infotainment domain.

使用新一代智能网联车载网络架构的好处是:既保持了现有集成网络架构的功能子域划分特征,也提升了网络带宽和计算能力以满足新一代智能网联汽车的发展需求,比如可以利用TSN以太网时钟同步、流量调度与整形、通信路径的选择和冗余等特性,为新一代智能网联车载网络分支提供高带宽、低时延、实时性和可靠性保证的网络通道,满足高带宽与低时延需求。The advantages of using the new-generation ICV network architecture are: it not only maintains the functional sub-domain division characteristics of the existing integrated network architecture, but also improves the network bandwidth and computing power to meet the development needs of the new generation of ICVs. Utilizing the characteristics of TSN Ethernet clock synchronization, traffic scheduling and shaping, communication path selection and redundancy, etc., it provides a network channel with high bandwidth, low latency, real-time and reliability guarantee for the new generation of intelligent networked vehicle network branches, meeting the needs of High bandwidth and low latency requirements.

新一代智能网联车载网络架构具备灵活性,在传统的车载网络子域如底盘域和车身域内仍然可以使用传统CAN网络,动力总成域可以使用高速CAN 网络(CAN-FD),而在信息娱乐域仍可以使用MOST网络,这些子域可以通过网关和主干网络进行连接。The new generation of intelligent and connected vehicle network architecture is flexible. The traditional CAN network can still be used in the traditional vehicle network sub-domains such as the chassis domain and the body domain, and the high-speed CAN network (CAN-FD) can be used in the powertrain domain. Entertainment domains can still use the MOST network, and these subdomains can be connected through gateways and backbone networks.

而在高级辅助驾驶系统域内我们也需要使用TSN网络,目前辅助驾驶(自动驾驶)的解决方案可能存在大量的摄像头、激光雷达、毫米波雷达等传感器(小鹏P7装载了多达13个摄像头),这使得该域内会有巨大的流量,同时还需要对多个传感器节点进行同步,此外该域对于通信时延也有很高的要求。In the field of advanced assisted driving systems, we also need to use the TSN network. At present, there may be a large number of cameras, lidars, millimeter-wave radars and other sensors in assisted driving (autonomous driving) solutions (Xpeng P7 is equipped with up to 13 cameras) , which causes huge traffic in this domain, and also needs to synchronize multiple sensor nodes. In addition, this domain also has high requirements for communication delay.

进一步地,所述主干网TSN交换机中使用SJA1105TEL交换芯片且板载 TJA1100以太网PHY芯片,所述主干网TSN交换机与所述主干网络内多个使用TJA1101PHY芯片的节点进行连接;所述SJA1105TEL芯片工作在ISO/OSI 网络模型的MAC层,通过以太网链路层MII/RMII接口来输入输出数据。Further, the SJA1105TEL switch chip is used in the backbone network TSN switch and the TJA1100 Ethernet PHY chip is onboard, and the backbone network TSN switch is connected to a plurality of nodes using the TJA1101PHY chip in the backbone network; the SJA1105TEL chip works In the MAC layer of the ISO/OSI network model, data is input and output through the Ethernet link layer MII/RMII interface.

进一步地,所述第二车载网络子域包括域内TSN交换机21以及通过所述域内TSN交换机21通信连接的多个基于TSN的节点,所述节点包括传感器节点和执行器节点;所述域内TSN交换机通过域控单元22与所述主干网TSN 交换机40通信连接。Further, the second in-vehicle network subdomain includes an intra-domain TSN switch 21 and a plurality of TSN-based nodes communicatively connected through the intra-domain TSN switch 21, and the nodes include sensor nodes and actuator nodes; the intra-domain TSN switch The domain control unit 22 is communicatively connected to the backbone network TSN switch 40 .

进一步地,所述第二车载网络子域的每个节点还对应设置有与所述 TJA1100芯片连接的TJA1101芯片以及内置于STM32F407ZGT芯片的以太网控制器,所述TJA1100或者TJA1101芯片支持TSN以太网的物理层层芯片,并通过SMI接口来配置。Further, each node of the second in-vehicle network subdomain is also correspondingly provided with a TJA1101 chip connected to the TJA1100 chip and an Ethernet controller built in the STM32F407ZGT chip, and the TJA1100 or TJA1101 chip supports TSN Ethernet. The physical layer chip is configured through the SMI interface.

进一步地,所述第一车载网络子域的CAN-TSN网关通过TJA1101芯片与所述主干网TSN交换机连接;所述CAN-TSN网关包括内置于 STM32F407ZGT芯片的CAN控制器和以太网控制器。Further, the CAN-TSN gateway of the first in-vehicle network subdomain is connected to the backbone network TSN switch through a TJA1101 chip; the CAN-TSN gateway includes a CAN controller and an Ethernet controller built in the STM32F407ZGT chip.

进一步地,所述CAN-TSN网关通过TJA1050收发器芯片连接所述第一车载网络子域的各个CAN网络节点;所述TJA1050收发器芯片是CAN协议控制器和物理总线之间的接口,向总线提供差分传输能力,向CAN控制器提供差分接收能力。Further, the CAN-TSN gateway is connected to each CAN network node of the first in-vehicle network subdomain through a TJA1050 transceiver chip; the TJA1050 transceiver chip is the interface between the CAN protocol controller and the physical bus, and is connected to the bus. Provide differential transmission capability and provide differential reception capability to CAN controller.

进一步地,所述动力总成域使用高速CAN网络。Further, the powertrain domain uses a high-speed CAN network.

以下以更为详细的表述来说明本实例中的具体实现方式:The specific implementation in this example is described in more detail below:

目前带CAN控制器的SoC芯片市面上有很多,支持TSN特性的以太网交换芯片很少。本方案采用恩智浦的交换芯片来实现TSN以太网。方案中用到的主要芯片以及芯片作用如下:At present, there are many SoC chips with CAN controllers on the market, and there are few Ethernet switching chips that support the TSN feature. This solution uses NXP's switching chip to implement TSN Ethernet. The main chips used in the solution and their functions are as follows:

恩智浦汽车以太网交换机评估板1个:主要相关芯片为SJA1105TEL、 TJA1100。SJA1105TEL芯片是TSN交换芯片,LPC1788FET208可以通过SPI 接口配置SJA1105TEL芯片,它工作在ISO/OSI网络模型的MAC层,通过以太网链路层MII/RMII接口来输入输出数据,其上支持丰富的、可配置的TSN 特性。TJA1100是支持TSN以太网的物理层层芯片(即PHY)。LPC1788FET208 通过SMI接口来配置TJA1101。该评估版是用于TSN主干以太网组网的核心部件。1 NXP Automotive Ethernet Switch Evaluation Board: The main related chips are SJA1105TEL and TJA1100. The SJA1105TEL chip is a TSN switch chip. The LPC1788FET208 can configure the SJA1105TEL chip through the SPI interface. It works in the MAC layer of the ISO/OSI network model, and inputs and outputs data through the Ethernet link layer MII/RMII interface. Configured TSN features. TJA1100 is a physical layer chip (ie PHY) that supports TSN Ethernet. The LPC1788FET208 configures the TJA1101 through the SMI interface. This evaluation version is the core component for TSN backbone Ethernet networking.

恩智浦汽车以太网PHY评估板4个:主要相关芯片为TJA1101,TJA1101 是支持TSN以太网的物理层层芯片(即PHY)。可以通过SMI接口来配置TJA1101。该评估版主要用于TSN骨干网组网。NXP Automotive Ethernet PHY Evaluation Board 4: The main related chip is TJA1101, TJA1101 is a physical layer chip (ie PHY) that supports TSN Ethernet. The TJA1101 can be configured through the SMI interface. This evaluation version is mainly used for TSN backbone network networking.

TJA1050CAN收发器3个:TJA1050是CAN协议控制器和物理总线之间的接口。该设备向总线提供差分传输能力,向CAN控制器提供差分接收能力。通过连接STM32最小系统板的PA11、PA12、GND、5V等引脚,实现将STM32 最小系统板接入CAN总线。TJA1050CAN transceiver 3: TJA1050 is the interface between CAN protocol controller and physical bus. The device provides differential transmission capability to the bus and differential reception capability to the CAN controller. By connecting the PA11, PA12, GND, 5V and other pins of the STM32 minimum system board, the STM32 minimum system board is connected to the CAN bus.

STM32最小系统板6个:主要相关芯片为STM32F407ZGT。 STM32F407ZGT芯片是基于ARM Cortex-M4核的SoC,外设方面带有本方案需要用到的USART串口控制器、CAN控制器、标准以太网控制器(MAC层)。其中CAN控制器采用TJA1050芯片,同时部分开发板通过RMII接口驱动 TJA1101来实现以太网相关功能。STM32 minimum system board 6: The main related chip is STM32F407ZGT. The STM32F407ZGT chip is an SoC based on the ARM Cortex-M4 core. The peripherals include the USART serial port controller, CAN controller, and standard Ethernet controller (MAC layer) that this solution needs to use. Among them, the CAN controller adopts the TJA1050 chip, and some development boards drive the TJA1101 through the RMII interface to realize the Ethernet-related functions.

请一并结合图3,为本申请中一示例中的所述以TSN为主干网络的车载异构网络系统100的异构CAN-TSN网络架构。其中,其中D、E、F为TSN 以太网网络上的节点,B、C节点为CAN网络上的节点。A节点为CAN-TSN 网关,它既属于TSN以太网网络又属于CAN网络。所有节点都具有接收与发送功能。Please refer to FIG. 3 together, which is the heterogeneous CAN-TSN network architecture of the in-vehicle heterogeneous network system 100 with TSN as the backbone network in an example of this application. Wherein, D, E, and F are nodes on the TSN Ethernet network, and nodes B and C are nodes on the CAN network. Node A is a CAN-TSN gateway, which belongs to both the TSN Ethernet network and the CAN network. All nodes have receive and transmit functions.

请一并结合图4-5,来说明本申请中所述以TSN为主干网络的车载异构网络系统100的软件实现方案。其中,如图4,为一示例中的TSN终端节点软件层级架构(节点D、E、F)。TSN终端节点的软件层级架构图如图5所示,STM32通过RMII接口驱动TJA1101以太网PHY,在STM32开发板上,我们使用了FreeRTOS操作系统便于实现目标功能,使用以太网TCP/IP协议栈Lwip便于内存管理。通过开启一个任务来专门处理1588协议控制帧,使得以太网节点可以实现时钟同步。Please refer to FIGS. 4-5 together to describe the software implementation solution of the in-vehicle heterogeneous network system 100 with TSN as the backbone network described in this application. Wherein, as shown in FIG. 4 , it is a software hierarchical structure of a TSN terminal node (nodes D, E, F) in an example. The software hierarchy diagram of the TSN terminal node is shown in Figure 5. STM32 drives the TJA1101 Ethernet PHY through the RMII interface. On the STM32 development board, we use the FreeRTOS operating system to facilitate the realization of the target function, and use the Ethernet TCP/IP protocol stack Lwip Ease of memory management. By opening a task to specifically process 1588 protocol control frames, the Ethernet nodes can achieve clock synchronization.

其中,如图5,为一示例中的CAN-TSN网关节点软件层级架构(节点A), CAN-TSN网关节点的软件层级架构图如图5所示,STM32通过RMII接口驱动TJA1101以太网PHY,同时网关节点还需要驱动CAN控制器。在STM32 开发板上,我们使用了FreeRTOS操作系统便于实现目标功能,使用以太网 TCP/IP协议栈Lwip便于内存管理。通过开启一个任务来专门处理1588协议控制帧,使得以太网节点可以实现时钟同步。初次之外,还完成了CAN-TSN 协议转换的APP,用于实现CAN总线和TSN网络的双向通信,其上实现了多个网关调度算法,还可以进行协议转换的相关配置。Among them, as shown in Figure 5, it is an example of the CAN-TSN gateway node software hierarchy (node A). The software hierarchy diagram of the CAN-TSN gateway node is shown in Figure 5. The STM32 drives the TJA1101 Ethernet PHY through the RMII interface. At the same time, the gateway node also needs to drive the CAN controller. On the STM32 development board, we use the FreeRTOS operating system to facilitate the realization of the target function, and use the Ethernet TCP/IP protocol stack Lwip to facilitate memory management. By opening a task to specifically process 1588 protocol control frames, the Ethernet nodes can achieve clock synchronization. In addition to the first time, an APP for CAN-TSN protocol conversion has also been completed, which is used to realize bidirectional communication between CAN bus and TSN network. Multiple gateway scheduling algorithms are implemented on it, and related configuration of protocol conversion can also be performed.

一示例中的TSN交换机的配置,具有基础配置、路径规划配置(路由配置、优先级映射配置等)、板载PHY配置、和TSN相关特性配置(如TAS 基准始终配置、CBS配置等)。可以通过实际应用场景,完成流量的规划和选定所需要的特性,完成上述配置并生成配置流,然后通过UART串口发送给板载的控制器,板载控制器LPC1788FET208通过SPI接口实现对SJA1105TEL的最终配置。The configuration of the TSN switch in an example includes basic configuration, path planning configuration (routing configuration, priority mapping configuration, etc.), onboard PHY configuration, and TSN-related feature configuration (such as TAS reference always configuration, CBS configuration, etc.). Through the actual application scenario, complete the traffic planning and select the required characteristics, complete the above configuration and generate the configuration flow, and then send it to the onboard controller through the UART serial port. The onboard controller LPC1788FET208 realizes the SJA1105TEL through the SPI interface. Final configuration.

本发明还提供一种汽车,包括汽车本体(图未示出)以及如上中任一项所述的以TSN为主干网络的车载异构网络系统。The present invention also provides an automobile, including an automobile body (not shown in the figure) and the in-vehicle heterogeneous network system with TSN as the backbone network according to any one of the above.

可以理解的是,由于本实施例中的包含以TSN为主干网络的车载异构网络系统实施例的全部技术方案,同时至少具有以上实施例的全部技术效果,此处不再一一赘述。It can be understood that, since the present embodiment includes all technical solutions of the embodiment of the vehicle heterogeneous network system with TSN as the backbone network, and at least has all the technical effects of the above embodiments, it will not be repeated here.

在本说明书的描述中,参考术语“一实施例”、“另一实施例”、“其他实施例”、或“第一实施例~第X实施例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料、方法步骤或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。In the description of this specification, referring to the description of the terms "an embodiment", "another embodiment", "other embodiment", or "first embodiment to Xth embodiment", etc., means combining the embodiment or The particular features, structures, materials, or characteristics described by way of example are included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, method steps or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.

上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The above-mentioned serial numbers of the embodiments of the present invention are only for description, and do not represent the advantages or disadvantages of the embodiments.

以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only preferred embodiments of the present invention, and are not intended to limit the scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the description and drawings of the present invention, or directly or indirectly applied in other related technical fields , are similarly included in the scope of patent protection of the present invention.

Claims (8)

1. A vehicle-mounted heterogeneous network system taking a TSN as a backbone network is characterized by comprising a TSN-based backbone network, a first vehicle-mounted network sub-domain based on a CAN network, a second vehicle-mounted network sub-domain based on the TSN network and a third network sub-domain based on an MOST network; the first vehicle-mounted network sub-domain, the second vehicle-mounted network sub-domain and the third network sub-domain are in communication connection with a backbone network through a backbone network TSN switch, and the backbone network TSN switch is also connected with a central control unit; wherein the first on-board network sub-domain comprises one or more of a powertrain domain, a chassis domain, and a body domain, the second on-board network sub-domain comprises a smart assisted driving system domain, and the third network sub-domain comprises an infotainment domain.
2. The vehicle-mounted heterogeneous network system according to claim 1, wherein a SJA1105TEL switching chip is used in the backbone TSN switch and a TJA1100 ethernet PHY chip is onboard, and the backbone TSN switch is connected with a plurality of nodes using TJA1101PHY chip in the backbone network; the SJA1105TEL chip works in the MAC layer of the ISO/OSI network model, and inputs and outputs data through an Ethernet link layer MII/RMII interface.
3. The in-vehicle heterogeneous network system of claim 2, wherein the second in-vehicle network sub-domain comprises an intra-domain TSN switch and a plurality of TSN-based nodes communicatively connected through the intra-domain TSN switch, the nodes comprising sensor nodes and actuator nodes; and the intra-domain TSN switch is in communication connection with the backbone network TSN switch through a domain control unit.
4. The vehicle-mounted heterogeneous network system according to claim 3, wherein each node of the second vehicle-mounted network sub-domain is further provided with a TJA1101 chip connected with the TJA1100 chip and an Ethernet controller built in the STM32F407ZGT chip, and the TJA1100 or the TJA1101 chip supports a physical layer chip of a TSN Ethernet and is configured through an SMI interface.
5. The vehicle-mounted heterogeneous network system according to claim 1, wherein the CAN-TSN gateway of the first vehicle-mounted network sub-domain is connected with the backbone network TSN switch through a TJA1101 chip; the CAN-TSN gateway comprises a CAN controller and an Ethernet controller which are arranged in an STM32F407ZGT chip.
6. The on-vehicle heterogeneous network system of claim 5, wherein the CAN-TSN gateway is connected to each CAN network node of the first on-vehicle network sub-domain via a TJA1050 transceiver chip; the TJA1050 transceiver chip is an interface between a CAN protocol controller and a physical bus, and provides differential transmission capability for the bus and differential receiving capability for the CAN controller.
7. The powertrain domain of claim 6, wherein the powertrain domain uses a high-speed CAN network.
8. An automobile, characterized by comprising an automobile body and the vehicular heterogeneous network system with the TSN as the backbone network according to any one of claims 1 to 7.
CN202111653777.4A 2021-12-30 2021-12-30 Vehicle-mounted heterogeneous network system taking TSN as backbone network and vehicle Active CN114301946B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111653777.4A CN114301946B (en) 2021-12-30 2021-12-30 Vehicle-mounted heterogeneous network system taking TSN as backbone network and vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111653777.4A CN114301946B (en) 2021-12-30 2021-12-30 Vehicle-mounted heterogeneous network system taking TSN as backbone network and vehicle

Publications (2)

Publication Number Publication Date
CN114301946A true CN114301946A (en) 2022-04-08
CN114301946B CN114301946B (en) 2023-06-16

Family

ID=80974580

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111653777.4A Active CN114301946B (en) 2021-12-30 2021-12-30 Vehicle-mounted heterogeneous network system taking TSN as backbone network and vehicle

Country Status (1)

Country Link
CN (1) CN114301946B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115712235A (en) * 2022-11-04 2023-02-24 北京汽车股份有限公司 Centralized electronic and electrical framework applied to electric automobile and automobile
CN116252729A (en) * 2023-02-13 2023-06-13 北京汽车股份有限公司 Intelligent driving system, method for realizing intelligent driving system, and automobile
CN118740632A (en) * 2024-09-02 2024-10-01 四川观想科技股份有限公司 An in-vehicle AI information processing architecture based on Ethernet TSN and its processing method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160191572A1 (en) * 2014-12-29 2016-06-30 Harman International Industries, Incorporated Ethernet avb for time-sensitive networks
CN111131463A (en) * 2019-12-26 2020-05-08 北京国科天迅科技有限公司 Vehicle-mounted Ethernet architecture compatible with TSN and introducing FC protocol
CN111262768A (en) * 2020-03-06 2020-06-09 清华大学深圳国际研究生院 Ethernet ring network architecture of ADAS domain
CN211089663U (en) * 2019-11-27 2020-07-24 东软集团股份有限公司 Vehicle-mounted Ethernet data intercepting device
CN112422700A (en) * 2021-01-25 2021-02-26 奥特酷智能科技(南京)有限公司 Vehicle-mounted network redundant communication method and system based on DDS (direct digital synthesizer) protocol and TSN (time delay network) technology
CN112437024A (en) * 2020-11-13 2021-03-02 中国人民解放军陆军装甲兵学院 Unmanned vehicle communication system based on time sensitive network
CN113302885A (en) * 2019-01-21 2021-08-24 华为技术有限公司 Ethernet and controller area network protocol conversion for vehicular networks
CN214311723U (en) * 2021-03-16 2021-09-28 上海赫千电子科技有限公司 Vehicle-mounted intelligent TSN (traffic service network) computing unit and vehicle-mounted TSN network platform hardware architecture

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160191572A1 (en) * 2014-12-29 2016-06-30 Harman International Industries, Incorporated Ethernet avb for time-sensitive networks
CN113302885A (en) * 2019-01-21 2021-08-24 华为技术有限公司 Ethernet and controller area network protocol conversion for vehicular networks
CN211089663U (en) * 2019-11-27 2020-07-24 东软集团股份有限公司 Vehicle-mounted Ethernet data intercepting device
CN111131463A (en) * 2019-12-26 2020-05-08 北京国科天迅科技有限公司 Vehicle-mounted Ethernet architecture compatible with TSN and introducing FC protocol
CN111262768A (en) * 2020-03-06 2020-06-09 清华大学深圳国际研究生院 Ethernet ring network architecture of ADAS domain
CN112437024A (en) * 2020-11-13 2021-03-02 中国人民解放军陆军装甲兵学院 Unmanned vehicle communication system based on time sensitive network
CN112422700A (en) * 2021-01-25 2021-02-26 奥特酷智能科技(南京)有限公司 Vehicle-mounted network redundant communication method and system based on DDS (direct digital synthesizer) protocol and TSN (time delay network) technology
CN214311723U (en) * 2021-03-16 2021-09-28 上海赫千电子科技有限公司 Vehicle-mounted intelligent TSN (traffic service network) computing unit and vehicle-mounted TSN network platform hardware architecture

Non-Patent Citations (7)

* Cited by examiner, † Cited by third party
Title
GUOQI XIE: "Robust Time-Sensitive Networking with Delay Bound Analyses", 《2021 IEEE/ACM INTERNATIONAL CONFERENCE ON COMPUTER AIDED DESIGN (ICCAD)》, 23 December 2021 (2021-12-23), pages 1 *
GUOQI XIE: "Robust Time-Sensitive Networking with Delay Bound Analyses", 《2021 IEEE/ACM INTERNATIONAL CONFERENCE ON COMPUTER AIDED DESIGN (ICCAD)》, pages 1 *
吴武飞等: "智能网联车网络安全研究综述", 《通信学报》 *
吴武飞等: "智能网联车网络安全研究综述", 《通信学报》, no. 06, 30 June 2020 (2020-06-30) *
吴源: "智能汽车车载TSN网络参数优化配置研究", 《《中国优秀硕士学位论文全文数据库(电子期刊)》, pages 35 - 36 *
左卫松: "基于时间敏感网络的芯片架构和应用", 《集成电路应用》 *
左卫松: "基于时间敏感网络的芯片架构和应用", 《集成电路应用》, no. 06, 9 June 2020 (2020-06-09) *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115712235A (en) * 2022-11-04 2023-02-24 北京汽车股份有限公司 Centralized electronic and electrical framework applied to electric automobile and automobile
CN116252729A (en) * 2023-02-13 2023-06-13 北京汽车股份有限公司 Intelligent driving system, method for realizing intelligent driving system, and automobile
CN118740632A (en) * 2024-09-02 2024-10-01 四川观想科技股份有限公司 An in-vehicle AI information processing architecture based on Ethernet TSN and its processing method

Also Published As

Publication number Publication date
CN114301946B (en) 2023-06-16

Similar Documents

Publication Publication Date Title
US10678243B2 (en) Systems and methods for scalable electrical engineering (EE) architecture in vehicular environments
CN114301946B (en) Vehicle-mounted heterogeneous network system taking TSN as backbone network and vehicle
CN101612921B (en) Vehicle bus network system
CN110901568B (en) Novel vehicle-mounted network with redundancy backup function
CN101456390B (en) Communication control system applied to automobile ECU
CN101947938B (en) Hybrid power CAN network communication system
KR20190029994A (en) Failure diagnosis apparatus and method for in-vehicle control unit
CN102325128B (en) Protocol conversion device and method for FlexRay bus and LIN bus
CN107197007B (en) Communication method of electric vehicle segmented mesh communication network architecture based on in-vehicle Ethernet
CN115092068B (en) Whole vehicle control system and vehicle
CN111262768A (en) Ethernet ring network architecture of ADAS domain
WO2021020211A1 (en) Vehicle control system
CN203186257U (en) Whole vehicle CAN bus network system
CN114978796A (en) Method for operating a communication system, communication system and computing system
CN104184815B (en) A kind of topological network
CN103558780B (en) A kind of automobile mounted bus controller
WO2021047261A1 (en) System and method for implementing electronic control function in vehicle, and vehicle
CN201153265Y (en) Vehicle mounted network
CN101417634B (en) Network topological structure for automobile
CN201300795Y (en) Vehicle ECU communication control system and automobile
CN201611888U (en) Vehicle-mounted communication system based on controller local area network/LIN bus
WO2021020221A1 (en) Vehicle control system
CN217282983U (en) Vehicle-mounted network architecture based on gigabit Ethernet and automobile
Manoj et al. Automotive Networks: A Review
CN205563267U (en) On -vehicle network system

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
GR01 Patent grant
GR01 Patent grant