Redundancy transmission test system, method and equipment based on ring network Ethernet
By constructing a redundant transmission test system for ring Ethernet, and using testers and switching components to form different transmission paths, the problem of the difficulty in achieving system-level testing of ring Ethernet in the existing technology is solved, and system-level redundant transmission testing and circuit breaker fault simulation are realized.
Patent Information
- Application Number
- CN202410592786.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-13
- Publication Date
- 2025-11-14
AI Technical Summary
Existing Ethernet testing solutions struggle to achieve system-level testing of redundant ring network Ethernet transmissions, especially since testing equipment is difficult to integrate into Ethernet communication systems, making system-level ring network Ethernet testing challenging.
By constructing a redundant transmission test system based on ring network Ethernet, and using test instruments, controllers under test, Ethernet main lines and branch lines, and switching components, preset paths for different transmission paths are formed to achieve redundant transmission test at the ring network Ethernet system level.
It realizes the system-level redundant transmission test of ring network Ethernet, meets the system-level test requirements of ring network Ethernet redundant transmission, and can simulate circuit failure scenarios to meet different test requirements.
Smart Images

Figure CN120956557A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of vehicle communication technology, and in particular to a redundant transmission test system, method and test equipment based on ring network Ethernet. Background Technology
[0002] With the gradual implementation of advanced intelligent driving functions in connected vehicles, higher requirements are being placed on the functional safety level of vehicle communication, such as redundant transmission. To meet the requirements of redundant transmission, the vehicle's backbone Ethernet is typically designed as a ring network architecture, enabling rapid switching to a backup communication link if one communication link is interrupted, thus satisfying the functional safety requirements of advanced intelligent driving.
[0003] However, most existing Ethernet testing solutions focus on single-component testing. Since single-component testing solutions typically use Ethernet point-to-point transmission mechanisms, it is difficult to integrate test equipment into the Ethernet communication system. This makes it difficult to achieve system-level Ethernet testing and meet the system-level testing requirements for redundant transmission of ring network Ethernet. Summary of the Invention
[0004] To solve the above-mentioned technical problems, or at least partially solve them, this disclosure provides a redundant transmission test system, method, and test equipment based on ring network Ethernet.
[0005] In a first aspect, this disclosure provides a redundant transmission test system based on ring network Ethernet, comprising: a tester, a controller under test, an Ethernet main line, a first Ethernet branch line, and a second Ethernet branch line; the Ethernet main line is provided with a first switching component; the first Ethernet branch line is provided with a second switching component; and the second Ethernet branch line is provided with a third switching component.
[0006] Two connected controllers under test are sequentially connected via the Ethernet mainline to form a loop; for two adjacent controllers under test, one end of the first Ethernet branch is connected between one controller under test and the first switch assembly, the other end of the first Ethernet branch is connected to one end of the second Ethernet branch via the tester, and the other end of the second Ethernet branch is connected between the other controller under test and the first switch assembly.
[0007] The tester is used to control the switching states of the first switch assembly, the second switch assembly, and the third switch assembly, so that a preset transmission path with different transmission paths is formed between the multiple controllers under test; the controller under test is used to transmit message data based on the preset transmission path.
[0008] Optionally, the Ethernet mainline, the first Ethernet branch, and the second Ethernet branch all include dual Ethernet cable harnesses; the tester includes multiple relay ports;
[0009] The Ethernet harnesses of the first Ethernet branch and the second Ethernet branch are respectively connected to the relay ports one by one; the plurality of relay ports are connected one by one inside the tester.
[0010] Optionally, the redundant transmission test system also includes a power line, a ground line, and a wake-up line;
[0011] The power line, the ground line, and the wake-up line are connected between any of the controllers under test and the test instrument.
[0012] In the preset redundant transmission test mode, the tester is also used to supply power, ground and maintain wake-up to the controller under test based on the power line, the ground line and the wake-up line respectively;
[0013] The preset redundant transmission test mode includes at least one of the following: normal operation mode, complete bypass mode, and circuit breaker test mode.
[0014] Optionally, the first switch assembly, the second switch assembly, and the third switch assembly each include a preset number of relays; each of the Ethernet cables is provided with at least one of the relays.
[0015] Secondly, this disclosure also provides a redundancy transmission test method based on ring network Ethernet, executed based on any of the ring network Ethernet redundancy transmission test systems provided in the first aspect; the redundancy transmission test method includes:
[0016] Controlling the switching states of the first switch assembly, the second switch assembly, and the third switch assembly enables the formation of preset transmission paths with different transmission paths among the multiple controllers under test.
[0017] Monitor the time intervals of message data transmission through different preset transmission paths.
[0018] Optionally, controlling the switching states of the first switching component, the second switching component, and the third switching component to form preset transmission paths with different transmission paths among the multiple controllers under test includes:
[0019] Based on the normal operating mode, each of the first switch components is controlled to close, and each of the second switch components and each of the third switch components is controlled to open, forming a first transmission path for the adjacent controllers under test.
[0020] or,
[0021] Based on the complete bypass mode, each of the first switch components is controlled to open, and each of the second switch components and each of the third switch components is controlled to close, forming a second transmission path for the adjacent controller under test and the test instrument.
[0022] Optionally, after forming the second transmission path for adjacent controllers under test and test instruments, the process includes:
[0023] Based on the circuit breaker test mode, the second switch component is controlled to disconnect, forming a third transmission path for each of the controllers under test and the test instrument;
[0024] or,
[0025] Based on the circuit breaker test mode, a third switch component is controlled to disconnect, forming a third transmission path for each of the controllers under test and the test instrument.
[0026] Optionally, after forming the second transmission path for adjacent controllers under test and test instruments, the process includes:
[0027] Based on the circuit breaker test mode, the first switch component in a group of connected Ethernet main line, first Ethernet branch line and second Ethernet branch line is closed, and the second switch component is disconnected from the third switch component to form a first transmission path.
[0028] Based on the first transmission path formed, the first switch component controlling the first transmission path is disconnected, forming the third transmission path for each of the controllers under test and the test instrument.
[0029] Optionally, the time interval for monitoring the transmission of message data through different preset transmission paths includes:
[0030] Based on the complete bypass mode, the first start time of one of the controllers under test sending message data to the adjacent controllers under test is monitored, and based on the circuit breaker test mode, the second start time of one of the controllers under test sending message data to the adjacent controllers under test is monitored.
[0031] Based on the first start time and the second start time, the interval between the first start time and the second start time is obtained.
[0032] Thirdly, this disclosure also provides a test apparatus, including a memory and a processor;
[0033] The memory stores executable programs or instructions;
[0034] The processor executes the program or instructions to implement the steps of any of the redundant transmission test methods based on ring network Ethernet provided in the second aspect.
[0035] The technical solution provided in this disclosure has the following advantages compared with the prior art:
[0036] The redundant transmission test system based on ring network Ethernet provided in this disclosure includes: a tester, a controller under test (DUT), an Ethernet main line, a first Ethernet branch line, and a second Ethernet branch line; the Ethernet main line is equipped with a first switching component; the first Ethernet branch line is equipped with a second switching component; the second Ethernet branch line is equipped with a third switching component; two adjacent DUTs are connected sequentially through the Ethernet main line to form a ring loop; for two adjacent DUTs, one end of the first Ethernet branch line is connected between one DUT and the first switching component, the other end of the first Ethernet branch line is connected to one end of the second Ethernet branch line through the tester, and the other end of the second Ethernet branch line is connected between the other DUT and the first switching component. Thus, by using the Ethernet main line to connect two adjacent DUTs, and using the first and second Ethernet branch lines to connect the two adjacent DUTs to the tester, a ring network Ethernet system-level redundant transmission test system is constructed, which can further realize system-level redundant transmission testing of ring network Ethernet, meeting the system-level testing requirements for ring network Ethernet redundant transmission. Attached Figure Description
[0037] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0038] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0039] Figure 1 A schematic diagram of the structure of a redundant transmission test system based on ring network Ethernet provided in an embodiment of this disclosure;
[0040] Figure 2 A schematic diagram of another redundant transmission test system based on ring network Ethernet provided in this embodiment of the present disclosure;
[0041] Figure 3 A schematic diagram of another redundant transmission test system based on ring network Ethernet provided in this embodiment of the present disclosure;
[0042] Figure 4A flowchart illustrating a redundancy transmission testing method based on a ring network Ethernet network, provided in an embodiment of this disclosure;
[0043] Figure 5 A schematic diagram of another redundant transmission test system based on ring network Ethernet provided in this embodiment of the present disclosure;
[0044] Figure 6 A schematic diagram of another redundant transmission test system based on ring network Ethernet provided in this embodiment of the present disclosure;
[0045] Figure 7 A schematic diagram of another redundant transmission test system based on ring network Ethernet provided in this embodiment of the present disclosure;
[0046] Figure 8 A schematic diagram of another redundant transmission test system based on ring network Ethernet provided in this embodiment of the present disclosure;
[0047] Figure 9 A schematic diagram of another redundant transmission test system based on ring network Ethernet provided in this embodiment of the present disclosure;
[0048] Figure 10 A schematic diagram of another redundant transmission test system based on ring network Ethernet provided in this embodiment of the present disclosure;
[0049] Figure 11 This is a schematic diagram of the structure of a testing device provided in an embodiment of this disclosure.
[0050] Among them, 110 is the tester; 120 is the controller under test; 130 is the Ethernet main line; 140 is the first Ethernet branch line; 150 is the second Ethernet branch line; 160 is the first switch assembly; 170 is the second switch assembly; 180 is the third switch assembly; 01 is the Ethernet harness; 02 is the relay port; 03 is the power line; 04 is the ground line; 05 is the wake-up line; 06 is the relay; 07 is the power supply; 08 is the memory; and 09 is the processor. Detailed Implementation
[0051] To better understand the above-mentioned objectives, features, and advantages of this disclosure, the solutions disclosed herein will be further described below. It should be noted that, unless otherwise specified, the embodiments and features described herein can be combined with each other.
[0052] Numerous specific details are set forth in the following description in order to provide a full understanding of this disclosure, but this disclosure may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only some, and not all, of the embodiments of this disclosure.
[0053] The following description, in conjunction with the accompanying drawings, provides an exemplary description of the redundant transmission test system, method, and test equipment based on ring network Ethernet provided in this disclosure.
[0054] Figure 1 This is a schematic diagram of a redundant transmission test system based on a ring network Ethernet network, provided as an embodiment of this disclosure. (Refer to...) Figure 1 The redundant transmission test system based on ring network Ethernet includes: a tester 110, a controller under test (DUT) 120, an Ethernet main line 130, a first Ethernet branch line 140, and a second Ethernet branch line 150; the Ethernet main line 130 is equipped with a first switch assembly 160; the first Ethernet branch line 140 is equipped with a second switch assembly 170; and the second Ethernet branch line 150 is equipped with a third switch assembly 180; two adjacent DUTs 120 are sequentially connected through the Ethernet main line 130 to form a ring loop; for two adjacent DUTs, one end of the first Ethernet branch line 140 is connected to a DUT... Between the test controller 120 and the first switch assembly 160, the other end of the first Ethernet branch 140 is connected to one end of the second Ethernet branch 150 through the tester 110. The other end of the second Ethernet branch 150 is connected between another test controller 120 and the first switch assembly 160. The tester 110 is used to control the switching states of the first switch assembly 160, the second switch assembly 170 and the third switch assembly 180, so that a preset transmission path with different transmission paths is formed among the multiple test controllers 120. The test controller 120 is used to transmit message data based on the preset transmission path.
[0055] Among them, the controller under test 120, also known as an electronic control unit (ECU), consists of multiple units. For example, Figure 1 The number of controllers under test 120 shown is 3. In other embodiments, the number of controllers under test 120 may be 4, 5 or other numbers, which can be set according to the test requirements of the redundant transmission test system provided in the embodiments of this disclosure, and is not limited here.
[0056] In this configuration, two adjacent controllers under test (DUTs) 120 are directly connected via an Ethernet mainline 130. The tester 110 is connected to the Ethernet mainline 130 via a first Ethernet branch line 140 and a second Ethernet branch line 150, respectively. Specifically, the Ethernet mainline 130, the first Ethernet branch line 140, and the second Ethernet branch line 150 are equipped with a first switch assembly 160, a second switch assembly 170, and a third switch assembly 180 at corresponding positions. Thus, by controlling the switching states of the first switch assembly 160, the second switch assembly 170, and the third switch assembly 180, the tester 110 establishes a preset on / off state at the corresponding positions of the Ethernet mainline 130, the first Ethernet branch line 140, and the second Ethernet branch line 150, thereby forming a preset transmission path required for the DUTs 120 to transmit message data, thereby achieving redundant transmission testing at the ring network Ethernet system level.
[0057] Specifically, the tester 110 controls the switching states of the first switch assembly 160, the second switch assembly 170, and the third switch assembly 180, which not only enables normal communication of the redundant transmission test system, but also simulates the scenario of a circuit breaker failure in the redundant transmission test system. This is beneficial for meeting different test requirements of redundant transmission in ring network Ethernet. The specific content of the preset redundant transmission test mode will be explained by example later and will not be repeated here.
[0058] For example, Figure 2 This is a schematic diagram of another redundant transmission test system based on a ring network Ethernet provided in an embodiment of this disclosure. Figure 1 Based on, refer to Figure 2 The diagram shows four controllers under test 120 connected to the tester 110, indicating that... Figure 2 Redundant transmission test system and Figure 1 The connection relationships of the redundant transmission test system shown are similar, see also [link to relevant documentation]. Figure 1 The structure will be understood from the above, and will not be elaborated further here.
[0059] The redundant transmission test system based on ring network Ethernet provided in this embodiment includes: a tester 110, a controller under test 120, an Ethernet main line 130, a first Ethernet branch line 140, and a second Ethernet branch line 150; the Ethernet main line 130 is provided with a first switch assembly 160; the first Ethernet branch line 140 is provided with a second switch assembly 170; the second Ethernet branch line 150 is provided with a third switch assembly 180; two adjacent controllers under test 120 are sequentially connected through the Ethernet main line 130 to form a ring loop; for two adjacent controllers under test, one end of the first Ethernet branch line 140 is connected to... A first Ethernet branch line 140 is connected between a controller under test (DUT) 120 and a first switching assembly 160. The other end of the first Ethernet branch line 140 is connected to one end of a second Ethernet branch line 150 via a tester 110. The other end of the second Ethernet branch line 150 is connected between another DUT 120 and the first switching assembly 160. The tester 110 controls the switching states of the first switching assembly 160, the second switching assembly 170, and the third switching assembly 180, enabling the multiple DUTs 120 to form preset transmission paths with different transmission routes. The DUT 120 transmits message data based on these preset transmission paths. Thus, by connecting two adjacent DUTs 120 using an Ethernet mainline and connecting two adjacent DUTs 120 to the tester 110 using the first and second Ethernet branch lines, a ring network Ethernet system-level redundant transmission test system is constructed. This system can further realize ring network Ethernet system-level redundant transmission testing, meeting the system-level testing requirements for ring network Ethernet redundant transmission.
[0060] In some embodiments, Figure 3 This is a schematic diagram of another redundant transmission test system based on a ring network Ethernet provided in an embodiment of this disclosure. Figure 1 Based on, refer to Figure 3 The Ethernet main line 130, the first Ethernet branch line 140, and the second Ethernet branch line 150 each include two Ethernet cable harnesses 01; the tester 110 includes multiple relay ports 02; the Ethernet cable harnesses 01 of the first Ethernet branch line 140 and the Ethernet cable harnesses 01 of the second Ethernet branch line 150 are respectively connected to the relay ports 02 in a one-to-one correspondence; the multiple relay ports 02 are connected one-to-one correspondence inside the tester 110.
[0061] The total number of Ethernet harnesses 01 included in the first Ethernet branch 140 and the second Ethernet branch 150 is the same as the number of trunk ports 02. For example, using... Figure 3Taking the structure shown as an example, if the connected Ethernet main line 130, first Ethernet branch line 140 and second Ethernet branch line 150 are a group, the redundant transmission test system shown in the figure includes three groups of Ethernet main lines 130, first Ethernet branch line 140 and second Ethernet branch line 150, and the tester 110 includes a total of 12 relay ports 02, of which four relay ports 02 are connected one-to-one to the Ethernet harnesses 01 of a group of first Ethernet branch line 140 and second Ethernet branch line 150. In other embodiments, the tester 110 may also connect the first Ethernet branch line 140 and the second Ethernet branch line 150 based on 16, 20 or other numbers of relay ports 02, which is not limited here.
[0062] It is understood that by using dual Ethernet harnesses, the Ethernet main line 130, the first Ethernet branch line 140, and the second Ethernet branch line 150 can achieve dual-line Ethernet transmission and ensure the normal transmission rate of Ethernet. For example, the Ethernet harness 01 can be of model 100BASE-T1 / 1000BASE-T1. In other embodiments, other models of Ethernet harness 01 known to those skilled in the art can also be used, and are not limited here.
[0063] In addition, for one set of Ethernet main line 130, first Ethernet branch line 140 and second Ethernet branch line 150, the Ethernet harness 01 of the first Ethernet branch line 140 and the Ethernet harness 01 of the second Ethernet branch line 150, which are connected by the tester 110, are respectively connected to the Ethernet harness 01 of different Ethernet main lines 130, so as to form the required preset transmission path when the Ethernet main line 130 has an open circuit fault.
[0064] In some embodiments, Figure 1 Based on this, continue to refer to Figure 3 The redundant transmission test system also includes a power line 03, a ground line 04, and a wake-up line 05; the power line 03, ground line 04, and wake-up line 05 are connected between any controller under test 120 and the tester 110; in the preset redundant transmission test mode, the tester 110 is also used to supply power, ground, and maintain wake-up for the controller under test 120 based on the power line 03, ground line 04, and wake-up line 05 respectively; wherein, the preset redundant transmission test mode includes at least one of the normal operation mode, the complete bypass mode, and the open circuit test mode.
[0065] Among them, relay 06 is a device that is controlled to close or open, so as to further connect or disconnect the corresponding Ethernet harness 01; in other embodiments, other devices with switching functions can also be selected as the first switching component 160, the second switching component 170 and the third switching component 180, as long as they have the above switching functions, which is not limited here.
[0066] The number of power lines 03, ground lines 04, or wake-up lines 05 is the same as the number of controllers under test 120. For example, using... Figure 3 Taking the illustrated structure as an example, the figure shows three sets of power lines 03, ground lines 04, and wake-up lines 05. Each controller under test 120 is connected to the tester 110 through a set of power lines 03, ground lines 04, and wake-up lines 05. In this way, the tester 110 provides power, ground, and maintains wake-up for the corresponding controller under test 120 through power lines 03, ground lines 04, and wake-up lines 05, enabling the controller under test 120 to operate normally in a preset redundant transmission test mode, such as normal operation mode or complete bypass mode.
[0067] It should be noted that if there is no wake-up line 05 between the tester 110 and each controller under test 120, the controller under test 120 will not work. In this embodiment of the present disclosure, by setting a wake-up line 05 between the tester 110 and each controller under test 120, the tester 110 can use the wake-up line 05 to wake up the controller under test 120, thereby keeping the controller under test 120 awake and ensuring that each controller under test 120 works normally.
[0068] In some embodiments, Figure 1 Based on this, continue to refer to Figure 3 The first switch assembly 160, the second switch assembly 170 and the third switch assembly 180 each include a preset number of relays 06; each Ethernet harness 01 is provided with at least one relay 06.
[0069] Each of the first switch assembly 160, the second switch assembly 170, and the third switch assembly 180 includes a plurality of relays. Exemplarily, each of the first switch assembly 160, the second switch assembly 170, and the third switch assembly 180 may include two relays, four relays, or other preset number of relays. The preset number of relays can be set according to the system-level testing requirements of this disclosure embodiment, and is not limited herein.
[0070] For example, taking the example of setting a relay 06 on each Ethernet harness 01, by using the tester 110 to control the switching state of each relay 06, the relevant Ethernet harness 01 can be turned on or off, thereby forming preset transmission paths with different transmission paths among multiple controllers under test 120, so as to perform redundant transmission tests based on the corresponding preset transmission paths and realize the system-level test requirements for redundant transmission of ring network Ethernet.
[0071] In some embodiments, Figure 1 Based on this, continue to refer to Figure 3The redundant transmission test system also includes a power supply 07; one preset port of the tester 110 is connected to the power supply 07, and the other preset port of the tester 110 is grounded.
[0072] The power supply 07 is used to supply power to the tester 110. For example, a preset port of the tester 110 can be connected to a cable with a charging plug, which can be plugged into the power supply 07, such as a power outlet on a wall, so that the power supply 07 supplies power to the tester 110.
[0073] In addition, compared to existing Ethernet testing solutions that mostly focus on single-component testing and rarely involve system-level Ethernet testing, or even lack hardware design for redundant transmission testing, the embodiments of this disclosure construct a redundant transmission testing system for ring network Ethernet systems, which facilitates dynamic testing of ring network Ethernet systems and fills the gap in redundant transmission testing of ring network Ethernet systems.
[0074] Based on the above embodiments, this disclosure also provides a redundant transmission test method based on ring network Ethernet, which is executed based on any of the above redundant transmission test systems based on ring network Ethernet and has corresponding beneficial effects.
[0075] In some embodiments, Figure 4 This is a flowchart illustrating a redundancy transmission testing method based on a ring network Ethernet network, provided as an embodiment of this disclosure. (Refer to...) Figure 4 The redundancy transmission test method includes:
[0076] S210, control the switching states of the first switch assembly, the second switch assembly, and the third switch assembly to form preset transmission paths with different transmission paths among multiple controllers under test.
[0077] Specifically, based on the acquisition of the preset redundant transmission test mode, by controlling the switching states of the first switch component, the second switch component, and the third switch component, the relevant lines in the redundant transmission test system can be turned on or off, further forming a preset transmission path when the controller under test 120 transmits message data, which is beneficial to meet the different test requirements of ring network Ethernet redundant transmission. The specific formation process of the preset transmission path will be explained by example later.
[0078] S220: Monitor the time interval of message data transmission through different preset transmission paths.
[0079] The time interval includes at least the interval between the start times of sending message data through different preset transmission channels. Specifically, by monitoring the time intervals between the transmission of message data through different preset transmission channels, the redundancy performance of the redundancy transmission test system can be further determined based on the length of the time interval. For example, a long time interval indicates poor redundancy performance, while a short time interval indicates good redundancy performance. The specific monitoring process for the time intervals between the transmission of message data through different preset transmission channels will be detailed later.
[0080] In some embodiments, Figure 4 In addition to S210, the following is also included: obtaining a preset redundant transmission test mode.
[0081] The preset redundant transmission test modes include normal operation mode, complete bypass mode, and open circuit test mode. Specifically, by obtaining the corresponding preset redundant transmission test modes, the switching states of the first, second, and third switching components can be determined, facilitating the formation of the preset transmission path required for subsequent redundant transmission tests.
[0082] In some embodiments, refer to Figure 4 In S120, based on a preset redundant transmission test mode, the switching states of the first switching component, the second switching component, and the third switching component are controlled to form preset transmission paths with different transmission paths among multiple controllers under test. Specifically, the steps include the following:
[0083] Based on the normal operating mode, the first switch components are closed, and the second and third switch components are opened, forming a first transmission path for the adjacent controller under test.
[0084] The normal operating mode is used to enable normal Ethernet communication between the various controllers under test (DUTs) 120. For example, Figure 5 This is a schematic diagram of another redundant transmission test system based on a ring network Ethernet provided in an embodiment of this disclosure. Figure 3 Based on, refer to Figure 5 , Figure 5 Three controllers under test (DUTs) 120 are shown, denoted as ECU A, ECU B, and ECU C, respectively. In normal operating mode, with the tester 110 supplying power, ground, and maintaining wake-up to ECU A, ECU B, and ECU C, the tester 110 controls each first switch assembly 160 to close and controls each second switch assembly 170 and each third switch assembly 180 to open (shown by the cross symbol in the figure), so that each Ethernet main line 130 is turned on and the first Ethernet branch line 140 and the second Ethernet branch line 150 are disconnected. At this time, a first transmission path is formed between adjacent DUTs 120, namely the Ethernet main line 130.
[0085] Thus, in normal operating mode, by forming a first transmission path between adjacent controllers under test, the controllers under test 120 can communicate normally via Ethernet.
[0086] In some embodiments, Figure 4 Based on this, S210 controls the switching states of the first, second, and third switching components according to a preset redundant transmission test mode, so that multiple controllers under test form preset transmission paths with different transmission paths. Specifically, it includes the following steps:
[0087] Based on the complete bypass mode, each first switch component is controlled to open, and each second and third switch component is controlled to close, forming a second transmission path for adjacent controllers under test and test instruments.
[0088] The complete bypass mode is used to enable adjacent controllers under test (DUTs) to communicate via Ethernet through the tester. In this mode, normal Ethernet communication between DUTs is impossible. For example, Figure 6 This is a schematic diagram of another redundant transmission test system based on a ring network Ethernet provided in an embodiment of this disclosure. Figure 3 Based on, refer to Figure 6 , Figure 6 Three controllers under test (DUTs) 120 are shown, denoted as ECU A, ECU B, and ECU C, respectively. In the completely bypassed mode, with the tester 110 supplying power, ground, and maintaining wake-up to each DUT 120, the tester 110 controls each first switch assembly 160 to open (shown by a cross symbol in the figure) and controls each second switch assembly 170 and each third switch assembly 180 to close, thereby disconnecting each Ethernet main line 130. The first Ethernet branch line 140 and the second Ethernet branch line 150 of each group are connected through the tester 110. At this time, a second transmission path is formed, connecting one DUT 120 to another adjacent DUT 120 via the tester 110.
[0089] Specifically, the arrow directions represent the transmission direction of the message data, forming three second transmission paths: ECU A→Tester→ECU B, ECU A→Tester→ECU C, and ECU B→Tester→ECU C; or, forming three second transmission paths: ECU B→Tester→ECU A, ECU C→Tester→ECU A, and ECU C→Tester→ECU B. In this way, while the tester 110 is connected in series with the three controllers under test 120 for Ethernet communication, it can further realize the monitoring of the system-level Ethernet communication process by the tester 110. The specific monitoring process of the tester 110 will be described by example later.
[0090] In some embodiments, after forming a second transmission path for adjacent controllers under test and testers in the above steps, the following steps are further included:
[0091] Based on the open circuit test mode, the second switch component is disconnected, forming a third transmission path for each controller under test and the test instrument.
[0092] The open circuit test mode is used to simulate an open circuit fault in a redundant transmission test system. Specifically, it can simulate an open circuit fault between any two adjacent controllers under test.
[0093] For example, Figure 7 This is a schematic diagram of another redundant transmission test system based on a ring network Ethernet provided in an embodiment of this disclosure. Figure 3 Based on, refer to Figure 7 , Figure 7 Three controllers under test (DUTs) 120 are shown, denoted as ECUA, ECU B, and ECU C, respectively. For the open-circuit test mode, taking a simulated open-circuit fault between ECU A and ECU B as an example, in a completely bypassed mode, once communication is stable, the tester 110 will control the second switch assembly 170 between ECU A and ECU B to disconnect (shown as a cross symbol), causing each Ethernet main line 130 to disconnect, and the first Ethernet branch line 140 between ECU A and ECU B to disconnect. At this time, if the arrow direction represents the transmission direction of the message data, a third transmission path can be formed: ECU A → Tester → ECU C → Tester → ECU B (see arrow symbol in the figure), or a third transmission path can be formed: ECU B → Tester → ECU C → Tester → ECU A.
[0094] Combination Figure 6 Taking a simulated open circuit fault between ECU B and ECU C as an example, in the completely bypassed mode, once communication is stable, the tester 110 will control the second switch component 170 between ECU B and ECU C to disconnect, causing each Ethernet main line 130 to disconnect, and the first Ethernet branch line 140 between ECU B and ECU C to disconnect. At this time, if the arrow direction is used to represent the transmission direction of the message data, a third transmission path can be formed: ECU B → tester → ECU A → tester → ECU C or ECU C → tester → ECU A → tester → ECU B.
[0095] Combination Figure 6Taking a simulated open circuit fault between ECU A and ECU C as an example, in the completely bypassed mode, once communication is stable, the tester 110 will control the second switch component 170 between ECU A and ECU C to disconnect, causing each Ethernet main line 130 to disconnect, and the first Ethernet branch line 140 between ECU A and ECU C to disconnect. At this time, if the arrow direction is used to represent the transmission direction of the message data, a third transmission path can be formed: ECU A → tester → ECU B → tester → ECU C or ECU C → tester → ECU B → tester → ECU A.
[0096] In some embodiments, after forming a second transmission path for adjacent controllers under test and testers in the above steps, the following steps are included:
[0097] Based on the open circuit test mode, the third switch component is disconnected, forming a third transmission path for each controller under test and the test instrument.
[0098] For example, Figure 8 This is a schematic diagram of another redundant transmission test system based on a ring network Ethernet provided in an embodiment of this disclosure. Figure 3 Based on, refer to Figure 8 , Figure 8 Three controllers under test (DUTs) 120 are shown, denoted as ECUA, ECU B, and ECU C, respectively. For the open-circuit test mode, taking a simulated open-circuit fault between ECU A and ECU B as an example, in a completely bypassed mode, once communication is stable, the tester 110 will control the third switch assembly 180 between ECU A and ECU B to disconnect, causing each Ethernet main line 130 to disconnect, and the second Ethernet branch line 150 between ECU A and ECU B to disconnect. At this time, if the arrow direction represents the transmission direction of the message data, a third transmission path can be formed: ECU A → Tester → ECU C → Tester → ECU B or ECU B → Tester → ECU C → Tester → ECU A.
[0099] Combination Figure 6 Taking a simulated open circuit fault between ECU B and ECU C as an example, in the completely bypassed mode, once communication is stable, the tester 110 will control the third switch component 180 between ECU B and ECU C to disconnect, causing each Ethernet main line 130 to disconnect, and the second Ethernet branch line 150 between ECU B and ECU C to disconnect. At this time, if the direction of the arrow represents the transmission direction of the message data, a third transmission path can be formed: ECU B → tester → ECU A → tester → ECU C or ECU C → tester → ECU A → tester → ECU B.
[0100] Combination Figure 6 Taking a simulated open circuit fault between ECU A and ECU C as an example, in the completely bypassed mode, once communication is stable, the tester 110 will control the third switch component 180 between ECU A and ECU C to disconnect, causing each Ethernet main line 130 to disconnect, and the second Ethernet branch line 150 between ECU A and ECU C to disconnect. At this time, if the direction of the arrow represents the transmission direction of the message data, a third transmission path can be formed: ECU A → tester → ECU B → tester → ECU C or ECU C → tester → ECU B → tester → ECU A.
[0101] In some embodiments, after forming a second transmission path for adjacent controllers under test and testers in the above steps, the following steps are included:
[0102] Step 1: Based on the circuit breaker test mode, control the closure of the first switch component in a set of connected Ethernet main line, first Ethernet branch line and second Ethernet branch line, and the closure of the second switch component and the third switch component to form a first transmission path.
[0103] For example, Figure 9 This is a schematic diagram of another redundant transmission test system based on a ring network Ethernet provided in an embodiment of this disclosure. Figure 3 Based on, refer to Figure 9 , Figure 9 Three controllers under test 120 are shown, denoted as ECUA, ECU B, and ECU C, respectively. Taking the open circuit test mode as an example, simulating an open circuit fault between ECU A and ECU B, in the completely bypass mode, after communication is stable, the tester 110 will control the first switch assembly 160 between ECU A and ECU B to close, and the second switch assembly 170 and the third switch assembly 180 to open (shown as cross symbols). At this time, if the direction of the message data transmission is represented by the arrow direction, a first transmission path can be formed from ECU A to ECU B, or from ECU B to ECU A.
[0104] Combination Figure 6 Taking a simulated open circuit fault between ECU B and ECU C as an example, under the condition of complete bypass mode, once the communication is stable, the tester 110 will control the first switch component 160 between ECU B and ECU C to close, and the second switch component 170 and the third switch component 180 to open. At this time, if the direction of the arrow is used to represent the transmission direction of the message data, the first transmission path of ECU B→ECU C or ECU C→ECU B can be formed.
[0105] Combination Figure 6 Taking a simulated open circuit fault between ECU A and ECU C as an example, under the condition of complete bypass mode, once the communication is stable, the tester 110 will control the first switch component 160 between ECU A and ECU C to close, and the second switch component 170 and the third switch component 180 to open. At this time, if the direction of the arrow is used to represent the transmission direction of the message data, the first transmission path of ECU A→ECU C or ECU C→ECU A can be formed.
[0106] Step 2: Based on the formed first transmission path, control the first switch component of the first transmission path to disconnect, forming a third transmission path for each controller under test and test instrument.
[0107] For example, Figure 10 This is a schematic diagram of another redundant transmission test system based on a ring network Ethernet provided in an embodiment of this disclosure. Figure 9 Based on, refer to Figure 10 For the open circuit test mode, taking the simulated open circuit fault between ECU A and ECU B as an example, in Figure 9 Once the first transmission path of ECU A→ECU B or ECU B→ECU A is established and communication is stable, the tester 110 will control the first switch assembly 160 between ECU A and ECU B to disconnect. At this time, if the direction of the message data transmission is represented by the arrow, a third transmission path of ECU A→tester→ECU C→tester→ECU B (see arrow symbol in the figure) or ECU B→tester→ECU C→tester→ECU A can be formed.
[0108] Similarly, after the first transmission path of ECU B→ECU C or ECU C→ECU B is formed, once the communication is stable, the tester 110 will control the first switch component 160 between ECU B and ECU C to disconnect. At this time, if the direction of the arrow is used to represent the transmission direction of the message data, a third transmission path of ECU B→tester→ECU A→tester→ECU C or ECU C→tester→ECU A→tester→ECU B can be formed.
[0109] Alternatively, after establishing the first transmission path of ECU A→ECU C or ECU C→ECU A, once the communication is stable, the tester 110 will control the first switch assembly 160 between ECU A and ECU C to disconnect. At this time, if the direction of the arrow is used to represent the transmission direction of the message data, a third transmission path of ECU A→Tester→ECU B→Tester→ECU C or ECU C→Tester→ECU B→Tester→ECU A can be formed.
[0110] It is easy to understand that the redundant transmission test method provided in this disclosure is also applicable to redundant transmission test modes for other numbers of controllers under test. The path formation process can be found in the corresponding embodiments above, and will not be repeated or limited here.
[0111] In some embodiments, Figure 4 Based on this, S220 specifically includes the following steps:
[0112] Step 1: Based on the complete bypass mode, monitor the first start time when a controller under test sends message data to an adjacent controller under test, and based on the circuit breaker test mode, monitor the second start time when a controller under test sends message data to an adjacent controller under test.
[0113] Here, the first start time and the second start time represent different times. Referring to the corresponding embodiments above, exemplarily, taking a monitoring situation when ECU A and ECU B are transmitting message data as an example, in the completely bypassed mode, if a second transmission path is formed from ECU A → tester → ECU B, then the tester 110 monitors the first start time of ECU A sending message data; when switching from the completely bypassed mode to the open circuit test mode, if a third transmission path is formed from ECU A → tester → ECU C → tester → ECU B, then the tester 110 monitors the second start time of ECU A sending message data; alternatively, the first start time of ECU B sending message data in the completely bypassed mode and the second start time of ECU B sending message data in the open circuit test mode can also be monitored. The monitoring process is similar to the above process and will not be repeated here.
[0114] Taking another monitoring scenario when ECU A and ECU B transmit message data as an example, in the completely bypassed mode, if a second transmission path is formed from ECU A to the tester to ECU B, the tester 110 monitors the first start time when ECU A sends message data. When switching from the completely bypassed mode to the open circuit test mode, if a first transmission path is formed from ECU A to ECU B, the tester 110 monitors the second start time when ECU A sends message data in this first transmission path. If a third transmission path is formed from ECU A to the tester to ECU C to the tester to ECU B, the tester 110 monitors the other second start time when ECU A sends message data in this third transmission path. Alternatively, the first start time when ECU B sends message data in the completely bypassed mode and the second start time when ECU B sends message data in the open circuit test mode can also be monitored. The monitoring process is similar to the above process and will not be described in detail here.
[0115] For example, taking a monitoring scenario when ECU B and ECU C are transmitting message data as an example, in the completely bypassed mode, if a second transmission path is formed from ECU B to the tester to ECU C, the tester 110 monitors the first start time of ECU B sending message data. When switching from the completely bypassed mode to the open circuit test mode, if a third transmission path is formed from ECU B to the tester to ECU A to the tester to ECU C, the tester 110 monitors the second start time of ECU B sending message data. Alternatively, the first start time of ECU C sending message data in the completely bypassed mode and the second start time of ECU C sending message data in the open circuit test mode can also be monitored. The monitoring process is similar to the above process and will not be described in detail here.
[0116] Taking another monitoring scenario when ECU B and ECU C transmit message data as an example, in the completely bypassed mode, if a second transmission path is formed from ECU B to the tester to ECU C, the tester 110 monitors the first start time of ECU B sending message data. When switching from the completely bypassed mode to the open circuit test mode, if a first transmission path is formed from ECU B to ECU C, the tester 110 monitors the second start time of ECU B sending message data in this first transmission path. If a third transmission path is formed from ECU B to the tester to ECU A to the tester to ECU C, the tester 110 monitors the other second start time of ECU B sending message data in this third transmission path. Alternatively, the first start time of ECU C sending message data in the completely bypassed mode and the second start time of ECU C sending message data in the open circuit test mode can also be monitored. The monitoring process is similar to the above process and will not be described in detail here.
[0117] For example, taking a monitoring scenario when ECU A and ECU C are transmitting message data as an example, in the completely bypassed mode, if a second transmission path is formed from ECU A to the tester to ECU C, the tester 110 monitors the first start time of ECU A sending message data. When switching from the completely bypassed mode to the open circuit test mode, if a third transmission path is formed from ECU A to the tester to ECU B to the tester to ECU C, the tester 110 monitors the second start time of ECU A sending message data. Alternatively, the first start time of ECU C sending message data in the completely bypassed mode and the second start time of ECU C sending message data in the open circuit test mode can also be monitored. The monitoring process is similar to the above process and will not be described in detail here.
[0118] Taking another monitoring scenario when ECU A and ECU C transmit message data as an example, in the completely bypassed mode, if a second transmission path is formed from ECU A to the tester to ECU C, the tester 110 monitors the first start time when ECU A sends message data. When switching from the completely bypassed mode to the open circuit test mode, if a first transmission path is formed from ECU A to ECU C, the tester 110 monitors the second start time when ECU A sends message data in this first transmission path. If a third transmission path is formed from ECU A to the tester to ECU B to the tester to ECU C, the tester 110 monitors the other second start time when ECU A sends message data in this third transmission path. Alternatively, the first start time when ECU C sends message data in the completely bypassed mode and the second start time when ECU C sends message data in the open circuit test mode can also be monitored. The monitoring process is similar to the above process and will not be described in detail here.
[0119] It should be noted that when the controller under test transmits message data using the above-mentioned related channels, the transmission time of each related channel is very short, which is equivalent to realizing instantaneous transmission of message data. In this regard, the embodiments of this disclosure monitor the first start time and the second start time to facilitate subsequent intuitive measurement of redundant transmission performance. The specific measurement process of redundant transmission performance is described in detail later.
[0120] Step 2: Based on the first start time and the second start time, obtain the interval between the first start time and the second start time.
[0121] The interval between the first and second start times represents the time between a communication failure and the resumption of transmission through the backup path. Therefore, it directly impacts the effectiveness of fault handling and thus becomes a crucial indicator for measuring or evaluating redundant transmission performance. It's easy to understand that a communication failure can be considered a failure occurring in a completely bypassed mode. After a communication failure, the redundant transmission test system switches to the backup path in the circuit breaker test mode, such as the third transmission path, to continue transmitting message data using the backup path. This achieves the test of enabling communication through the backup path after an Ethernet circuit breaker failure.
[0122] Specifically, if the interval between the first start time and the second start time is relatively long, such as 1 minute, 2 minutes or other durations, it indicates poor redundant transmission performance; conversely, if the interval between the first start time and the second start time is relatively short, such as 1 second, 2 seconds or other durations, it indicates good redundant transmission performance. The length of the interval can be correlated in the above way according to the actual measurement requirements of redundant transmission performance, and is not limited here.
[0123] The redundant transmission test method based on ring network Ethernet provided in this embodiment forms a preset transmission path by controlling the switching states of the first switch component, the second switch component, and the third switch component, which can realize the redundant transmission test at the ring network Ethernet system level and better meet the test requirements of redundant transmission scenarios.
[0124] This disclosure also provides a computer-readable storage medium storing a computer program thereon, which is executed by a processor to implement the steps of any of the redundant transmission test methods based on ring network Ethernet provided in the above embodiments.
[0125] This disclosure also provides a testing device; exemplarily, Figure 11 This is a schematic diagram of the structure of a testing device provided in an embodiment of this disclosure, with reference to... Figure 11 The test device includes a memory 08 and a processor 09; the memory 08 stores executable programs or instructions; the processor 09 runs the programs or instructions to implement the steps of any of the redundant transmission test methods based on ring network Ethernet provided in the above embodiments.
[0126] The testing equipment is a tester for a redundant transmission test system, which is an external test device independent of the vehicle. It should be noted that in practical applications, the controller under test in the redundant transmission test system is the controller in the vehicle. By connecting the tester to the controller in the vehicle to construct the redundant transmission test system, it is possible to further achieve redundant transmission testing at the ring network Ethernet system level, thereby ensuring compliance with the functional safety requirements of high-level intelligent driving.
[0127] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0128] The above description is merely a specific embodiment of this disclosure, enabling those skilled in the art to understand or implement it. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this disclosure. Therefore, this disclosure is not to be limited to the embodiments described herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A redundant transmission test system based on ring network Ethernet, characterized in that, include: Tester, controller under test, Ethernet mainline, first Ethernet branch and second Ethernet branch; The Ethernet mainline is equipped with a first switch assembly; the first Ethernet branch line is equipped with a second switch assembly; the second Ethernet branch line is equipped with a third switch assembly; Two adjacent controllers under test are connected sequentially via the Ethernet mainline to form a loop; for two adjacent controllers under test, one end of the first Ethernet branch is connected between one controller under test and one of the first switching components, the other end of the first Ethernet branch is connected to one end of the second Ethernet branch via the tester, and the other end of the second Ethernet branch is connected between the other controller under test and the first switching component. The tester is used to control the switching states of the first switch assembly, the second switch assembly, and the third switch assembly, so that a preset transmission path with different transmission paths is formed between the multiple controllers under test; the controllers under test are used to transmit message data based on the preset transmission path.
2. The redundant transmission test system based on ring network Ethernet according to claim 1, characterized in that, The Ethernet mainline, the first Ethernet branch, and the second Ethernet branch all include dual Ethernet cable harnesses; the tester includes multiple repeater ports; The Ethernet harnesses of the first Ethernet branch and the second Ethernet branch are respectively connected to the relay ports one by one; the plurality of relay ports are connected one by one inside the tester.
3. The redundant transmission test system based on ring network Ethernet according to claim 2, characterized in that, The redundant transmission test system also includes a power line, a ground line, and a wake-up line; The power line, the ground line, and the wake-up line are connected between any of the controllers under test and the test instrument. In the preset redundant transmission test mode, the tester is also used to supply power, ground and maintain wake-up to the controller under test based on the power line, the ground line and the wake-up line respectively; The preset redundant transmission test mode includes at least one of the following: normal operation mode, complete bypass mode, and circuit breaker test mode.
4. The redundant transmission test system based on ring network Ethernet according to claim 2, characterized in that, The first switch assembly, the second switch assembly, and the third switch assembly each include a preset number of relays; each Ethernet cable harness is provided with at least one of the relays.
5. A redundancy transmission test method based on ring network Ethernet, characterized in that, The test is performed using the redundant transmission test system based on ring network Ethernet as described in any one of claims 1-4, including: Controlling the switching states of the first switch assembly, the second switch assembly, and the third switch assembly enables the formation of preset transmission paths with different transmission paths among the multiple controllers under test. Monitor the time intervals of message data transmission through different preset transmission paths.
6. The redundancy transmission test method based on ring network Ethernet according to claim 5, characterized in that, The control of the switching states of the first switching component, the second switching component, and the third switching component, enabling the formation of preset transmission paths with different transmission paths among the multiple controllers under test, includes: Based on the normal operating mode, each of the first switch components is controlled to close, and each of the second switch components and each of the third switch components is controlled to open, forming a first transmission path for the adjacent controllers under test. or, Based on the complete bypass mode, each of the first switch components is controlled to open, and each of the second switch components and each of the third switch components is controlled to close, forming a second transmission path for the adjacent controller under test and the test instrument.
7. The redundancy transmission test method based on ring network Ethernet according to claim 6, characterized in that, After forming the second transmission path for the adjacent controller under test and the test instrument, the process includes: Based on the circuit breaker test mode, the second switch component is controlled to disconnect, forming a third transmission path for each of the controllers under test and the test instrument; or, Based on the circuit breaker test mode, a third switch component is controlled to disconnect, forming a third transmission path for each of the controllers under test and the test instrument.
8. The redundancy transmission test method based on ring network Ethernet according to claim 7, characterized in that, After forming the second transmission path for the adjacent controller under test and the test instrument, the process includes: Based on the circuit breaker test mode, the first switch component in a group of connected Ethernet main line, first Ethernet branch line and second Ethernet branch line is closed, and the second switch component is disconnected from the third switch component to form a first transmission path. Based on the first transmission path formed, the first switch component controlling the first transmission path is disconnected, forming the third transmission path for each of the controllers under test and the test instrument.
9. The redundancy transmission test method based on ring network Ethernet according to claim 7, characterized in that, The time interval for monitoring the transmission of message data through different preset transmission paths includes: Based on the complete bypass mode, the first start time of one of the controllers under test sending message data to the adjacent controllers under test is monitored, and based on the circuit breaker test mode, the second start time of one of the controllers under test sending message data to the adjacent controllers under test is monitored. Based on the first start time and the second start time, the interval between the first start time and the second start time is obtained.
10. A testing device, characterized in that, Including memory and processor; The memory stores executable programs or instructions; The processor executes the program or instructions to implement the steps of the redundant transmission test method based on ring network Ethernet as described in any one of claims 5-9.