On-vehicle device, setting method, and setting program

The in-vehicle device simplifies the configuration of expansion devices by using connection points and switching elements to set identifiers, reducing complexity and enabling efficient integration and communication.

JP2024158867AInactive Publication Date: 2024-11-08AUTONETWORKS TECH LTD +2
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023074454
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-28
Publication Date
2024-11-08
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing in-vehicle devices require complex configurations with AD converters and identifier setting units on expansion devices, complicating their setup.

Method used

An in-vehicle device with multiple connection points and switching elements allows for setting identifiers to expansion devices connected to specific mounting positions, simplifying the configuration by eliminating the need for special structures on the expansion devices.

Benefits of technology

This approach enables identifier setting for multiple expansion devices while reducing complexity, allowing seamless integration and communication without additional hardware on the expansion devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024158867000001_ABST
    Figure 2024158867000001_ABST
Patent Text Reader

Abstract

To set an identifier for expansion equipment while suppressing the complication of a configuration of the expansion equipment.SOLUTION: Provided is an on-vehicle device capable of connecting a plurality of expansion equipment, comprising: a plurality of connection parts for connecting the expansion equipment, corresponding to a plurality of mounting positions for mounting the plurality of expansion equipment on a vehicle; a plurality of switching elements provided corresponding to each of the plurality of connection parts; and a control part capable of communication with the expansion equipment connected to a connection part corresponding to a switching element in an on state. The control part keeps one of the plurality of switching elements in the on state, and sets an identifier to the expansion equipment connected to the connection part corresponding to the switching element in the on state.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to an in-vehicle device, a setting method, and a setting program. [Background technology]

[0002] A vehicle is equipped with various types of on-board devices, such as control system ECUs (Electronic Control Units) that control the engine, transmission, etc., body system ECUs that control headlights, power windows, etc., and information system ECUs for navigation devices, multimedia devices, etc. The on-board devices can communicate with each other using communication protocols such as CAN (Controller Area Network) or LIN (Local Interconnect Network).

[0003] Patent Document 1 discloses a main body device of an air vehicle provided with four slots into which a propeller arm can be attached, in which resistors having different resistance values ​​are arranged in each slot, and when a propeller arm is attached to the slot, a reference voltage value corresponding to the resistance value of the resistor is read and an ID corresponding to the reference voltage value is assigned to the propeller arm. Each propeller arm is provided with an AD converter, a threshold voltage table, and an identifier setting unit, and the AD converter performs AD conversion of the reference voltage value, and the threshold conversion unit compares the reference voltage value with a plurality of threshold voltages stored in the threshold voltage table, and sets the ID (CAN ID) determined as a result. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2018-182673 A Summary of the Invention [Problem to be solved by the invention]

[0005] However, in the device disclosed in Patent Document 1, components such as an AD converter, a threshold voltage table, and an identifier setting unit (processor) must be mounted on the propeller arm, which is an extension device, and this requires the extension device to have a complex configuration. [Means for solving the problem]

[0006] An in-vehicle device according to one embodiment of the present disclosure is an in-vehicle device capable of connecting multiple expansion devices, and comprises: multiple connection portions for connecting the expansion devices corresponding to multiple mounting positions in the vehicle for mounting the multiple expansion devices; multiple switching elements provided corresponding to each of the multiple connection portions; and a control unit capable of communicating with the expansion device connected to the connection portion corresponding to the switching element in an on state, wherein the control unit turns on one of the multiple switching elements and sets an identifier to the expansion device connected to the connection portion corresponding to the switching element in the on state. Effect of the Invention

[0007] According to the present disclosure, it is possible to set an identifier for an extension device while suppressing the complication of the configuration of the extension device. [Brief description of the drawings]

[0008] [Figure 1] FIG. 1 is a diagram showing an example of a mounting position of an extension device in a vehicle according to an embodiment. [Diagram 2] FIG. 2 is a diagram illustrating an example of a hardware configuration of an ECU according to the embodiment. [Diagram 3] FIG. 3 is a functional block diagram illustrating an example of functions of the ECU according to the embodiment. [Figure 4] FIG. 4 is a block diagram showing an example of a hardware configuration of a camera which is an extension device according to an embodiment. [Diagram 5] FIG. 5 is a diagram illustrating an example of the product information table. [Figure 6] FIG. 6 is a diagram illustrating an example of the setting table. [Figure 7] FIG. 7 is a sequence diagram showing an example of the operation of the ECU that sets a CAN ID to each of a plurality of cameras. [Figure 8] FIG. 8 is a flowchart illustrating an example of an identifier setting sequence by the ECU according to the embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] <Overview of the embodiment of the present disclosure> Below, an overview of the embodiments of the present disclosure will be listed and described.

[0010] (1) The in-vehicle device according to the present embodiment is an in-vehicle device capable of connecting a plurality of extension devices, and includes a plurality of connection parts for connecting the extension devices corresponding to a plurality of mounting positions for mounting the plurality of extension devices in a vehicle, a plurality of switching elements provided corresponding to each of the plurality of connection parts, and a control unit capable of communicating with the extension device connected to the connection part corresponding to the switching element in the ON state, and the control unit turns on one of the plurality of switching elements and sets an identifier to the extension device connected to the connection part corresponding to the switching element in the ON state. This makes it possible to set an identifier only to the extension device connected to the connection part whose switching element is turned on. There is no need to provide a special structure for setting the identifier in the extension device, and the configuration of the extension device is prevented from becoming complicated.

[0011] (2) In the above (1), the control unit may switch the switching elements to be turned on among the plurality of switching elements, and the setting unit may set an identifier for the extension device connected to the connection unit corresponding to the switching element in the on state. This makes it possible to set identifiers for the plurality of extension devices respectively connected to the plurality of connection units.

[0012] (3) In the above (1) or (2), the control unit may set the identifier corresponding to the connection unit to the extension device connected to the connection unit, thereby making it possible to set an identifier to the extension device according to the connection unit, i.e., the installation position in the vehicle.

[0013] (4) In any one of (1) to (3) above, the control unit may turn on the switching elements corresponding to the plurality of connection units in a predetermined order for the plurality of connection units, thereby allowing identifiers to be set in order for all of the connected extension devices.

[0014] (5) In the above (4), the identifier may be a CAN ID, and the setting unit may set the identifier for the multiple extension devices in an order of increasing or decreasing identifier value. The smaller the CAN ID value, the higher the priority. With the above configuration, it is possible to set identifiers of priorities according to a predetermined order for each extension device.

[0015] (6) In any one of (1) to (5) above, the switching element may be provided in a communication line for communicating with the control unit, whereby an identifier can be set for an extension device that is enabled to communicate with the control unit by turning on the switching element.

[0016] (7) In any one of (1) to (6) above, the control unit may turn on one of the plurality of switching elements as an initialization process when the in-vehicle device is started, thereby making it possible to set an identifier of an extension device every time the in-vehicle device is started.

[0017] (8) In any one of (1) to (6) above, the control unit may turn on one of the switching elements when detecting a connection of the extension device to the connection unit, thereby making it possible to set an identifier of the extension device when a connection to the connection unit of an extension device is detected.

[0018] (9) In the above (8), the control unit may detect the connection of the extension device to the connection unit by receiving a signal output from the extension device. This makes it possible to detect the connection of the extension device to the connection unit.

[0019] (10) In any one of the above (1) to (9), the in-vehicle device may further include a determination unit that determines whether the extension device connected to the connection unit corresponding to the switching element in the on state is a target for setting the identifier, and the setting unit may set the identifier to the extension device determined by the determination unit to be a target for setting the identification information. This makes it possible to set the identifier to the extension device to which the identifier is to be set.

[0020] (11) In the above (10), the determination unit may determine whether the extension device is a target for setting the identifier based on product information of the extension device. This makes it possible to identify the extension device to which the identifier is to be set.

[0021] (12) The setting method according to the present embodiment is a setting method for an in-vehicle device to which a plurality of extension devices can be connected, and includes the steps of turning on one of a plurality of switching elements provided corresponding to each of a plurality of connection parts for connecting the extension devices, when the plurality of extension devices are connected to each of the connection parts corresponding to a plurality of mounting positions for mounting the plurality of extension devices in the vehicle, and setting an identifier for the extension device connected to the connection part corresponding to the switching element in the on state. This makes it possible to set an identifier only for the extension device connected to the connection part whose switching element is turned on. There is no need to provide a special structure for setting the identifier in the extension device, and the configuration of the extension device is prevented from becoming complicated.

[0022] (13) The setting program according to the present embodiment is a setting program used in an in-vehicle device to which a plurality of extension devices can be connected, and causes a computer to execute the steps of turning on one of a plurality of switching elements provided corresponding to each of the plurality of connection parts for connecting the extension devices, when the plurality of extension devices are connected to each of the plurality of connection parts corresponding to a plurality of mounting positions for mounting the plurality of extension devices in a vehicle, and setting an identifier to the extension device connected to the connection part corresponding to the switching element in the on state. This makes it possible to set an identifier only to the extension device connected to the connection part whose switching element is turned on. There is no need to provide a special structure for setting the identifier in the extension device, and the configuration of the extension device is prevented from becoming complicated.

[0023] The present disclosure can be realized not only as an in-vehicle device having the above-described characteristic configuration, a setting method having steps corresponding to characteristic processes in the in-vehicle device, and a setting program for causing the in-vehicle device to execute the characteristic processes, but also as an in-vehicle system including the in-vehicle device, or as a semiconductor integrated circuit in part or in whole of the in-vehicle device.

[0024] <Details of the embodiment of the present disclosure> Hereinafter, the details of the embodiments of the present invention will be described with reference to the drawings. Note that at least some of the embodiments described below may be combined in any desired manner.

[0025] [1. Installation location of expansion devices] 1 is a diagram showing an example of an installation position of an extension device in a vehicle according to an embodiment. In the embodiment, the in-vehicle device is an ECU 100 mounted on a vehicle 10. The ECU 100 can connect cameras 200A, 200B, 200C, 200D, 200E, 200F, 200G, and 200H, which are extension devices.

[0026] The mounting positions of the cameras 200A, 200B, 200C, 200D, 200E, 200F, 200G, and 200H on the vehicle 10 are determined in advance. That is, the mounting positions of cameras 200A, 200B, 200C, 200D, 200E, 200F, 200G, and 200H are the widthwise center of the front end of vehicle 10 (hereinafter also referred to as the "front center"), the widthwise left end of the front end of vehicle 10 (hereinafter also referred to as the "front left"), the widthwise right end of the front end of vehicle 10 (hereinafter also referred to as the "front right"), the widthwise left end of the rear end of vehicle 10 (hereinafter also referred to as the "rear center"), the widthwise left end of the rear end of vehicle 10 (hereinafter also referred to as the "rear left"), the widthwise right end of the rear end of vehicle 10 (hereinafter also referred to as the "rear right"), the widthwise left end of the front-rear middle part of vehicle 10 (for example, the position of the left door mirror; hereinafter also referred to as the "left"), and the widthwise right end of the front-rear middle part of vehicle 10 (for example, the position of the right door mirror; hereinafter also referred to as the "right"), respectively.

[0027] The ECU 100 is, for example, a vehicle surroundings monitoring ECU for monitoring the surroundings of the vehicle 10. The vehicle surroundings monitoring ECU synthesizes images obtained by the cameras 200A, 200B, 200C, 200D, 200E, 200F, 200G, and 200H to generate a seamless bird's-eye image of the vehicle 10 viewed from above. The generated bird's-eye image is displayed on a display device mounted on the vehicle 10.

[0028] The ECU 100 may be an ECU different from the vehicle surroundings monitoring ECU. For example, the ECU 100 may be an object detection ECU that processes images obtained by the cameras 200A, 200B, 200C, 200D, 200E, 200F, 200G, and 200H to detect objects (people, vehicles, etc.) around the vehicle 10, or in another example, the ECU 100 may be an automatic driving ECU that automatically drives the vehicle 10 using images from the cameras 200A, 200B, 200C, 200D, 200E, 200F, 200G, and 200H.

[0029] The extension device is not limited to the cameras 200A, 200B, 200C, 200D, 200E, 200F, 200G, and 200H. For example, the extension device may be an ultrasonic sensor. For example, the ECU 100 may be a clearance sonar ECU that detects the approach of the vehicle 10 to an obstacle by using a plurality of ultrasonic sensors.

[0030] When ECU 100 is a vehicle surroundings monitoring ECU, images from some of cameras 200A, 200B, 200C, 200D, 200E, 200F, 200G, and 200H may be used for purposes other than generating bird's-eye images. For example, images from front center camera 200A and rear center camera 200D may be used for a drive recorder.

[0031] Cameras 200A, 200B, 200C, 200D, 200E, 200F, 200G, and 200H can be attached to and detached from ECU 100. Cameras 200A, 200B, 200C, 200D, 200E, 200F, 200G, and 200H are cameras that have a function for connecting to ECU 100. Cameras 200A, 200B, 200C, 200D, 200E, 200F, 200G, and 200H are, for example, cameras (genuine products) manufactured and sold by a company that manufactures and sells ECU 100. As long as cameras 200A, 200B, 200C, 200D, 200E, 200F, 200G, and 200H are compatible with a function for connecting to ECU 100, they may be cameras (non-genuine products) manufactured and sold by a company other than the company that manufactures and sells ECU 100.

[0032] [2. ECU hardware configuration] 2 is a diagram showing an example of a hardware configuration of an ECU according to an embodiment. The ECU 100 includes a control circuit 110. The control circuit 110 includes a processor 101, a nonvolatile memory 102, a volatile memory 103, a communication interface (hereinafter also referred to as a "communication I / F") 104, and a drive circuit 105. The processor 101, the nonvolatile memory 102, the volatile memory 103, the communication I / F 104, and the drive circuit 105 are connected to each other by a bus 106 which is a communication line. The processor 101, the nonvolatile memory 102, the volatile memory 103, the communication I / F 104, and the drive circuit 105 can transmit data to each other via the bus 106.

[0033] The volatile memory 103 is, for example, a semiconductor memory such as a static random access memory (SRAM) or a dynamic random access memory (DRAM). The non-volatile memory 102 is, for example, a flash memory, a hard disk, a read only memory (ROM), etc. The non-volatile memory 102 stores a setting program 111, which is a computer program, and data used for executing the setting program 111. Functions of the ECU 100, which will be described later, are realized by the processor 101 executing the setting program 111.

[0034] The processor 101 is, for example, a CPU (Central Processing Unit). However, the processor 101 is not limited to a CPU. The processor 101 may be a GPU (Graphics Processing Unit). In a specific example, the processor 101 is a multi-core processor. The processor 101 may be a single-core processor. The processor 101 is configured to be able to execute a computer program. However, the processor 101 may be, for example, an ASIC (Application Specific Integrated Circuit) or a programmable logic device such as an FPGA (Field Programmable Gate Array). In this case, the ASIC or the programmable logic device is configured to be able to execute the same function as the setting program 111.

[0035] The communication I / F 104 is a communication interface that complies with a specific communication protocol. For example, the communication protocol is a communication protocol that complies with a communication standard corresponding to a bus-type network topology. In a specific example, the communication protocol is CAN, and the communication I / F 104 is a CAN interface. However, the communication protocol may be a communication protocol that is an extension of CAN, for example, CAN FD (CAN with Flexible Data rate). The communication I / F 104 may be a communication I / F that complies with a communication standard corresponding to a bus-type network topology different from CAN, for example, a communication I / F for LIN or FlexRay. In the following description, the communication protocol is CAN.

[0036] The communication I / F 104 is connected to a bus 120. The bus 120 extends to the outside of the control circuit 110. The bus 120 branches into a plurality of branches, and first connection parts 121A, 121B, 121C, 121D, 121E, 121F, 121G, and 121H of connectors are provided at the ends of the branches. The first connection parts 121A, 121B, 121C, 121D, 121E, 121F, 121G, and 121H are examples of "connection parts".

[0037] The cameras 200A, 200B, 200C, 200D, 200E, 200F, 200G, and 200H are provided with second connection parts 210A, 210B, 210C, 210D, 210E, 210F, 210G, and 210H of the connector, respectively. The first connection parts 121A, 121B, 121C, 121D, 121E, 121F, 121G, and 121H and the second connection parts 210A, 210B, 210C, 210D, 210E, 210F, 210G, and 210H can be connected to and disconnected from each other. The first connecting parts 121A, 121B, 121C, 121D, 121E, 121F, 121G, and 121H are, for example, plugs, and the second connecting parts 210A, 210B, 210C, 210D, 210E, 210F, 210G, and 210H are, for example, receptacles. However, the first connecting parts 121A, 121B, 121C, 121D, 121E, 121F, 121G, and 121H may be receptacles, and the second connecting parts 210A, 210B, 210C, 210D, 210E, 210F, 210G, and 210H may be plugs.

[0038] The bus 120 includes a communication line and a power line. FIG. 2 shows the communication line of the bus 120. The bus 120 is provided with switching elements (hereinafter also referred to as "SW") 122A, 122B, 122C, 122D, 122E, 122F, 122G, and 122H corresponding to the first connection parts 121A, 121B, 121C, 121D, 121E, 121F, 121G, and 121H, respectively. That is, SW121A is disposed in the middle of the communication line connected to the first connection part 121A of the bus 120. SW121B is disposed in the middle of the communication line connected to the first connection part 121B. SW121C is disposed in the middle of the communication line connected to the first connection part 121C. SW121D is disposed in the middle of the communication line connected to the first connection part 121D. SW121E is disposed in the middle of the communication line connected to the first connection part 121E. SW121F is disposed in the middle of the communication line connected to first connection portion 121F, SW121G is disposed in the middle of the communication line connected to first connection portion 121G, and SW121H is disposed in the middle of the communication line connected to first connection portion 121H.

[0039] More specifically, the CAN bus is a two-wire bus including a high wire and a low wire. In a specific example, a switching element is provided on each of the high wire and the low wire of the communication line of the bus 120. For example, each of the SWs 122A, 122B, 122C, 122D, 122E, 122F, 122G, and 122H may be a pair of two switching elements, with a first switching element provided on the high wire and a second switching element provided on the low wire. The switching elements of one pair are simultaneously controlled to be turned on and off.

[0040] Each of the SW122A, 122B, 122C, 122D, 122E, 122F, 122G, and 122H is, for example, a semiconductor relay. However, each of the SW122A, 122B, 122C, 122D, 122E, 122F, 122G, and 122H may be a mechanical relay.

[0041] The driving circuit 105 controls each of the SW122A, 122B, 122C, 122D, 122E, 122F, 122G, and 122H. That is, the driving circuit 105 can turn each of the SW122A, 122B, 122C, 122D, 122E, 122F, 122G, and 122H to an on state or an off state.

[0042] The driving circuit 105 outputs a voltage signal for driving SW122A, 122B, 122C, 122D, 122E, 122F, 122G, and 122H in accordance with a command input from the processor 101. Specifically, the driving circuit 105 outputs a voltage signal indicating two values, Low and High. The Low signal is a signal that turns SW122A, 122B, 122C, 122D, 122E, 122F, 122G, and 122H to an OFF state, and the High signal is a signal that turns SW122A, 122B, 122C, 122D, 122E, 122F, 122G, and 122H to an ON state.

[0043] When SW122A, 122B, 122C, 122D, 122E, 122F, 122G, and 122H are in the off state, the communication lines connected to the first connection units 121A, 121B, 121C, 121D, 121E, 121F, 121G, and 121H are disconnected. When SW122A, 122B, 122C, 122D, 122E, 122F, 122G, and 122H are in the on state, the communication lines connected to the first connection units 121A, 121B, 121C, 121D, 121E, 121F, 121G, and 121H are connected.

[0044] The setting program 111 is a program for setting a CAN ID, which is an identifier, for each of the cameras 200A, 200B, 200C, 200D, 200E, 200F, 200G, and 200H.

[0045] The non-volatile memory 102 stores a setting table 112 and a product information table 113. The setting table 112 is a table used to set a CAN ID for each of the cameras 200A, 200B, 200C, 200D, 200E, 200F, 200G, and 200H. The product information table 113 is a table that stores product information for the cameras 200A, 200B, 200C, 200D, 200E, 200F, 200G, and 200H. The setting table 112 and the product information table 113 will be described later.

[0046] Although not shown, the ECU 100 is provided with a communication I / F different from the communication I / F 104 and is capable of communicating with other ECUs mounted on the vehicle 10.

[0047] [3. ECU Functions] Next, the function of the ECU 100 will be described. Hereinafter, the cameras 200A, 200B, 200C, 200D, 200E, 200F, 200G, and 200H will be collectively referred to as "cameras 200". Similarly, the first connection parts 121A, 121B, 121C, 121D, 121E, 121F, 121G, and 121H will be collectively referred to as "first connection parts 121". The second connection parts 210A, 210B, 210C, 210D, 210E, 210F, 210G, and 210H will be collectively referred to as "second connection parts 210". SW122A, 122B, 122C, 122D, 122E, 122F, 122G, and 122H will be collectively referred to as "SW122".

[0048] FIG. 3 is a functional block diagram illustrating an example of functions of the ECU according to the embodiment.

[0049] The processor 101 of the ECU 100 executes the setting program 111 to realize the functions of a control unit 131, a determination unit 132, and a setting unit 133. Each of the control unit 131, the determination unit 132, and the setting unit 133 is realized by the processor 101.

[0050] The control unit 131 controls the SW 122. Specifically, the control unit 131 turns on one of the SWs 122A, 122B, 122C, 122D, 122E, 122F, 122G, and 122H, and turns off the others.

[0051] The setting unit 133 sets a CAN ID (CAN Identifier) ​​that is an identifier for the camera 200 connected to the first connection unit 121 that corresponds to the SW 122 in the ON state.

[0052] That is, when the control unit 131 turns on one of the SW122A, 122B, 122C, 122D, 122E, 122F, 122G, and 122H and turns off the others, the first connection unit 121 corresponding to the one SW122 in the on state is connected to the communication I / F 104. The first connection unit 121 corresponding to the SW122 in the off state is not connected to the communication I / F 104.

[0053] Here, as an example, it is assumed that SW122A is in an ON state, and SW122B, 122C, 122D, 122E, 122F, 122G, and 122H are in an OFF state. The first connection unit 121A corresponding to SW122A in an ON state is in a state of being connected to the communication I / F 104. The first connection units 121B, 121C, 121D, 121E, 121F, 121G, and 121H corresponding to SW122B, 122C, 122D, 122E, 122F, 122G, and 122H in an OFF state are in a state of not being connected to the communication I / F 104.

[0054] Since SW 122A is in the ON state, when second connection portion 210A of camera 200A is connected to first connection portion 121A, camera 200A is in a state in which it can communicate with ECU 100. On the other hand, since SW122B, 122C, 122D, 122E, 122F, 122G, and 122H are in the off state, even if second connection parts 210B, 210C, 210D, 210E, 210F, 210G, and 210H of cameras 200B, 200C, 200D, 200E, 200F, 200G, and 200H are connected to first connection parts 121B, 121C, 121D, 121E, 121F, 121G, and 121H, cameras 200B, 200C, 200D, 200E, 200F, 200G, and 200H are in a state where they cannot communicate with ECU 100.

[0055] In this manner, in a state in which only camera 200A among cameras 200A, 200B, 200C, 200D, 200E, 200F, 200G, and 200H is able to communicate with ECU 100, setting unit 133 transmits the CAN ID to bus 120. The transmitted CAN ID is received by camera 200A. Camera 200A sets the received CAN ID as the CAN ID of its own device.

[0056] 4 is a block diagram showing an example of a hardware configuration of a camera which is an extension device according to an embodiment of the present invention. The camera 200 has a communication function using a CAN.

[0057] The camera 200 includes a processor 201, a nonvolatile memory 202, a volatile memory 203, and a communication I / F 204. The processor 201, the nonvolatile memory 202, the volatile memory 203, and the communication I / F 204 are connected to each other by a bus 205, which is a communication line. The processor 201, the nonvolatile memory 202, the volatile memory 203, and the communication I / F 204 can transmit data to each other via the bus 205.

[0058] 4 shows only the configuration related to the communication function and the CAN ID setting function. Camera 200 also includes hardware related to the imaging function, such as an image sensor and an image processing circuit (not shown).

[0059] The volatile memory 203 is, for example, a semiconductor memory such as an SRAM, a DRAM, etc. The non-volatile memory 202 is, for example, a flash memory, a hard disk, a ROM, etc. The non-volatile memory 202 stores, for example, a computer program (not shown) for setting a CAN ID.

[0060] The processor 201 is, for example, a CPU. However, the processor 201 is not limited to a CPU. The processor 201 may be a GPU. In a specific example, the processor 201 is a multi-core processor. The processor 201 may be a single-core processor. The processor 201 is configured to be able to execute a computer program. However, the processor 201 may be, for example, an ASIC or a programmable logic device such as an FPGA.

[0061] The communication I / F 204 is a communication interface that complies with a specific communication protocol. That is, in this embodiment, the communication I / F 204 is a CAN interface. However, the communication I / F 204 may be any communication I / F that enables communication with the ECU 100, and may be, for example, a communication I / F for LIN or FlexRay.

[0062] The communication I / F 104 is connected to the second connection unit 210 via the communication line 206. When the second connection unit 210 is connected to the first connection unit 121, the communication I / F 104 is connected to the bus 120.

[0063] When the camera 200 receives the CAN ID from the ECU 100, the camera 200 stores the CAN ID 220 in the nonvolatile memory 202. As a result, the camera 200 uses the CAN ID 220 of the camera itself stored in the nonvolatile memory 202 in communication with the ECU 100 (or other ECUs).

[0064] 3, the determination unit 132 determines whether or not the camera 200 connected to the first connection unit 121 corresponding to the SW 122 in the ON state is a target for setting a CAN ID. That is, the determination unit 132 determines whether or not the camera 200 connected to the first connection unit 121 corresponding to the SW 122 in the ON state is a camera having a function for connecting to the ECU 100. As described above, if the camera is a genuine product or a non-genuine product that is compatible with connection to the ECU 100, the determination unit 132 can determine that the camera is a target for setting a CAN ID.

[0065] In a specific example, the determination unit 132 determines whether or not the camera is a target for setting a CAN ID based on the product information of the camera. For example, product information of the camera having a function for connecting to the ECU 100 is registered in advance in the product information table 113. The determination unit 132 can use the product information table 113 to determine whether or not the camera 200 connected to the first connection unit 121 corresponding to the SW 122 in the ON state is a target for setting a CAN ID.

[0066] 5 is a diagram showing an example of a product information table. Product information table 113 stores product information of cameras having a function of connecting to ECU 100. The product information is, for example, the product number of the camera. In another example, the product information may be a product name or model.

[0067] In the example of FIG. 5, the product numbers "ABC011", "ABC021", "XYZ55", ... of the cameras having a function of connecting to the ECU 100 are stored in the product information table 113. When the camera 200 having a function of connecting to the ECU 100 is connected to the ECU 100 via the bus 120 (that is, when the corresponding SW 122 is turned on), the camera 200 transmits the product number of the camera 200 itself. For example, the determination unit 132 receives the product number transmitted from the camera 200 and compares the received product number with the product number registered in the product information table 113. When the product number that matches the product number received from the camera 200 exists in the product information table 113, the determination unit 132 determines that the camera 200 is a target for setting the CAN ID. When the product number that matches the product number received from the camera 200 does not exist in the product information table 113, or when the product number cannot be received from the camera 200, the determination unit 132 determines that the camera 200 is not a target for setting the CAN ID.

[0068] 3, setting unit 133 sets a CAN ID to camera 200 that has been determined by determination unit 132 to be a target for setting a CAN ID. This makes it possible for camera 200 to be used by ECU 100.

[0069] The control unit 131 sequentially switches the SW 122 to be turned on among the SW 122A, 122B, 122C, 122D, 122E, 122F, 122G, and 122H. This sequentially switches the camera that is capable of communicating with the ECU 100 among the cameras 200A, 200B, 200C, 200D, 200E, 200F, 200G, and 200H (more specifically, among the cameras 200 whose second connection units 210 are connected to the first connection unit 121).

[0070] The setting unit 133 sequentially sets CAN IDs for the cameras 200 whose second connection units 210 are connected to the first connection units 121 corresponding to the ON SWs 122. The setting unit 133 sets different (i.e., unique) CAN IDs for each camera 200. That is, the setting unit 133 sets a CAN ID for each camera 200 while switching the CAN IDs.

[0071] In a specific example, the setting unit 133 sets the CAN ID determined in correspondence with the first connection unit 121 to the camera 200 whose second connection unit 210 is connected to the first connection unit 121 .

[0072] For example, the setting unit 133 can use the setting table 112 to identify the CAN ID determined corresponding to the first connection unit 121. Fig. 6 is a diagram showing an example of the setting table. In the setting table 112 shown in Fig. 6, the mounting position of the camera 200, the SW No. which is the number of the SW 122, and the CAN ID are associated with each other.

[0073] As described above, the camera 200 is attached to eight locations: "front center," "front left," "front right," "rear center," "rear left," "rear right," "left," and "right." The attachment position "front center" is associated with SW No. "1" and CAN ID "100." The attachment position "front left" is associated with SW No. "2" and CAN ID "101." The attachment position "front right" is associated with SW No. "3" and CAN ID "102." The attachment position "rear center" is associated with SW No. "4" and CAN ID "103." The attachment position "rear left" is associated with SW No. "5" and CAN ID "104." The attachment position "rear right" is associated with SW No. "6" and CAN ID "105." The attachment position "left" is associated with SW No. "7" and CAN ID "106." The installation position "right" is associated with SW No. "8" and CAN ID "107".

[0074] SW No. "1" is the number of SW122A. The control unit 131 can identify SW122 by the SW No. That is, the control unit 131 identifies SW No. "1" as SW122A. Similarly, SW No. "2" is the number of SW122B. SW No. "3" is the number of SW122C. SW No. "4" is the number of SW122D. SW No. "5" is the number of SW122E. SW No. "6" is the number of SW122F. SW No. "7" is the number of SW122G. SW No. "8" is the number of SW122H.

[0075] For example, when setting a CAN ID for camera 200A arranged at the mounting position "front center", control unit 131 turns on SW122A with SW No. "1". While SW122A is on, determination unit 132 receives a product number from camera 200A and determines whether camera 200A is a target for setting a CAN ID based on the received product number. If determination unit 132 determines that camera 200A is a target for setting a CAN ID, setting unit 133 transmits CAN ID "100" to bus 120 while SW122A is on. As a result, CAN ID "100" is set for camera 200A.

[0076] In a specific example, the control unit 131 turns on SW122A, 122B, 122C, 122D, 122E, 122F, 122G, and 122H corresponding to the first connection parts 121A, 121B, 121C, 121D, 121E, 121F, 121G, and 121H in a predetermined order for the first connection parts 121A, 121B, 121C, 121D, 121E, 121F, 121G, and 121H.

[0077] As an example, the control unit 131 turns on the SWs 122 in the order of SW Nos. "1," "2," "3," "4," "5," "6," "7," and "8" registered in the setting table 112. In other words, the control unit 131 selects SW Nos. in the setting table 112 from top to bottom, and turns on the SWs 122 corresponding to the selected SW Nos. As a result, SWs 122A, 122B, 122C, 122D, 122E, 122F, 122G, and 122H are turned on in that order.

[0078] The setting unit 133 sets the CAN IDs to the cameras 200 in the order registered in the setting table 112. That is, the setting unit 133 sets the CAN ID "100" to the camera 200A arranged at the mounting position "front center". Next, the setting unit 133 sets the CAN ID "101" to the camera 200B arranged at the mounting position "front left". Next, the setting unit 133 sets the CAN ID "102" to the camera 200C arranged at the mounting position "front right". Next, the setting unit 133 sets the CAN ID "103" to the camera 200D arranged at the mounting position "rear center". Next, the setting unit 133 sets the CAN ID "104" to the camera 200E arranged at the mounting position "rear left". Next, the setting unit 133 sets the CAN ID "105" to the camera 200F arranged at the mounting position "rear right". Next, the setting unit 133 sets the CAN ID "106" to the camera 200G arranged in the "left" mounting position. Next, the setting unit 133 sets the CAN ID "107" to the camera 200H arranged in the "right" mounting position.

[0079] In setting table 112, the CAN ID values ​​increase from top to bottom. That is, control unit 131 sets CAN IDs for multiple cameras 200 such that the CAN ID values ​​increase from top to bottom. The smaller the CAN ID value, the higher the priority. Meanwhile, the installation positions in setting table 112 decrease in importance from top to bottom in Fig. 6. That is, the higher the installation position in Fig. 6, the higher the importance. Therefore, the more important the installation position is for a camera, the higher the priority CAN ID is set.

[0080] Returning to FIG. 3, in this embodiment, when the ECU 100 is started, the control unit 131 performs initialization processing by turning on one of the switches SW122A, 122B, 122C, 122D, 122E, 122F, 122G, and 122H and turning off the rest.

[0081] In the following description, the process of sequentially turning on SW122A, 122B, 122C, 122D, 122E, 122F, 122G, and 122H and sequentially setting CAN IDs to cameras 200A, 200B, 200C, 200D, 200E, 200F, 200G, and 200H is referred to as an “identifier setting sequence.” When ECU 100 is started up, control circuit 110 executes the identifier setting sequence as an initialization process.

[0082] The start-up timing of the ECU 100 is determined according to the connected power source. That is, when the ECU 100 is connected to an IG (ignition) power source, the ECU 100 starts up when the vehicle 10 is in an IG-on state. When the ECU 100 is connected to an ACC (accessory) power source, the ECU 100 starts up when the vehicle 10 is in an ACC-on state.

[0083] [4. ECU Operation] Next, the operation of the ECU 100 according to the embodiment will be described.

[0084] FIG. 7 is a sequence diagram showing an example of the operation of the ECU 100 for setting a CAN ID to each of the multiple cameras 200A, 200B, 200C, 200D, 200E, 200F, 200G, and 200H.

[0085] 7, for each of the SWs 122A, 122B, 122C, 122D, 122E, 122F, 122G, and 122H, the dashed line indicates the off state and the solid line indicates the on state. For each of the cameras 200A, 200B, 200C, 200D, 200E, 200F, 200G, and 200H, the dashed line indicates the communication unavailable state and the solid line indicates the communication available state.

[0086] First, the control circuit 110 turns on SW122A, which is SW No. 1 (step S11). At this time, SW122B, 122C, 122D, 122E, 122F, 122G, and 122H are in the off state. When the drive circuit 105 switches the voltage signal output to SW122A from low to high, the state of SW122A transitions from the off state to the on state. When SW122A turns on, the camera 200A, whose second connector 210A is connected to the first connector 121A, becomes communicable.

[0087] Control circuit 110 transmits CAN ID "100" to bus 120 (step S12). Of cameras 200A, 200B, 200C, 200D, 200E, 200F, 200G, and 200H, only camera 200A receives CAN ID "100". Camera 200A stores CAN ID "100" in non-volatile memory 202. As a result, the CAN ID of camera 200A is set to "100".

[0088] After setting the CAN ID "100" in the camera 200A, the control circuit 110 turns off the SW122A (step S13). The drive circuit 105 switches the voltage signal output to the SW122A from High to Low, causing the state of the SW122A to transition from the ON state to the OFF state. When the SW122A turns off, the camera 200A, whose second connection part 210A is connected to the first connection part 121A, becomes unable to communicate.

[0089] Next, the control circuit 110 turns on the SW No. 2, SW122B (step S14). At this time, SW122A, 122C, 122D, 122E, 122F, 122G, and 122H are in the OFF state. When SW122B turns on, the camera 200B, whose second connector 210B is connected to the first connector 121B, becomes communicable.

[0090] The control circuit 110 transmits the CAN ID "101" to the bus 120 (step S15). Of the cameras 200A, 200B, 200C, 200D, 200E, 200F, 200G, and 200H, only the camera 200B receives the CAN ID "101". The camera 200B stores the CAN ID "101" in the non-volatile memory 202. As a result, the CAN ID of the camera 200B is set to "101".

[0091] After setting the CAN ID "101" in the camera 200B, the control circuit 110 turns off the SW122B (step S16). By turning off the SW122B, the camera 200B becomes unable to communicate.

[0092] Next, the control circuit 110 turns on SW No. 3, SW122C (step S17). At this time, SW122A, 122B, 122D, 122E, 122F, 122G, and 122H are in the off state. By turning on SW122C, the camera 200C, whose second connector 210C is connected to the first connector 121C, becomes communicable.

[0093] The control circuit 110 transmits the CAN ID "102" to the bus 120 (step S18). Of the cameras 200A, 200B, 200C, 200D, 200E, 200F, 200G, and 200H, only the camera 200C receives the CAN ID "102". The camera 200C stores the CAN ID "102" in the non-volatile memory 202. As a result, the CAN ID of the camera 200C is set to "102".

[0094] After setting the CAN ID "102" in the camera 200C, the control circuit 110 turns off the SW122C (step S19). By turning off the SW122C, the camera 200C becomes unable to communicate.

[0095] Next, the control circuit 110 turns on SW No. 4, SW122D (step S20). At this time, SW122A, 122B, 122C, 122E, 122F, 122G, and 122H are in the off state. When SW122D turns on, the camera 200D, whose second connector 210D is connected to the first connector 121D, becomes communicable.

[0096] The control circuit 110 transmits the CAN ID "103" to the bus 120 (step S21). Of the cameras 200A, 200B, 200C, 200D, 200E, 200F, 200G, and 200H, only the camera 200D receives the CAN ID "103". The camera 200D stores the CAN ID "103" in the non-volatile memory 202. As a result, the CAN ID of the camera 200D is set to "103".

[0097] After setting the CAN ID "103" in the camera 200D, the control circuit 110 turns off the SW122D (step S22). When the SW122D is turned off, the camera 200D becomes unable to communicate.

[0098] Next, the control circuit 110 turns on SW No. 5, SW122E (step S23). At this time, SW122A, 122B, 122C, 122D, 122F, 122G, and 122H are in the off state. When SW122E turns on, the camera 200E, whose second connector 210E is connected to the first connector 121E, becomes communicable.

[0099] The control circuit 110 transmits the CAN ID "104" to the bus 120 (step S24). Of the cameras 200A, 200B, 200C, 200D, 200E, 200F, 200G, and 200H, only the camera 200E receives the CAN ID "104". The camera 200E stores the CAN ID "104" in the non-volatile memory 202. As a result, the CAN ID of the camera 200E is set to "104".

[0100] After setting the CAN ID "104" in the camera 200E, the control circuit 110 turns off the SW122E (step S25). When the SW122E is turned off, the camera 200E becomes unable to communicate.

[0101] Next, the control circuit 110 turns on the SW No. 6, SW122F (step S26). At this time, SW122A, 122B, 122C, 122D, 122E, 122G, and 122H are in the off state. By turning on SW122F, the camera 200F, whose second connector 210F is connected to the first connector 121F, becomes communicable.

[0102] The control circuit 110 transmits the CAN ID "105" to the bus 120 (step S27). Of the cameras 200A, 200B, 200C, 200D, 200E, 200F, 200G, and 200H, only the camera 200F receives the CAN ID "105". The camera 200F stores the CAN ID "105" in the non-volatile memory 202. As a result, the CAN ID of the camera 200F is set to "105".

[0103] After setting the CAN ID "105" in the camera 200F, the control circuit 110 turns the SW122F to the OFF state (step S28). By turning the SW122F to the OFF state, the camera 200F becomes unable to communicate.

[0104] Next, the control circuit 110 turns on the SW No. 7, SW122G (step S29). At this time, SW122A, 122B, 122C, 122D, 122E, 122F, and 122H are in the off state. When SW122G turns on, the camera 200G, whose second connector 210G is connected to the first connector 121G, becomes communicable.

[0105] The control circuit 110 transmits the CAN ID "106" to the bus 120 (step S30). Of the cameras 200A, 200B, 200C, 200D, 200E, 200F, 200G, and 200H, only the camera 200G receives the CAN ID "106". The camera 200G stores the CAN ID "106" in the non-volatile memory 202. As a result, the CAN ID of the camera 200G is set to "106".

[0106] After setting the CAN ID "106" in the camera 200G, the control circuit 110 turns the SW122G to the OFF state (step S31). By turning the SW122G to the OFF state, the camera 200G becomes unable to communicate.

[0107] Next, the control circuit 110 turns on the SW No. 8, SW122H (step Sd32). At this time, SW122A, 122B, 122C, 122D, 122E, 122F, and 122G are in the OFF state. When SW122H turns on, the camera 200H, whose second connector 210H is connected to the first connector 121H, becomes communicable.

[0108] The control circuit 110 transmits the CAN ID "107" to the bus 120 (step S33). Of the cameras 200A, 200B, 200C, 200D, 200E, 200F, 200G, and 200H, only the camera 200H receives the CAN ID "107". The camera 200H stores the CAN ID "107" in the non-volatile memory 202. As a result, the CAN ID of the camera 200H is set to "107".

[0109] After setting the CAN ID "107" in the camera 200H, the control circuit 110 turns the SW122H to the OFF state (step S34). By turning the SW122H to the OFF state, the camera 200H becomes unable to communicate.

[0110] FIG. 8 is a flowchart illustrating an example of an identifier setting sequence by the ECU according to the embodiment.

[0111] When the ECU 100 is started up, the processor 101 executes an identifier setting sequence as an initialization process.

[0112] The processor 101 sets a variable i indicating the SW No. to "1" (step S101).

[0113] The processor 101 turns on the SW 122 having the SW No. i (step S102). The SWs 122 having SW Nos. other than i are in the OFF state.

[0114] When camera 200 connected to first connection unit 121 corresponding to SW 122 with SW No. i has a function of connecting to ECU 100, camera 200 transmits a product number. Processor 101 determines whether or not the product number has been received from camera 200 (step S103).

[0115] For example, if the product number is not received from camera 200 within a certain period of time (NO in step S103), processor 101 determines that camera 200 does not have a function for connecting to ECU 100, that is, is not a target for setting a CAN ID, and proceeds to step S108.

[0116] When a product number has been received from the camera 200 (YES in step S103), the processor 101 determines whether the received product number matches one of the product numbers registered in the product information table 113 (step S104).

[0117] If the received product number does not match any product number registered in the product information table 113 (NO in step S104), the processor 101 determines that the camera 200 does not have the function to connect to the ECU 100, i.e., is not a target for setting a CAN ID, and proceeds to step S108.

[0118] If the received product number matches one of the product numbers registered in the product information table 113 (YES in step S104), the processor 101 determines that the camera 200 has a function for connecting to the ECU 100, that is, that the camera 200 is a target for setting a CAN ID. The processor 101 reads out the CAN ID corresponding to SW No.=i from the setting table 112 (step S105).

[0119] The processor 101 transmits the CAN ID read out from the setting table 112 to the bus 120 (step S106). As a result, the CAN ID is set in the camera 200.

[0120] The processor 101 turns off the switch 122 whose switch number is i (step S107).

[0121] The processor 101 determines whether or not i has reached the maximum value N (step S108). In the example of FIG.

[0122] If i has not reached N (NO in step S108), the processor 101 increments i by 1 (step S109) and proceeds to step S102.

[0123] If i reaches N (YES in step S108), the processor 101 ends the identifier setting sequence.

[0124] [5. Modifications] When ECU 100 detects the connection of camera 200 to first connection unit 121, ECU 100 may start the identifier setting sequence.

[0125] For example, ECU 100 periodically turns on all SWs 122. Camera 200 connected to first connection unit 121 periodically transmits a detection signal (hereinafter, also referred to as a "detection signal"). In another example, ECU 100 may transmit a request signal to bus 120, and camera 200 that receives the request signal may transmit a detection signal in response.

[0126] When the control circuit 110 (the processor 101) of the ECU 100 receives the detection signal, it detects that the camera 200 has been connected. Triggered by the detection of the connection of the camera 200, the processor 101 starts an identifier setting sequence.

[0127] [6. Additional Notes] The embodiments disclosed herein are illustrative in all respects and are not restrictive. The scope of the present invention is defined by the claims rather than the above-described embodiments, and includes the meaning equivalent to the claims and all modifications within the scope thereof. [Explanation of symbols]

[0128] 10 Vehicles 100 ECU 110 Control circuit 101 Processor 102 Non-volatile memory 103 Volatile Memory 104 Communication Interface (Communication I / F) 105 Drive circuit 106 Bus 111 Setting Program 112 Setting Table 113 Product Information Table 120 Bus 121, 121A, 121B, 121C, 121D, 121E, 121F, 121G, 121H First connection part 131 Control Unit 132 Judgment section 133 Setting section 200, 200A, 200B, 200C, 200D, 200E, 200F, 200G, 200H Camera 201 Processor 202 Non-volatile memory 203 Volatile Memory 204 Communication Interface (Communication I / F) 205 Bus 206 Communication Line 210, 210A, 210B, 210C, 210D, 210E, 210F, 210G, 210H Second connection part

Claims

1. An in-vehicle device capable of connecting a plurality of extension devices, a plurality of connection portions for connecting the expansion devices, the connection portions corresponding to a plurality of mounting positions for mounting the expansion devices in the vehicle; a plurality of switching elements provided corresponding to the plurality of connection parts, A control unit that turns on one of the plurality of switching elements; a setting unit that sets an identifier to the extension device connected to the connection unit corresponding to the switching element in the ON state; Equipped with In-vehicle device.

2. The control unit switches the switching elements to be turned on among the plurality of switching elements, the setting unit sets an identifier for the extension device connected to the connection unit corresponding to the switching element in an on state. The in-vehicle device according to claim 1 .

3. The setting unit sets the identifier determined corresponding to the connection unit to the extension device connected to the connection unit. The in-vehicle device according to claim 1 .

4. the control unit turns on the switching elements corresponding to the plurality of connection parts in a predetermined order for the plurality of connection parts. The in-vehicle device according to claim 1 .

5. The identifier is a CAN ID, the setting unit sets the identifiers for the plurality of extension devices in such a manner that the identifier values ​​become larger or smaller in sequence. The vehicle-mounted device according to claim 4.

6. The switching element is provided on a communication line for communicating with the control unit. The in-vehicle device according to claim 1 .

7. When the in-vehicle device is started, the control unit turns on one of the plurality of switching elements as an initialization process. The in-vehicle device according to claim 1 .

8. the control unit turns on one of the plurality of switching elements when detecting the connection of the expansion device to the connection unit. The in-vehicle device according to claim 1 .

9. The control unit detects the connection of the extension device to the connection unit by receiving a signal output from the extension device. The in-vehicle device according to claim 8.

10. the in-vehicle device further includes a determination unit that determines whether the extension device connected to the connection unit corresponding to the switching element in the on state is a target for setting the identifier, The setting unit sets the identifier to the extension device determined by the determination unit to be a setting target of the identification information. The in-vehicle device according to any one of claims 1 to 9.

11. the determination unit determines whether the extension device is a target for setting the identifier based on product information of the extension device. The in-vehicle device according to claim 10.

12. A setting method for an in-vehicle device to which a plurality of extension devices can be connected, comprising: a step of turning on one of a plurality of switching elements provided corresponding to each of a plurality of connection parts when the plurality of extension devices are connected to each of a plurality of connection parts for connecting the plurality of extension devices, the connection parts corresponding to a plurality of mounting positions for mounting the plurality of extension devices in a vehicle; setting an identifier for the extension device connected to the connection portion corresponding to the switching element in the ON state; Including, How to set it up.

13. A setting program for use in an in-vehicle device to which a plurality of extension devices can be connected, On the computer, a step of turning on one of a plurality of switching elements provided corresponding to each of a plurality of connection parts when the plurality of extension devices are connected to each of a plurality of connection parts for connecting the plurality of extension devices, the connection parts corresponding to a plurality of mounting positions for mounting the plurality of extension devices in a vehicle; setting an identifier for the extension device connected to the connection portion corresponding to the switching element in the ON state; In order to execute Configuration program.

Citation Information

Patent Citations

  • Assembly, main body device and attachment device

    JP2018182673A