Relay device, electronic control device, and vehicle-mounted network system
Provided are a relay device and the like with which it is possible to suppress bus signal reflections and suppress signal delays. A relay device 100 A includes a signal processing and forwarding pathway P 1 and a bypass connection pathway P 2 . The signal processing and forwarding pathway P 1 processes a signal received from one bus CAN 1 of a plurality of buses, and forwards the processed signal to another bus CAN 2 . The bypass connection pathway P 2 connects the one bus CAN 1 to the other bus CAN 2 , bypassing the signal processing and forwarding pathway P 1.
1. A relay device which relays a plurality of buses to which a plurality of vehicle-mounted processing devices are connected, comprising:
a signal processing and forwarding pathway which processes a signal received from one of the plurality of buses and forwards the signal to another bus,
wherein the plurality of buses include at least a first bus and a second bus, and
wherein the signal processing and forwarding pathway includes:
a first communication device which transmits an output signal generated based on a first signal received from the first bus to the second bus, and
a second communication device which transmits an output signal generated based on a second signal received from the second bus to the first bus;
a bypass connection pathway which connects the one bus to the other bus, bypassing the signal processing and forwarding pathway, wherein the bypass connection pathway includes a switch, one end of the switch being connected to the first bus and the other end of the switch being connected to the second bus; and
a controller which turns on the switch in a first period in which a communication rate of the first or second signal is a first communication rate and turns off the switch in a second period in which the communication rate of the first or second signal is a second communication rate, wherein the second communication rate is higher than the first communication rate.
2. The relay device according to claim 1 , wherein
the first period at least includes a period in which an arbitration field which is included in the first signal and the second signal and determines the vehicle-mounted control device transmitting data from the plurality of vehicle-mounted control devices connected to the first and second buses is received.
3. The relay device according to claim 1 , wherein
the controller turns off the first and second communication devices in the first period, and turns on the first and second communication devices in the second period.
4. The relay device according to claim 1 , wherein
the second period at least includes a period in which a data field included in the first signal and the second signal is received.
5. The relay device according to claim 1 , wherein
a time of commencement of the second period is timing at which a bit which is included in the first signal and the second signal and indicates that the communication rate is increased is received.
6. The relay device according to claim 1 further comprising:
a first termination resistor device which is connected to the first bus; and
a second termination resistor device which is connected to the second bus,
wherein the controller
turns off the first and second termination resistor devices in the first period, and
turns on the first and second termination resistor devices in the second period.
7. An electronic control device comprising the relay device according to claim 1 .
8. The relay device according to claim 1 , wherein the first communication device and the second communication device are integrally configured.
9. A vehicle-mounted network system, comprising:
a plurality of vehicle-mounted control devices; and
a relay device relaying a plurality of buses to which the plurality of vehicle-mounted processing devices are connected,
wherein the relay device includes:
a signal processing and forwarding pathway which processes a signal received from one of the plurality of buses and forwards the signal to another bus,
wherein the plurality of buses include at least a first bus and a second bus, and
wherein the signal processing and forwarding pathway includes:
a first communication device which transmits an output signal generated based on a first signal received from the first bus to the second bus, and
a second communication device which transmits an output signal generated based on a second signal received from the second bus to the first bus;
a bypass connection pathway which connects the one bus to the other bus, bypassing the signal processing and forwarding pathway, wherein the bypass connection pathway includes a switch, one end of the switch being connected to the first bus and the other end of the switch being connected to the second bus; and
a controller which turns on the switch in a first period in which a communication rate of the first or second signal is a first communication rate and turns off the switch in a second period in which the communication rate of the first or second signal is a second communication rate, wherein the second communication rate is higher than the first communication rate.