Vehicle control device
The vehicle control device addresses cost escalation by minimizing the influence of increased CAN channels through a transceiver-based system, reducing communication units and testing time.
Patent Information
- Application Number
- JP2023055077
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-30
- Publication Date
- 2024-10-11
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Conventional vehicle control devices face increased costs due to the need for additional functions on the testing machine side with each CAN channel added during ECU input/output testing, exacerbated by the growing number of in-vehicle devices.
A vehicle control device with a first transceiver receiving a test signal from an external machine, a second transceiver for testing, and a control unit to manage test results, minimizing the impact of increased CAN channels by reducing the number of communication units.
This configuration suppresses cost increases on the testing machine side, reduces processing load, and shortens testing time while ensuring thorough testing before shipment.
Smart Images

Figure 2024142766000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a vehicle control device. [Background technology]
[0002] Conventionally, in factories that manufacture vehicle control devices such as ECUs (Electric Control Units) mounted on vehicles, the input and output of the ECU is tested by commands from a testing machine as a test for the ECU to be shipped. Conventionally, ECUs are equipped with an interface for CAN (Controller Area Network) communication to exchange information between the ECU and on-board devices such as meters connected to the vehicle body via CAN communication.
[0003] Conventionally, in such ECU input / output tests, the validity of transmission and reception in CAN communication is confirmed by communicating between a test machine and the ECU. In conventional tests to confirm the validity of transmission and reception in CAN communication, the test machine outputs signals to the ECU according to various inputs, and the ECU receives the signals from the test machine and outputs ECU information to the test machine via CAN. At this time, the ECU outputs according to commands from the test machine and also performs CAN communication with the test machine for each CAN channel.
[0004] For example, Patent Document 1 discloses a vehicle control device in which a CAN controller, which is an interface for communicating with various ECUs and the outside, outputs communication data to a CAN bus as a multiplex communication bus through a CAN communication circuit that converts signal levels and controls transmission, or inputs communication data from the CAN bus. In the vehicle control device of Patent Document 1, an external fault diagnosis device is connected to the CAN bus through a predetermined connector, and a diagnostic judgment output program is executed when the ignition switch is turned on. In addition, the vehicle control device of Patent Document 1 executes the diagnostic judgment output program, thereby making a diagnostic judgment when it is determined that a diagnostic output is requested, and outputs the judgment data to the external fault diagnosis device. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2009-78702 A Summary of the Invention [Problem to be solved by the invention]
[0006] However, according to the study by the inventor, in a conventional vehicle control device, CAN communication is performed between the tester and the ECU for each CAN channel in the input / output test of the ECU, so that every time the number of CAN channels increases, the tester needs to add and modify functions, which increases the cost. In particular, the number of CAN channels is expected to increase in the future due to an increase in on-board devices connected to the vehicle body, such as meters, IMUs (inertial measurement units), ABSs (antilock brake systems), and SUSs, and the above problem will become more pronounced.
[0007] The present invention was developed based on the above considerations, and aims to provide a vehicle control device that can suppress increases in costs on the testing machine side by minimizing the effects of an increase in the number of CAN channels. [Means for solving the problem]
[0008] In order to achieve the above-mentioned objects, a first aspect of the present invention comprises a first transceiver that receives a first signal instructing the execution of a test from an external testing device, a second transceiver, and a control unit that, when the first transceiver receives the first signal, transmits a test signal to the second transceiver and executes the test of the second transceiver based on the state of the response to the test signal, and controls the first transceiver to transmit a second signal indicating a result of the test of the second transceiver to the testing device.
[0009] In addition to the first aspect, the present invention has a second aspect in which the control unit executes the test of the first transceiver by causing the first transceiver to transmit the second signal to the tester.
[0010] In addition to the first or second aspect, the present invention provides a third aspect in which the testing machine is provided in a factory that manufactures the vehicle control device.
[0011] In addition to the first or second aspect, the present invention provides a fourth aspect in which the tester further includes a communication unit connected to the first transceiver. Effect of the Invention
[0012] The vehicle control device according to the first aspect of the present invention includes a first transceiver that receives a first signal instructing the execution of a test from an external testing machine, a second transceiver, and a control unit that, when the first transceiver receives the first signal, transmits a test signal to the second transceiver and executes a test of the second transceiver based on the state of the response to the test signal, and controls the first transceiver to transmit a second signal indicating the result of the test of the second transceiver to the testing machine.Therefore, by minimizing the impact of an increase in the number of CAN channels, it is possible to suppress an increase in costs on the testing machine side.
[0013] Furthermore, according to the vehicle control device relating to the second aspect of the present invention, the control unit executes a test of the first transceiver by causing the first transceiver to transmit a second signal to a testing device, thereby making it possible to reduce the processing load associated with the test and shorten the time required for the test.
[0014] Furthermore, according to the vehicle control device of the third aspect of the present invention, the testing machine is installed in the factory where the vehicle control device is manufactured, so that appropriate testing can be performed in the factory before shipment.
[0015] Furthermore, according to the vehicle control device relating to the fourth aspect of the present invention, the testing machine has a communication unit that is connected to the first transceiver. Therefore, even if the number of transceivers is increased, the number of communication units in the testing machine can be kept to only one, eliminating the need for the work and cost of increasing the number of communication units in the testing machine. [Brief description of the drawings]
[0016] [Figure 1] FIG. 1 is a block diagram showing a configuration of a vehicle control device according to an embodiment of the present invention. [Diagram 2] FIG. 2 is a sequence diagram showing the operations of the vehicle control device and the testing machine in this embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0017] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, a vehicle control device according to an embodiment of the present invention will be described in detail with reference to the drawings as appropriate.
[0018] <Configuration of vehicle control device> The configuration of a vehicle control device 1 according to an embodiment of the present invention will be described in detail with reference to FIG.
[0019] The vehicle control device 1 is mounted on a vehicle (not shown) and is an arithmetic processing device such as a microcomputer, and an ECU (Electronic Control Unit) is exemplified here. The vehicle control device 1 is connected to an external test device 100 for CAN communication. The test device 100 is installed in a factory where the vehicle control device 1 is manufactured, and includes a communication unit 101 that communicates with the vehicle control device 1.
[0020] Specifically, the vehicle control device 1 includes a transceiver 2, a transceiver 3, a transceiver 4, a transceiver 5, and a CPU (Central Processing Unit) 6.
[0021] The transceiver 2 as a first transceiver is connected to a communication unit 101 of the tester 100. Under the control of a communication control unit 62 (described later) of the CPU 6, the transceiver 2 receives a first signal from the communication unit 101 of the tester 100 instructing the execution of a test, and transmits a second signal indicating the result of the test to the communication unit 101.
[0022] Each of the transceivers 3 , 4 and 5 acting as second transceivers responds to a test signal input from the CPU 6 .
[0023] The CPU 6 functions as a self-test control unit 61 and a communication control unit 62 by executing a computer program stored in a memory (not shown).
[0024] The self-test control unit 61 uses a self-test mode of the CAN built in the microcomputer to execute tests on the transceivers 3, 4, and 5 in the vehicle control device 1. Specifically, when the transceiver 2 receives a first signal from the communication unit 101 of the tester 100 instructing execution of a test, the self-test control unit 61 outputs a test signal to each of the transceivers 3, 4, and 5, and executes tests on the transceivers 3, 4, and 5 based on the response states of the transceivers 3, 4, and 5.
[0025] The communication control unit 62 controls the operation of the transceiver 2 in communicating with the tester 100. The communication control unit 62 controls the transceiver 2 to transmit a second signal indicating the result of the test executed by the self-test control unit 61. The communication control unit 62 executes a test of the transceiver 2 by causing the transceiver 2 to transmit the second signal.
[0026] <Vehicle control device and test machine operation> The operation of the vehicle control device 1 and the testing machine 100 according to the embodiment of the present invention will be described in detail with reference to FIG.
[0027] First, the communication unit 101 of the testing machine 100 executes a transmission process for transmitting a first signal instructing the control device 1 of the vehicle to execute a test in response to a predetermined input (S1).
[0028] Next, the communication unit 101 transmits a first signal to the transceiver 2 of the vehicle control device 1, and the transceiver 2 receives the first signal under the control of the communication control unit 62 of the CPU 6 (S2).
[0029] Next, the self-test control unit 61 of the CPU 6 executes a test of the transceiver 3 in response to the transceiver 2 receiving the first signal (S3). In executing the test, the self-test control unit 61 outputs a test signal to the transceiver 3 and executes a test of the transceiver 3 based on the state of the response.
[0030] Specifically, by starting execution of a test on the transceiver 3, the self-test control unit 61 first outputs an ACK bit, which is a flag indicating that communication has started, to the transceiver 3, and then outputs a test signal as a test signal to the transceiver 3. When the ACK bit is input from the self-test control unit 61, the transceiver 3 outputs the ACK bit to the self-test control unit 61, and when the test signal is input from the self-test control unit 61, the transceiver 3 outputs the test signal to the self-test control unit 61. When the ACK bit is input from the transceiver 3, the self-test control unit 61 permits reception of the test signal from the transceiver 3, and when the test signal is input from the transceiver 3, the response state of the transceiver 3 indicates that there is a response, so that the test result indicates that transmission and reception can be performed normally, and the execution of the test on the transceiver 3 ends.
[0031] The self-test control unit 61 stores the obtained results of the test on the transceiver 3 in a memory (not shown).
[0032] Next, the self-test control unit 61 executes a test on the transceiver 4 (S4). In executing the test, the self-test control unit 61 outputs a test signal to the transceiver 4 and executes the test on the transceiver 4 based on the state of the response.
[0033] Specifically, by starting execution of a test on the transceiver 4, the self-test control unit 61 first outputs an ACK bit to the transceiver 4, and then outputs a test signal as a test signal to the transceiver 4. When the ACK bit is input from the self-test control unit 61, the transceiver 4 outputs an ACK bit to the self-test control unit 61, and then when the test signal is input from the self-test control unit 61, it outputs the test signal to the self-test control unit 61. Then, when the ACK bit is input from the transceiver 4, the self-test control unit 61 permits reception of the test signal from the transceiver 4, and when the test signal is input from the transceiver 4, the response state of the transceiver 4 indicates that there is a response, so that the test result indicates that transmission and reception are possible normally, and the execution of the test on the transceiver 4 ends.
[0034] The self-test control unit 61 stores the results of the test on the transceiver 4 in a memory (not shown).
[0035] Next, the self-test control unit 61 executes a test of the transceiver 5 (S5). In executing the test, the self-test control unit 61 outputs a test signal to the transceiver 5 and executes the test of the transceiver 5 based on the state of the response.
[0036] Specifically, by starting execution of a test on the transceiver 5, the self-test control unit 61 first outputs an ACK bit to the transceiver 5, and then outputs a test signal as a test signal to the transceiver 5. When the ACK bit is input from the self-test control unit 61, the transceiver 5 outputs an ACK bit to the self-test control unit 61, and then when the test signal is input from the self-test control unit 61, it outputs the test signal to the self-test control unit 61. Then, when the ACK bit is input from the transceiver 5, the self-test control unit 61 permits reception of the test signal from the transceiver 5, and when the test signal is input from the transceiver 5, the response state of the transceiver 5 indicates that there is a response, so that the test result indicates that transmission and reception can be performed normally, and the execution of the test on the transceiver 5 ends.
[0037] The self-test control unit 61 stores the results of the test on the transceiver 5 in a memory (not shown).
[0038] Next, the communication control unit 62 controls the transceiver 2 to transmit a second signal indicating the results of the tests on transceiver 3, transceiver 4, and transceiver 5 that the self-test control unit 61 has stored in memory to the communication unit 101 of the testing equipment 100 (S6).
[0039] Next, the transceiver 2 transmits the second signal to the communication unit 101 of the test equipment 100, and the communication unit 101 receives the second signal from the transceiver 2 (S7). The communication control unit 62 also causes the transceiver 2 to transmit the second signal, thereby executing a test of the transceiver 2. Then, when the second signal transmitted from the transceiver 2 is received by the communication unit 101, the test equipment 100 obtains a test result that the transceiver 2 can transmit and receive normally.
[0040] Next, the test machine 100 notifies the operator of the test result based on the second signal received by the communication unit 101 (S8).
[0041] As is clear from the above explanation, the vehicle control device 1 in this embodiment includes a transceiver 2 that receives a first signal instructing the execution of a test from an external testing device 100, a transceiver 3, a transceiver 4, and a transceiver 5, and a CPU 6 that, when the transceiver 2 receives the first signal, transmits a test signal to the transceivers 3, 4, and 5, and executes tests on the transceivers 3, 4, and 5 based on the state of the response to the test signal, and controls the transceiver 2 to transmit a second signal indicating the results of the tests on the transceivers 3, 4, and 5 to the testing device 100.Therefore, by minimizing the impact of an increase in the number of CAN channels, it is possible to suppress an increase in costs on the testing device 100 side.
[0042] Furthermore, in the vehicle control device 1 of this embodiment, the CPU 6 performs testing of the transceiver 2 by causing the transceiver 2 to transmit a second signal to the testing equipment 100, thereby making it possible to reduce the processing load associated with the testing and shorten the time required for the testing.
[0043] Furthermore, in the vehicle control device 1 of this embodiment, the testing machine 100 is provided in a factory where the vehicle control device 1 is manufactured, so that appropriate testing can be performed in the factory before shipment.
[0044] Furthermore, in the vehicle control device 1 of this embodiment, the testing equipment 100 has a communication unit 101 connected to the transceiver 2, so that even if the number of transceivers is increased, the number of communication units 101 in the testing equipment 100 can be only one, eliminating the need for the work and cost of increasing the number of communication units 101 in the testing equipment 100. [Industrial Applicability]
[0045] As described above, the present invention provides a vehicle control device that can suppress increases in costs on the testing machine side by minimizing the impact of an increase in the number of CAN channels, and because of its versatile and universal nature, it is expected to be widely applicable to control devices for vehicles such as automobiles and motorcycles. [Explanation of symbols]
[0046] 1...Vehicle control device 2...Transceiver 3...Transceiver 4...Transceiver 5...Transceiver 6…CPU 61...Self-test control unit 62...Communication control unit 100...Test machine 101…Communications Department
Claims
1. a first transceiver for receiving a first signal instructing execution of a test from an external tester; A second transceiver; a control unit that, when the first transceiver receives the first signal, transmits a test signal to the second transceiver, and executes the test of the second transceiver based on a state of a response to the test signal, and controls the first transceiver to transmit a second signal indicating a result of the test of the second transceiver to the tester; A vehicle control device comprising:
2. The control unit is performing the test of the first transceiver by causing the tester to transmit the second signal from the first transceiver; 2. The vehicle control device according to claim 1.
3. The test machine is The vehicle control device is provided in a factory where the vehicle control device is manufactured.
3. The vehicle control device according to claim 1 or 2.
4. The test machine is a communication unit connected to the first transceiver; 3. The vehicle control device according to claim 1 or 2.
Citation Information
Patent Citations
Vehicular control device
JP2009078702A
