Vehicle communication system and vehicle communication methods
The vehicle communication system addresses the issue of increasing signal lines and safety needs by using duplexed components and safety protocols, reducing complexity and ensuring reliable, fail-safe control of vehicle devices.
Patent Information
- Application Number
- DE112012006843
- Authority / Receiving Office
- DE · DE
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2012-08-24
- Publication Date
- 2024-10-24
- Estimated Expiration
- 2032-08-24
AI Technical Summary
The increasing number of signal lines connected to the BCM in vehicle systems for controlling I/O devices, coupled with the need for enhanced safety measures to prevent accidents, poses a challenge in automotive communication systems.
A vehicle communication system utilizing an input transmission device, control device, and output transmission device, with duplexed components and safety communication protocols to ensure reliable and safe data transfer, reducing the need for multiple signal lines and ensuring fail-safe operations.
This system effectively reduces the number of signal lines required while ensuring high safety standards by implementing duplexed components and safety communication protocols, enabling reliable and fail-safe control of vehicle devices.
Smart Images

Figure 00000024_0000 
Figure 00000025_0000 
Figure 00000026_0000
Abstract
Description
Technical area
[0001] The present invention relates, for example, to an in-vehicle communication system and a vehicle communication method for controlling devices of an automobile. Technical background
[0002] A vehicle system installed in an automobile includes an ECU (Electro Control Unit) called a BCM (Body Control Module). An I / O device (I / O: Input / Output) is connected to the BCM via a dedicated signal line, and the BCM controls the I / O device.
[0003] A problem arises for vehicle systems as described above, which is that the number of signal lines connected to the BCM increases with an increase in I / O devices to be controlled.
[0004] To solve this problem, Patent Literature 1 discloses a method in which signal lines of a plurality of I / O devices are accommodated in multiplex transmission units placed at different parts of a vehicle, and these multiplex transmission units are interconnected to multiplex transmission channels.
[0005] On the other hand, vehicle systems require safety to prevent a serious accident even if a system failure occurs, and ISO 26262 has been internationally standardized as a safety standard.
[0006] DE 199 20 299 A1 discloses a device for detecting, transmitting, and processing safety-relevant signals for controlling machines in production plants. The device comprises two detection means on a transmitter side, a two-channel radio link with a radio module each between the transmitter side and a receiver side, and two signal processing means on the receiver side. Citation listPatent literature
[0007] Patent Literature 1: JP 02-001649 A Summary of the inventionTechnical problem
[0008] It is an object of the present invention to prevent, for example, an increase in the number of signal lines of a control device for controlling devices of an automobile and to ensure safety of the automobile. Solution to the problem
[0009] The object is achieved by the vehicle communication system according to claim 1 and the vehicle communication method according to claim 16. The dependent claims specify advantageous developments of the vehicle communication system.
[0010] A vehicle communication system according to the present invention includes an input transmission device, a control device, and an output transmission device.
[0011] The input transmission device includes a a first device data input part that receives, as first device data, data output from a device installed in the vehicle as an input source device; a second device data input part that receives, as second device data, the data output from the input source device; and an input transmission part that generates first input transmission data including the first device data obtained by the first device data input part and first input security communication data for determining a communication result, generates second input transmission data including the second device data obtained by the second device data input part and second input security communication data for determining a communication result, and transmits the first input transmission data and the second input transmission data to the control device.
[0012] The control device includes a a control receiving part that receives the first transmission data and the second input transmission data transmitted from the input transmission device; a first control determination part that determines whether communication of the first device data included in the first input transmission data has been properly performed based on the first input security communication data included in the first input transmission data received by the control receiving part; a first control computer part that, when it is determined that the communication of the first device data was performed correctly, generates first control data to indicate a control based on the first device data, and when it is determined that the communication of the first device data was not performed correctly, generates first control data to indicate a fail-safe control that is predetermined; a second control determination part that determines whether communication of the second device data included in the second input transmission data has been properly performed based on the second input security communication data included in the second input transmission data received by the control receiving part; a second control computer part which, if it is determined that the communication of the second device data was carried out correctly, generates second control data to indicate a control based on the second device data, and if it is determined that the communication of the second device data was not carried out correctly, generates second control data to indicate the functionally reliable control; and a control transmission part that generates first control transmission data including the first device data generated by the first control computer part, generates second control transmission data including the second control data generated by the second control computer part, and transmits the first control transmission data and the second control transmission data to the output transmission device.
[0013] The output transmission device includes a an output receiving part that receives the first control transmission data and the second control transmission data transmitted from the control device; and a device control data output part that outputs device control data for controlling a device to be controlled installed in the vehicle based on the first control data included in the first control transmission data received by the output receiving part and the second control data included in the second control transmission data received by the output receiving part. Advantageous effects of the invention
[0014] According to the present invention, for example, an increase in the number of signal lines for controlling devices of an automobile can be prevented and safety of the automobile can be ensured. Short description of the drawings Fig. 1 is a configuration diagram of a vehicle communication system 100 according to a first embodiment; Fig. 2 is a flowchart illustrating a vehicle communication method of the vehicle communication system 100 according to the first embodiment; Fig. 3 is a flowchart illustrating the vehicle communication method of the vehicle communication system 100 according to the first embodiment; Fig. 4 is a flowchart illustrating the vehicle communication method of the vehicle navigation system 100 according to the first embodiment; Fig. 5 is a flowchart illustrating the vehicle communication method of the vehicle communication system 100 according to the first embodiment; Fig. 6 is a flowchart illustrating the vehicle communication method of the vehicle communication system 100 according to the first embodiment; Fig. 7 is a flowchart illustrating the vehicle communication method of the vehicle communication system 100 according to the first embodiment; Fig. 8 is a diagram illustrating an example of a configuration of the vehicle communication system 100 according to the first embodiment; Fig. 9 is a configuration diagram of the car navigation system 100 according to a second embodiment; Fig. 10 is a flowchart illustrating part of the vehicle communication method of the vehicle communication system 100 according to the second embodiment; Fig. 11 is a hardware configuration diagram of an input DHM 110 according to a third embodiment; Fig. 12 is a hardware configuration diagram of a BCM 120 according to the third embodiment; Fig. 13 is a hardware configuration diagram of the input DHM 110 according to a fourth embodiment; Fig. 14 is a hardware configuration diagram of the BCM 120 according to the fourth embodiment; Fig. 15 is a hardware configuration diagram of the input DHM 110 according to a fifth embodiment; and Fig. 16 is a hardware configuration diagram of the BCM 120 according to the fifth embodiment. Description of the embodimentsFirst embodiment
[0015] An embodiment will be described according to which an increase in the number of signal lines of a control device for controlling devices of an automobile is prevented and safety of the automobile is ensured.
[0016] Fig. 1 is a configuration diagram of a vehicle communication system 100 according to a first embodiment.
[0017] With reference to Fig. 1, the configuration of the vehicle communication system 100 according to the first embodiment will be described.
[0018] The vehicle communication system 100 (an example of a vehicle communication system) is a system that is installed in an automobile (an example of a vehicle).
[0019] The vehicle communication system 100 includes an input DHM 110 (an example of an input transmission device), a BCM 120 (an example of a control device), an output DHM 130 (an example of an output transmission device), and an acknowledgment DHM 140 (an example of a feedback transmission device).
[0020] DHM stands for “Device Hub Module,” and BCM stands for “Body Control Module.”
[0021] The input DHM 110, the BCM 120, the output DHM 130, and the acknowledge DHM 140 communicate over a network called CAN 101.
[0022] CAN stands for “Controller Area Network”.
[0023] Note that CAN can be replaced by a network based on another standard.
[0024] One or more devices installed in the automobile are connected to the input DHM 110 and the output DHM 130 via signal lines.
[0025] A switch 102, a button, and a sensor are examples of a device connected to the input DHM 110. An actuator 103, a light, and a motor are examples of a device connected to the output DHM 130.
[0026] Each device connected to the input DHM 110 is hereinafter referred to as an "input device." Each device connected to the output DHM 130 is hereinafter referred to as an "output device."
[0027] The Input DHM 110 is a transmission device that transmits device data output by an input device.
[0028] The input DHM 110 is also a multiplex transmission device that multiplexes and transmits device data output from an input device designed for multiplex transmission.
[0029] In Fig. 1, the switch 102 is an example of the input device provided for multiplex transmission.
[0030] The input DHM 110 includes an input control block, a shared input memory, and an input NW control block 115 (an example of an input transfer part). The input control block and the shared input memory are each implemented as a duplexed pair.
[0031] The duplexed pair of input control blocks will hereinafter be referred to as a "first input control block 111 (an example of a first device data input part)" and a "second input control block 112 (an example of a second device data input part)." The duplexed pair of shared input memory will hereinafter be referred to as a "first shared input memory 113 (an example of a first input memory)" and a "second shared input memory 114 (an example of a second input memory)."
[0032] Each input device intended for multiplexed transmission (for example, switch 102) is connected to the first input control block 111 and the second input control block 112, respectively. Other input devices are connected to one of the first input control block 111 and the second input control block 112.
[0033] The function and operation of each component of the Input DHM 110 will be described later.
[0034] The BCM 120 is a control device that transmits control data for controlling an output device to be controlled based on the device data transmitted from the input DHM 110.
[0035] The BCM 120 is also a control device that multiplexes and transmits control data based on each device data multiplexed and transmitted by the input DHM 110.
[0036] The BCM 120 includes a BCM_NW control block 121 (an example of a control receiving part and a control transmitting part), a shared receive memory, a shared transmit memory, a shared acknowledge memory, and a computation block. Each shared receive memory, shared transmit memory, shared acknowledge memory, and computation block is implemented as a duplexed pair.
[0037] The duplexed pair of shared receive memory is hereinafter referred to as a "first shared BCM memory 122r (an example of a first receive memory)" and a "second shared BCM memory 123r (an example of a second receive memory)." The duplexed pair of shared transmit memory is referred to as a "third shared BCM memory 122s (an example of a first transmit memory)" and a "second shared BCM memory 123s (an example of a second transmit memory)." The duplexed pair of shared acknowledge memory is referred to as a "fifth shared BCM memory 122c (an example of a first acknowledge memory)" and a "sixth shared BCM memory 123c (an example of a second acknowledge memory)."The duplexed pair of the computing block is referred to as a “first computing block 124 (an example of a first control determination part, a first control computing part, and a first confirmation determination part)” and a “second computing block 125 (an example of a second control determination part, a second control computing part, and a second confirmation determination part)”.
[0038] The function and operation of each component of the BCM 120 are described later.
[0039] The output DHM 130 is a transmission device that receives control data transmitted from the BCM 120 and controls the output device to be controlled based on the received control data.
[0040] The output DHM 130 is also a multiplex transmission device that receives each control data multiplexed and transmitted by the BCM 120, and controls the output device to be controlled based on each received control data.
[0041] In Fig. 1, the actuator 103 is an example of the output device to be controlled based on each control data which is multiplexed and transmitted.
[0042] The output DHM 130 includes an output NW control block 131 (an example of an output receiving part), a common output memory, an output control block, and a matching circuit 136 (an example of a matching output part). Each of the common output memory and the output control block is implemented as a duplexed pair.
[0043] The duplexed pair of shared output memory blocks will hereinafter be referred to as a "first shared output memory 132 (an example of a first output memory)" and a "second shared output memory 133 (an example of a second output memory)." The duplexed pair of output control blocks will be referred to as a "first output control block 134 (an example of a first output determination part and a first output calculation part)" and a "second output control block 135 (an example of a second output determination part and a second output calculation part)."
[0044] The function and operation of each component of the DHM 130 output will be described later.
[0045] The confirmation DHM 140 is a transmission device that receives the control data output from the output DHM 130 to the output device to be controlled and status data indicating an operating state of the output device to be controlled, and transmits the obtained control data and status data to the BCM 120.
[0046] The confirmation DHM 140 includes a confirmation input control block 141 (an example of a feedback input part) and a common confirmation memory 142 (an example of a feedback memory) and a confirmation NW control block 143 (an example of a feedback transmission part).
[0047] The function and operation of each component of the DHM 140 confirmation device are described later.
[0048] An error indicator 109 is a device that notifies a driver of a communication error of the input DHM 110, the BCM 120, or the output DHM 130, or a control error of an output device.
[0049] An instrument panel that includes an instrument cluster or a car navigation system is an example of error indicator 109.
[0050] The components of the vehicle communication system 100 are logically separated from each other (software side) or physically (hardware side).
[0051] In the embodiments, arrows inserted in the configuration diagrams and flowcharts mainly indicate inputs and outputs of data or signals.
[0052] What is described as a "block" of the input DHM 110, the BCM 120, or the output DHM 130 may be a "circuit," a "device," or a "piece of equipment," and may also be a "part," "process," or "step."
[0053] That is, the input DHM 110, the BCM 120 and the output DHM 130 can be implemented in hardware, software (programs), firmware or a combination thereof.
[0054] Fig. 2 to Fig. 7 are flowcharts illustrating a vehicle communication method of the vehicle communication system 100 according to the first embodiment.
[0055] With reference to Fig. 2 to 7, the vehicle communication method of the vehicle communication system 100 according to the first embodiment will be described.
[0056] In the following description of the vehicle communication method of the vehicle communication system 100, an "input device" refers to an input device provided for multiplex communication, and an "output device" refers to an output device controlled based on device data output from the input device.
[0057] The vehicle communication method of the vehicle communication system 100 is starting from Fig. 2 described.
[0058] In S101, the input device outputs device data to the input DHM 110.
[0059] For example, a pressure switch with two contracts (the switch 102 in Fig. 1) as an input device. When switch 102 is pressed, switch 102 outputs a low signal value as the device data. When switch 102 is not pressed, switch 102 outputs a high signal value as the device data.
[0060] The device data can be pulled up through the input DHM 101. That is, when a signal line connected to the switch 102 and the input DHM 110 are disconnected, the device data indicating a high signal value is input to the input DHM 110 by pulling up.
[0061] After S101, processing continues to S111 and S121.
[0062] S111 to S116 and S121 to S126 below are executed by the components of the input DHM 110.
[0063] In S111, the first input control block 111 accesses an input channel to which the input device is connected at regular intervals and receives the device data output in S101.
[0064] The regular intervals are intervals such that the real-time nature of the system as a whole is not lost. When driver operation is involved, a delay of approximately 100 milliseconds is allowed from the time the driver operates the input device until the time the output device is controlled. Therefore, intervals of approximately 10 milliseconds are sufficient as regular intervals. The same applies to the regular intervals described below.
[0065] After S111, processing continues to S112.
[0066] In S112, based on the device data obtained in S111, the first input control block 111 generates security communication data for confirming a communication result.
[0067] Safety communication data is data used to check for communication failures. A sequence number, a sequential number of communication data, or an error detection code such as a CRC code (CRC: Cyclic Redundancy Check) is an example of safety communication data.
[0068] Hereinafter, a function for checking whether a communication failure has occurred based on safety communication data is referred to as a "safety communication function." AUTO-SAR's "End-to-End Communication Protection" is an example of a standard related to the safety communication function. The same applies to the safety communication data and safety communication function described below.
[0069] After S112, processing continues to S113.
[0070] In S113, the first input control block 111 writes the device data obtained in S111 and the safety communication data generated in S112 into the first shared input memory 113. Writing “data” can be read as “storing” data (the same applies below).
[0071] After S113, processing continues to S114.
[0072] In S114, the input NW control block 115 accesses the first shared input memory 113 at regular intervals, and reads the device data and the safety communication data from the first shared input memory 113. "Reading" data may be read as "acquiring" data (the same applies below).
[0073] In S115, the input NW control block 115 generates a frame for the CAN 101, which includes the device data and the safety communication data read in S114. A frame is data generated in a predetermined format so that it can be communicated over the network (the same applies below). The frame generated in S115 is hereinafter referred to as a "first data frame."
[0074] In S116, the input NW control block 115 transmits the first data frame generated in S115 to the BCM 120 via the CAN 101.
[0075] After S116, processing goes to S211 (see Fig. 3) continue.
[0076] In S121 to S126, the second input control block 112 and the input NW control block 115 operate in the same manner as in S111 to S116, using the second common input memory 114.
[0077] That is, the second input control block 112 receives device data (S121), generates safety communication data (S122), and writes the device data and the safety communication data into the second common input memory 114 (S123).
[0078] The input NW control block 115 reads the device data and the safety communication data from the second shared input memory 114 (S124), generates a second data frame including the device data and the safety communication data (S120), and transmits the second data frame to the BCM 120 (S126). After S126, processing proceeds to S221.
[0079] With reference to Fig. 3 the processes in S211 and further and in S221 and further are described.
[0080] In Fig. 3 S211 to S215 and S221 to S225 are executed by the components of the BCM 120.
[0081] In S211, the BCM_NW control block 121 receives the first data frame transmitted from the input DHM 110.
[0082] After S211, processing continues to S212.
[0083] In S212, the BCM_NW control block 121 writes the first data frame received in S211 into the first shared BCM memory 122r.
[0084] For example, the first data frame and the second data frame each include an identifier (IP address, identification number, etc.) to identify the first data frame and the second data frame, respectively. Based on this identifier, the BCM_NW control block 121 distinguishes the first data frame and the second data frame.
[0085] After S212, processing continues to S213.
[0086] In S213, the first computing block 124 accesses the first shared BCM memory 122r at regular intervals and reads the first data frame from the first shared BCM memory 122r.
[0087] After S213, processing continues to S214.
[0088] In S214, using the safety communication function, the first computing block 124 determines whether a communication malfunction occurred in the communication of the first data frame.
[0089] For example, the first computing block 124 checks the sequence number or CRC code specified by the safety communication data included in the first data frame. If the safety communication data does not specify a correct value, the first computing block 124 determines that a communication malfunction has occurred. The same applies to the safety communication function described below.
[0090] If it is determined that a communication malfunction has occurred (YES), processing proceeds to S215.
[0091] If it is determined that no communication malfunction has occurred (NO), processing goes to S231 (see Fig. 4) continue.
[0092] In S215, the first computing block 124 inputs error notification data to the error indicator 109 to notify that a vehicle communication error has occurred.
[0093] For example, when the error notification data is input, the instrument panel or the car navigation system acting as the error indicator 109 operates as described below.
[0094] The instrument panel will illuminate a fault indicator light.
[0095] The car navigation system displays an error message on a screen or issues a voice error message.
[0096] After S215, processing goes to S231 (see Fig. 4) continue.
[0097] In S221 to S225, the BCM_NW control block 121 and the second calculation block 125 operate in the same manner as in S211 to S215, using the second common BCM memory 123r.
[0098] That is, the BCM_NW control block 121 receives the second data frame (S221) and writes the second data frame into the second BCM shared memory 123r (S222).
[0099] The second computing block 125 reads the second data frame from the second shared BCM memory 123r (S223) and determines whether a communication malfunction has occurred (S224). If it is determined that a communication malfunction has occurred, the second computing block 125 notifies the error indicator 109 of an error (S220).
[0100] If it is determined in S224 that no communication malfunction has occurred or after S225, the processing proceeds to S241.
[0101] With reference to Fig. 4 the processes are described in S231 and further and in S241 and further.
[0102] In Fig. 4 S231 to S236 and S241 to S246 are executed by the components of the BCM 120.
[0103] The fail-safe control is a control system designed to ensure safe operation when a failure occurs. The fail-safe control is predefined for each output device. For example, the first computer block 124 generates control data indicating a low signal value to stop the output device. The same applies to the fail-safe control system described below.
[0104] If it is determined in S214 that no communication malfunction has occurred, the first computing block 124 generates control data to indicate control according to the value of the device data (hereinafter referred to as “normal control”) based on the device data included in the first data frame.
[0105] For example, the first computing block 124 uses the value of the device data as the control data to operate the actuator 103 (an example of the output device) according to an operation of the switch 102 (an example of the input device). Alternatively, for example, the first computing block 124 generates as the control data, for example, data for turning a motor on or off, or PWM (Pulse Width Modulation) data for adjusting the brightness of a light in the vehicle. The same applies to the control according to the value of the device data, which will be described below.
[0106] After S231, processing continues to S232.
[0107] In S232, the first computing block 124 generates safety communication data based on the control data generated in S231.
[0108] In S233, the first computer block 124 writes the control data generated in S231 and the safety communication data generated in S232 into the third shared BCM memory 122s.
[0109] After S233, processing continues to S234.
[0110] In S234, the BCM_NW control block 121 reads the control data and the safety communication data from the third BCM shared memory 122s.
[0111] In S235, the BCM_NW control block 121 generates a frame for the CAN 101 including the control data and the safety communication data read in S234. The frame generated in S235 is hereinafter referred to as a "first control frame."
[0112] In S236, the BCM_NW control block 121 transmits the first control frame generated in S235 to the output DHM 130 via the CAN 101.
[0113] After S236, processing goes to S311 (see Fig. 5) continue.
[0114] In S241 to S246, the second computing block 125 and the BCM_NW control block 121 operate in the same manner as in S231 to S236, using the fourth common BCM memory 123s.
[0115] That is, the second computing block 125 generates control data based on a determination result in S224 or the device data included in the second data frame (S241), generates safety communication data (S242), and writes the control data and the safety communication data into the fourth BCM shared memory 123s (S243).
[0116] The BCM_NW control block 121 reads the control data and the safety communication data from the fourth BCM shared memory 123s (S244), generates a second control frame including the control data and the safety communication data (S245), and transmits the second control frame to the BCM 120 (S246). After S246, processing proceeds to S321 (see Fig. 5).
[0117] With reference to Fig. 5 the processes in S311 and further and in S321 and further are described.
[0118] In Fig. 5 S311 to S315, S321 to S325 and S330 are executed by components of the output DHM 130.
[0119] In S311, the output NW control block 131 receives the first control frame transmitted from the BCM 120.
[0120] In S315, the output NW control block 131 writes the first control frame received in S311 into the first shared memory 132.
[0121] For example, the first control frame and the second control frame each include an identifier to identify the first control frame and the second control frame, respectively. Based on this identifier, the output NW control block 131 distinguishes the first control frame and the second control frame.
[0122] After S312, processing continues to S313.
[0123] In S313, the first output control block 134 accesses the first shared output memory 132 at regular intervals and reads the first control frame from the first shared output memory 132.
[0124] After S313, processing continues to S314.
[0125] In S314, using the safety communication function, the first output control block 134 determines whether a communication malfunction has occurred in the communication of the first control frame.
[0126] After S314, processing continues to S315.
[0127] In S315, when it is determined in S314 that a communication malfunction has occurred, the first output control block 134 generates control data to indicate the fail-safe control and inputs the generated control data to the matching circuit 136.
[0128] If it is determined in S314 that no communication malfunction has occurred, the first output control block 134 inputs the control data included in the first control frame to the matching circuit 136.
[0129] The control data input to the matching circuit 136 in S315 is hereinafter referred to as “first control output data.”
[0130] After S315, processing continues to S330.
[0131] In S321 to S325, the output NW control block 131 and the second output control block 135 operate in the same manner as in S311 to S315, using the second common output memory 133.
[0132] That is, the output NW control block 131 receives the second control frame (S321) and writes the second control frame into the second output shared memory 133 (S322).
[0133] The second output control block 135 reads the second control frame from the second shared output memory 133 (S323), determines whether a communication malfunction has occurred (S324), and inputs the second control output data to the matching circuit 136 based on this determination result or the control data included in the second control frame (S325). After S325, processing proceeds to S330.
[0134] In S330, the matching circuit 136 inputs device control data for controlling the output device to the output device based on the first control output data input in S315 and the second control output data input in S325.
[0135] For example, the matching circuit 136 inputs the device control data to the output device as described below.
[0136] When both of the first control output data and the second control output data indicate the same value, the matching circuit 136 inputs this value to the output device as the device control data.
[0137] When the first control output data and the second control output data indicate mutually different values, the matching circuit 136 inputs the device control data indicating the fail-safe control to the output device.
[0138] With this control, if a malfunction occurs in at least one of the multiplexed communication channels, the compliance circuit 136 can make the output device operate in a fail-safe manner.
[0139] For example, the match circuit 136 may consist of a simple NOR circuit.
[0140] After S330, processing continues to S340.
[0141] In S340, the output device operates according to the device control data entered in S330.
[0142] For example, when the device control data specifies a value to instruct the execution of an operation, the actuator 103 acting as the output device executes the operation. That is, the actuator 103 causes a specified device, such as a motor, to operate.
[0143] When the device control data specifies a value to assign a stop to an operation, the actuator 103 acting as the output device stops the operation. That is, the actuator 103 causes a specified device such as a motor to stop.
[0144] After S340, processing continues to S411 (see Fig. 6).
[0145] With reference to Fig. 6 describes the processes in S411 and further.
[0146] In Fig. 6 S411 to S416 are executed by the components of the confirmation DHM 140.
[0147] In S411, the confirmation input control block 141 receives the device control data output from the matching circuit 136 and inputs it to the output device in S330.
[0148] The confirmation input control block 141 also requests device state data indicating an operating state of the actuator 103 from the actuator 103 operating according to the device data in S340, and receives the device state data from the actuator 103.
[0149] Note that the confirmation input control block 141 can receive each of the device control data and the device state data.
[0150] The device control data and device status data obtained in S411 are hereinafter referred to as “feedback data”.
[0151] After S411, processing continues to S412.
[0152] In S412, the confirmation input control block 141 generates safety communication data based on the feedback data obtained in S411.
[0153] In S413, the confirmation input control block 141 writes the feedback data obtained in S411 and the safety communication data generated in S412 into the shared confirmation memory 142.
[0154] After S413, processing continues to S414.
[0155] In S414, the confirmation NW control block 143 accesses the shared confirmation memory 142 at regular intervals and reads the feedback data and the safety communication data from the shared confirmation memory 142.
[0156] In S415, the acknowledgement NW control block 143 generates a frame for the CAN 101, including the feedback data and the safety communication data read in S414. The frame generated in S415 is hereinafter referred to as an "acknowledgement frame."
[0157] In S416, the acknowledgment NW control block 143 transmits the acknowledgment frame generated in S415 to the BCM 120 via the CAN 101. For example, the acknowledgment NW control block 143 transmits the acknowledgment frame by multicasting to store the acknowledgment frame in the fifth BCM shared memory 122c and the sixth BCM shared memory 123c of the BCM 120. Note that the acknowledgment NW control block 143 may transmit a first acknowledgment frame stored in the fifth BCM shared memory 122c and a second acknowledgment frame stored in the sixth BCM shared memory 123c by unicasting.
[0158] After S416, processing continues to S511 (see Figure 700).
[0159] With reference to Fig. 7 describes the processes in S511 and beyond.
[0160] In Fig. 7 S511 to S533 are executed by the components of the BCM 120.
[0161] In S511, the BCM_NW control block 121 receives the acknowledgment frame transmitted from the acknowledgment DHM 140.
[0162] In S512, the BCM_NW control block 121 writes the acknowledgment frame received in S511 into the fifth shared BCM memory 122c and the sixth shared BCM memory 123c.
[0163] After S512, processing continues to S521 and S531.
[0164] In S521, the first computing block 124 accesses the fifth shared BCM memory 122c at regular intervals and reads the confirmation frame from the fifth shared BCM memory 123c.
[0165] After S521, processing continues to S522.
[0166] In S522, the first computing block 124 compares the feedback data included in the confirmation frame read from the fifth common BCM memory 122c in S521 and the control data written in the third common BCM memory 142s in S233 (see Fig. 4). Then, based on the comparison result, the first computing block 124 determines whether the output device is being controlled correctly.
[0167] For example, if the device control data (an example of feedback data) and the control data are the same, and an operation indicated by the device state data (an example of feedback data) and an operation corresponding to the control data are the same, the first computing block 124 determines that the output device is being controlled correctly. In other cases, the first computing block 124 determines that the output device is not being controlled correctly.
[0168] If it is determined that the output device is controlled correctly (YES), the sequence of processes of the vehicle communication procedure is completed.
[0169] If it is determined that the output device is not controlled properly (NO), processing proceeds to S523.
[0170] In S523, the first computing block 124 inputs error notification data to the error indicator 109 to notify that an output device control error has occurred.
[0171] The operation of the error indicator 109 is the same as that in S215 (see Fig. 3).
[0172] S523 completes the sequence of processes of the vehicle communication method.
[0173] In S531 to S533, the second computing block 125 operates in the same manner as in S521 to S523, using the sixth common BCM memory 123c.
[0174] That is, the second computing block 125 reads the confirmation frame from the sixth BCM shared memory 123c (S531) and compares the device control data included in the confirmation frame with the control data from S243 to determine whether the output device is being controlled correctly (S532). If it is determined that the output device is not being controlled correctly, the second computing block 125 notifies the error indicator 109 of an error (S533).
[0175] The vehicle communication method described with reference to Fig. 2 to Fig. 7 is executed repeatedly.
[0176] According to the first embodiment, even if a single-point failure occurs due to a malfunction or erroneous operation, the vehicle communication system 100 can ensure a high level of safety with the fail-safe control.
[0177] That is, the vehicle communication system 100 can implement the fail-safe control to the output device even if a failure occurs in any of the components, except for a failure in the matching circuit 136 or the output device, which is unavoidable in principle.
[0178] The first embodiment was described, according to which each of the control blocks and memories for input, computation, or output of the input DHM 110, the BCM 120, and the output DHM 130 can be implemented as a duplexed pair. However, these components can be multiplexed three or more times. Alternatively, one of the duplexed pairs of components can be implemented as a single block or single memory without being multiplexed.
[0179] Each of the NW control blocks of the input DHM 110, the BCM 120 and the output DHM 130 can be multiplexed.
[0180] Furthermore, each component of the confirmation DHM 140 can be multiplexed. However, the confirmation DHM 140 is a component for confirming whether the output device is being controlled correctly after the output device has been controlled. Thus, it is assumed that even if each component of the confirmation DHM 140 is not implemented as a duplexed pair, this has no impact on security.
[0181] Fig. 8 is a diagram illustrating an example of a configuration of the vehicle communication system 100 according to the first embodiment.
[0182] One in Fig. The DHM 150 shown in Figure 8 is a device in which the input DHM 110, the output DHM 130, and the confirmation DHM 140 are integrated. Note that the first input control block 111 and the first common input memory 113 also have a corresponding function of the confirmation input control block 141 and the common confirmation memory 142.
[0183] In the vehicle communication system 100, the input DHM 110, the output DHM 130 and the confirmation DHM 140 can be implemented as a single DHM 150, as in Fig. 8 shown.
[0184] Alternatively, any combination of the input DHM 110, the BCM 120, the output DHM 130, and the acknowledge DHM 140 may be implemented as a single device.
[0185] In the first embodiment, as described below, a vehicle communication system (vehicle communication system 100) was described, for example. The reference numerals and names of the corresponding components described in the first embodiment are indicated in parentheses.
[0186] The vehicle communication system 100 includes an input transmission device (input DHM 110), a control device (BCM 120), and an output transmission device (output DHM 130).
[0187] The input transmission device includes a first device data input part (first input control block 111), a second device data input part (second input control block 112), and an input transmission part (input NW control block 115).
[0188] The first device data input part receives, as first device data, data output from a device (input device) installed in the vehicle as an input source device.
[0189] The second device data input part receives, as second device data, data output from the input source device.
[0190] The input transmission part generates first input transmission data (first data frame) including the first device data obtained by the first device data input part and first input security communication data for determining a communication result. The input transmission part generates second input transmission data (second data frame) including the second device data obtained by the second device data input part and second input security communication data for determining a communication result. The input transmission part transmits the first input transmission data and the second input transmission data to the control device.
[0191] The control device includes a control receiving part (BCM_NW control block 121), a first control determining part (first computing block 124), a first control computing part (first computing block 124), a second control determining part (second computing block 124), a second control computing part (second computing block 124), and a control transmitting part (BCM_NW control block 121).
[0192] The control receiving part receives the first input transmission data and the second input transmission data transmitted from the input transmission device.
[0193] The first control determination part determines whether communication of the first device data included in the first input transmission data has been properly performed based on the first input security communication data included in the first input transmission data received by the control receiving part.
[0194] If it determines that the communication of the first device data was performed correctly, the first control computer part generates first control data to indicate a control based on the first device data. If it determines that the communication of the first device data was not performed correctly, the first control computer part generates the first control data to indicate the functionally reliable control that is specified.
[0195] The second control determination part determines whether communication of the second device data included in the second input transmission data has been properly performed based on the second input security communication data included in the second input transmission data received by the control receiving part.
[0196] If it determines that the communication of the second device data was performed correctly, the second control computer part generates second control data to indicate a control based on the second device data. If it determines that the communication of the second device data was not performed correctly, the second control computer part generates second control data to indicate the functionally reliable control.
[0197] The control transmission part generates first control transmission data (first control frame) including the first control data generated by the first control processing part. The control transmission part generates second control transmission data (second control frame) including the second control data generated by the second control processing part. The control transmission part transmits the first control transmission data and the second control transmission data to the output transmission device.
[0198] The output transmission device includes an output receiving part (output NW control block 131) and a device control data output part (reference numerals “132” to “136”).
[0199] The output receiving part receives the first control transmission data and the second control transmission data transmitted from the control device.
[0200] The device control data output part outputs device control data for controlling a device to be controlled (output device) installed in the vehicle, based on the first control data included in the first control transmission data received by the output receiving part and the second control data included in the second control transmission data received by the output receiving part.
[0201] The device control data output part includes a first output determination part (first output control block 134), a first output calculation part (first output control block 134), a second output determination part (second output control block 135), a second output calculation part (second output control block 135), and a matching output part (matching circuit 136).
[0202] The first output determination part determines whether communication of the first control data included in the first control transmission data has been properly performed based on the first control security communication data included in the first control transmission data received by the output receiving part.
[0203] If it determines that the communication of the first control data was performed correctly, the first output computer section outputs the first control data as the first output data. If it determines that the communication of the first control data was not performed correctly, the first output computer section outputs the first output data to indicate a functionally reliable control, which is specified.
[0204] The second output determination part determines whether communication of the second control data included in the second control transmission data has been properly performed based on the second control security communication data included in the second control transmission data received by the output receiving part.
[0205] If it determines that the communication of the second control data was performed correctly, the second output computing section outputs the second control data as second output data. If it determines that the communication of the second control data was not performed correctly, the second output computing section outputs second output data to indicate functionally reliable control.
[0206] The matching output part receives the first output data output by the first output computing part and the second output data output by the second output computing part, and outputs the device control data based on the first output data and the second output data.
[0207] The vehicle communication system includes a feedback transmission device (Acknowledgement DHM 140).
[0208] The feedback transmission device includes a feedback input part (confirmation input control block 141) and a feedback transmission part (confirmation NW control block 143).
[0209] The feedback input part receives as feedback data at least one of the device control data output from the output transmission device and data output as device state data from the device to be controlled, which operates based on the device control data, wherein the device state data represents an operating state of the device to be controlled.
[0210] The feedback transmission part transmits to the control device the feedback data obtained by the feedback input part.
[0211] The control device includes a first confirmation determination part (first computer block 124).
[0212] The control receiving part receives the feedback data transmitted from the feedback transmission device.
[0213] Based on the feedback data received by the control receiving part, the first confirmation determining part determines whether control indicated by the first control data has been performed.
[0214] Upon determining that the control indicated by the first control data has not been performed, the first confirmation determination part outputs failure notification data (error notification data) to notify that a failure occurred.
[0215] The control device includes a second confirmation determination part (second computer block 125).
[0216] Based on the feedback data received by the control receiving part, the second confirmation determining part determines whether control indicated by the second control data has been performed.
[0217] Upon determining that the control indicated by the second control data has not been performed, the second confirmation determination part outputs the failure notification data. Second embodiment
[0218] An embodiment is described according to which the first computing block 100 and the second computing block 125 of the BCM 120 compare pieces of control data generated by each.
[0219] The following mainly describes differences from the first embodiment. For the same as the first embodiment, descriptions will be omitted.
[0220] Fig. 9 is a configuration diagram of the vehicle communication system 100 according to a second embodiment.
[0221] With reference to Fig. 9, the configuration of the vehicle communication system 100 according to the second embodiment will be described.
[0222] The configurations of the input DHM 110, the output DHM 130 and the confirmation DHM 140 of the vehicle communication system 100 are similar to those of the configurations described in the first embodiment (see Fig. 1).
[0223] The BCM 120 of the vehicle communication system 100 includes a seventh BCM common memory 122R and an eighth BCM common memory 123R in addition to the configuration described in the first embodiment.
[0224] The seventh common BCM memory 122R and the eighth common BCM memory 123R are reference memories used by the first computing block 124 and the second computing block 125, respectively, to compare pieces of control data from each.
[0225] The vehicle communication method of the vehicle communication system 100 is the same as that in the first embodiment (see Fig. 2 to Fig. 7). However, the processes of the BCM 120 are partly different.
[0226] Fig. 10 is a flowchart illustrating part of the vehicle communication method of the vehicle navigation system 100 according to the second embodiment. Fig. 10 is a flowchart in which S251 to S256 to Fig. 4 described in the first embodiment.
[0227] With reference to Fig. 10, the processes (S251 to S256) of the BCM 120, which are different from those of the first embodiment, will be described.
[0228] S231 to S233 and S241 to S243 are the processes described in the first embodiment (see Fig. 4).
[0229] After S233, processing continues to S251. After S243, processing continues to S254.
[0230] In S251, the BCM_NW control block 121 copies the control data written in S233 to the third shared BCM memory 122s to the eighth shared BCM memory 123R.
[0231] After S251, processing continues to S252.
[0232] In S252, the second computing block 125 reads the control data from the eighth shared BCM memory 123R, and compares the read control data with the control data written to the fourth shared BCM memory 123S in S243. That is, the second computing block 125 compares the control data generated by itself and the control data generated by the first computing block 124.
[0233] If these pieces of control data indicate the same value (YES), processing proceeds to S244.
[0234] If these pieces of control data indicate different values (NO), processing proceeds to S253.
[0235] In S253, the second computing block 125 determines whether the control data written in S243 to the fourth BCM common memory 123s is the control data to indicate the normal control according to the device data.
[0236] If the control data is the data indicating normal control, the second computing block 125 generates control data indicating fail-safe control and overwrites the fourth BCM shared memory 123s with the generated control data. That is, the second computing block 125 changes the control data for normal control to the control data for fail-safe control. The second computing block 125 notifies the error indicator 109 of an error (the same as in S225 in Fig. 3).
[0237] After S253, the processing proceeds to S244. S244 to S246 are the processes described in the first embodiment (see Fig. 4).
[0238] S254 to S256 are the processes which are performed with respect to the first computer block 124 in the same manner as in S251 to S253.
[0239] That is, the BCM_NW control block 121 copies the control data written in the fourth BCM shared memory 123s to the seventh BCM shared memory 122R (S254). The first computing block 124 compares the control data generated by itself and the control data generated by the second computing block 125 (S255). If these pieces of control data are different, the first computing block 124 changes the control data to the control data for functionally safe control and notifies the error indicator 109 of a failure as required (S256). After S256, processing proceeds to S234. S234 to S236 are the processes described in the first embodiment (see Fig. 4).
[0240] An error message to the error indicator 109 can be carried out by one of the two, the first computer block 124 and the second computer block 125, according to a predetermined control.
[0241] The second embodiment has been described, according to which the first computing block 124 and the second computing block 125 of the BCM 120 compare pieces of control data generated by each.
[0242] If the pieces of control data from each are different, it means that a malfunction has occurred in any of the duplexed components input (to the input DHM 110) by the computer (the BCM 120). That is, according to the second embodiment, the accuracy of detecting a malfunction can be improved.
[0243] The second embodiment may be an embodiment as described below.
[0244] In S251 and S255, the BCM_NW control block 121 copies the safety communication data in the same way as the control data.
[0245] In S252 and S254, using the safety communication data, each computer block having the safety communication function checks whether an abnormal condition has occurred in the control data, separately from determining whether the pieces of the control data are the same.
[0246] If an abnormal condition has occurred in the control data, each computer block changes the control data and reports an error in S253 and S256 as required.
[0247] When an abnormal condition in the control data is detected by the safety communication function, it means that a malfunction has occurred in the BCM_NW control block 121 that cooperated with the control data or in the computer block that wrote the control data. Therefore, according to this embodiment, the accuracy of detecting a malfunction can be improved. Third embodiment
[0248] An embodiment will be described according to which the components of the input DHM 110, the BCM 120, and the output DHM 130 described in the first and second embodiments are multiplexed using a plurality of microcomputers.
[0249] Fig. 11 is a hardware configuration diagram of the input DHM 110 according to a third embodiment.
[0250] With reference to Fig. 11, the hardware configuration of the input DHM 110 according to the third embodiment will be described.
[0251] The input DHM 110 includes a first microcomputer 201A and a second microcomputer 201B.
[0252] Each of the first microcomputer 201A and the second microcomputer 201B includes a CPU core 211, a memory 212, a CAN controller 213, and a port controller 214. These are connected to each other via a bus 219 (internal bus).
[0253] The CPU core 211 is a processing unit that executes a program, controls other hardware components, etc. The CPU core 211 is also simply referred to as the CPU (Central Processing Unit).
[0254] The memory 212 is a storage unit that stores data.
[0255] The CAN controller 213 is a hardware component for performing data communication via the CAN 101.
[0256] The channel control 214 is a hardware component for input and output between devices.
[0257] The CPU core 211, the memory 212, and the channel controller 214 of the first microcomputer 201A function as the first input control block 111 of the input DHM 110.
[0258] The memory 212 of the first microprocessor 201A functions as the first common input memory 113 of the input DHM 110.
[0259] The CPU core 211, the memory 212 and the CAN controller 213 of the first microcomputer 201A function as the input NW control block 115 of the input DHM 110.
[0260] The CPU core 211, the memory 212 and the channel controller 214 of the second microcomputer 201B function as the second input control block 112 of the input DHM 110.
[0261] The memory 212 of the second microcomputer 201B functions as the second common input memory 114 of the input DHM 110.
[0262] The CPU core 211, the memory 212 and the CAN controller 213 of the second microcomputer 201B function as the input NW control block 115 of the input DHM 110.
[0263] Similar to the input DHM 110, the output DHM 130 is implemented using two microcomputers.
[0264] Fig. 12 is a hardware configuration diagram of the BCM 120 according to the third embodiment.
[0265] With reference to Fig. 12, the hardware configuration of the BCM 120 according to the third embodiment will be described.
[0266] The BCM 120 includes a first microcomputer 202A and a second microcomputer 202B.
[0267] Each of the first microcomputer 202A and the second microcomputer 202B includes a CPU core 211, a memory 212, a CAN controller 213, and an error notification I / F 215. These are connected to each other via a bus 219 (internal bus).
[0268] The error notification I / F 215 is a hardware component with an interface (I / F) for notifying the error indicator 109 of an error.
[0269] The CPU core 211, the memory 212 and the CAN controller 213 of the first microcomputer 202A function as the BCM_NW control block 121 of the BCM 120.
[0270] The memory 212 of the first microcomputer 202A functions as the first common BCM memory 122r, the third common BCM memory 122s, and the fifth common BCM memory 122c.
[0271] The CPU core 211, the memory 212, and the error notification I / F 215 of the first microcomputer 202A function as the first computing block 124 of the BCM 120.
[0272] The CPU core 211, the memory 212 and the CAN controller 213 of the second microcomputer 202B function as the BCM_NW control block 121 of the BCM 120.
[0273] The memory 212 of the second microcomputer 202B functions as the second common BCM memory 123r, the fourth common BCM memory 123s, and the sixth common BCM memory 123c.
[0274] The CPU core 211, the memory 212, and the error notification I / F 215 of the second microcomputer 202B function as the second computing block 125 of the BCM 120.
[0275] As mentioned with reference to Fig. 11 and Fig. 12, it is possible to prevent failure in one of the channels from affecting the other channel by implementing duplexed channels using physically separate microcomputers.
[0276] If a failure occurs in a circuit that generates power supplied to each microcomputer or to a crystal oscillator that powers a timer, communication cannot be performed, so the other side of the communication can detect a malfunction using the safety communication function. Therefore, it is not necessary to provide these circuits for each channel; these circuits can be provided jointly for both channels. Fourth embodiment
[0277] An embodiment will be described according to which the components of the input DHM 110, the BCM 120 and the output DHM 130 described in the first and second embodiments are multiplexed using a single microcomputer.
[0278] Fig. 13 is a hardware configuration diagram of the input DHM 110 according to a fourth embodiment.
[0279] With reference to Fig. 13, the hardware configuration of the input DHM 110 according to the fourth embodiment will be described.
[0280] The input DHM 110 includes a microcomputer 201.
[0281] The microcomputer 201 includes a CPU core 211, a memory 212, a CAN controller 213, a first channel controller 214A, and a second channel controller 214B. These are connected to each other via a bus 219 (internal bus). These hardware components are similar to those of the third embodiment.
[0282] The CPU core 211, the memory 212, and the first channel controller 214A function as the first input control block 111 of the input DHM 110.
[0283] The CPU core 211, the memory 212, and the second channel controller 214B function as the second input control block 112 of the input DHM 110.
[0284] Each of the first input control block 111 and the second input control block 112 is implemented with an independent task in a multitasking environment, and a memory location in the memory 212 used by each task is protected with a memory protection function. By logically separating the first and second channels in this way, even if a runaway condition occurs in a program controlling one of the first and second channels, the other channel can be prevented from being affected.
[0285] The control of each of the first and second channels consists of separate hardware components. This is because if both channel controls are implemented with a single hardware component and a failure occurs, damaging the interface portion of the internal bus, causing input and output to fail, and incorrect values can be input to and output from both channels. This phenomenon can be prevented by implementing the channel controls as a physically duplexed pair.
[0286] The memory 212 functions as the first common input memory 113 and the second common input memory 114 of the input DHM 110.
[0287] Each of the first shared input memory 113 and the second shared input memory 114 is implemented as a shared memory managed by a task of the first channel and the second channel, respectively. Each shared memory is protected, preventing it from being accessed by a task of the other channel.
[0288] The CPU core 211, the memory 212 and the CAN controller 213 act as the input NW control block 115 of the input DHM 110.
[0289] Similar to the input DHM 110, the output DHM 130 is implemented using a single microcomputer.
[0290] Fig. 14 is a hardware configuration diagram of the BCM 120 according to the fourth embodiment.
[0291] With reference to Fig. 14, the hardware configuration of the BCM 120 according to the fourth embodiment will be described.
[0292] The BCM 120 includes a microcomputer 201.
[0293] The microcomputer 201 includes a CPU core 211, a memory 212, a CAN controller 213, a first error notification I / F 215A, and a second error notification I / F 215B. These are connected via a bus 219 (internal bus). These hardware components are similar to those of the third embodiment.
[0294] The CPU core 211, the memory 212 and the CAN controller 213 act as the BCM_NW control block 121 of the BCM 120.
[0295] The memory 212 functions as the first shared BCM memory 122r, the third shared BCM memory 122s, and the fifth shared BCM memory 122c.
[0296] Similar to the input DHM 110, described with reference to Fig. 13, each shared memory is managed by a task of each channel, and each shared memory is protected to prevent it from being accessed by a task of the other channel.
[0297] The CPU core 211, the memory 212, and the first error notification I / F 215A function as the first computing block 124 of the BCM 120.
[0298] The CPU core 211, the memory 212, and the second error notification I / F 215B function as the second computing block 125 of the BCM 120.
[0299] Similar to the input control block described with reference to Fig. 13, the memory locations of the computer blocks are implemented as logically duplexed pairs. Similar to the channel control of the input DHM 110, the error reporting I / F is implemented as a physically duplexed pair.
[0300] It is not necessary to provide a circuit that generates power supplied to the microcomputer or a crystal oscillator that supplies a timing device for each channel, and these circuits may be provided commonly for the two channels as in the third embodiment.
[0301] According to the fourth embodiment, a system with a high degree of security can be constructed using a single microcomputer. Furthermore, a highly flexible system can be constructed at low cost. Fifth embodiment
[0302] An embodiment will be described according to which each of the input DHM 110, the BCM 120, and the output DHM 130 described in the first and second embodiments is implemented using a hardware engine.
[0303] A hardware machine is a device that houses a large number of hardware components. An LSI (Large Scale Integration) is an example of a hardware machine.
[0304] Fig. 15 is a hardware configuration diagram of the input DHM 110 according to a fifth embodiment.
[0305] With reference to Fig. 15, the hardware configuration of the input DHM 110 according to the fifth embodiment will be described.
[0306] The input DHM 110 includes a first channel controller 214A, a second channel controller 214B, a first safety communication processing circuit 216A, a second safety communication processing circuit 216, and a CAN controller 213.
[0307] Each safety communication processing circuit is a circuit for generating safety communication data and determining whether a malfunction has occurred using the safety communication function. The remaining hardware components are the same as those of the third embodiment.
[0308] The first channel controller 214A and the first safety communication processing circuit 216A function as the first input control block 111 of the input DHM 110.
[0309] The second channel controller 214B and the second security communication processing circuit 216B function as the second input control block 112 of the input DHM 110.
[0310] The first memory 212A functions as the first common input memory 113 of the input DHM 110.
[0311] The second memory 212B functions as the second common input memory 114 of the input DHM 110.
[0312] The CAN controller 213 acts as the input NW control block 115 of the input DHM 110.
[0313] The output DHM 130 is implemented similarly to the input DHM 110.
[0314] Fig. 16 is a hardware configuration diagram of the BCM 120 according to the fifth embodiment.
[0315] With reference to Fig. 16, the hardware configuration of the BCM 120 according to the fifth embodiment will be described.
[0316] The BCM 120 includes a CAN controller 213, a first memory 212A, a second memory 212B, a first safety communication processing circuit 216A, a second safety communication processing circuit 216B, a first arithmetic circuit 217A, a second arithmetic circuit 217B, a first error notification I / F 215A, and a second error notification I / F 215B.
[0317] Each safety communication processing circuit is a circuit for generating safety communication data and determining whether a malfunction has occurred using the safety communication function. Each fault notification I / F is a circuit with an interface (I / F) for communicating with the fault indicator 109. The remaining hardware components are the same as those of the third embodiment.
[0318] The CAN controller 213 acts as the BCM_NW control block 121 of the BCM 120.
[0319] The first memory 212A functions as the first common BCM memory 122a, the third common BCM memory 122s, and the fifth common BCM memory 122c of the BCM 120.
[0320] The second memory 212B functions as the second common BCM memory 123r, the fourth common BCM memory 123s, and the sixth common BCM memory 123c of the BCM 120.
[0321] The first safety communication processing circuit 216A, the first computing circuit 217A, and the first error notification I / F 215A function as the first computing block 124 of the BCM 120.
[0322] The second safety communication processing circuit 216B, the second computing circuit 217B, and the second error notification I / F 215B function as the second computing block 125 of the BCM 120.
[0323] According to the fifth embodiment, the input DHM 110, the BCM 120, and the output DHM 130 can be implemented with a very simple circuit (e.g., a single LSI). Thus, a system with a high level of security can be constructed at a very low cost.
[0324] The above embodiments may be partially or completely combined as appropriate, provided that no inconsistencies arise. List of reference symbols
[0325] 100: Vehicle communication system, 101: CAN, 102: Switch, 103: Actuator, 109: Error indicator, 110: Input DHM, 111: First input control block, 112: Second input control block, 113: First common input memory, 114: Second common input memory, 115: Input NW control block, 120: BCM, 121: BCM_NW control block, 122r: First common BCM memory, 122s: Third common BCM memory, 122c: Fifth common BCM memory, 122R: Seventh common BCM memory, 123r: Second common BCM memory, 123s: Fourth common BCM memory, 123c: Sixth common BCM memory, 123R: Eighth common BCM memory, 124: first computer block, 125: second computer block, 130: output DHM, 131: output NW control block, 132: first common output memory, 133: second common output memory, 134: first output control block, 135: second output control block, 136: match circuit, 140: confirmation DHM,141: Acknowledgement input control block, 142: Acknowledgement shared memory, 143: Acknowledgement NW control block, 150: DHM, 151: DHM_NW control block, 201: Microcomputer, 201A: first microcomputer, 201B: second microcomputer, 202A: first microcomputer, 202B: second microcomputer, 211: CPU core, 212: Memory, 212A: first memory, 212B: second memory, 213: CAN controller, 214: Channel controller, 214A: first channel controller, 214B: second channel controller, 215: Error notification I / F, 215A: first error notification I / F, 215B: second error notification I / F, 216A: first safety communication processing circuit, 216B: second Safety communication processing circuit, 217A: first computer circuit, 217B: second computer circuit, 219: bus,
Claims
[1] Vehicle communication system (100) for installation in a vehicle, comprising: including an input transmission device (110) a first device data input part (111) that receives, as first device data, data output from a device installed in the vehicle as an input source device; a second device data input part (112) which receives, as second device data, the data output from the input source device; and an input transmission part (115) that generates first input transmission data, including the first device data and first input security communication data for determining a communication result, and second input transmission data, including the second device data and second input security communication data for determining a communication result, and transmits the first input transmission data and the second input transmission data to a control device (120); the control device (120) comprising a control receiving part (121) that receives the first input transmission data and the second input transmission data; a first control determination part (124) that determines whether communication of the first device data has been properly performed using the first input security communication data included in the first input transmission data; a first control computer part (124) which, when the communication of the first device data was performed correctly, generates first control data by specifying a control based on the first device data, and when the communication of the first device data was not performed correctly, generates first control data by specifying a fail-safe control which is predetermined; a second control determination part (125) that determines whether communication of the second device data has been performed correctly using the second input security communication data included in the second input transmission data; a second control computer part (125) which, when the communication of the second device data was performed correctly, generates second control data by specifying a control based on the second device data, and when the communication of the second device data was not performed correctly, generates second control data by specifying the fail-safe control; and a control transmission part (121) that generates first control transmission data including the first control data and second control transmission data including the second control data, and transmits the first control transmission data and the second control transmission data to an output transmission device (130); and including the output transmission device (130) an output receiving part (131) that receives the first control transmission data and the second control transmission data; and a device control data output part (132, 133, 134, 135, 136) that outputs device control data for controlling a device to be controlled, which is installed in the vehicle, based on the first control data and the second control data. [2] Vehicle communication system (100) according to claim 1, wherein the first control transmission data includes the first control data and first control security communication data, wherein the second control transmission data includes the second control data and second control security communication data, wherein the device control data output part (132, 133, 134, 135, 136) of the output transmission device (130) includes a first output determination part (134) that determines whether communication of the first control data has been performed correctly based on the first control security communication data; a first output computer part (134) which, when the communication of the first control data has been carried out correctly, outputs first output data by specifying the first control data, and when the communication of the first control data has not been carried out correctly, outputs first output data by specifying a functionally reliable control, a second output determination part (135) that determines whether communication of the second control data has been properly executed based on the second control security communication data; a second output computing part (135) which, when the communication of the second control data was carried out correctly, outputs second output data by indicating the second control data, and when the communication of the second control data was not carried out correctly, outputs second output data by indicating a fail-safe control; and a matching output part (136) that outputs the device control data based on the first output data and the second output data. [3] The vehicle communication system (100) according to claim 2, wherein, when at least one of the first output data and the second output data is data indicating the fail-safe control, the matching output part (136) outputs the data indicating the fail-safe control as the device control data. [4] The vehicle communication system (100) according to any one of claims 1 to 3, wherein, when it is determined that communication of the first input transmission data has not been performed properly, the first control determination part (124) outputs communication failure data to notify that a failure has occurred, and wherein, when it is determined that communication of the second input transmission data has not been performed properly, the second control determination part (125) outputs the communication failure data. [5] Vehicle communication system (100) according to one of claims 1 to 4, wherein the input transmission device (110) includes a first input memory (113) and a second input memory (114), wherein the first device data input part (111) writes the received first device data into the first input memory (113), wherein the second device data input part (112) writes the received second device data into the second input memory (114), and wherein the input transmission part (115) reads the first device data from the first input memory (113); transmits data including the read first device data as the first input transmission data; reads the second device data from the second input memory (114); and transmits data including the read second device data as the second input transmission data. [6] Vehicle communication system (100) according to one of claims 1 to 5, wherein the control device (120) includes a first reception memory (122r) into which the first input transmission data is written, and a second reception memory (123r) into which the second input transmission data is written, wherein the first control determination part (124) reads the first input transmission data from the first reception memory (122r), and determines based on the read first input transmission data whether communication of the first input transmission data has been correctly performed, and wherein the second control determination part (125) reads the second input transmission data from the second reception memory (123r), and determines whether communication of the second input transmission data has been properly performed based on the read second input transmission data. [7] Vehicle communication system (100) according to one of claims 1 to 6, wherein the control device (120) includes a first transmission memory (122s) and a second transmission memory (123s), wherein the first control computer part (124) writes the generated first control data into the first transmission memory (122s), wherein the second control computer part (125) writes the generated second control data into the second transmission memory (123s), and wherein the control transmission part (121) reads the first control data from the first transmission memory (122s); transmits data including the read first control data as the first control transmission data; reads the second control data from the second transmission memory (123s); and transmits data including the read second control data as the second control transmission data. [8] Vehicle communication system (100) according to one of claims 1 to 7, wherein the output transmission device (130) includes a first output memory (132) and a second output memory (133), wherein the output receiving part (131) writes the received first control transmission data into the first output memory (132) and writes the received second control transmission data into the second output memory (133), and wherein the device control data output part (132, 133, 134, 135, 136) reads the first control transmission data from the first output memory (132), reads the second control transmission data from the second output memory (133), and outputs the device control data based on the read first control transmission data and the read second control transmission data. [9] Vehicle communication system (100) according to one of claims 1 to 8, further comprising a feedback transmission device (140), wherein the feedback transmission device (140) includes a feedback input part (141) which receives as feedback data at least one of the device control data output from the output transmission device (130) and data output as device state data from the device to be controlled, which operates based on the device control data, the device state data representing an operating state of the device to be controlled; and a feedback transmission part (143) that transmits to the control device (120) the feedback data obtained by the feedback input part (141). [10] Vehicle communication system (100) according to claim 9, wherein the control device (120) includes a first confirmation determination part (124), wherein, based on the feedback data transmitted by the feedback transmission device (140), the first confirmation determination part (124) determines whether a control indicated by the first control data has been performed, and wherein, when it is determined that the control indicated by the first control data has not been performed, the first confirmation determination part (124) outputs failure notification data to notify that a failure has occurred. [11] Vehicle communication system (100) according to claim 10, wherein the control device (120) includes a second confirmation determination part (125), wherein, based on the feedback data, the second confirmation determination part (125) determines whether a control indicated by the second control data has been performed, and wherein, when it is determined that the control indicated by the second control data has not been performed, the second confirmation determination part (125) outputs the failure notification data. [12] The vehicle communication system (100) according to any one of claims 1 to 11, wherein the first control computer part (124) compares the first control data and the second control data, and when the first control data and the second control data are different, performs an error process. [13] Vehicle communication system (100) according to one of claims 1 to 12, wherein the input transmission device (110) comprises a first input microcomputer (201A) functioning as the first device data input part (111) and a second input microcomputer (201B) functioning as the second device data input part (112), and wherein the control device (120) comprises a first control microcomputer (202A) functioning as the first control determination part (124) and the first control computer part (124), and a second control microcomputer (202B) functioning as the second control determination part (125) and the second control computer part (125). [14] Vehicle communication system (100) according to one of claims 1 to 12, wherein the input transmission device (110) includes an input microcomputer (201) functioning as the first device data input part (111), the second device data input part (112) and the input transmission part (115), wherein the control device (120) includes a control microcomputer (201) functioning as the first control determination part (124), the first control computer part (124), the second control determination part (125), the second control computer part (125) and the control transmission part (121), and wherein the output transmission device (130) includes an output microcomputer (201) functioning as the output receiving part (131) and the device control data output part (132, 133, 134, 135, 136). [15] Vehicle communication system (100) according to one of claims 1 to 12, wherein the input transmission device (110) comprises a first device data input circuit (214A, 216A) functioning as the first device data input part (111), a second device data input circuit (214B, 216B) functioning as the second device data input part (112), and an input transmission circuit (213) functioning as the input transmission part (115), wherein the control device (120) comprises a first control determination circuit (215A, 216A, 217A) functioning as the first control determination part (124), a first control computer circuit (215A, 216A, 217A) functioning as the first control computer part (124), a second control determination circuit (215B, 216B, 217B) functioning as the second control determination part (125), a second control computer circuit (215B, 216B, 217B) functioning as the second control computer part (125), and a control transmission circuit (213) functioning as the control transmission part (121), and wherein the output transmission device (130) comprises an output receiving circuit functioning as the output receiving part (131) and a device control data output circuit functioning as the device control data output part (132, 133, 134, 135, 136). [16] Vehicle communication method comprising: Obtaining, as first device data, data output from a device installed in a vehicle as an input source device by a first device data input part (111) of an input transmission device (110) installed in a vehicle; Obtaining, as second device data, from the data output from the input source device by a second device data input part (112) of the input transmission device (110); Generating and transmitting first input transmission data including the first device data and first input security communication data for determining a communication result, and second input transmission data including the second device data and second input security communication data for determining a communication result, to a control device (120) installed in the vehicle by an input transmission part (115) of the input transmission device (110); Receiving the first input transmission data and the second input transmission data by a control receiving part (121) of the control device (120); Determining whether communication of the first device data has been correctly performed by a first control determination part (124) of the control device (120) using the first input security communication data included in the first input transmission data; generating, if the communication of the first device data has been carried out correctly, first control data by specifying a control based on the first device data by a first control computer part (124) of the control device (120); If the communication of the first device data was not carried out correctly, generating first control data by specifying a functionally reliable control which is predetermined by the first control computer part (124) of the control device (120); Determining whether communication of the second device data has been correctly performed by a second control determination part (125) of the control device (120) using the second input security communication data included in the second input transmission data, generating, when the communication of the second device data has been performed correctly, second control data by specifying a control based on the second device data by a second control computer part (125) of the control device (120); If the communication of the second device data was not carried out correctly, generating second control data by indicating the functionally reliable control by the second control computer part (125) of the control device (120); Generating and transmitting first control transmission data including the first control data and second control transmission data including the second control data to an output transmission device (130) installed in the vehicle by a control transmission part (121) of the control device (120); Receiving the first control transmission data and the second control transmission data by an output receiving part (131) of the output transmission device (130); and Outputting device control data for controlling a device to be controlled, which is installed in the vehicle, by a device control data output part (132, 133, 134, 135, 136) of the output transmission device (130) based on the first control data and the second control data.
Citation Information
Patent Citations
Safety signal detection, transmission and processing method for machine tool or industrial robot
DE19920299A1
Multiplex transmission system
JP1990001649A
JP00000H021649A
