WO2019225500A1 - Communication system, connecting device, control device, communication line cutoff method, and computer program - Google Patents
Communication system, connecting device, control device, communication line cutoff method, and computer program Download PDFInfo
- Publication number
- WO2019225500A1 WO2019225500A1 PCT/JP2019/019693 JP2019019693W WO2019225500A1 WO 2019225500 A1 WO2019225500 A1 WO 2019225500A1 JP 2019019693 W JP2019019693 W JP 2019019693W WO 2019225500 A1 WO2019225500 A1 WO 2019225500A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- communication
- line
- branch line
- current
- current detection
- Prior art date
Links
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60R—VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
- B60R16/00—Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
- B60R16/02—Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60R—VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
- B60R16/00—Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
- B60R16/02—Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
- B60R16/023—Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for transmission of signals between vehicle parts or subsystems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/40—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass for recovering from a failure of a protocol instance or entity, e.g. service redundancy protocols, protocol state redundancy or protocol service redirection
Definitions
- the present disclosure relates to a communication system that performs communication via a bus-type communication line, and a connection device, a control device, a communication line blocking method, and a computer program used in this system.
- in-vehicle devices such as a plurality of ECUs (Electronic Control Units) are mounted on vehicles.
- the plurality of in-vehicle devices are connected via a communication line, and perform cooperative operation by exchanging information through communication.
- CAN Controller ⁇ Area ⁇ Network
- a plurality of in-vehicle devices are connected via a bus-type communication line.
- Patent Document 1 it is determined whether or not communication is possible on a route formed by appropriately switching a combination of connection / separation of a plurality of switches provided in a communication bus, and a combination of connection / separation of switches is determined.
- a failure diagnosis method for diagnosing an abnormality in a communication line by making a change and repeatedly determining whether communication is possible.
- the present disclosure has been made in view of such circumstances, and the object of the present disclosure is to detect a failure such as a short circuit and a ground fault in a bus-type communication line, and to connect a communication system and a connection for disconnecting the failure portion.
- An apparatus, a control device, a communication line blocking method, and a computer program are provided.
- the communication system is a bus-type communication system in which a communication device is connected to each of a plurality of communication branches branched from a communication trunk line, and the plurality of communication devices communicate via the communication trunk line and the communication branch line.
- a current detection unit that detects a current flowing through each communication branch line, a switch that is provided in each communication branch line and that switches between energization and interruption of the communication branch line, and the switch based on the detection result of the current detection unit
- a control unit that performs control to shut off.
- connection device is a communication line connection device including a plurality of connection units to which communication lines are connected, and includes a current detection unit that detects a current flowing through the communication line connected to each connection unit, and each communication.
- a switch that switches between energization and interruption of the wire, and a control unit that performs control to interrupt the switch based on a detection result of the current detection unit.
- the control device includes an acquisition unit that acquires a detection result from a current detection unit that detects currents flowing through a plurality of communication branch lines branched from a communication trunk line, and a detection result acquired by the acquisition unit, And a control unit that performs control to cut off a switch that switches between energization and cutoff provided in the communication branch line.
- the communication line cutoff method detects currents flowing through a plurality of communication branches branched from the communication trunk line, and shuts off a switch that switches between energization and cutoff provided in each communication branch line based on the detection result.
- the computer program acquires a detection result from a current detection unit that detects currents flowing through a plurality of communication branch lines branched from a communication trunk line in a computer, and is provided in each communication branch line based on the acquired detection result.
- blocking is performed.
- the present application can be realized not only as a connection device or a control device including such a characteristic processing unit, but also as a communication line blocking method using such a characteristic process as a step. It can be realized as a computer program to be executed by a computer. Further, it can be realized as a semiconductor integrated circuit that realizes part or all of the connection device or the control device, or can be realized as another device or system including the connection device or the control device.
- FIG. 1 is a schematic diagram showing a configuration of a communication system according to Embodiment 1.
- FIG. 1 is a schematic diagram illustrating a network configuration of a communication system according to Embodiment 1.
- FIG. 1 is a schematic diagram illustrating a configuration of a connection device according to Embodiment 1.
- FIG. It is a schematic diagram for demonstrating the flow of the electric current at the time of communication in a communication system. It is a schematic diagram for demonstrating the flow of the electric current at the time of communication in a communication system. It is a schematic diagram for demonstrating the flow of the electric current at the time of communication in a communication system.
- 4 is a flowchart illustrating a procedure of a communication branch line blocking process performed by the connection device according to the first embodiment.
- FIG. 3 is a block diagram showing a configuration of a communication system according to Embodiment 2.
- FIG. 6 is a flowchart illustrating a procedure of a communication branch line blocking process performed by an ECU according to a second embodiment. It is a flowchart which shows the procedure of the signal output process for the interruption
- 10 is a flowchart illustrating a procedure of a communication branch line blocking process performed by the connection device according to the second embodiment.
- a communication device is connected to each of a plurality of communication branches branched from a communication main line, and a plurality of the communication devices communicate via the communication main line and the communication branch line.
- a communication system comprising: a current detection unit that detects a current flowing through each communication branch; a switch that is provided in each communication branch and that switches between energization and disconnection of the communication branch; and a detection result of the current detection unit. And a control unit that performs control to shut off the switch.
- a plurality of communication devices communicate via a bus-type communication line in which a plurality of communication branch lines branch from a communication trunk line.
- Each communication branch is provided with a current detector that detects a current flowing through the communication branch, and a switch that switches between energization and interruption of the communication branch.
- Each switch is controlled to be cut off based on the current detection result by the current detection unit.
- the communication system detects the current of each communication branch line during normal communication by the communication device, determines the presence / absence of abnormality for each communication branch line, and shuts off the abnormal communication branch line with a switch. Can do.
- connection device having a plurality of connection portions each connected to the communication branch line, the current detection unit and the switch, and a control device connected to the communication trunk line or the communication branch line and having the control unit. It is preferable that the connection device and the control device are connected via a communication line different from the communication trunk line and the communication branch line.
- a current detection unit and a switch for each communication branch line are provided in the communication line connection device.
- the control device connected to the communication main line or the communication branch line is provided with a control unit that controls the switching of the switch, and the control device and the connection device are connected via a communication line different from the communication main line and the communication branch line. .
- connection device having a plurality of connection portions to which the communication branch lines are connected, the current detection portion, the switch, and the control portion.
- the communication line connection device includes a current detection unit and a switch for each communication branch line, and a control unit that controls the switching of the switch.
- the said control part interrupts
- the switch provided in the communication branch line where the current detection unit detects the current exceeding the threshold is cut off.
- the communication branch line through which more current than usual flows can be cut off due to a short circuit or ground fault.
- An error detection unit that detects a communication error in the communication trunk line is provided, and after the error detection unit detects a communication error, current detection by the current detection unit and control of the switch by the control unit are performed. Is preferred.
- communication on the communication trunk line is monitored, and after detecting a communication error, current detection of the current detection unit and switch control of the control unit are performed.
- current detection and switch control are performed after detecting a communication error to reduce the processing load during normal operation. Can do.
- the detection result of the current detection unit and / or the control result of the switch by the control unit are stored. Thereby, for example, when the communication system is repaired, it is possible to easily determine the failure location of the communication line.
- connection device is a communication line connection device including a plurality of connection units to which communication lines are connected, and a current detection unit that detects a current flowing through the communication line connected to each connection unit; And a switch that switches between energization and cutoff of each communication line, and a control unit that performs control to shut off the switch based on a detection result of the current detection unit.
- the current of each communication branch is detected to determine whether there is an abnormality for each communication branch.
- a certain communication branch line can be interrupted by a switch.
- the control device is based on an acquisition unit that acquires a detection result from a current detection unit that detects currents flowing through a plurality of communication branches branched from a communication trunk line, and a detection result acquired by the acquisition unit. And a control unit that performs control to cut off a switch that switches between energization and interruption provided in each communication branch line.
- the current of each communication branch is detected to determine whether there is an abnormality for each communication branch.
- a certain communication branch line can be interrupted by a switch.
- the communication line cutoff method detects currents flowing through a plurality of communication branch lines branched from the communication trunk line, and shuts off a switch that switches between energization and cutoff provided to each communication branch line based on the detection result. To do.
- the current of each communication branch is detected to determine whether there is an abnormality for each communication branch.
- a certain communication branch line can be interrupted by a switch.
- the computer program acquires a detection result from a current detection unit that detects currents flowing through a plurality of communication branch lines branched from a communication main line, and each communication is performed based on the acquired detection result. A process of shutting off a switch for switching between energization and shutoff provided on the branch line is performed.
- the current of each communication branch is detected to determine whether there is an abnormality for each communication branch.
- a certain communication branch line can be interrupted by a switch.
- FIG. 1 is a schematic diagram illustrating a configuration of a communication system according to the first embodiment.
- the communication system 100 according to the first embodiment has a configuration in which seven ECUs 2a to 2g mounted on the vehicle 1 are connected to the connection device 4 via communication lines 3a to 3g, respectively.
- the ECUs 2a to 2g are, for example, an ECU that controls the operation of the engine of the vehicle 1, an ECU that controls the locking / unlocking of the door, an ECU that controls the turning on / off of the light, an ECU that controls the operation of the airbag, and an ABS.
- Various ECUs such as an ECU that controls the operation of the (Antilock Brake System) may be included.
- the connection device 4 has a plurality of connection portions (connectors) to which the communication lines 3a to 3g are connected.
- the connection device 4 is a device that electrically connects a plurality of connected communication lines 3a to 3g, and can be called a name such as a HUB or a junction box.
- the connection device 4 according to the present embodiment constitutes one bus type network by a plurality of connected communication lines 3a to 3g.
- the ECUs 2a to 2g can communicate with each other via the communication lines 3a to 3g and the connection device 4.
- connection device 4 is disposed in the center of the vehicle 1, the ECU 2 a is disposed on the left side of the connection device 4, and the ECU 2 b is disposed on the right side of the connection device 4.
- the ECU 2c is arranged on the left side of the front part of the vehicle 1
- the ECU 2d is arranged in the center of the front part of the vehicle 1
- the ECU 2e is arranged on the right side of the front part of the vehicle 1.
- the ECU 2 f is arranged on the left side of the rear part of the vehicle 1
- the ECU 2 g is arranged on the right side of the rear part of the vehicle 1. Note that the arrangement of the ECUs 2a to 2g and the connection device 4 shown in FIG.
- the present invention is not limited to this.
- the ECUs 2a and 2b and the connection device 4 arranged in the center in the front-rear direction of the vehicle 1 are compared with the other ECUs 2c to 2g. It is hard to break down.
- the communication lines 3a and 3b connecting the ECUs 2a and 2b to the connection device 4 cause failures such as disconnection, short circuit, or ground fault as compared with the communication lines 3c to 3g connecting other ECUs 2 to the connection device 4. hard.
- connection device 4 (internal wiring thereof) and the communication lines 3a and 3b are handled as communication trunk lines, and the other communication lines 3c to 3g are handled as communication branch lines.
- FIG. 2 is a schematic diagram illustrating a network configuration of the communication system 100 according to the first embodiment.
- the ECUs 2a to 2g perform communication in accordance with CAN communication standards.
- a bus-type network is configured using a two-wire communication line, a so-called twisted pair cable, and a differential signal corresponding to a voltage difference between the two wires is used for communication.
- the CAN bus has a set of communication trunk lines 5 and a plurality of sets of communication branch lines 6 branched from the communication trunk line 5.
- two ends of the communication trunk line 5 are connected via a terminating resistor R.
- the two termination resistors R are provided in the ECUs 2a and 2b, respectively.
- a branch point between the communication trunk line 5 and the communication branch line 6 is provided inside the connection device 4.
- the communication trunk line 5 shown in FIG. 2 includes the communication lines 3 a and 3 b shown in FIG.
- Each communication branch line 6 shown in FIG. 2 includes the communication lines 3 c to 3 g shown in FIG. 1 and the internal wiring of the connection device 4.
- FIG. 3 is a schematic diagram illustrating a configuration of the connection device 4 according to the first embodiment.
- the connection device 4 according to the present embodiment has a configuration in which, for example, a plurality of connectors 43 and 44 for connecting the communication lines 3a to 3g are provided in a synthetic resin casing.
- the two connectors 43 provided in the connection device 4 are for connecting two communication lines 3 a and 3 b corresponding to the communication trunk line 5.
- the plurality of connectors 44 included in the connection device 4 are for connecting a plurality of communication lines 3b to 3g corresponding to the communication branch line 6.
- FIG. 3 only three connectors 44 are shown for simplification of the drawing.
- connection device 4 the two connectors 43 are connected via two internal wirings 43 a constituting the communication trunk line 5.
- the internal wiring 43 a of the connection device 4 branches at a plurality of locations, and the internal wiring 44 a is provided from the branch point to the connector 44.
- a set of two internal wirings 44a branched from the two internal wirings 43a is taken as a set, and a set of internal wirings 44a is connected to each connector 44.
- a switch SW and a current detection unit 45 are provided on each line of the internal wiring 44a.
- the switch SW is configured using, for example, a semiconductor switch such as a field effect transistor or a MOS (Metal Oxide Semiconductor) transistor, or a relay such as an electromagnetic relay or a solid state relay.
- the switch SW switches between energization and interruption of the internal wiring 44a.
- the current detection unit 45 detects the current value and direction of the current flowing through the internal wiring 44a.
- the current detection unit 45 may be configured to measure a potential difference between both ends of a resistor provided in the internal wiring 44a, for example, and acquire a current value based on the measured potential difference and the resistance value of the resistor.
- the current detection unit 45 may be configured to detect the current value of the current flowing through the internal wiring 44a, the direction of the current, and the like by other methods.
- the communication branch line 6 (communication lines 3b to 3g and internal wiring 44a) is a two-wire system, so that the connection device 4 has twice as many switches SW and current detection units 45 as the number of connectors 44. Provided.
- the connection device 4 includes a control unit 41 and a storage unit 42.
- the control unit 41 can be configured using, for example, an IC (Integrated Circuit) such as a CPU (Central Processing Unit) or a microcomputer.
- the control unit 41 receives a current detection result from each current detection unit 45. Further, the control unit 41 outputs a control signal for switching between energization and cutoff for each switch SW.
- the control unit 41 detects an abnormality in each communication branch line 6 based on the detection result of the current detection unit 45, and disconnects the communication branch line 6 from the communication system 100 by cutting off the switch SW of the communication branch line 6 in which the abnormality is detected. Control.
- the control unit 41 stores a threshold value for determining an abnormality in advance, and determines that an abnormality has occurred when the current value detected by the current detection unit 45 exceeds the threshold value.
- the storage unit 42 is configured using, for example, an EEPROM (Electrically-Erasable-Programmable-Read-Only-Memory) or a rewritable nonvolatile memory element such as a flash memory.
- the control unit 41 can read and write data from and to the storage unit 42.
- the control unit 41 detects an abnormality in the communication branch line 6, the control unit 41 writes log information regarding the abnormality in the storage unit 42.
- the log information stored in the storage unit 42 may include, for example, information indicating which of the communication branch lines 6 in which an abnormality is detected, a detection result of the current detection unit 45 when an abnormality is detected, and the like.
- the detection result in this case may include not only the detection result regarding the communication branch line 6 in which the abnormality is detected, but also the detection result regarding another communication branch line 6.
- ⁇ Communication branch line blocking process> 4 to 6 are schematic diagrams for explaining the flow of current during communication in the communication system 100.
- FIG. In this figure, in order to simplify the description, there are only two communication branch lines 6 to which the ECUs 2c and 2d are connected. Of the two lines included in the two-wire communication branch line 6, the line to which the high potential side of the differential signal is applied is the high potential side branch line 6h, and the line to which the low potential side of the differential signal is applied is the low potential. It is distinguished as a side branch line 6l. Similarly, two lines included in the two-wire communication trunk line 5 are distinguished as a high potential side trunk line 5h and a low potential side trunk line 5l. In addition, the flow of current during communication is indicated by broken-line arrows.
- FIG. 4 shows the flow of current in the communication system 100 when no abnormality has occurred, that is, when it is normal.
- the ECU 2 c connected to one communication branch line 6 outputs a transmission signal to the communication branch line 6.
- the current flowing out from the ECU 2c to the high potential side branch line 6h of the communication branch line 6 flows through the high potential side trunk line 5h of the communication trunk line 5 to the termination resistor R, and from the termination resistor R to the low potential side trunk line of the communication trunk line 5. 5l and flows into the ECU 2c from the low potential side trunk line 5l through the low potential side branch line 6l.
- FIG. 5 shows a current flow when a ground fault occurs in the low potential side branch line 6l of the communication branch line 6 to which the ECU 2d is connected.
- the current flowing out from the ECU 2c to the high potential side branch line 6h of the communication branch line 6 flows through the high potential side trunk line 5h of the communication trunk line 5 to the termination resistor R, and from the termination resistor R to the low potential side trunk line of the communication trunk line 5.
- 5l flows from the low potential side trunk line 5l to the low potential side branch line 6l to which the ECU 2d is connected, and reaches the ground fault point.
- the low potential side branch line 6l to which the ECU 2d is connected is grounded, a current flows out from the ECU 2c to the low potential side branch line 61, and this current is connected to the ECU 2d from the low potential side trunk line 5l of the communication trunk line 5. It flows to the low potential side branch line 6l and reaches the ground fault point. That is, when a ground fault occurs in the communication branch line 6, a large current flows through the grounded low potential side branch line 61.
- the control unit 41 of the connection device 4 determines that a current exceeding the threshold value is flowing in the low potential side branch line 6l of the communication branch line 6 to which the ECU 2d is connected. In response to this determination, the control unit 41 performs control to switch the switch SW provided in the low potential side branch line 61 to the cut-off state, and cuts off the low potential side branch line 61. At this time, it is preferable that the control unit 41 also performs control to shut off the switch SW for the low potential side branch line 61 and the pair of high potential side branch lines 6h that are determined to have a large current flowing.
- control unit 41 may determine that a current exceeding the threshold value flows in the high potential side branch line 6 h or the low potential side branch line 6 l of the communication branch line 6 to which the ECU 2 c is connected. In this case, the control unit 41 may perform control for blocking the communication branch line 6 to which the ECU 2c is connected.
- FIG. 6 shows a current flow when the high potential side branch line 6h and the low potential side branch line 6l of the communication branch line 6 to which the ECU 2d is connected are short-circuited.
- the current flowing out from the ECU 2c to the high potential side branch line 6h of the communication branch line 6 flows from the high potential side trunk line 5h of the communication trunk line 5 to the high potential side branch line 6h of the communication branch line 6 to which the ECU 2d is connected to the short circuit portion. It reaches.
- this current flows to the low potential side branch line 6l of the communication branch line 6 to which the ECU 2d is connected via the short-circuited portion, and flows from the low potential side branch line 6l to the low potential side trunk line 5l of the communication trunk line 5, thereby lowering the low potential side trunk line 51 Flows into the low potential branch 6l to which the ECU 2c is connected and flows into the ECU 2c.
- a current flows from the high potential side to the low potential side without passing through the termination resistor R, a large current flows through each current path.
- the control unit 41 of the connection device 4 Based on the detection result of the current detection unit 45, the control unit 41 of the connection device 4 has a current exceeding a threshold value flowing in the high potential side branch line 6h and the low potential side branch line 6l of the communication branch line 6 to which the ECU 2d is connected. judge. In response to this determination, the control unit 41 performs control to switch the switch SW provided in the high potential side branch line 6h and the low potential side branch line 6l to the cut-off state, and the high potential side branch line 6h and the low potential connected to the ECU 2d. The side branch line 6l is shut off.
- control unit 41 may determine that a current exceeding the threshold value flows in the high potential side branch line 6 h or the low potential side branch line 6 l of the communication branch line 6 to which the ECU 2 c is connected. In this case, the control unit 41 may perform control for blocking the communication branch line 6 to which the ECU 2c is connected.
- FIG. 7 is a flowchart showing the procedure of the disconnection process of the communication branch line 6 performed by the connection device 4 according to the first embodiment.
- the control unit 41 of the connection device 4 according to the first embodiment causes the plurality of current detection units 45 to detect the current of the communication branch line 6 and acquires detection results such as current values from the current detection unit 45 (step S1). .
- the control unit 41 compares the current value (absolute value) detected by each current detection unit 45 with a previously stored threshold value, and determines whether or not the current value exceeds the threshold value (step S2). If the current value does not exceed the threshold value for all detection results (S2: NO), the control unit 41 determines that no abnormality has occurred in the communication branch line 6, and advances the process to step S3.
- the control unit 41 repeatedly performs the current detection of each communication branch line 6 by the current detection unit 45 at a cycle of, for example, several milliseconds to several seconds.
- the control unit 41 that has determined that there is no abnormality in the communication branch line 6 waits for a predetermined time that defines the current detection cycle (step S3), returns the process to step S1, and performs the current detection by the current detection unit 45 in the predetermined cycle. Repeat with.
- the control unit 41 shuts off the switch SW of the communication branch line 6 provided with the current detection unit 45 that detects the current value exceeding the threshold value.
- the communication branch line 6 is shut off by outputting a signal for switching to (step S4).
- the control unit 41 performs current detection by the current detection unit 45 (step S5). At this time, the control unit 41 may perform current detection regardless of the current detection cycle.
- the control part 41 determines whether the electric current value which each electric current detection part 45 detected exceeds a threshold value (step S6). When the current value exceeds the threshold for at least one detection result (S6: YES), the control unit 41 returns the process to step S4, and repeatedly performs the disconnection of the communication branch line 6 and further current detection and determination.
- control unit 41 When the current value does not exceed the threshold value for all the detection results (S6: NO), the control unit 41 provides information indicating which of the communication branch lines 6 is blocked and the current detection unit 45 when the blocking is performed. Log information including the detection result and the like is generated, the generated log information is stored in the storage unit 42 (step S7), and the process ends.
- the communication system 100 according to Embodiment 1 having the above configuration is configured such that a plurality of ECUs 2a to 2g communicate via a bus-type communication line in which a plurality of communication branch lines 6 are branched from a communication trunk line 5.
- Each communication branch line 6 is provided with a current detector 45 that detects a current flowing through the communication branch line 6 and a switch SW that switches between energization and interruption of the communication branch line 6.
- Each switch SW is controlled to be cut off based on the current detection result by the current detection unit 45.
- the communication system 100 detects the current of each communication branch line 6 during normal communication by the ECUs 2a to 2g, determines the presence / absence of an abnormality for each communication branch line 6, and determines the communication branch line 6 having an abnormality. It can be shut off by the switch SW.
- the connection device 4 includes the current detection unit 45 and the switch SW provided for each communication branch line 6 and the control unit 41 that controls them. By consolidating the plurality of current detection units 45 and the switches SW and the control unit 41 into one device, simplification of the system configuration and reduction of wiring between devices can be expected.
- connection device 4 cuts off the switch SW provided in the communication branch line 6 where the current detection unit 45 has detected a current exceeding the threshold value. Thereby, the communication branch line 6 in which more current than usual is flowing due to a short circuit or a ground fault can be cut off.
- connection device 4 stores the control result of the switch SW by the control unit 41 and the detection result of the current detection unit 45 in the storage unit 42 as log information.
- the operator can easily determine the failure location of the communication branch line 6 by browsing the log information.
- the communication system 100 mounted on the vehicle 1 has been described as an example.
- the communication system 100 is not limited to the one mounted on the vehicle 1, for example, on a moving body such as a ship or an aircraft.
- the same configuration can be adopted for various communication systems such as an installed communication system or a communication system installed in an office or factory.
- the number and arrangement of the ECUs 2a to 2g of the vehicle 1 shown in FIG. 1 are merely examples, and are not limited thereto.
- the two ECUs 2a and 2b are connected to the communication trunk line 5.
- the present invention is not limited to this, and all the ECUs 2a to 2g may be connected to the communication branch line 6.
- the termination resistor R may be provided in the connection device 4.
- FIG. 8 is a block diagram showing a configuration of the communication system 200 according to the second embodiment.
- one ECU 202a connected to the communication trunk line 5 communicates with the connection device 204 via the dedicated communication line 203, and acquires a current detection result from the connection device 204.
- the switch SW is controlled to be turned off.
- the connection device 204 does not include the storage unit 42 of the connection device 4 according to the first embodiment, and includes a communication unit 242 that performs communication with the ECU 202a via the communication line 203.
- the communication performed by the communication unit 242 with the ECU 202a does not have to conform to the CAN communication standard, and various serial communication or parallel communication can be employed.
- the communication unit 242 gives the information received from the ECU 202a to the control unit 41 and transmits the information given from the control unit 41 to the ECU 202a.
- the control unit 41 of the connection device 204 according to the second embodiment does not perform the above-described presence / absence determination based on the detection result of the current detection unit 45 and the cutoff control of the switch SW based on the determination result. Instead of this, the control unit 41 according to the second embodiment switches the switch SW in accordance with a process of periodically acquiring the detection result of the current detection unit 45 and transmitting it to the ECU 202a, and a cutoff command given from the ECU 202a. Perform a blocking process.
- the ECU 202a includes a control unit 221, a storage unit 222, a first communication unit 223, and a second communication unit 224.
- the control unit 221 is configured using an arithmetic processing device such as a CPU or MPU (Micro-Processing Unit), for example, and performs various arithmetic processes by reading and executing the program 222a stored in the storage unit 222.
- the storage unit 222 is configured using a nonvolatile memory element such as a flash memory or an EEPROM.
- the storage unit 222 stores a program 222a executed by the control unit 221 and data necessary for executing the program 222a.
- the program 222a may be written in the storage unit 222 in the manufacturing stage of the ECU 202a, for example, or the program recorded in the recording medium 209 such as a memory card or an optical disk may be read out and stored in the storage unit 222, for example. Further, for example, the recording device may read out what is recorded on the recording medium 209 and write it in the storage unit 222 of the ECU 202a.
- the storage unit 222 stores log information 222b when the communication branch line 6 is cut off.
- the 1st communication part 223 is connected to the communication line which comprises an in-vehicle network, and communicates according to the communication standard of CAN.
- the 1st communication part 223 is connected to the communication line which comprises the communication trunk line 5 among the communication lines which comprise a vehicle interior network.
- the first communication unit 223 performs transmission by converting the transmission information given from the control unit 221 into an electrical signal and outputting the electric signal to the communication main line 5 and receives the signal by sampling and acquiring the potential of the communication main line 5. And the received information is given to the control unit 221.
- the second communication unit 224 is connected to the connection device 204 via the communication line 203 and performs one-to-one communication with the connection device 204.
- the second communication unit 224 gives the information received from the connection device 204 to the control unit 221 and transmits the information given from the control unit 221 to the connection device 204.
- the ECU 202a performs processing for determining whether or not an accident such as a collision has occurred in the vehicle 1.
- the vehicle 1 is equipped with an airbag that protects an occupant when an accident such as a collision occurs, and an ECU that activates the airbag.
- This ECU detects an impact applied to the vehicle 1 by a sensor, for example, and operates the airbag.
- the ECU 202a obtains an impact detection result or airbag operation information from the ECU that operates the airbag by communication via the network of the vehicle 1, and an accident such as a collision occurs in the vehicle 1 based on the information. It can be determined whether or not.
- the ECU 202a determines that a collision has occurred in the vehicle 1 when information indicating that the airbag has been activated is received through communication.
- the ECU 202a may receive information from the ECU that operates the airbag by communication via the communication trunk line 5 and the communication branch line 6, or may receive information by other communication methods.
- the ECU 202a monitors the status of communication via the communication trunk line 5 and the communication branch line 6 in the first communication unit 223. Specifically, the ECU 202a determines whether or not an error has occurred in communication via the communication trunk line 5 and the communication branch line 6. When the ECU 202a determines that an accident such as a collision has occurred in the vehicle 1 and determines that an error has occurred in communication via the communication trunk line 5 and the communication branch line 6, the current detection unit 45 is connected to the connection device 204. The second communication unit 224 performs communication requesting acquisition of the detection result. In response to this request, the connection device 204 acquires the detection result of the current detection unit 45 provided in each communication branch line 6, and transmits the acquired detection result from the communication unit 242 to the ECU 202a.
- the ECU 202a determines the communication branch line 6 to be cut off based on the detection result of the current acquired from the connection device 204, and transmits a command to cut the switch SW of the decided communication branch line 6 to the connection device 204.
- the connection device 204 that has received the shut-off command performs control to shut off the switch SW provided in the communication branch line 6 specified by the shut-off command.
- the ECU 202a After the communication branch line 6 is cut off, the ECU 202a requests the connection device 204 again to obtain the detection result of the current detection unit 45 for confirmation.
- the ECU 202a that has acquired the current detection result again determines that the current value does not exceed the threshold value and the communication branch 6 that has short-circuited or grounded has been successfully disconnected
- the ECU 202a displays information on the communication branch 6 that has been disconnected.
- the log information 222b is stored in the storage unit 222.
- the ECU 202a On the other hand, if the current value exceeds the threshold value even in the detection result reacquired, the ECU 202a further cuts off the communication branch line 6.
- the ECU 202a repeatedly obtains the current detection result and shuts off the communication branch line 6, and shuts off all the communication branch lines 6 in which a short circuit or a ground fault occurs.
- the communication error of the communication trunk line 5 and the communication branch line 6 is maintained for a predetermined time while the ECU 202a repeatedly obtains the current detection result and interrupts the communication branch line 6.
- the other ECUs 2b to 2g connected to the communication branch line 6 stop the communication process.
- no transmission signal is output to the communication trunk line 5 and the communication branch line 6, so that no current flows through the communication trunk line 5 and the communication branch line 6, and the current detection unit 45 Overcurrent cannot be detected.
- This state corresponds to a case where a bus-off state is reached in the CAN communication standard.
- the ECU 202a outputs a signal to the communication trunk line 5 at the first communication unit 223 when the other ECUs 2b to 2g have stopped the communication process.
- the current from the ECU 202a flows through the communication trunk line 5 and the communication branch line 6, an overcurrent can be detected by the current detection unit 45 provided in the communication branch line 6.
- the signal output from the first communication unit 223 does not need to conform to the CAN communication standard, and may be any signal.
- FIG. 9 is a flowchart showing the procedure of the disconnection process of the communication branch line 6 performed by the ECU 202a according to the second embodiment.
- the control unit 221 of the ECU 202a according to Embodiment 2 determines whether an accident such as a collision has occurred in the vehicle 1 based on information from the ECU that operates the airbag of the vehicle 1 received by the first communication unit 223. Is determined (step S21). When it is determined that an accident has occurred (S21: YES), the control unit 221 determines whether or not an error has occurred in the communication of the communication trunk line 5 and the communication branch line 6 in the first communication unit 223 (step S22). . When it is determined that no accident has occurred in the vehicle 1 (S21: NO), or when it is determined that no error has occurred in communication between the communication trunk line 5 and the communication branch line 6 (S22: NO), the control unit 221. Returns the process to step S21.
- the control unit 221 communicates with the connection device 204 at the second communication unit 224, and the current detection unit 45 An acquisition request for the current detection result of the communication branch line 6 is transmitted to the connection device 204 (step S23).
- the control part 221 acquires the current detection result of the current detection part 45 by receiving the information transmitted from the connection device 204 in response to the acquisition request by the second communication part 224 (step S24).
- the control unit 221 compares the current value detected by each current detection unit 45 with a previously stored threshold value, and determines whether or not the current value exceeds the threshold value (step S25). When the current value does not exceed the threshold value for all detection results (S25: NO), the control unit 221 determines that no abnormality has occurred in the communication branch line 6, and ends the process.
- the control unit 221 issues a command to shut off the communication branch line 6 provided with the current detection unit 45 that detects the current value exceeding the threshold value. 2
- the communication unit 224 transmits the data to the connection device 204 (step S26). Subsequently, the control part 221 transmits the acquisition request
- the control unit 221 acquires the current detection result transmitted by the connection device 204 in response to this acquisition request (step S28).
- the control unit 221 determines whether or not the current value detected by each current detection unit 45 exceeds a threshold value (step S29). When the current value exceeds the threshold for at least one detection result (S29: YES), the control unit 221 returns the process to step S26, and repeatedly performs the disconnection of the communication branch line 6 and further current detection and determination.
- control unit 221 When the current value does not exceed the threshold value for all the detection results (S29: NO), the control unit 221 provides information indicating which communication branch line 6 is blocked and the current detection unit 45 when the blocking is performed.
- the log information 222b including the detection result and the like is generated, the generated log information 222b is stored in the storage unit 222 (step S30), and the process is terminated.
- FIG. 10 is a flowchart illustrating a procedure of signal output processing for shut-off processing performed by the ECU 202a according to the second embodiment. This process is a process performed in parallel with the blocking process shown in FIG.
- the control unit 221 of the ECU 202a according to Embodiment 2 determines whether or not an accident such as a collision has occurred in the vehicle 1 (step S41). When it is determined that an accident has occurred (S41: YES), the control unit 221 determines whether or not an error has occurred in communication between the communication trunk line 5 and the communication branch line 6 in the first communication unit 223 (step S42). . When it is determined that no accident has occurred in the vehicle 1 (S41: NO), or when it is determined that no error has occurred in communication between the communication trunk line 5 and the communication branch line 6 (S42: NO), the control unit 221. Returns the process to step S41.
- step S43 When it is determined that an error has occurred in the communication between the communication trunk line 5 and the communication branch line 6 (S42: YES), the control unit 221 monitors the communication via the communication trunk line 5 and the communication branch line 6 with the first communication unit 223. Thus, it is determined whether or not communication by the other ECUs 2b to 2g is stopped (step S43). When communication has not stopped (S43: NO), control part 221 judges whether interception of communication branch 6 in which a short circuit or a ground fault occurred has been completed (Step S44). When the interruption of the communication branch line 6 has not been completed (S44: NO), the control unit 221 returns the process to step S43 and waits until the communication is stopped or the interruption is completed. When interruption
- step S43 When communication of the other ECUs 2b to 2g is stopped (S43: YES), the control unit 221 starts outputting signals to the communication trunk line 5 at the first communication unit 223 (step S45), and then the control unit 221 Then, it is determined whether or not the interruption of the communication branch line 6 in which a short circuit or a ground fault has occurred has been completed (step S46). When the interruption of the communication branch line 6 is not completed (S46: NO), the control unit 221 continues to output the signal until the interruption is completed. When the blocking is completed (S46: YES), the control unit 221 stops outputting the signal from the first communication unit 223 (step S47) and ends the process.
- FIG. 11 is a flowchart showing the procedure of the disconnection process of the communication branch line 6 performed by the connection device 204 according to the second embodiment.
- the control unit 41 of the connection device 204 according to Embodiment 2 determines whether or not the communication unit 242 has received an acquisition request for the current detection result from the ECU 202a (step S51).
- the control unit 41 causes the plurality of current detection units 45 to detect the current of the communication branch line 6, and obtains detection results such as current values from the current detection unit 45.
- Obtain step S52.
- the control unit 41 transmits the current detection result acquired in step S52 to the ECU 202a through the communication unit 242 (step S53), and returns the process to step S51.
- the control unit 41 determines whether or not the communication unit 242 has received a disconnection command for the communication branch line 6 from the ECU 202a (step S54). ). When the blocking command has not been received (S54: NO), the control unit 41 returns the process to step S51.
- the control unit 41 outputs a signal for shutting off the switch SW of the communication branch 6 designated low in the cutoff command, thereby blocking the communication branch 6 (step S55). The process returns to step S51.
- the current detector 45 that detects the current of each communication branch line 6 and the switch SW that cuts off each communication branch line 6 are provided in the connection device 204, and the current detection result
- the ECU 202a performs a process for controlling the shutoff of the switch SW based on the above.
- the ECU 202 a and the connection device 204 are connected via a communication line 203 different from the communication trunk line 5 and the communication branch line 6, and a current detection result, a switch SW cutoff command, and the like are transmitted and received via the communication line 203.
- the ECU 202a and the connection device 204 communicate with each other via another communication line 203.
- the ECU 202a can perform the cutoff control of the switch SW.
- the ECU 202a monitors communication in the communication trunk line 5 and the communication branch line 6, and after obtaining a communication error, obtains a current detection result of the current detection unit 45 and performs control for cutting off the switch SW.
- the ECU 202a and the switch SW are controlled by detecting the current and controlling the switch SW after the communication error is detected.
- the connection device 204 can reduce the processing load during normal operation.
- the ECU 202a causes the first communication unit 223 to communicate with the communication trunk line 5 when the other ECUs 2b to 2g stop communicating after an error has occurred in communication via the communication trunk line 5 and the communication branch line 6. Output a signal.
- the ECU 202a outputs a signal to the communication trunk line 5 to cause the current to flow when the communication of the other ECUs 2b to 2g stops and no current flows to the communication trunk line 5 and the communication branch line 6. It becomes possible to detect the current of the communication branch line 6.
- the ECU 202a determines whether or not an accident such as a collision has occurred in the vehicle 1.
- the present invention is not limited to this, and the ECU 202a does not determine whether or not an accident has occurred. May be.
- the method for determining the occurrence of an accident by the ECU 202a is not only a method based on information from the ECU that operates the airbag, but also any other method, for example, the ECU 202a includes an acceleration sensor and detects an impact applied to the vehicle 1. It may be adopted.
- the ECU 202a is configured to start the process of acquiring the current detection result by the current detection unit 45 and cutting off the communication branch line 6 when a communication error is detected in the communication trunk line 5 and the communication branch line 6. It is not a thing.
- the ECU 202a may be configured not to detect a communication error. In this case, the ECU 202a may start processing for obtaining a current detection result and cutting off the communication branch line 6 in response to the occurrence of an accident in the vehicle 1 regardless of the presence or absence of a communication error. Further, the ECU 202a may acquire the current detection result periodically, for example, regardless of whether the vehicle 1 has an accident or a communication error.
- the ECU 202a is configured to output a signal to the communication trunk line 5 in the first communication unit 223 when the communication of the other ECUs 2b to 2g is stopped, but is not limited thereto.
- the ECU 202a may be configured to stop the process of acquiring the current detection result and cutting off the communication branch line 6 without outputting a signal to the communication trunk line 5 when communication of the other ECUs 2b to 2g is stopped.
- Each device in the communication system includes a computer including a microprocessor, a ROM, a RAM, and the like.
- An arithmetic processing unit such as a microprocessor reads and executes a computer program including some or all of the steps of the sequence diagrams or flowcharts as shown in FIGS. 9 to 11 from a storage unit such as a ROM and a RAM.
- Each of the computer programs of the plurality of apparatuses can be installed from an external server apparatus or the like.
- the computer programs of the plurality of devices are distributed in a state where they are stored in a recording medium such as a CD-ROM, a DVD-ROM, or a semiconductor memory.
Landscapes
- Engineering & Computer Science (AREA)
- Mechanical Engineering (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Small-Scale Networks (AREA)
- Maintenance And Management Of Digital Transmission (AREA)
Abstract
Provided are a communication system, a connecting device, a control device, a communication line cutoff method, and a computer program for detecting a fault such as short-circuiting, a ground fault, etc., in bus-type communication lines and cutting off a fault location. A communication system according to the present embodiment is a bus-type communication system in which a communication device is connected to each of a plurality of communication branch lines branching off from a communication trunk line, and in which a plurality of the communication devices perform communication via the communication trunk line and the communication branch lines, wherein the communication system is provided with: a current detection unit for detecting a current flowing in each of the communication branch lines; a switch provided to each of the communication branch lines, the switch switching between conduction and cutoff of the communication line; and a control unit for performing a control to shut off the switch on the basis of the detection result of the current detection unit. The control unit preferably shuts off the switch provided to a communication branch line in which a current exceeding a threshold value is detected by the current detection unit.
Description
本開示は、バス型の通信線を介して通信を行う通信システム、並びに、このシステムに用いられる接続装置、制御装置、通信線遮断方法及びコンピュータプログラムに関する。
The present disclosure relates to a communication system that performs communication via a bus-type communication line, and a connection device, a control device, a communication line blocking method, and a computer program used in this system.
近年、車両には複数のECU(Electronic Control Unit)などの車載装置が搭載されている。これら複数の車載装置は、通信線を介して接続され、通信により情報を交換することで協調動作を行っている。車両内の通信には、例えばCAN(Controller Area Network)の通信規格が広く採用されている。CANの通信規格では、バス型の通信線を介して複数の車載装置が接続される。
In recent years, in-vehicle devices such as a plurality of ECUs (Electronic Control Units) are mounted on vehicles. The plurality of in-vehicle devices are connected via a communication line, and perform cooperative operation by exchanging information through communication. For example, CAN (Controller 規格 Area 通信 Network) communication standards are widely used for in-vehicle communication. In the CAN communication standard, a plurality of in-vehicle devices are connected via a bus-type communication line.
特許文献1においては、通信バス中に設けられた複数のスイッチの接続/分離の組み合わせを適宜に切り替えることにより形成される経路で通信できるか否かを判断し、スイッチの接続/分離の組み合わせを変更して通信可否の判断を繰り返し行うことによって、通信線の異常を診断する故障診断方法が提案されている。
In Patent Document 1, it is determined whether or not communication is possible on a route formed by appropriately switching a combination of connection / separation of a plurality of switches provided in a communication bus, and a combination of connection / separation of switches is determined. There has been proposed a failure diagnosis method for diagnosing an abnormality in a communication line by making a change and repeatedly determining whether communication is possible.
通信幹線から複数の通信支線が分岐するバス型の通信線を採用した通信システムでは、いずれかの通信支線にて短絡又は地絡の故障が発生した場合、システム全体として通信が不可能となる可能性がある。特許文献1に記載の故障診断方法は通信システム全体をテストモードとして動作させる必要があり、例えば通信システムの起動時などの特定タイミングでのみ行われる。このため特定のタイミングで行われた故障診断にて故障が検出されず、その後に故障が発生した場合には、この故障を検出することができないという問題がある。
In a communication system that employs a bus-type communication line in which multiple communication branches branch from the communication trunk line, if a short circuit or ground fault occurs in any of the communication branches, the entire system may not be able to communicate. There is sex. The failure diagnosis method described in Patent Document 1 needs to operate the entire communication system as a test mode, and is performed only at a specific timing, for example, when the communication system is activated. For this reason, there is a problem that a failure cannot be detected when a failure has not been detected by failure diagnosis performed at a specific timing and a failure has occurred thereafter.
本開示は、斯かる事情に鑑みてなされたものであって、その目的とするところは、バス型の通信線における短絡及び地絡等の故障を検出し、故障個所を遮断する通信システム、接続装置、制御装置、通信線遮断方法及びコンピュータプログラムを提供することにある。
The present disclosure has been made in view of such circumstances, and the object of the present disclosure is to detect a failure such as a short circuit and a ground fault in a bus-type communication line, and to connect a communication system and a connection for disconnecting the failure portion. An apparatus, a control device, a communication line blocking method, and a computer program are provided.
本態様に係る通信システムは、通信幹線から分岐する複数の通信支線にそれぞれ通信装置が接続され、複数の前記通信装置が前記通信幹線及び前記通信支線を介して通信を行うバス型の通信システムであって、各通信支線を流れる電流を検知する電流検知部と、各通信支線にそれぞれ設けられ、該通信支線の通電及び遮断を切り替えるスイッチと、前記電流検知部の検知結果に基づいて、前記スイッチを遮断する制御を行う制御部とを備える。
The communication system according to this aspect is a bus-type communication system in which a communication device is connected to each of a plurality of communication branches branched from a communication trunk line, and the plurality of communication devices communicate via the communication trunk line and the communication branch line. A current detection unit that detects a current flowing through each communication branch line, a switch that is provided in each communication branch line and that switches between energization and interruption of the communication branch line, and the switch based on the detection result of the current detection unit And a control unit that performs control to shut off.
本態様に係る接続装置は、通信線が接続される接続部を複数備える通信線の接続装置であって、各接続部に接続された通信線を流れる電流を検知する電流検知部と、各通信線への通電及び遮断を切り替えるスイッチと、前記電流検知部の検知結果に基づいて、前記スイッチを遮断する制御を行う制御部とを備える。
The connection device according to this aspect is a communication line connection device including a plurality of connection units to which communication lines are connected, and includes a current detection unit that detects a current flowing through the communication line connected to each connection unit, and each communication. A switch that switches between energization and interruption of the wire, and a control unit that performs control to interrupt the switch based on a detection result of the current detection unit.
本態様に係る制御装置は、通信幹線から分岐する複数の通信支線を流れる電流をそれぞれ検知する電流検知部から検知結果を取得する取得部と、前記取得部が取得した検知結果に基づいて、各通信支線に設けられた通電及び遮断を切り替えるスイッチを遮断する制御を行う制御部とを備える。
The control device according to the present aspect includes an acquisition unit that acquires a detection result from a current detection unit that detects currents flowing through a plurality of communication branch lines branched from a communication trunk line, and a detection result acquired by the acquisition unit, And a control unit that performs control to cut off a switch that switches between energization and cutoff provided in the communication branch line.
本態様に係る通信線遮断方法は、通信幹線から分岐する複数の通信支線を流れる電流をそれぞれ検知し、検知結果に基づいて各通信支線に設けられた通電及び遮断を切り替えるスイッチを遮断する。
The communication line cutoff method according to this aspect detects currents flowing through a plurality of communication branches branched from the communication trunk line, and shuts off a switch that switches between energization and cutoff provided in each communication branch line based on the detection result.
本態様に係るコンピュータプログラムは、コンピュータに、通信幹線から分岐する複数の通信支線を流れる電流をそれぞれ検知する電流検知部から検知結果を取得し、取得した検知結果に基づいて、各通信支線に設けられた通電及び遮断を切り替えるスイッチを遮断する処理を行わせる。
The computer program according to this aspect acquires a detection result from a current detection unit that detects currents flowing through a plurality of communication branch lines branched from a communication trunk line in a computer, and is provided in each communication branch line based on the acquired detection result. The process which cuts off the switch which switches the supplied electricity and interruption | blocking is performed.
なお、本願は、このような特徴的な処理部を備える接続装置又は制御装置として実現することができるだけでなく、かかる特徴的な処理をステップとする通信線遮断方法として実現したり、かかるステップをコンピュータに実行させるためのコンピュータプログラムとして実現したりすることができる。また、接続装置又は制御装置の一部又は全部を実現する半導体集積回路として実現したり、接続装置又は制御装置を含むその他の装置又はシステムとして実現したりすることができる。
In addition, the present application can be realized not only as a connection device or a control device including such a characteristic processing unit, but also as a communication line blocking method using such a characteristic process as a step. It can be realized as a computer program to be executed by a computer. Further, it can be realized as a semiconductor integrated circuit that realizes part or all of the connection device or the control device, or can be realized as another device or system including the connection device or the control device.
上記によれば、バス型の通信線における短絡及び地絡等の故障を検出し、故障個所を遮断することができる。
According to the above, it is possible to detect a fault such as a short circuit or a ground fault in a bus-type communication line, and to block the fault location.
[本開示の実施の形態の説明]
最初に本開示の実施態様を列記して説明する。また、以下に記載する実施形態の少なくとも一部を任意に組み合わせてもよい。 [Description of Embodiment of Present Disclosure]
First, embodiments of the present disclosure will be listed and described. Moreover, you may combine arbitrarily at least one part of embodiment described below.
最初に本開示の実施態様を列記して説明する。また、以下に記載する実施形態の少なくとも一部を任意に組み合わせてもよい。 [Description of Embodiment of Present Disclosure]
First, embodiments of the present disclosure will be listed and described. Moreover, you may combine arbitrarily at least one part of embodiment described below.
(1)本態様に係る通信システムは、通信幹線から分岐する複数の通信支線にそれぞれ通信装置が接続され、複数の前記通信装置が前記通信幹線及び前記通信支線を介して通信を行うバス型の通信システムであって、各通信支線を流れる電流を検知する電流検知部と、各通信支線にそれぞれ設けられ、該通信支線の通電及び遮断を切り替えるスイッチと、前記電流検知部の検知結果に基づいて、前記スイッチを遮断する制御を行う制御部とを備える。
(1) In the communication system according to this aspect, a communication device is connected to each of a plurality of communication branches branched from a communication main line, and a plurality of the communication devices communicate via the communication main line and the communication branch line. A communication system comprising: a current detection unit that detects a current flowing through each communication branch; a switch that is provided in each communication branch and that switches between energization and disconnection of the communication branch; and a detection result of the current detection unit. And a control unit that performs control to shut off the switch.
本態様にあっては、通信幹線から複数の通信支線が分岐するバス型の通信線を介して複数の通信装置が通信を行う。各通信支線には、通信支線を流れる電流を検知する電流検知部と、通信支線の通電及び遮断を切り替えるスイッチとが設けられる。各スイッチは、電流検知部による電流の検知結果に基づいて遮断の制御が行われる。これにより通信システムは、通信装置による通常の通信が行われている際に各通信支線の電流を検知して異常の有無を通信支線毎に判断し、異常のある通信支線をスイッチにより遮断することができる。
In this aspect, a plurality of communication devices communicate via a bus-type communication line in which a plurality of communication branch lines branch from a communication trunk line. Each communication branch is provided with a current detector that detects a current flowing through the communication branch, and a switch that switches between energization and interruption of the communication branch. Each switch is controlled to be cut off based on the current detection result by the current detection unit. As a result, the communication system detects the current of each communication branch line during normal communication by the communication device, determines the presence / absence of abnormality for each communication branch line, and shuts off the abnormal communication branch line with a switch. Can do.
(2)それぞれに前記通信支線が接続される複数の接続部と、前記電流検知部及び前記スイッチとを有する接続装置と、前記通信幹線又は前記通信支線に接続され、前記制御部を有する制御装置とを備え、前記接続装置及び前記制御装置は、前記通信幹線及び前記通信支線とは異なる通信線を介して接続されていることが好ましい。
(2) A connection device having a plurality of connection portions each connected to the communication branch line, the current detection unit and the switch, and a control device connected to the communication trunk line or the communication branch line and having the control unit. It is preferable that the connection device and the control device are connected via a communication line different from the communication trunk line and the communication branch line.
本態様にあっては、通信支線毎の電流検知部及びスイッチが通信線の接続装置に設けられる。また通信幹線又は通信支線に接続された制御装置にはスイッチの遮断を制御する制御部が設けられ、制御装置及び接続装置は上記の通信幹線及び通信支線とは異なる通信線を介して接続される。これにより、異常が発生して通信幹線及び通信支線を介した通信が不可能となった場合に、制御装置及び接続装置が別の通信線を介して通信を行うことができ、制御装置がスイッチの遮断制御を行うことができる。
In this aspect, a current detection unit and a switch for each communication branch line are provided in the communication line connection device. In addition, the control device connected to the communication main line or the communication branch line is provided with a control unit that controls the switching of the switch, and the control device and the connection device are connected via a communication line different from the communication main line and the communication branch line. . Thereby, when an abnormality occurs and communication via the communication trunk line and the communication branch line becomes impossible, the control device and the connection device can communicate via another communication line, and the control device is switched Can be controlled.
(3)それぞれに前記通信支線が接続される複数の接続部と、前記電流検知部、前記スイッチ及び前記制御部とを有する接続装置を備えることが好ましい。
(3) It is preferable to provide a connection device having a plurality of connection portions to which the communication branch lines are connected, the current detection portion, the switch, and the control portion.
本態様にあっては、通信支線毎の電流検知部及びスイッチと、スイッチの遮断を制御する制御部とが通信線の接続装置に設けられる。これらを1つの装置に集約することで、装置の簡略化及び装置間の配線削減等が期待できる。
In this aspect, the communication line connection device includes a current detection unit and a switch for each communication branch line, and a control unit that controls the switching of the switch. By consolidating these into one device, simplification of the device and reduction of wiring between devices can be expected.
(4)前記制御部は、前記電流検知部が閾値を超える電流を検知した通信支線に設けられた前記スイッチを遮断することが好ましい。
(4) It is preferable that the said control part interrupts | blocks the said switch provided in the communication branch line in which the said current detection part detected the electric current exceeding a threshold value.
本態様にあっては、電流検知部が閾値を超える電流を検知した通信支線に設けられたスイッチが遮断される。これにより、短絡又は地絡等により通常より多い電流が流れている通信支線を遮断することができる。
In this mode, the switch provided in the communication branch line where the current detection unit detects the current exceeding the threshold is cut off. Thereby, the communication branch line through which more current than usual flows can be cut off due to a short circuit or ground fault.
(5)前記通信幹線における通信エラーを検出するエラー検出部を備え、前記エラー検出部が通信エラーを検出した後に、前記電流検知部による電流の検知及び前記制御部による前記スイッチの制御を行うことが好ましい。
(5) An error detection unit that detects a communication error in the communication trunk line is provided, and after the error detection unit detects a communication error, current detection by the current detection unit and control of the switch by the control unit are performed. Is preferred.
本態様にあっては、通信幹線における通信を監視し、通信エラーを検出した後に電流検知部の電流検知及び制御部のスイッチ制御を行う。通信エラーが発生していない場合には通信線の異常が発生していない可能性が高いため、通信エラーの検出後に電流検知及びスイッチ制御を行うことで、通常動作時の処理負荷を低減することができる。
In this embodiment, communication on the communication trunk line is monitored, and after detecting a communication error, current detection of the current detection unit and switch control of the control unit are performed. When there is no communication error, there is a high possibility that a communication line error has not occurred. Therefore, current detection and switch control are performed after detecting a communication error to reduce the processing load during normal operation. Can do.
(6)前記エラー検出部が通信エラーを検出した後、複数の前記通信支線に接続された全ての前記通信装置が通信を停止した場合に、前記通信幹線又は前記通信支線への信号出力を行う通信部を備え、前記電流検知部は、前記信号出力が行われている際に電流を検知することが好ましい。
(6) After all of the communication devices connected to a plurality of the communication branch lines stop communication after the error detection unit detects a communication error, signal output to the communication trunk line or the communication branch line is performed. It is preferable that a communication unit is provided, and the current detection unit detects a current when the signal output is performed.
本態様にあっては、通信線を介した通信にエラーが発生した後には、この通信線に接続された通信装置が通信を停止する可能性がある。全ての通信装置が通信を停止した場合、通信線は未使用状態となるため短絡又は地絡等が発生していても電流が流れることがなくなり、電流検知に基づく異常検知ができなくなる虞がある。そこで通信エラー検出後に全ての通信装置が通信を停止した場合には、通信線に対する信号出力を行い、この際に電流検知を行うことで、通信停止後にも異常検知を行うことが可能となる。
In this aspect, after an error occurs in communication via the communication line, there is a possibility that the communication device connected to this communication line stops communication. If all communication devices stop communicating, the communication line will be unused, so even if a short circuit or ground fault occurs, current will not flow, and it may not be possible to detect anomalies based on current detection. . Therefore, when all communication devices stop communication after detecting a communication error, a signal is output to the communication line, and current detection is performed at this time, so that an abnormality can be detected even after the communication is stopped.
(7)前記電流検知部の検知結果及び/又は前記制御部による制御結果を記憶する記憶部を備えることが好ましい。
(7) It is preferable to provide a storage unit that stores a detection result of the current detection unit and / or a control result of the control unit.
本態様にあっては、電流検知部の検知結果及び/又は制御部によるスイッチの制御結果を記憶しておく。これにより、例えば通信システムを修理する際に、通信線の故障個所を容易に判断することが可能となる。
In this mode, the detection result of the current detection unit and / or the control result of the switch by the control unit are stored. Thereby, for example, when the communication system is repaired, it is possible to easily determine the failure location of the communication line.
(8)本態様に係る接続装置は、通信線が接続される接続部を複数備える通信線の接続装置であって、各接続部に接続された通信線を流れる電流を検知する電流検知部と、各通信線への通電及び遮断を切り替えるスイッチと、前記電流検知部の検知結果に基づいて、前記スイッチを遮断する制御を行う制御部とを備える。
(8) The connection device according to this aspect is a communication line connection device including a plurality of connection units to which communication lines are connected, and a current detection unit that detects a current flowing through the communication line connected to each connection unit; And a switch that switches between energization and cutoff of each communication line, and a control unit that performs control to shut off the switch based on a detection result of the current detection unit.
本態様にあっては、態様(1)と同様に、通信装置による通常の通信が行われている際に各通信支線の電流を検知して異常の有無を通信支線毎に判断し、異常のある通信支線をスイッチにより遮断することができる。
In this aspect, as in aspect (1), when normal communication is performed by the communication device, the current of each communication branch is detected to determine whether there is an abnormality for each communication branch. A certain communication branch line can be interrupted by a switch.
(9)本態様に係る制御装置は、通信幹線から分岐する複数の通信支線を流れる電流をそれぞれ検知する電流検知部から検知結果を取得する取得部と、前記取得部が取得した検知結果に基づいて、各通信支線に設けられた通電及び遮断を切り替えるスイッチを遮断する制御を行う制御部とを備える。
(9) The control device according to this aspect is based on an acquisition unit that acquires a detection result from a current detection unit that detects currents flowing through a plurality of communication branches branched from a communication trunk line, and a detection result acquired by the acquisition unit. And a control unit that performs control to cut off a switch that switches between energization and interruption provided in each communication branch line.
本態様にあっては、態様(1)と同様に、通信装置による通常の通信が行われている際に各通信支線の電流を検知して異常の有無を通信支線毎に判断し、異常のある通信支線をスイッチにより遮断することができる。
In this aspect, as in aspect (1), when normal communication is performed by the communication device, the current of each communication branch is detected to determine whether there is an abnormality for each communication branch. A certain communication branch line can be interrupted by a switch.
(10)本態様に係る通信線遮断方法は、通信幹線から分岐する複数の通信支線を流れる電流をそれぞれ検知し、検知結果に基づいて各通信支線に設けられた通電及び遮断を切り替えるスイッチを遮断する。
(10) The communication line cutoff method according to this aspect detects currents flowing through a plurality of communication branch lines branched from the communication trunk line, and shuts off a switch that switches between energization and cutoff provided to each communication branch line based on the detection result. To do.
本態様にあっては、態様(1)と同様に、通信装置による通常の通信が行われている際に各通信支線の電流を検知して異常の有無を通信支線毎に判断し、異常のある通信支線をスイッチにより遮断することができる。
In this aspect, as in aspect (1), when normal communication is performed by the communication device, the current of each communication branch is detected to determine whether there is an abnormality for each communication branch. A certain communication branch line can be interrupted by a switch.
(11)本態様に係るコンピュータプログラムは、コンピュータに、通信幹線から分岐する複数の通信支線を流れる電流をそれぞれ検知する電流検知部から検知結果を取得し、取得した検知結果に基づいて、各通信支線に設けられた通電及び遮断を切り替えるスイッチを遮断する処理を行わせる。
(11) The computer program according to the present aspect acquires a detection result from a current detection unit that detects currents flowing through a plurality of communication branch lines branched from a communication main line, and each communication is performed based on the acquired detection result. A process of shutting off a switch for switching between energization and shutoff provided on the branch line is performed.
本態様にあっては、態様(1)と同様に、通信装置による通常の通信が行われている際に各通信支線の電流を検知して異常の有無を通信支線毎に判断し、異常のある通信支線をスイッチにより遮断することができる。
In this aspect, as in aspect (1), when normal communication is performed by the communication device, the current of each communication branch is detected to determine whether there is an abnormality for each communication branch. A certain communication branch line can be interrupted by a switch.
[本開示の実施形態の詳細]
本開示の実施形態に係る通信システムの具体例を、以下に図面を参照しつつ説明する。なお、本開示はこれらの例示に限定されるものではなく、請求の範囲によって示され、請求の範囲と均等の意味及び範囲内でのすべての変更が含まれることが意図される。 [Details of Embodiment of the Present Disclosure]
A specific example of a communication system according to an embodiment of the present disclosure will be described below with reference to the drawings. In addition, this indication is not limited to these illustrations, is shown by the claim, and is intended that all the changes within the meaning and range equivalent to the claim are included.
本開示の実施形態に係る通信システムの具体例を、以下に図面を参照しつつ説明する。なお、本開示はこれらの例示に限定されるものではなく、請求の範囲によって示され、請求の範囲と均等の意味及び範囲内でのすべての変更が含まれることが意図される。 [Details of Embodiment of the Present Disclosure]
A specific example of a communication system according to an embodiment of the present disclosure will be described below with reference to the drawings. In addition, this indication is not limited to these illustrations, is shown by the claim, and is intended that all the changes within the meaning and range equivalent to the claim are included.
(実施の形態1)
<ネットワーク構成>
図1は、実施の形態1に係る通信システムの構成を示す模式図である。実施の形態1に係る通信システム100は、車両1に搭載された7つのECU2a~2gが、それぞれ通信線3a~3gを介して接続装置4に接続された構成である。ECU2a~2gは、例えば車両1のエンジンの動作を制御するECU、ドアのロック/アンロックを制御するECU、ライトの点灯/消灯を制御するECU、エアバッグの動作を制御するECU、及び、ABS(Antilock Brake System)の動作を制御するECU等の種々のECUが含まれ得る。 (Embodiment 1)
<Network configuration>
FIG. 1 is a schematic diagram illustrating a configuration of a communication system according to the first embodiment. Thecommunication system 100 according to the first embodiment has a configuration in which seven ECUs 2a to 2g mounted on the vehicle 1 are connected to the connection device 4 via communication lines 3a to 3g, respectively. The ECUs 2a to 2g are, for example, an ECU that controls the operation of the engine of the vehicle 1, an ECU that controls the locking / unlocking of the door, an ECU that controls the turning on / off of the light, an ECU that controls the operation of the airbag, and an ABS. Various ECUs such as an ECU that controls the operation of the (Antilock Brake System) may be included.
<ネットワーク構成>
図1は、実施の形態1に係る通信システムの構成を示す模式図である。実施の形態1に係る通信システム100は、車両1に搭載された7つのECU2a~2gが、それぞれ通信線3a~3gを介して接続装置4に接続された構成である。ECU2a~2gは、例えば車両1のエンジンの動作を制御するECU、ドアのロック/アンロックを制御するECU、ライトの点灯/消灯を制御するECU、エアバッグの動作を制御するECU、及び、ABS(Antilock Brake System)の動作を制御するECU等の種々のECUが含まれ得る。 (Embodiment 1)
<Network configuration>
FIG. 1 is a schematic diagram illustrating a configuration of a communication system according to the first embodiment. The
接続装置4は、通信線3a~3gが接続される複数の接続部(コネクタ)を有している。接続装置4は、接続された複数の通信線3a~3gを電気的に接続する装置であり、HUB又はジャンクションボックス等の名称で呼ばれ得る装置である。本実施の形態に係る接続装置4は、接続された複数の通信線3a~3gにより1つのバス型のネットワークを構成する。各ECU2a~2gは、通信線3a~3g及び接続装置4を介して相互に通信を行うことができる。
The connection device 4 has a plurality of connection portions (connectors) to which the communication lines 3a to 3g are connected. The connection device 4 is a device that electrically connects a plurality of connected communication lines 3a to 3g, and can be called a name such as a HUB or a junction box. The connection device 4 according to the present embodiment constitutes one bus type network by a plurality of connected communication lines 3a to 3g. The ECUs 2a to 2g can communicate with each other via the communication lines 3a to 3g and the connection device 4.
例えば、接続装置4は車両1の中央に配置され、接続装置4の左方にはECU2aが配置され、接続装置4の右方にはECU2bが配置されている。例えば、ECU2cは車両1の前部左側に配置され、ECU2dは車両1の前部中央に配置され、ECU2eは車両1の前部右側に配置されている。また例えば、ECU2fは車両1の後部左側に配置され、ECU2gは車両1の後部右側に配置されている。なお図1に示すECU2a~2g及び接続装置4の配置は一例であって、これに限るものではない。図示の装置の配置例では、例えば車両1に衝突などの事故が発生した場合、車両1の前後方向の中央に配されたECU2a及び2bと接続装置4とは、他のECU2c~2gと比較して故障し難い。またECU2a及び2bを接続装置4に接続する通信線3a及び3bは、他のECU2を接続装置4に接続する通信線3c~3gと比較して、断線、短絡又は地絡等の故障が発生し難い。
For example, the connection device 4 is disposed in the center of the vehicle 1, the ECU 2 a is disposed on the left side of the connection device 4, and the ECU 2 b is disposed on the right side of the connection device 4. For example, the ECU 2c is arranged on the left side of the front part of the vehicle 1, the ECU 2d is arranged in the center of the front part of the vehicle 1, and the ECU 2e is arranged on the right side of the front part of the vehicle 1. Further, for example, the ECU 2 f is arranged on the left side of the rear part of the vehicle 1, and the ECU 2 g is arranged on the right side of the rear part of the vehicle 1. Note that the arrangement of the ECUs 2a to 2g and the connection device 4 shown in FIG. 1 is an example, and the present invention is not limited to this. In the arrangement example of the illustrated device, for example, when an accident such as a collision occurs in the vehicle 1, the ECUs 2a and 2b and the connection device 4 arranged in the center in the front-rear direction of the vehicle 1 are compared with the other ECUs 2c to 2g. It is hard to break down. In addition, the communication lines 3a and 3b connecting the ECUs 2a and 2b to the connection device 4 cause failures such as disconnection, short circuit, or ground fault as compared with the communication lines 3c to 3g connecting other ECUs 2 to the connection device 4. hard.
そこで本実施の形態においては、接続装置4(の内部配線)と通信線3a及び3bとを通信幹線として扱い、これ以外の通信線3c~3gを通信支線として扱う。
Therefore, in the present embodiment, the connection device 4 (internal wiring thereof) and the communication lines 3a and 3b are handled as communication trunk lines, and the other communication lines 3c to 3g are handled as communication branch lines.
図2は、実施の形態1に係る通信システム100のネットワーク構成を示す模式図である。本実施の形態においてECU2a~2gは、CANの通信規格に従って通信を行う。CANの通信規格では、2線式の通信線、いわゆるツイストペアケーブルを用いてバス型のネットワークが構成され、2線の電圧差に応じた差動信号が通信に用いられる。本実施の形態においてCANバスは、一組の通信幹線5と、この通信幹線5から分岐する複数組の通信支線6とを有している。CANの通信規格において通信幹線5の両端は、2線が終端抵抗Rを介して接続される。2つの終端抵抗Rは、それぞれECU2a及び2bに設けられている。また通信幹線5と通信支線6との分岐点は、接続装置4の内部に設けられている。
FIG. 2 is a schematic diagram illustrating a network configuration of the communication system 100 according to the first embodiment. In the present embodiment, the ECUs 2a to 2g perform communication in accordance with CAN communication standards. In the CAN communication standard, a bus-type network is configured using a two-wire communication line, a so-called twisted pair cable, and a differential signal corresponding to a voltage difference between the two wires is used for communication. In the present embodiment, the CAN bus has a set of communication trunk lines 5 and a plurality of sets of communication branch lines 6 branched from the communication trunk line 5. In the CAN communication standard, two ends of the communication trunk line 5 are connected via a terminating resistor R. The two termination resistors R are provided in the ECUs 2a and 2b, respectively. A branch point between the communication trunk line 5 and the communication branch line 6 is provided inside the connection device 4.
図2に示す通信幹線5は、図1に示した通信線3a及び3bと、接続装置4の内部配線とにより構成される。また図2に示す各通信支線6は、図1に示した各通信線3c~3gと、接続装置4の内部配線とにより構成される。
The communication trunk line 5 shown in FIG. 2 includes the communication lines 3 a and 3 b shown in FIG. Each communication branch line 6 shown in FIG. 2 includes the communication lines 3 c to 3 g shown in FIG. 1 and the internal wiring of the connection device 4.
<装置構成>
図3は、実施の形態1に係る接続装置4の構成を示す模式図である。本実施の形態に係る接続装置4は、例えば合成樹脂製の筐体に、通信線3a~3gを接続するための複数のコネクタ43,44が設けられた構成である。接続装置4が備える2つのコネクタ43は、通信幹線5に相当する2つの通信線3a,3bを接続するためのものである。また接続装置4が備える複数のコネクタ44は、通信支線6に相当する複数の通信線3b~3gを接続するためのものである。ただし図3においては、図面の簡略化のため、コネクタ44を3つのみ図示してある。 <Device configuration>
FIG. 3 is a schematic diagram illustrating a configuration of theconnection device 4 according to the first embodiment. The connection device 4 according to the present embodiment has a configuration in which, for example, a plurality of connectors 43 and 44 for connecting the communication lines 3a to 3g are provided in a synthetic resin casing. The two connectors 43 provided in the connection device 4 are for connecting two communication lines 3 a and 3 b corresponding to the communication trunk line 5. The plurality of connectors 44 included in the connection device 4 are for connecting a plurality of communication lines 3b to 3g corresponding to the communication branch line 6. However, in FIG. 3, only three connectors 44 are shown for simplification of the drawing.
図3は、実施の形態1に係る接続装置4の構成を示す模式図である。本実施の形態に係る接続装置4は、例えば合成樹脂製の筐体に、通信線3a~3gを接続するための複数のコネクタ43,44が設けられた構成である。接続装置4が備える2つのコネクタ43は、通信幹線5に相当する2つの通信線3a,3bを接続するためのものである。また接続装置4が備える複数のコネクタ44は、通信支線6に相当する複数の通信線3b~3gを接続するためのものである。ただし図3においては、図面の簡略化のため、コネクタ44を3つのみ図示してある。 <Device configuration>
FIG. 3 is a schematic diagram illustrating a configuration of the
接続装置4の内部において、2つのコネクタ43は、通信幹線5を構成する2つの内部配線43aを介して接続されている。2つのコネクタ43に通信線3a,3bが接続された場合、1つの通信線3a,3b及び接続装置4の内部配線43aは電気的に接続され、図2に示した通信システム100の通信幹線5を構成する。接続装置4の内部配線43aは複数箇所で分岐しており、分岐点からコネクタ44まで内部配線44aが設けられている。2つの内部配線43aからそれぞれ分岐した2つの内部配線44aを一組として、各コネクタ44に一組の内部配線44aが接続される。コネクタ44に通信線3b~3gが接続された場合、通信線3b~3gはそれぞれ内部配線44aと電気的に接続され、図2に示した通信システム100の通信支線6をそれぞれ構成する。
In the connection device 4, the two connectors 43 are connected via two internal wirings 43 a constituting the communication trunk line 5. When the communication lines 3a and 3b are connected to the two connectors 43, the one communication lines 3a and 3b and the internal wiring 43a of the connection device 4 are electrically connected, and the communication trunk line 5 of the communication system 100 shown in FIG. Configure. The internal wiring 43 a of the connection device 4 branches at a plurality of locations, and the internal wiring 44 a is provided from the branch point to the connector 44. A set of two internal wirings 44a branched from the two internal wirings 43a is taken as a set, and a set of internal wirings 44a is connected to each connector 44. When the communication lines 3b to 3g are connected to the connector 44, the communication lines 3b to 3g are electrically connected to the internal wiring 44a, respectively, and constitute the communication branch line 6 of the communication system 100 shown in FIG.
また内部配線44aの各線には、スイッチSWと電流検知部45とが設けられている。スイッチSWは、例えば電界効果トランジスタ若しくはMOS(Metal Oxide Semiconductor)トランジスタ等の半導体スイッチ、又は、電磁式リレー若しくはソリッドステートリレー等のリレーを用いて構成される。スイッチSWは、内部配線44aの通電及び遮断を切り替える。電流検知部45は、内部配線44aを流れる電流の電流値及び電流の向き等を検知する。電流検知部45は、例えば内部配線44a中に設けられた抵抗器の両端の電位差を測定し、測定した電位差と抵抗器の抵抗値とに基づいて電流値を取得する構成とすることができる。ただし電流検知部45は、これ以外の方法で内部配線44aを流れる電流の電流値及び電流の向き等を検知する構成であってよい。本実施の形態において通信支線6(通信線3b~3g及び内部配線44a)は2線式であるため、接続装置4にはコネクタ44の数の2倍の数のスイッチSW及び電流検知部45が備えられる。
Further, a switch SW and a current detection unit 45 are provided on each line of the internal wiring 44a. The switch SW is configured using, for example, a semiconductor switch such as a field effect transistor or a MOS (Metal Oxide Semiconductor) transistor, or a relay such as an electromagnetic relay or a solid state relay. The switch SW switches between energization and interruption of the internal wiring 44a. The current detection unit 45 detects the current value and direction of the current flowing through the internal wiring 44a. The current detection unit 45 may be configured to measure a potential difference between both ends of a resistor provided in the internal wiring 44a, for example, and acquire a current value based on the measured potential difference and the resistance value of the resistor. However, the current detection unit 45 may be configured to detect the current value of the current flowing through the internal wiring 44a, the direction of the current, and the like by other methods. In the present embodiment, the communication branch line 6 (communication lines 3b to 3g and internal wiring 44a) is a two-wire system, so that the connection device 4 has twice as many switches SW and current detection units 45 as the number of connectors 44. Provided.
また接続装置4は、制御部41及び記憶部42を備えている。制御部41は、例えばCPU(Central Processing Unit)又はマイクロコンピュータ等のIC(Integrated Circuit)を用いて構成され得る。制御部41は、各電流検知部45から電流の検知結果が入力される。また制御部41は、各スイッチSWに対して通電又は遮断を切り替える制御信号を出力する。制御部41は、電流検知部45の検知結果に基づいて各通信支線6における異常を検出し、異常を検出した通信支線6のスイッチSWを遮断することによってこの通信支線6を通信システム100から分離する制御を行う。例えば制御部41は、異常を判定するための閾値を予め記憶しており、電流検知部45が検知した電流値が閾値を超える場合に異常が発生したと判断する。
The connection device 4 includes a control unit 41 and a storage unit 42. The control unit 41 can be configured using, for example, an IC (Integrated Circuit) such as a CPU (Central Processing Unit) or a microcomputer. The control unit 41 receives a current detection result from each current detection unit 45. Further, the control unit 41 outputs a control signal for switching between energization and cutoff for each switch SW. The control unit 41 detects an abnormality in each communication branch line 6 based on the detection result of the current detection unit 45, and disconnects the communication branch line 6 from the communication system 100 by cutting off the switch SW of the communication branch line 6 in which the abnormality is detected. Control. For example, the control unit 41 stores a threshold value for determining an abnormality in advance, and determines that an abnormality has occurred when the current value detected by the current detection unit 45 exceeds the threshold value.
記憶部42は、例えばEEPROM(Electrically Erasable Programmable Read Only Memory)又はフラッシュメモリ等のデータ書換可能な不揮発性のメモリ素子を用いて構成されている。制御部41は、記憶部42に対するデータの読み出し及び書き込みを行うことができる。制御部41は、通信支線6における異常を検出した場合に、異常に関するログ情報を記憶部42に書き込む。記憶部42に記憶されるログ情報は、例えば異常が検出された通信支線6がいずれであるかを示す情報及び異常が検出された際の電流検知部45の検知結果等が含まれ得る。この場合の検知結果は、異常が検出された通信支線6に関する検知結果のみでなく、他の通信支線6に関する検知結果を含んでよい。
The storage unit 42 is configured using, for example, an EEPROM (Electrically-Erasable-Programmable-Read-Only-Memory) or a rewritable nonvolatile memory element such as a flash memory. The control unit 41 can read and write data from and to the storage unit 42. When the control unit 41 detects an abnormality in the communication branch line 6, the control unit 41 writes log information regarding the abnormality in the storage unit 42. The log information stored in the storage unit 42 may include, for example, information indicating which of the communication branch lines 6 in which an abnormality is detected, a detection result of the current detection unit 45 when an abnormality is detected, and the like. The detection result in this case may include not only the detection result regarding the communication branch line 6 in which the abnormality is detected, but also the detection result regarding another communication branch line 6.
<通信支線の遮断処理>
図4~図6は、通信システム100における通信時の電流の流れを説明するための模式図である。本図においては、説明を簡略化するために、通信支線6はECU2c及び2dが接続される2つのみとしてある。また2線式の通信支線6に含まれる2つの線のうち、差動信号の高電位側が印加される線を高電位側支線6hとし、差動信号の低電位側が印加される線を低電位側支線6lとして区別している。同様に、2線式の通信幹線5に含まれる2つの線を、高電位側幹線5h及び低電位側幹線5lとして区別している。また通信時の電流の流れを破線の矢印で示してある。 <Communication branch line blocking process>
4 to 6 are schematic diagrams for explaining the flow of current during communication in thecommunication system 100. FIG. In this figure, in order to simplify the description, there are only two communication branch lines 6 to which the ECUs 2c and 2d are connected. Of the two lines included in the two-wire communication branch line 6, the line to which the high potential side of the differential signal is applied is the high potential side branch line 6h, and the line to which the low potential side of the differential signal is applied is the low potential. It is distinguished as a side branch line 6l. Similarly, two lines included in the two-wire communication trunk line 5 are distinguished as a high potential side trunk line 5h and a low potential side trunk line 5l. In addition, the flow of current during communication is indicated by broken-line arrows.
図4~図6は、通信システム100における通信時の電流の流れを説明するための模式図である。本図においては、説明を簡略化するために、通信支線6はECU2c及び2dが接続される2つのみとしてある。また2線式の通信支線6に含まれる2つの線のうち、差動信号の高電位側が印加される線を高電位側支線6hとし、差動信号の低電位側が印加される線を低電位側支線6lとして区別している。同様に、2線式の通信幹線5に含まれる2つの線を、高電位側幹線5h及び低電位側幹線5lとして区別している。また通信時の電流の流れを破線の矢印で示してある。 <Communication branch line blocking process>
4 to 6 are schematic diagrams for explaining the flow of current during communication in the
図4には、異常が発生していない場合、即ち正常時の通信システム100における電流の流れが示されている。本例では、一の通信支線6に接続されたECU2cが送信信号をこの通信支線6に対して出力した場合を想定している。この場合、ECU2cから通信支線6の高電位側支線6hへ流出した電流は、通信幹線5の高電位側幹線5hを流れて終端抵抗Rに至り、終端抵抗Rから通信幹線5の低電位側幹線5lへ流れ、低電位側幹線5lから低電位側支線6lを経てECU2cへ流入する。
FIG. 4 shows the flow of current in the communication system 100 when no abnormality has occurred, that is, when it is normal. In this example, it is assumed that the ECU 2 c connected to one communication branch line 6 outputs a transmission signal to the communication branch line 6. In this case, the current flowing out from the ECU 2c to the high potential side branch line 6h of the communication branch line 6 flows through the high potential side trunk line 5h of the communication trunk line 5 to the termination resistor R, and from the termination resistor R to the low potential side trunk line of the communication trunk line 5. 5l and flows into the ECU 2c from the low potential side trunk line 5l through the low potential side branch line 6l.
図5には、ECU2dが接続された通信支線6の低電位側支線6lに地絡の故障が発生した場合の電流の流れが示されている。この場合、ECU2cから通信支線6の高電位側支線6hへ流出した電流は、通信幹線5の高電位側幹線5hを流れて終端抵抗Rに至り、終端抵抗Rから通信幹線5の低電位側幹線5lへ流れ、低電位側幹線5lからECU2dが接続された低電位側支線6lへ流れて地絡点へ至る。またECU2dが接続された低電位側支線6lが地絡しているため、ECU2cからは低電位側支線6lへも電流が流出し、この電流は通信幹線5の低電位側幹線5lからECU2dが接続された低電位側支線6lへ流れて地絡点へ至る。即ち、通信支線6に地絡の故障が発生した場合、地絡した低電位側支線6lに対して大電流が流れる。
FIG. 5 shows a current flow when a ground fault occurs in the low potential side branch line 6l of the communication branch line 6 to which the ECU 2d is connected. In this case, the current flowing out from the ECU 2c to the high potential side branch line 6h of the communication branch line 6 flows through the high potential side trunk line 5h of the communication trunk line 5 to the termination resistor R, and from the termination resistor R to the low potential side trunk line of the communication trunk line 5. 5l, flows from the low potential side trunk line 5l to the low potential side branch line 6l to which the ECU 2d is connected, and reaches the ground fault point. Further, since the low potential side branch line 6l to which the ECU 2d is connected is grounded, a current flows out from the ECU 2c to the low potential side branch line 61, and this current is connected to the ECU 2d from the low potential side trunk line 5l of the communication trunk line 5. It flows to the low potential side branch line 6l and reaches the ground fault point. That is, when a ground fault occurs in the communication branch line 6, a large current flows through the grounded low potential side branch line 61.
接続装置4の制御部41は、電流検知部45の検知結果に基づいて、ECU2dが接続された通信支線6の低電位側支線6lに閾値を超える電流が流れていると判定する。この判定に応じて制御部41は、この低電位側支線6lに設けられたスイッチSWを遮断状態へ切り替える制御を行い、低電位側支線6lを遮断する。なおこのときに制御部41は、大電流が流れていると判定した低電位側支線6lと一組の高電位側支線6hについてもスイッチSWを遮断する制御を行うことが好ましい。
Based on the detection result of the current detection unit 45, the control unit 41 of the connection device 4 determines that a current exceeding the threshold value is flowing in the low potential side branch line 6l of the communication branch line 6 to which the ECU 2d is connected. In response to this determination, the control unit 41 performs control to switch the switch SW provided in the low potential side branch line 61 to the cut-off state, and cuts off the low potential side branch line 61. At this time, it is preferable that the control unit 41 also performs control to shut off the switch SW for the low potential side branch line 61 and the pair of high potential side branch lines 6h that are determined to have a large current flowing.
また図5に示す例では、制御部41はECU2cが接続された通信支線6の高電位側支線6h又は低電位側支線6lにおいても閾値を超える電流が流れたと判定する可能性がある。この場合、制御部41は、ECU2cが接続された通信支線6についても遮断する制御を行ってもよい。
In the example shown in FIG. 5, the control unit 41 may determine that a current exceeding the threshold value flows in the high potential side branch line 6 h or the low potential side branch line 6 l of the communication branch line 6 to which the ECU 2 c is connected. In this case, the control unit 41 may perform control for blocking the communication branch line 6 to which the ECU 2c is connected.
図6には、ECU2dが接続された通信支線6の高電位側支線6h及び低電位側支線6lが短絡した場合の電流の流れが示されている。この場合、ECU2cから通信支線6の高電位側支線6hへ流出した電流は、通信幹線5の高電位側幹線5hからECU2dが接続された通信支線6の高電位側支線6hへ流れて短絡箇所へ至る。更にこの電流は、短絡箇所を経てECU2dが接続された通信支線6の低電位側支線6lへ流れ、この低電位側支線6lから通信幹線5の低電位側幹線5lへ流れ、低電位側幹線5lからECU2cが接続された低電位側支線6lへ流れてECU2cへ流れ込む。この場合、高電位側から低電位側へ終端抵抗Rを介さずに電流が流れるため、各電流経路には大電流が流れることとなる。
FIG. 6 shows a current flow when the high potential side branch line 6h and the low potential side branch line 6l of the communication branch line 6 to which the ECU 2d is connected are short-circuited. In this case, the current flowing out from the ECU 2c to the high potential side branch line 6h of the communication branch line 6 flows from the high potential side trunk line 5h of the communication trunk line 5 to the high potential side branch line 6h of the communication branch line 6 to which the ECU 2d is connected to the short circuit portion. It reaches. Further, this current flows to the low potential side branch line 6l of the communication branch line 6 to which the ECU 2d is connected via the short-circuited portion, and flows from the low potential side branch line 6l to the low potential side trunk line 5l of the communication trunk line 5, thereby lowering the low potential side trunk line 51 Flows into the low potential branch 6l to which the ECU 2c is connected and flows into the ECU 2c. In this case, since a current flows from the high potential side to the low potential side without passing through the termination resistor R, a large current flows through each current path.
接続装置4の制御部41は、電流検知部45の検知結果に基づいて、ECU2dが接続された通信支線6の高電位側支線6h及び低電位側支線6lに閾値を超える電流が流れていると判定する。この判定に応じて制御部41は、この高電位側支線6h及び低電位側支線6lに設けられたスイッチSWを遮断状態へ切り替える制御を行い、ECU2dが接続された高電位側支線6h及び低電位側支線6lを遮断する。
Based on the detection result of the current detection unit 45, the control unit 41 of the connection device 4 has a current exceeding a threshold value flowing in the high potential side branch line 6h and the low potential side branch line 6l of the communication branch line 6 to which the ECU 2d is connected. judge. In response to this determination, the control unit 41 performs control to switch the switch SW provided in the high potential side branch line 6h and the low potential side branch line 6l to the cut-off state, and the high potential side branch line 6h and the low potential connected to the ECU 2d. The side branch line 6l is shut off.
また図6に示す例では、制御部41はECU2cが接続された通信支線6の高電位側支線6h又は低電位側支線6lにおいても閾値を超える電流が流れたと判定する可能性がある。この場合、制御部41は、ECU2cが接続された通信支線6についても遮断する制御を行ってもよい。
In the example shown in FIG. 6, the control unit 41 may determine that a current exceeding the threshold value flows in the high potential side branch line 6 h or the low potential side branch line 6 l of the communication branch line 6 to which the ECU 2 c is connected. In this case, the control unit 41 may perform control for blocking the communication branch line 6 to which the ECU 2c is connected.
図7は、実施の形態1に係る接続装置4が行う通信支線6の遮断処理の手順を示すフローチャートである。実施の形態1に係る接続装置4の制御部41は、複数の電流検知部45に通信支線6の電流検知を行わせ、電流検知部45から電流値などの検知結果を取得する(ステップS1)。制御部41は、各電流検知部45が検知した電流値(の絶対値)と予め記憶した閾値とをそれぞれ比較し、電流値が閾値を超えるか否かを判定する(ステップS2)。全ての検知結果について、電流値が閾値を超えない場合(S2:NO)、制御部41は、通信支線6に異常は発生していないと判定し、ステップS3へ処理を進める。
FIG. 7 is a flowchart showing the procedure of the disconnection process of the communication branch line 6 performed by the connection device 4 according to the first embodiment. The control unit 41 of the connection device 4 according to the first embodiment causes the plurality of current detection units 45 to detect the current of the communication branch line 6 and acquires detection results such as current values from the current detection unit 45 (step S1). . The control unit 41 compares the current value (absolute value) detected by each current detection unit 45 with a previously stored threshold value, and determines whether or not the current value exceeds the threshold value (step S2). If the current value does not exceed the threshold value for all detection results (S2: NO), the control unit 41 determines that no abnormality has occurred in the communication branch line 6, and advances the process to step S3.
制御部41は、電流検知部45による各通信支線6の電流検知を例えば数ミリ秒~数秒程度の周期で繰り返し行っている。通信支線6に異常がないと判定した制御部41は、電流検知の周期を規定する所定時間を待機し(ステップS3)、ステップS1へ処理を戻し、電流検知部45による電流検知を所定の周期で繰り返し行う。
The control unit 41 repeatedly performs the current detection of each communication branch line 6 by the current detection unit 45 at a cycle of, for example, several milliseconds to several seconds. The control unit 41 that has determined that there is no abnormality in the communication branch line 6 waits for a predetermined time that defines the current detection cycle (step S3), returns the process to step S1, and performs the current detection by the current detection unit 45 in the predetermined cycle. Repeat with.
少なくとも1つの検知結果について、電流値が閾値を超える場合(S2:YES)、制御部41は、閾値を超える電流値を検知した電流検知部45が設けられた通信支線6のスイッチSWを遮断状態へ切り替える信号を出力することにより、この通信支線6を遮断する(ステップS4)。次いで制御部41は、電流検知部45による電流検知を行う(ステップS5)。なおこのときに制御部41は、電流検知を行う周期に関わりなく、電流検知を行ってよい。制御部41は、各電流検知部45が検知した電流値が閾値を超えるか否かを判定する(ステップS6)。少なくとも1つの検知結果について、電流値が閾値を超える場合(S6:YES)、制御部41は、ステップS4へ処理を戻し、通信支線6の遮断と更なる電流検知及び判定とを繰り返し行う。
When the current value exceeds the threshold value for at least one detection result (S2: YES), the control unit 41 shuts off the switch SW of the communication branch line 6 provided with the current detection unit 45 that detects the current value exceeding the threshold value. The communication branch line 6 is shut off by outputting a signal for switching to (step S4). Next, the control unit 41 performs current detection by the current detection unit 45 (step S5). At this time, the control unit 41 may perform current detection regardless of the current detection cycle. The control part 41 determines whether the electric current value which each electric current detection part 45 detected exceeds a threshold value (step S6). When the current value exceeds the threshold for at least one detection result (S6: YES), the control unit 41 returns the process to step S4, and repeatedly performs the disconnection of the communication branch line 6 and further current detection and determination.
全ての検知結果について、電流値が閾値を超えない場合(S6:NO)、制御部41は、遮断した通信支線6がいずれであるかを示す情報及び遮断を実施した際の電流検知部45の検知結果等を含むログ情報を生成し、生成したログ情報を記憶部42に記憶して(ステップS7)、処理を終了する。
When the current value does not exceed the threshold value for all the detection results (S6: NO), the control unit 41 provides information indicating which of the communication branch lines 6 is blocked and the current detection unit 45 when the blocking is performed. Log information including the detection result and the like is generated, the generated log information is stored in the storage unit 42 (step S7), and the process ends.
<まとめ>
以上の構成の実施の形態1に係る通信システム100は、通信幹線5から複数の通信支線6が分岐するバス型の通信線を介して複数のECU2a~2gが通信を行う構成である。各通信支線6には、通信支線6を流れる電流を検知する電流検知部45と、通信支線6の通電及び遮断を切り替えるスイッチSWとが設けられる。各スイッチSWは、電流検知部45による電流の検知結果に基づいて遮断の制御が行われる。これにより通信システム100は、ECU2a~2gによる通常の通信が行われている際に各通信支線6の電流を検知して異常の有無を通信支線6毎に判定し、異常のある通信支線6をスイッチSWにより遮断することができる。 <Summary>
Thecommunication system 100 according to Embodiment 1 having the above configuration is configured such that a plurality of ECUs 2a to 2g communicate via a bus-type communication line in which a plurality of communication branch lines 6 are branched from a communication trunk line 5. Each communication branch line 6 is provided with a current detector 45 that detects a current flowing through the communication branch line 6 and a switch SW that switches between energization and interruption of the communication branch line 6. Each switch SW is controlled to be cut off based on the current detection result by the current detection unit 45. Thus, the communication system 100 detects the current of each communication branch line 6 during normal communication by the ECUs 2a to 2g, determines the presence / absence of an abnormality for each communication branch line 6, and determines the communication branch line 6 having an abnormality. It can be shut off by the switch SW.
以上の構成の実施の形態1に係る通信システム100は、通信幹線5から複数の通信支線6が分岐するバス型の通信線を介して複数のECU2a~2gが通信を行う構成である。各通信支線6には、通信支線6を流れる電流を検知する電流検知部45と、通信支線6の通電及び遮断を切り替えるスイッチSWとが設けられる。各スイッチSWは、電流検知部45による電流の検知結果に基づいて遮断の制御が行われる。これにより通信システム100は、ECU2a~2gによる通常の通信が行われている際に各通信支線6の電流を検知して異常の有無を通信支線6毎に判定し、異常のある通信支線6をスイッチSWにより遮断することができる。 <Summary>
The
また実施の形態1に係る通信システム100では、通信支線6毎に設けられる電流検知部45及びスイッチSWと、これらを制御する制御部41とを接続装置4が備える。複数の電流検知部45及びスイッチSWと制御部41とを1つの装置に集約することによって、システム構成の簡略化及び装置間の配線削減等が期待できる。
In the communication system 100 according to the first embodiment, the connection device 4 includes the current detection unit 45 and the switch SW provided for each communication branch line 6 and the control unit 41 that controls them. By consolidating the plurality of current detection units 45 and the switches SW and the control unit 41 into one device, simplification of the system configuration and reduction of wiring between devices can be expected.
また実施の形態1に係る接続装置4は、電流検知部45が閾値を超える電流を検知した通信支線6に設けられたスイッチSWを遮断する。これにより、短絡又は地絡等により通常より多い電流が流れている通信支線6を遮断することができる。
Further, the connection device 4 according to the first embodiment cuts off the switch SW provided in the communication branch line 6 where the current detection unit 45 has detected a current exceeding the threshold value. Thereby, the communication branch line 6 in which more current than usual is flowing due to a short circuit or a ground fault can be cut off.
また実施の形態1に係る接続装置4は、制御部41によるスイッチSWの制御結果及び電流検知部45の検知結果等をログ情報として記憶部42に記憶しておく。これにより、例えば通信システム100を修理する際に、作業者がログ情報を閲覧することによって、通信支線6の故障個所を容易に判断することができる。
In addition, the connection device 4 according to the first embodiment stores the control result of the switch SW by the control unit 41 and the detection result of the current detection unit 45 in the storage unit 42 as log information. Thereby, when repairing the communication system 100, for example, the operator can easily determine the failure location of the communication branch line 6 by browsing the log information.
なお本実施の形態においては、車両1に搭載された通信システム100を例に説明を行ったが、通信システム100は車両1に搭載されるものに限らず、例えば船舶若しくは航空機等の移動体に搭載される通信システム、又は、オフィス若しくは工場等に設置される通信システム等、種々の通信システムに同様の構成を採用することができる。また図1に示した車両1のECU2a~2gの搭載数及び配置等は、一例であって、これに限るものではない。また2つのECU2a及び2bを通信幹線5に接続する構成としたが、これに限るものではなく、全てのECU2a~2gを通信支線6に接続する構成としてもよい。この構成の場合、終端抵抗Rは接続装置4に設けられてよい。
In the present embodiment, the communication system 100 mounted on the vehicle 1 has been described as an example. However, the communication system 100 is not limited to the one mounted on the vehicle 1, for example, on a moving body such as a ship or an aircraft. The same configuration can be adopted for various communication systems such as an installed communication system or a communication system installed in an office or factory. Further, the number and arrangement of the ECUs 2a to 2g of the vehicle 1 shown in FIG. 1 are merely examples, and are not limited thereto. The two ECUs 2a and 2b are connected to the communication trunk line 5. However, the present invention is not limited to this, and all the ECUs 2a to 2g may be connected to the communication branch line 6. In the case of this configuration, the termination resistor R may be provided in the connection device 4.
(実施の形態2)
図8は、実施の形態2に係る通信システム200の構成を示すブロック図である。実施の形態2に係る通信システム200は、通信幹線5に接続された1つのECU202aが、接続装置204と専用の通信線203を介して通信を行い、接続装置204から電流の検知結果を取得すると共にスイッチSWの遮断を制御する構成である。 (Embodiment 2)
FIG. 8 is a block diagram showing a configuration of thecommunication system 200 according to the second embodiment. In the communication system 200 according to the second embodiment, one ECU 202a connected to the communication trunk line 5 communicates with the connection device 204 via the dedicated communication line 203, and acquires a current detection result from the connection device 204. At the same time, the switch SW is controlled to be turned off.
図8は、実施の形態2に係る通信システム200の構成を示すブロック図である。実施の形態2に係る通信システム200は、通信幹線5に接続された1つのECU202aが、接続装置204と専用の通信線203を介して通信を行い、接続装置204から電流の検知結果を取得すると共にスイッチSWの遮断を制御する構成である。 (Embodiment 2)
FIG. 8 is a block diagram showing a configuration of the
実施の形態2に係る接続装置204は、実施の形態1に係る接続装置4の記憶部42を備えず、通信線203を介してECU202aとの通信を行う通信部242を備えた構成である。通信部242がECU202aとの間で行う通信は、CANの通信規格に従うものである必要はなく、種々のシリアル通信又はパラレル通信を採用し得る。通信部242は、ECU202aから受信した情報を制御部41へ与えると共に、制御部41から与えられた情報をECU202aへ送信する。
The connection device 204 according to the second embodiment does not include the storage unit 42 of the connection device 4 according to the first embodiment, and includes a communication unit 242 that performs communication with the ECU 202a via the communication line 203. The communication performed by the communication unit 242 with the ECU 202a does not have to conform to the CAN communication standard, and various serial communication or parallel communication can be employed. The communication unit 242 gives the information received from the ECU 202a to the control unit 41 and transmits the information given from the control unit 41 to the ECU 202a.
実施の形態2に係る接続装置204の制御部41は、電流検知部45の検知結果に基づく以上の有無の判定、及び、判定結果に基づくスイッチSWの遮断制御を行わない。これに代えて実施の形態2に係る制御部41は、電流検知部45の検知結果を周期的に取得してECU202aへ送信する処理、及び、ECU202aから与えられた遮断命令に応じてスイッチSWを遮断する処理を行う。
The control unit 41 of the connection device 204 according to the second embodiment does not perform the above-described presence / absence determination based on the detection result of the current detection unit 45 and the cutoff control of the switch SW based on the determination result. Instead of this, the control unit 41 according to the second embodiment switches the switch SW in accordance with a process of periodically acquiring the detection result of the current detection unit 45 and transmitting it to the ECU 202a, and a cutoff command given from the ECU 202a. Perform a blocking process.
実施の形態2に係るECU202aは、制御部221、記憶部222、第1通信部223及び第2通信部224を備えている。なお図8においては、ECU202aが備える機能ブロックのうち、通信支線6の遮断処理に関する機能ブロックを抜き出して図示しており、車両1の制御などに関する機能ブロックについては図示を省略している。制御部221は、例えばCPU又はMPU(Micro-Processing Unit)等の演算処理装置を用いて構成され、記憶部222に記憶されたプログラム222aを読み出して実行することにより、種々の演算処理を行う。
The ECU 202a according to Embodiment 2 includes a control unit 221, a storage unit 222, a first communication unit 223, and a second communication unit 224. In FIG. 8, among the functional blocks provided in the ECU 202a, functional blocks relating to the disconnection process of the communication branch line 6 are extracted and shown, and functional blocks relating to the control of the vehicle 1 and the like are not shown. The control unit 221 is configured using an arithmetic processing device such as a CPU or MPU (Micro-Processing Unit), for example, and performs various arithmetic processes by reading and executing the program 222a stored in the storage unit 222.
記憶部222は、フラッシュメモリ又はEEPROM等の不揮発性のメモリ素子を用いて構成されている。記憶部222は、制御部221が実行するプログラム222aと、このプログラム222aの実行に必要なデータとを記憶する。プログラム222aは、例えばECU202aの製造段階において記憶部222に書き込まれてもよく、また例えばメモリカード又は光ディスク等の記録媒体209に記録されたものをECU202aが読み出して記憶部222に記憶してもよく、また例えば記録媒体209に記録されたものを書込装置が読み出してECU202aの記憶部222に書き込んでもよい。また記憶部222は、通信支線6の遮断処理を行った場合に、ログ情報222bが記憶される。
The storage unit 222 is configured using a nonvolatile memory element such as a flash memory or an EEPROM. The storage unit 222 stores a program 222a executed by the control unit 221 and data necessary for executing the program 222a. The program 222a may be written in the storage unit 222 in the manufacturing stage of the ECU 202a, for example, or the program recorded in the recording medium 209 such as a memory card or an optical disk may be read out and stored in the storage unit 222, for example. Further, for example, the recording device may read out what is recorded on the recording medium 209 and write it in the storage unit 222 of the ECU 202a. The storage unit 222 stores log information 222b when the communication branch line 6 is cut off.
第1通信部223は、車内ネットワークを構成する通信線に接続され、CANの通信規格に従って通信を行う。本実施の形態において第1通信部223は、車内ネットワークを構成する通信線のうち、通信幹線5を構成する通信線に接続される。第1通信部223は、制御部221から与えられた送信情報を電気信号に変換して通信幹線5へ出力することによって送信を行うと共に、通信幹線5の電位をサンプリングして取得することにより受信を行い、受信した情報を制御部221へ与える。
The 1st communication part 223 is connected to the communication line which comprises an in-vehicle network, and communicates according to the communication standard of CAN. In this Embodiment, the 1st communication part 223 is connected to the communication line which comprises the communication trunk line 5 among the communication lines which comprise a vehicle interior network. The first communication unit 223 performs transmission by converting the transmission information given from the control unit 221 into an electrical signal and outputting the electric signal to the communication main line 5 and receives the signal by sampling and acquiring the potential of the communication main line 5. And the received information is given to the control unit 221.
第2通信部224は、通信線203を介して接続装置204に接続され、接続装置204との間で一対一の通信を行う。第2通信部224は、接続装置204から受信した情報を制御部221へ与えると共に、制御部221から与えられた情報を接続装置204へ送信する。
The second communication unit 224 is connected to the connection device 204 via the communication line 203 and performs one-to-one communication with the connection device 204. The second communication unit 224 gives the information received from the connection device 204 to the control unit 221 and transmits the information given from the control unit 221 to the connection device 204.
実施の形態2に係るECU202aは、車両1に衝突などの事故が発生したか否かを判定する処理を行う。例えば、車両1には衝突などの事故が発生した場合に乗員を保護するエアバッグが搭載されており、エアバッグを作動させるECUが搭載されている。このECUは、例えばセンサにより車両1に加わる衝撃を検知してエアバックを作動させる。ECU202aは、エアバッグを作動させるECUから衝撃の検知結果又はエアバックの作動情報等を車両1のネットワークを介した通信により取得し、これらの情報に基づいて車両1に衝突などの事故が発生したか否かを判定することができる。例えばECU202aは、エアバッグが作動した旨の情報を通信にて受信した場合に、車両1に衝突が発生したと判定する。なおECU202aは、通信幹線5及び通信支線6を介して通信にてエアバッグを作動させるECUからの情報を受信してもよく、他の通信方法により情報を受信してもよい。
The ECU 202a according to the second embodiment performs processing for determining whether or not an accident such as a collision has occurred in the vehicle 1. For example, the vehicle 1 is equipped with an airbag that protects an occupant when an accident such as a collision occurs, and an ECU that activates the airbag. This ECU detects an impact applied to the vehicle 1 by a sensor, for example, and operates the airbag. The ECU 202a obtains an impact detection result or airbag operation information from the ECU that operates the airbag by communication via the network of the vehicle 1, and an accident such as a collision occurs in the vehicle 1 based on the information. It can be determined whether or not. For example, the ECU 202a determines that a collision has occurred in the vehicle 1 when information indicating that the airbag has been activated is received through communication. Note that the ECU 202a may receive information from the ECU that operates the airbag by communication via the communication trunk line 5 and the communication branch line 6, or may receive information by other communication methods.
またECU202aは、第1通信部223にて通信幹線5及び通信支線6を介した通信の状況を監視している。詳しくは、ECU202aは、通信幹線5及び通信支線6を介した通信にエラーが発生したか否かを判定している。ECU202aは、車両1に衝突などの事故が発生したと判定し、且つ、通信幹線5及び通信支線6を介した通信にエラーが発生したと判定した場合、接続装置204に対して電流検知部45の検知結果の取得を要求する通信を第2通信部224にて行う。この要求に応じて接続装置204は、各通信支線6に設けられた電流検知部45の検知結果を取得し、取得した検知結果を通信部242からECU202aへ送信する。ECU202aは、接続装置204から取得した電流の検知結果に基づいて遮断する通信支線6を決定し、決定した通信支線6のスイッチSWを遮断する命令を接続装置204へ送信する。遮断命令を受信した接続装置204は、遮断命令にて指定された通信支線6に設けられたスイッチSWを遮断する制御を行う。
Further, the ECU 202a monitors the status of communication via the communication trunk line 5 and the communication branch line 6 in the first communication unit 223. Specifically, the ECU 202a determines whether or not an error has occurred in communication via the communication trunk line 5 and the communication branch line 6. When the ECU 202a determines that an accident such as a collision has occurred in the vehicle 1 and determines that an error has occurred in communication via the communication trunk line 5 and the communication branch line 6, the current detection unit 45 is connected to the connection device 204. The second communication unit 224 performs communication requesting acquisition of the detection result. In response to this request, the connection device 204 acquires the detection result of the current detection unit 45 provided in each communication branch line 6, and transmits the acquired detection result from the communication unit 242 to the ECU 202a. The ECU 202a determines the communication branch line 6 to be cut off based on the detection result of the current acquired from the connection device 204, and transmits a command to cut the switch SW of the decided communication branch line 6 to the connection device 204. The connection device 204 that has received the shut-off command performs control to shut off the switch SW provided in the communication branch line 6 specified by the shut-off command.
通信支線6の遮断を行った後、ECU202aは、確認のために電流検知部45の検知結果の取得を接続装置204に対して再度要求する。電流の検知結果を再度取得したECU202aは、電流値が閾値を超えておらず、短絡又は地絡等が発生した通信支線6の遮断に成功したと判断した場合、遮断した通信支線6に関する情報をログ情報222bとして記憶部222に記憶する。これに対して再取得した検知結果でも電流値が閾値を超えている場合、ECU202aは、更に通信支線6の遮断を行う。ECU202aは、電流の検知結果の取得及び通信支線6の遮断を繰り返し行い、短絡又は地絡等が発生した全ての通信支線6の遮断を行う。
After the communication branch line 6 is cut off, the ECU 202a requests the connection device 204 again to obtain the detection result of the current detection unit 45 for confirmation. When the ECU 202a that has acquired the current detection result again determines that the current value does not exceed the threshold value and the communication branch 6 that has short-circuited or grounded has been successfully disconnected, the ECU 202a displays information on the communication branch 6 that has been disconnected. The log information 222b is stored in the storage unit 222. On the other hand, if the current value exceeds the threshold value even in the detection result reacquired, the ECU 202a further cuts off the communication branch line 6. The ECU 202a repeatedly obtains the current detection result and shuts off the communication branch line 6, and shuts off all the communication branch lines 6 in which a short circuit or a ground fault occurs.
ただし、ECU202aが電流の検知結果の取得及び通信支線6の遮断を繰り返し行っている間に、通信幹線5及び通信支線6の通信エラーが所定時間に亘って持続されたことによって、通信幹線5及び通信支線6に接続された他のECU2b~2gが通信処理を停止する可能性がある。他のECU2b~2gが通信処理を停止すると、通信幹線5及び通信支線6には送信信号の出力が行われなくなるため、通信幹線5及び通信支線6には電流が流れなくなり、電流検知部45が過電流を検知することができなくなる。この状態は、CANの通信規格においてバスオフの状態に至った場合に相当する。
However, the communication error of the communication trunk line 5 and the communication branch line 6 is maintained for a predetermined time while the ECU 202a repeatedly obtains the current detection result and interrupts the communication branch line 6. There is a possibility that the other ECUs 2b to 2g connected to the communication branch line 6 stop the communication process. When the other ECUs 2b to 2g stop the communication process, no transmission signal is output to the communication trunk line 5 and the communication branch line 6, so that no current flows through the communication trunk line 5 and the communication branch line 6, and the current detection unit 45 Overcurrent cannot be detected. This state corresponds to a case where a bus-off state is reached in the CAN communication standard.
そこで実施の形態2に係るECU202aは、他のECU2b~2gが通信処理を停止した状態に至った場合、自らが第1通信部223にて信号を通信幹線5に対して出力する。これにより通信幹線5及び通信支線6にはECU202aからの電流が流れるため、通信支線6に設けられた電流検知部45にて過電流を検知することが可能となる。なおこのときに第1通信部223から出力する信号は、CANの通信規格に従うものである必要はなく、どのような信号であってもよい。
Therefore, the ECU 202a according to the second embodiment outputs a signal to the communication trunk line 5 at the first communication unit 223 when the other ECUs 2b to 2g have stopped the communication process. As a result, since the current from the ECU 202a flows through the communication trunk line 5 and the communication branch line 6, an overcurrent can be detected by the current detection unit 45 provided in the communication branch line 6. At this time, the signal output from the first communication unit 223 does not need to conform to the CAN communication standard, and may be any signal.
図9は、実施の形態2に係るECU202aが行う通信支線6の遮断処理の手順を示すフローチャートである。実施の形態2に係るECU202aの制御部221は、第1通信部223にて受信する車両1のエアバッグを作動させるECUからの情報に基づいて、車両1に衝突などの事故が発生したか否かを判定する(ステップS21)。事故が発生したと判定した場合(S21:YES)、制御部221は、第1通信部223にて通信幹線5及び通信支線6の通信にエラーが発生したか否かを判定する(ステップS22)。車両1に事故が発生していないと判定した場合(S21:NO)、又は、通信幹線5及び通信支線6の通信にエラーが発生していないと判定した場合(S22:NO)、制御部221は、ステップS21へ処理を戻す。
FIG. 9 is a flowchart showing the procedure of the disconnection process of the communication branch line 6 performed by the ECU 202a according to the second embodiment. The control unit 221 of the ECU 202a according to Embodiment 2 determines whether an accident such as a collision has occurred in the vehicle 1 based on information from the ECU that operates the airbag of the vehicle 1 received by the first communication unit 223. Is determined (step S21). When it is determined that an accident has occurred (S21: YES), the control unit 221 determines whether or not an error has occurred in the communication of the communication trunk line 5 and the communication branch line 6 in the first communication unit 223 (step S22). . When it is determined that no accident has occurred in the vehicle 1 (S21: NO), or when it is determined that no error has occurred in communication between the communication trunk line 5 and the communication branch line 6 (S22: NO), the control unit 221. Returns the process to step S21.
通信幹線5及び通信支線6の通信にエラーが発生したと判定した場合(S22:YES)、制御部221は、第2通信部224にて接続装置204との通信を行い、電流検知部45による通信支線6の電流検知結果の取得要求を接続装置204へ送信する(ステップS23)。制御部221は、取得要求に対して接続装置204から送信される情報を第2通信部224にて受信することにより、電流検知部45の電流検知結果を取得する(ステップS24)。制御部221は、各電流検知部45が検知した電流値と予め記憶した閾値とをそれぞれ比較し、電流値が閾値を超えるか否かを判定する(ステップS25)。全ての検知結果について、電流値が閾値を超えない場合(S25:NO)、制御部221は、通信支線6に異常は発生していないと判定し、処理を終了する。
When it is determined that an error has occurred in communication between the communication trunk line 5 and the communication branch line 6 (S22: YES), the control unit 221 communicates with the connection device 204 at the second communication unit 224, and the current detection unit 45 An acquisition request for the current detection result of the communication branch line 6 is transmitted to the connection device 204 (step S23). The control part 221 acquires the current detection result of the current detection part 45 by receiving the information transmitted from the connection device 204 in response to the acquisition request by the second communication part 224 (step S24). The control unit 221 compares the current value detected by each current detection unit 45 with a previously stored threshold value, and determines whether or not the current value exceeds the threshold value (step S25). When the current value does not exceed the threshold value for all detection results (S25: NO), the control unit 221 determines that no abnormality has occurred in the communication branch line 6, and ends the process.
少なくとも1つの検知結果について、電流値が閾値を超える場合(S25:YES)、制御部221は、閾値を超える電流値を検知した電流検知部45が設けられた通信支線6を遮断する命令を第2通信部224にて接続装置204へ送信する(ステップS26)。次いで制御部221は、電流検知部45による通信支線6の電流検知結果の取得要求を接続装置204へ送信する(ステップS27)。制御部221は、この取得要求に対して接続装置204が送信する電流検知結果を取得する(ステップS28)。制御部221は、各電流検知部45が検知した電流値が閾値を超えるか否かを判定する(ステップS29)。少なくとも1つの検知結果について、電流値が閾値を超える場合(S29:YES)、制御部221は、ステップS26へ処理を戻し、通信支線6の遮断と更なる電流検知及び判定とを繰り返し行う。
When the current value exceeds the threshold value for at least one detection result (S25: YES), the control unit 221 issues a command to shut off the communication branch line 6 provided with the current detection unit 45 that detects the current value exceeding the threshold value. 2 The communication unit 224 transmits the data to the connection device 204 (step S26). Subsequently, the control part 221 transmits the acquisition request | requirement of the electric current detection result of the communication branch line 6 by the electric current detection part 45 to the connection apparatus 204 (step S27). The control unit 221 acquires the current detection result transmitted by the connection device 204 in response to this acquisition request (step S28). The control unit 221 determines whether or not the current value detected by each current detection unit 45 exceeds a threshold value (step S29). When the current value exceeds the threshold for at least one detection result (S29: YES), the control unit 221 returns the process to step S26, and repeatedly performs the disconnection of the communication branch line 6 and further current detection and determination.
全ての検知結果について、電流値が閾値を超えない場合(S29:NO)、制御部221は、遮断した通信支線6がいずれであるかを示す情報及び遮断を実施した際の電流検知部45の検知結果等を含むログ情報222bを生成し、生成したログ情報222bを記憶部222に記憶して(ステップS30)、処理を終了する。
When the current value does not exceed the threshold value for all the detection results (S29: NO), the control unit 221 provides information indicating which communication branch line 6 is blocked and the current detection unit 45 when the blocking is performed. The log information 222b including the detection result and the like is generated, the generated log information 222b is stored in the storage unit 222 (step S30), and the process is terminated.
図10は、実施の形態2に係るECU202aが行う遮断処理のための信号出力処理の手順を示すフローチャートである。なお本処理は、図9に示した遮断処理と並行して行われる処理である。実施の形態2に係るECU202aの制御部221は、車両1に衝突などの事故が発生したか否かを判定する(ステップS41)。事故が発生したと判定した場合(S41:YES)、制御部221は、第1通信部223にて通信幹線5及び通信支線6の通信にエラーが発生したか否かを判定する(ステップS42)。車両1に事故が発生していないと判定した場合(S41:NO)、又は、通信幹線5及び通信支線6の通信にエラーが発生していないと判定した場合(S42:NO)、制御部221は、ステップS41へ処理を戻す。
FIG. 10 is a flowchart illustrating a procedure of signal output processing for shut-off processing performed by the ECU 202a according to the second embodiment. This process is a process performed in parallel with the blocking process shown in FIG. The control unit 221 of the ECU 202a according to Embodiment 2 determines whether or not an accident such as a collision has occurred in the vehicle 1 (step S41). When it is determined that an accident has occurred (S41: YES), the control unit 221 determines whether or not an error has occurred in communication between the communication trunk line 5 and the communication branch line 6 in the first communication unit 223 (step S42). . When it is determined that no accident has occurred in the vehicle 1 (S41: NO), or when it is determined that no error has occurred in communication between the communication trunk line 5 and the communication branch line 6 (S42: NO), the control unit 221. Returns the process to step S41.
通信幹線5及び通信支線6の通信にエラーが発生したと判定した場合(S42:YES)、制御部221は、第1通信部223にて通信幹線5及び通信支線6を介した通信を監視することにより、他のECU2b~2gによる通信が停止したか否かを判定する(ステップS43)。通信が停止していない場合(S43:NO)、制御部221は、短絡又は地絡等が発生した通信支線6の遮断を完了したか否かを判定する(ステップS44)。通信支線6の遮断が完了していない場合(S44:NO)、制御部221は、ステップS43へ処理を戻し、通信が停止するか又は遮断が完了するまで待機する。通信支線6の遮断が完了した場合(S44:YES)、制御部221は、処理を終了する。
When it is determined that an error has occurred in the communication between the communication trunk line 5 and the communication branch line 6 (S42: YES), the control unit 221 monitors the communication via the communication trunk line 5 and the communication branch line 6 with the first communication unit 223. Thus, it is determined whether or not communication by the other ECUs 2b to 2g is stopped (step S43). When communication has not stopped (S43: NO), control part 221 judges whether interception of communication branch 6 in which a short circuit or a ground fault occurred has been completed (Step S44). When the interruption of the communication branch line 6 has not been completed (S44: NO), the control unit 221 returns the process to step S43 and waits until the communication is stopped or the interruption is completed. When interruption | blocking of the communication branch line 6 is completed (S44: YES), the control part 221 complete | finishes a process.
他のECU2b~2gの通信が停止した場合(S43:YES)、制御部221は、第1通信部223にて通信幹線5に対する信号の出力を開始する(ステップS45)、その後、制御部221は、短絡又は地絡等が発生した通信支線6の遮断を完了したか否かを判定する(ステップS46)。通信支線6の遮断が完了していない場合(S46:NO)、制御部221は、遮断が完了するまで信号の出力を継続する。遮断が完了した場合(S46:YES)、制御部221は、第1通信部223からの信号の出力を停止し(ステップS47)、処理を終了する。
When communication of the other ECUs 2b to 2g is stopped (S43: YES), the control unit 221 starts outputting signals to the communication trunk line 5 at the first communication unit 223 (step S45), and then the control unit 221 Then, it is determined whether or not the interruption of the communication branch line 6 in which a short circuit or a ground fault has occurred has been completed (step S46). When the interruption of the communication branch line 6 is not completed (S46: NO), the control unit 221 continues to output the signal until the interruption is completed. When the blocking is completed (S46: YES), the control unit 221 stops outputting the signal from the first communication unit 223 (step S47) and ends the process.
図11は、実施の形態2に係る接続装置204が行う通信支線6の遮断処理の手順を示すフローチャートである。実施の形態2に係る接続装置204の制御部41は、通信部242にてECU202aからの電流検知結果の取得要求を受信したか否かを判定する(ステップS51)。電流検知結果の取得要求を受信した場合(S51:YES)、制御部41は、複数の電流検知部45に通信支線6の電流検知を行わせ、電流検知部45から電流値などの検知結果を取得する(ステップS52)。制御部41は、ステップS52にて取得した電流検知結果を、通信部242にてECU202aへ送信し(ステップS53)、ステップS51へ処理を戻す。
FIG. 11 is a flowchart showing the procedure of the disconnection process of the communication branch line 6 performed by the connection device 204 according to the second embodiment. The control unit 41 of the connection device 204 according to Embodiment 2 determines whether or not the communication unit 242 has received an acquisition request for the current detection result from the ECU 202a (step S51). When the current detection result acquisition request is received (S51: YES), the control unit 41 causes the plurality of current detection units 45 to detect the current of the communication branch line 6, and obtains detection results such as current values from the current detection unit 45. Obtain (step S52). The control unit 41 transmits the current detection result acquired in step S52 to the ECU 202a through the communication unit 242 (step S53), and returns the process to step S51.
ECU202aから電流検知結果の取得要求を受信していない場合(S51:NO)、制御部41は、通信部242にてECU202aから通信支線6の遮断命令を受信したか否かを判定する(ステップS54)。遮断命令を受信していない場合(S54:NO)、制御部41は、ステップS51へ処理を戻す。遮断命令を受信した場合(S54:YES)、制御部41は、遮断命令に低指定された通信支線6のスイッチSWを遮断する信号を出力することにより、通信支線6を遮断し(ステップS55)、ステップS51へ処理を戻す。
When the acquisition request of the current detection result is not received from the ECU 202a (S51: NO), the control unit 41 determines whether or not the communication unit 242 has received a disconnection command for the communication branch line 6 from the ECU 202a (step S54). ). When the blocking command has not been received (S54: NO), the control unit 41 returns the process to step S51. When the cutoff command is received (S54: YES), the control unit 41 outputs a signal for shutting off the switch SW of the communication branch 6 designated low in the cutoff command, thereby blocking the communication branch 6 (step S55). The process returns to step S51.
以上の構成の実施の形態2に係る通信システム200は、各通信支線6の電流を検知する電流検知部45及び各通信支線6を遮断するスイッチSWが接続装置204に設けられ、電流の検知結果に基づいてスイッチSWの遮断を制御する処理をECU202aが行う構成である。ECU202a及び接続装置204は通信幹線5及び通信支線6とは異なる通信線203を介して接続され、電流の検知結果及びスイッチSWの遮断命令等は通信線203を介して送受信される。これにより、車両1に衝突などの事故が発生して通信幹線5及び通信支線6を介した通信が不可能となった場合に、ECU202a及び接続装置204が別の通信線203を介して通信を行うことができ、ECU202aがスイッチSWの遮断制御を行うことができる。
In the communication system 200 according to the second embodiment configured as described above, the current detector 45 that detects the current of each communication branch line 6 and the switch SW that cuts off each communication branch line 6 are provided in the connection device 204, and the current detection result The ECU 202a performs a process for controlling the shutoff of the switch SW based on the above. The ECU 202 a and the connection device 204 are connected via a communication line 203 different from the communication trunk line 5 and the communication branch line 6, and a current detection result, a switch SW cutoff command, and the like are transmitted and received via the communication line 203. As a result, when an accident such as a collision occurs in the vehicle 1 and communication via the communication trunk line 5 and the communication branch line 6 becomes impossible, the ECU 202a and the connection device 204 communicate with each other via another communication line 203. The ECU 202a can perform the cutoff control of the switch SW.
また実施の形態2に係るECU202aは、通信幹線5及び通信支線6における通信を監視し、通信エラーを検出した後に電流検知部45の電流検知結果の取得及びスイッチSWの遮断制御を行う。通信エラーが発生していない場合には通信幹線5及び通信支線6に異常が発生していない可能性が高いため、通信エラーの検出後に電流検知及びスイッチSWの遮断制御を行うことで、ECU202a及び接続装置204は通常動作時の処理負荷を低減することができる。
Further, the ECU 202a according to the second embodiment monitors communication in the communication trunk line 5 and the communication branch line 6, and after obtaining a communication error, obtains a current detection result of the current detection unit 45 and performs control for cutting off the switch SW. When there is no communication error, there is a high possibility that no abnormality has occurred in the communication trunk line 5 and the communication branch line 6. Therefore, the ECU 202a and the switch SW are controlled by detecting the current and controlling the switch SW after the communication error is detected. The connection device 204 can reduce the processing load during normal operation.
また実施の形態2に係るECU202aは、通信幹線5及び通信支線6を介した通信にエラーが発生した後に他のECU2b~2gが通信を停止した場合、第1通信部223にて通信幹線5に信号を出力する。これによりECU202aは、他のECU2b~2gの通信が停止して通信幹線5及び通信支線6に電流が流れなくなった場合に、通信幹線5へ信号を出力して電流を流し、電流検知部45による通信支線6の電流検知を行うことが可能となる。
Further, the ECU 202a according to the second embodiment causes the first communication unit 223 to communicate with the communication trunk line 5 when the other ECUs 2b to 2g stop communicating after an error has occurred in communication via the communication trunk line 5 and the communication branch line 6. Output a signal. As a result, the ECU 202a outputs a signal to the communication trunk line 5 to cause the current to flow when the communication of the other ECUs 2b to 2g stops and no current flows to the communication trunk line 5 and the communication branch line 6. It becomes possible to detect the current of the communication branch line 6.
なお実施の形態2においては、車両1に衝突などの事故が発生したか否かをECU202aが判定する構成としたが、これに限るものではなく、事故発生の有無をECU202aが判定しない構成であってもよい。ECU202aによる事故発生の判定方法は、エアバッグを作動させるECUからの情報に基づく方法のみでなく、例えばECU202aが加速度センサを備えて車両1に加わる衝撃を検知するなど、その他のどのような方法を採用してもよい。
In the second embodiment, the ECU 202a determines whether or not an accident such as a collision has occurred in the vehicle 1. However, the present invention is not limited to this, and the ECU 202a does not determine whether or not an accident has occurred. May be. The method for determining the occurrence of an accident by the ECU 202a is not only a method based on information from the ECU that operates the airbag, but also any other method, for example, the ECU 202a includes an acceleration sensor and detects an impact applied to the vehicle 1. It may be adopted.
またECU202aは、通信幹線5及び通信支線6に通信エラーが検出された場合に、電流検知部45による電流検知結果の取得及び通信支線6の遮断の処理を開始する構成としたが、これに限るものではない。ECU202aは通信エラーの検出を行わない構成であってよい。この場合にECU202aは、通信エラーの有無に関わらず、車両1の事故発生に応じて電流検知結果の取得及び通信支線6の遮断の処理を開始してもよい。またECU202aは、車両1の事故の有無及び通信エラーの有無に関わらず、例えば周期的に電流検知結果の取得を行ってもよい。
In addition, the ECU 202a is configured to start the process of acquiring the current detection result by the current detection unit 45 and cutting off the communication branch line 6 when a communication error is detected in the communication trunk line 5 and the communication branch line 6. It is not a thing. The ECU 202a may be configured not to detect a communication error. In this case, the ECU 202a may start processing for obtaining a current detection result and cutting off the communication branch line 6 in response to the occurrence of an accident in the vehicle 1 regardless of the presence or absence of a communication error. Further, the ECU 202a may acquire the current detection result periodically, for example, regardless of whether the vehicle 1 has an accident or a communication error.
またECU202aは、他のECU2b~2gの通信が停止した場合に、第1通信部223にて通信幹線5への信号出力を行う構成としたが、これに限るものではない。例えばECU202aは、他のECU2b~2gの通信が停止した場合に通信幹線5への信号出力を行わず、電流検知結果の取得及び通信支線6の遮断の処理を停止する構成としてもよい。
The ECU 202a is configured to output a signal to the communication trunk line 5 in the first communication unit 223 when the communication of the other ECUs 2b to 2g is stopped, but is not limited thereto. For example, the ECU 202a may be configured to stop the process of acquiring the current detection result and cutting off the communication branch line 6 without outputting a signal to the communication trunk line 5 when communication of the other ECUs 2b to 2g is stopped.
実施の形態2に係る通信システム200のその他の構成は、実施の形態1に係る通信システム100と同様であるため、同様の箇所には同じ符号を付し、詳細な説明を省略する。
Since other configurations of the communication system 200 according to the second embodiment are the same as those of the communication system 100 according to the first embodiment, the same parts are denoted by the same reference numerals and detailed description thereof is omitted.
通信システムにおける各装置は、マイクロプロセッサ、ROM及びRAM等を含んで構成されるコンピュータを備える。マイクロプロセッサ等の演算処理部は、図9~図11に示すような、シーケンス図又はフローチャートの各ステップの一部又は全部を含むコンピュータプログラムを、ROM、RAM等の記憶部からそれぞれ読み出して実行する。これら複数の装置のコンピュータプログラムは、それぞれ、外部のサーバ装置等からインストールすることができる。また、これら複数の装置のコンピュータプログラムは、それぞれ、CD-ROM、DVD-ROM、半導体メモリ等の記録媒体に格納された状態で流通する。
Each device in the communication system includes a computer including a microprocessor, a ROM, a RAM, and the like. An arithmetic processing unit such as a microprocessor reads and executes a computer program including some or all of the steps of the sequence diagrams or flowcharts as shown in FIGS. 9 to 11 from a storage unit such as a ROM and a RAM. . Each of the computer programs of the plurality of apparatuses can be installed from an external server apparatus or the like. In addition, the computer programs of the plurality of devices are distributed in a state where they are stored in a recording medium such as a CD-ROM, a DVD-ROM, or a semiconductor memory.
今回開示された実施形態はすべての点で例示であって、制限的なものではないと考えられるべきである。本開示の範囲は、上記した意味ではなく、請求の範囲によって示され、請求の範囲と均等の意味及び範囲内でのすべての変更が含まれることが意図される。
It should be considered that the embodiment disclosed this time is illustrative in all respects and not restrictive. The scope of the present disclosure is shown not by the above-described meaning but by the scope of claims, and is intended to include all modifications within the meaning and scope equivalent to the scope of claims.
1 車両
2a~2g ECU(通信装置)
3a~3g 通信線
4 接続装置
5 通信幹線
5l 低電位側幹線
5h 高電位側幹線
6 通信支線
6l 低電位側支線
6h 高電位側支線
41 制御部
42 記憶部
43 コネクタ
43a 内部配線
44 コネクタ
44a 内部配線
45 電流検知部
100 通信システム
200 通信システム
202a ECU(制御装置)
203 通信線
204 接続装置
209 記録媒体
221 制御部(エラー検出部)
222 記憶部
222a プログラム
222b ログ情報
223 第1通信部(通信部)
224 第2通信部
242 通信部
R 終端抵抗
SW スイッチ
1Vehicle 2a to 2g ECU (communication device)
3a to3g Communication line 4 Connection device 5 Communication trunk line 5l Low potential side trunk line 5h High potential side trunk line 6 Communication branch line 6l Low potential side branch line 6h High potential side branch line 41 Control unit 42 Storage unit 43 Connector 43a Internal wiring 44 Connector 44a Internal wiring 45 current detection unit 100 communication system 200 communication system 202a ECU (control device)
203Communication Line 204 Connection Device 209 Recording Medium 221 Control Unit (Error Detection Unit)
222storage unit 222a program 222b log information 223 first communication unit (communication unit)
224Second communication unit 242 Communication unit R Termination resistor SW switch
2a~2g ECU(通信装置)
3a~3g 通信線
4 接続装置
5 通信幹線
5l 低電位側幹線
5h 高電位側幹線
6 通信支線
6l 低電位側支線
6h 高電位側支線
41 制御部
42 記憶部
43 コネクタ
43a 内部配線
44 コネクタ
44a 内部配線
45 電流検知部
100 通信システム
200 通信システム
202a ECU(制御装置)
203 通信線
204 接続装置
209 記録媒体
221 制御部(エラー検出部)
222 記憶部
222a プログラム
222b ログ情報
223 第1通信部(通信部)
224 第2通信部
242 通信部
R 終端抵抗
SW スイッチ
1
3a to
203
222
224
Claims (11)
- 通信幹線から分岐する複数の通信支線にそれぞれ通信装置が接続され、複数の前記通信装置が前記通信幹線及び前記通信支線を介して通信を行うバス型の通信システムであって、
各通信支線を流れる電流を検知する電流検知部と、
各通信支線にそれぞれ設けられ、該通信支線の通電及び遮断を切り替えるスイッチと、
前記電流検知部の検知結果に基づいて、前記スイッチを遮断する制御を行う制御部と
を備える通信システム。 A communication system is connected to each of a plurality of communication branches branched from a communication trunk line, and a plurality of the communication apparatuses are bus-type communication systems that communicate via the communication trunk line and the communication branch lines,
A current detection unit for detecting a current flowing through each communication branch line;
A switch that is provided in each communication branch line and switches between energization and interruption of the communication branch line;
And a control unit that performs control to shut off the switch based on a detection result of the current detection unit. - それぞれに前記通信支線が接続される複数の接続部と、前記電流検知部及び前記スイッチとを有する接続装置と、
前記通信幹線又は前記通信支線に接続され、前記制御部を有する制御装置と
を備え、
前記接続装置及び前記制御装置は、前記通信幹線及び前記通信支線とは異なる通信線を介して接続されている、請求項1に記載の通信システム。 A plurality of connection parts each connected to the communication branch line, a connection device having the current detection part and the switch;
A control device connected to the communication trunk line or the communication branch line and having the control unit;
The communication system according to claim 1, wherein the connection device and the control device are connected via a communication line different from the communication trunk line and the communication branch line. - それぞれに前記通信支線が接続される複数の接続部と、前記電流検知部、前記スイッチ及び前記制御部とを有する接続装置を備える、請求項1に記載の通信システム。 2. The communication system according to claim 1, further comprising: a connection device having a plurality of connection portions each connected to the communication branch line, and the current detection unit, the switch, and the control unit.
- 前記制御部は、前記電流検知部が閾値を超える電流を検知した通信支線に設けられた前記スイッチを遮断する、請求項1から請求項3までのいずれか1項に記載の通信システム。 The communication system according to any one of claims 1 to 3, wherein the control unit shuts off the switch provided in a communication branch line in which the current detection unit detects a current exceeding a threshold value.
- 前記通信幹線における通信エラーを検出するエラー検出部を備え、
前記エラー検出部が通信エラーを検出した後に、前記電流検知部による電流の検知及び前記制御部による前記スイッチの制御を行う、請求項1から請求項4までのいずれか1項に記載の通信システム。 An error detection unit for detecting a communication error in the communication trunk line;
5. The communication system according to claim 1, wherein after the error detection unit detects a communication error, the current detection unit detects a current and the control unit controls the switch. 6. . - 前記エラー検出部が通信エラーを検出した後、複数の前記通信支線に接続された全ての前記通信装置が通信を停止した場合に、前記通信幹線又は前記通信支線への信号出力を行う通信部を備え、
前記電流検知部は、前記信号出力が行われている際に電流を検知する、請求項5に記載の通信システム。 A communication unit that outputs a signal to the communication trunk line or the communication branch line when all the communication devices connected to the plurality of communication branch lines stop communication after the error detection unit detects a communication error; Prepared,
The communication system according to claim 5, wherein the current detection unit detects a current when the signal output is performed. - 前記電流検知部の検知結果及び/又は前記制御部による制御結果を記憶する記憶部を備える、請求項1乃至請求項6のいずれか1つに記載の通信システム。 The communication system according to any one of claims 1 to 6, further comprising a storage unit that stores a detection result of the current detection unit and / or a control result of the control unit.
- 通信線が接続される接続部を複数備える通信線の接続装置であって、
各接続部に接続された通信線を流れる電流を検知する電流検知部と、
各通信線への通電及び遮断を切り替えるスイッチと、
前記電流検知部の検知結果に基づいて、前記スイッチを遮断する制御を行う制御部と
を備える接続装置。 A communication line connection device comprising a plurality of connection portions to which communication lines are connected,
A current detection unit that detects a current flowing through a communication line connected to each connection unit;
A switch for switching between energization and interruption of each communication line;
And a control unit that performs control to shut off the switch based on a detection result of the current detection unit. - 通信幹線から分岐する複数の通信支線を流れる電流をそれぞれ検知する電流検知部から検知結果を取得する取得部と、
前記取得部が取得した検知結果に基づいて、各通信支線に設けられた通電及び遮断を切り替えるスイッチを遮断する制御を行う制御部と
を備える制御装置。 An acquisition unit that acquires a detection result from a current detection unit that detects currents flowing through a plurality of communication branch lines branched from the communication main line,
A control unit comprising: a control unit that performs control to shut off a switch that switches between energization and cutoff provided in each communication branch line based on a detection result acquired by the acquisition unit. - 通信幹線から分岐する複数の通信支線を流れる電流をそれぞれ検知し、
検知結果に基づいて各通信支線に設けられた通電及び遮断を切り替えるスイッチを遮断する、通信線遮断方法。 Detects currents flowing through multiple communication branches that branch from the main trunk line,
A communication line blocking method for blocking a switch for switching between energization and blocking provided in each communication branch line based on a detection result. - コンピュータに、
通信幹線から分岐する複数の通信支線を流れる電流をそれぞれ検知する電流検知部から検知結果を取得し、
取得した検知結果に基づいて、各通信支線に設けられた通電及び遮断を切り替えるスイッチを遮断する
処理を行わせるコンピュータプログラム。
On the computer,
Obtain the detection result from the current detection unit that detects the current flowing through the multiple communication branches that branch from the communication trunk line,
A computer program for performing a process of shutting off a switch for switching between energization and shutoff provided in each communication branch line based on an obtained detection result.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018098062A JP2019205038A (en) | 2018-05-22 | 2018-05-22 | Communication system, connection device, control arrangement, communication wire interruption method and computer program |
JP2018-098062 | 2018-05-22 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2019225500A1 true WO2019225500A1 (en) | 2019-11-28 |
Family
ID=68616692
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP2019/019693 WO2019225500A1 (en) | 2018-05-22 | 2019-05-17 | Communication system, connecting device, control device, communication line cutoff method, and computer program |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP2019205038A (en) |
WO (1) | WO2019225500A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114253125A (en) * | 2021-12-22 | 2022-03-29 | 广州极飞科技股份有限公司 | Differential bus control system, equipment address allocation method, device and equipment |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPWO2021149298A1 (en) * | 2020-01-23 | 2021-07-29 | ||
JP2022148528A (en) * | 2021-03-24 | 2022-10-06 | 株式会社オートネットワーク技術研究所 | On-vehicle communication device and on-vehicle communication system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006191404A (en) * | 2005-01-07 | 2006-07-20 | Fujitsu Ten Ltd | Short circuit failure detection apparatus and node device |
JP2009130535A (en) * | 2007-11-21 | 2009-06-11 | Yokogawa Electric Corp | Abnormal signal propagation preventing device |
-
2018
- 2018-05-22 JP JP2018098062A patent/JP2019205038A/en active Pending
-
2019
- 2019-05-17 WO PCT/JP2019/019693 patent/WO2019225500A1/en active Application Filing
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006191404A (en) * | 2005-01-07 | 2006-07-20 | Fujitsu Ten Ltd | Short circuit failure detection apparatus and node device |
JP2009130535A (en) * | 2007-11-21 | 2009-06-11 | Yokogawa Electric Corp | Abnormal signal propagation preventing device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114253125A (en) * | 2021-12-22 | 2022-03-29 | 广州极飞科技股份有限公司 | Differential bus control system, equipment address allocation method, device and equipment |
Also Published As
Publication number | Publication date |
---|---|
JP2019205038A (en) | 2019-11-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102239986B1 (en) | Vehicle having an ethernet bus system and method for operating such a bus system | |
US6307279B1 (en) | Power supplying apparatus for a vehicle and intensive wiring apparatus | |
WO2019225500A1 (en) | Communication system, connecting device, control device, communication line cutoff method, and computer program | |
CN104391502B (en) | Automotive diagnostic system and automobile | |
JP4509200B2 (en) | Network system | |
JP4812396B2 (en) | Abnormality diagnosis system | |
KR20200022674A (en) | Apparatus for controlling fail-operational of vehicle, and method thereof | |
US11697423B2 (en) | In-vehicle communication system, in-vehicle relay apparatus, and in-vehicle control apparatus | |
JP4345502B2 (en) | Fault diagnosis method for vehicle communication network | |
JP5071340B2 (en) | Gateway device, vehicle network, one-side disconnection detection method | |
WO2019235231A1 (en) | In-vehicle control device, control program and control method | |
WO2013104764A1 (en) | Current measuring device and method | |
JP2002091549A (en) | Device and method for diagnosing fault for vehicle electronic control system | |
CN111142504B (en) | Bus detection device and method | |
JPH10341524A (en) | Signal transmitter for mounting on vehicle, and signal transmission method, and power supply controller for mounting on vehicle, and power method, and cable abnormality detector for mounting on vehicle | |
WO2022092263A1 (en) | Ground short failure detection device and node device | |
CN115441896A (en) | Transceiver device | |
CN109818339B (en) | Method for protecting bus stations in a motor vehicle against overload and circuit arrangement for carrying out the method | |
US20200307474A1 (en) | Wire harness and safety management system | |
KR20220032362A (en) | Power control apparatus in autonomous vehicle and method for monitering power status thereof | |
JP7415364B2 (en) | In-vehicle relay device, computer program and failure determination method | |
JP4453616B2 (en) | Electronic control device, communication system, and surge absorbing element inspection method | |
JP2002091545A (en) | Device for diagnosing fault in electronic control system for vehicle | |
JP7405709B2 (en) | Vehicle communication device connection determination system | |
JP2006007895A (en) | Electric power supply system for vehicle |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19806469 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19806469 Country of ref document: EP Kind code of ref document: A1 |