Electronic control unit with a plurality of control circuits

Information

  • Patent Application
  • 20070208470
  • Publication Number
    20070208470
  • Date Filed
    March 05, 2007
    17 years ago
  • Date Published
    September 06, 2007
    17 years ago
Abstract
In an ECU, a level adjusting unit communicable to first and second control circuits and a bus transceiver installed in the ECU receives first data and second data respectively transmitted from the first and second control circuits. The bus transceiver is communicable to a communication bus. When the first data and the second data are simultaneously received, the level adjusting unit merges the first data and the second data such that a first electric level of the first data wins with a second electric level of the second data. The level adjusting unit outputs the merged data to the bus transceiver.
Description

BRIEF DESCRIPTION OF THE DRAWINGS

Other objects and aspects of the invention will become apparent from the following description of embodiments with reference to the accompanying drawings in which:



FIG. 1 is a block diagram schematically illustrating an example of the configuration of a vehicle control system including an electronic control unit (ECU) according to a first embodiment of the present invention;



FIG. 2 is a block diagram schematically illustrating an example of the configurations of a bus transceiver, a level adjusting circuit, and communication controllers illustrated in FIG. 1;



FIG. 3 is a timing chart schematically illustrating CAN communications via an AND gate illustrated in FIG. 1;



FIG. 4A is a flowchart schematically illustrating operations of the communication controller installed in a main microcomputer illustrated in FIG. 1;



FIG. 4B is a flowchart schematically illustrating operations of the communication controller installed in a sub microcomputer illustrated in FIG. 1;



FIG. 5 is a block diagram schematically illustrating electrical configurations of an ECU according to a second embodiment of the present invention;



FIG. 6 is a circuit diagram schematically illustrating electrical configurations of an ECU according to a third embodiment of the present invention;



FIG. 7A is a flowchart schematically illustrating a direct communication start task to be executed by a main microcomputer according to the third embodiment;



FIG. 7B is a flowchart schematically illustrating a message task to be repeatedly executed by a main microcomputer according to the third embodiment;



FIG. 8 is a block diagram schematically illustrating electrical configurations of an ECU according to a fourth embodiment of the present invention;



FIG. 9 is a block diagram schematically illustrating electrical configurations of an ECU according to a fifth embodiment of the present invention;



FIG. 10 is a block diagram schematically illustrating electrical configurations of an ECU according to a sixth embodiment of the present invention;



FIG. 11 is a block diagram schematically illustrating electrical configurations of an ECU according to a seventh embodiment of the present invention;



FIG. 12 is a block diagram schematically illustrating electrical configurations of an ECU according to an eighth embodiment of the present invention; and



FIG. 13 is a flowchart schematically illustrating a memory rewriting task to be executed by a main microcomputer according to the eighth embodiment.


Claims
  • 1. An electronic control unit comprising: a bus transceiver communicable to a communication bus, the communication bus allowing data with an electrical dominant level to be asserted thereon in priority to data with an electrical recessive level different from the electrical dominant level, the electrical dominant level being higher in priority than the electrical recessive level;a first control circuit for control of a target, the first control circuit working to generate first data for transfer via the communication bus and transmit the generated first data;a second control circuit for control of a target, the second control circuit working to generate second data for transfer via the communication bus and transmit the generated second data, the first data and second data generated by the first and second control circuits each having any one of a first electric level and a second electric level, the first and second electric levels corresponding to the electric dominant and recessive levels, respectively; anda level adjusting unit communicable to the first and second control circuits and the bus transceiver and configured to: receive the first data and second data respectively transmitted from the first and second control circuits;when the first data and the second data are simultaneously received, merge the first data and the second data such that the first electric level wins with the second electric level; andoutput the merged data to the bus transceiver.
  • 2. An electronic control unit according to claim 1, further comprising a monitor circuit communicable to the first and second control circuits and configured to monitor the output data from the level adjusting unit and to transfer the monitored output data to each of the first and second control circuits, wherein, when the second control circuit transmits the second data whose electric level is the second electric level, the second control circuit is configured to: stop transmission of the second data until transmission of the first data to the level adjusting unit is determined to be completed based on the monitored output data.
  • 3. An electronic control unit according to claim 1, wherein the level adjusting unit is configured to, when the first data and the second data are simultaneously received, carry out logical AND operation of the first data and the second data such that the first electric level is a predetermined low level and the second electric level is a predetermined high level higher than the low level.
  • 4. An electronic control unit according to claim 1, wherein the first electric level corresponds to a ground voltage level, and the second electric level corresponds to a predetermined voltage level, and the level adjusting unit is configured to: invert the received first data and second data in electric level from a corresponding one of the first and second electric levels to the other thereof;transfer the inverted first data and second data therein;combine the transferred first data and second data such that the second electric level is given priory over the first electric level; andinvert the combined data from a corresponding one of the first and second electric levels to the other thereof to thereby output the inverted data.
  • 5. An electronic control unit according to claim 1, wherein the level adjusting unit includes a disabling unit coupled to at least one communication route between the level adjusting unit and each of the individual first control circuit, the second control circuit, and the bus transceiver, the disabling unit working to disable at least one of the communication routes upon establishment of a predetermined disabling condition, the predetermined disabling condition being associated with a corresponding at least one of the communication routes.
  • 6. An electronic control unit according to claim 5, wherein the disabling unit works to lock a level of data to be input via the at least one of the communication routes to the level adjusting unit to the second electric level so as to disable data input via the at least one of the communication routes.
  • 7. An electronic control unit according to claim 5, wherein the disabling unit works to lock a level of data to be transmitted toward the at least one of the communication routes to the second electric level so as to disable data output via the at least one of the communication routes.
  • 8. An electronic control unit according to claim 5, wherein the first electric level corresponds to a ground voltage level, and the second electric level corresponds to a predetermined voltage level, and the disabling unit has an output terminal coupled to the at least one of the communication routes, and works to lock a level of the output terminal to the ground voltage level so as to disable data output via the at least one of the communication routes.
  • 9. An electronic control unit according to claim 5, wherein the disabling unit works to keep the disabling of the at least one of the communication routes until establishment of a predetermined enabling condition, the predetermined enabling condition being associated with the at least one of the communication routes.
  • 10. An electronic control unit according to claim 5, wherein the level adjusting unit includes: an operational state monitoring unit works to monitor an operational state of at least one of the first control circuit, the second control circuit, and the bus transceiver to determine whether the operational state of at least one of the first control circuit, the second control circuit, and the bus transceiver is normal based on the monitored operational state, the disabling unit working to disable at least one of the communication routes when it is determined that the operational state of at least one of the first control circuit, the second control circuit, and the bus transceiver, the at least one of the communication routes corresponding to the at least one of the first control circuit, the second control circuit, and the bus transceiver.
  • 11. An electronic control unit according to claim 10, wherein the operational state monitoring unit works to monitor, as the operational state, a power supply voltage to be supplied to at least one of the first control circuit, the second control circuit, and the bus transceiver to determine whether the operational state of at least one of the first control circuit, the second control circuit, and the bus transceiver is normal based on the monitored power supply voltage, and the disabling unit works to disable at least one of the communication routes when it is determined that the power supply voltage to be supplied to at least one of the first control circuit, the second control circuit, and the bus transceiver is abnormal, the at least one of the communication routes corresponding to the at least one of the first control circuit, the second control circuit, and the bus transceiver.
  • 12. An electronic control unit according to claim 10, wherein the first control circuit is a main control circuit that allows control of the second control circuit, the operational state monitoring unit works to monitor, as the operational state, a power supply voltage to be supplied to the main control circuit to determine whether the power supply voltage to be supplied to the main control circuit is normal, and the disabling unit works to disable one of the communication routes between the level adjusting unit and the main control circuit and another one of the communication routes between the level adjusting unit and the second control circuit when it is determined that the power supply voltage to be supplied to the main control circuit is abnormal.
  • 13. An electronic control unit according to claim 1, wherein the level adjusting unit includes: an input data monitoring unit works to monitor input data to be input to the level adjusting unit via at least one of the communication routes from a corresponding at least one of the first control circuit, the second control circuit, and the bus transceiver to determine whether the input data to be input to the level adjusting unit via at least one of the communication routes is normal based on the monitoring, the disabling unit working to disable at least one of the communication routes when it is determined that the input data to be input to the level adjusting unit via the at least one of the communication routes from a corresponding at least one of the first control circuit, the second control circuit, and the bus transceiver is abnormal as the predetermined disabling condition.
  • 14. An electronic control unit according to claim 5, wherein the level adjusting unit has an input terminal coupled to at least one of the first control circuit, the second control circuit, and the bus transceiver via a corresponding at least one of the communication routes, the input terminal allowing a disabling control signal corresponding to the at least one of the first control circuit, the second control circuit, and the bus transceiver to be input to the level adjusting unit, the disabling unit working to disable at least one of the communication routes when the disabling control signal is input from the input terminal as the predetermined disabling condition.
  • 15. An electronic control unit according to claim 14, wherein the disabling unit works to disable the at least one of the communication routes when the disabling control signal input from the input terminal has a predetermined electrical level corresponding to open of the input terminal.
  • 16. An electronic control unit according to claim 14, wherein the disabling unit works to disable the at least one of the communication routes when the disabling control signal input from the input terminal has a predetermined electrical level corresponding to interruption of power supply via the input terminal to the at least one of the first control circuit, the second control circuit, and the bus transceiver.
  • 17. An electronic control unit according to claim 5, wherein each of the first and second control circuits allows an operational mode thereof to be shifted from normal operational mode to another operational mode, the disabling unit working to disable at least one of the communication routes for one of the first and second communication circuits when the one of the first and second communication circuits shifts the operation mode thereof from the normal operational mode to another operational mode as the predetermined disabling condition.
  • 18. An electronic control unit according to claim 17, wherein the one of the first and second control circuits is operative to output an operational mode signal indicative of the operational mode of the one of the first and second control circuits, and the disabling unit works to receive the operational mode signal and to disable at least one of the communication routes for the one of the first and second communication circuits when the received operational mode signal represents another operational mode.
  • 19. An electronic control unit according to claim 17, wherein the one of the first and second control circuits is operative to shift the operational mode thereof according to an instruction sent from the other of the first and second control circuits, and the disabling unit works to disable at least one of the communication routes for the one of the first and second communication circuits according to data output from the other of the first and second control circuits, the output data representing the operational mode shift of the one of the first and second control circuits.
  • 20. An electronic control unit according to claim 19, wherein the other of the first and second control circuits is a main control circuit operative to the instruction to the one of the first and second control circuits, and the disabling unit works to disable at least one of the communication routes for the one of the first and second communication circuits according to the data output from the main control circuit.
  • 21. An electronic control unit according to claim 5, further comprising a power supply circuit connected to each of the first control circuit, the second control circuit, the bus transceiver, and the level adjusting circuit, and configured to supply power to each of the first control circuit, the second control circuit, the bus transceiver, and the level adjusting unit, wherein the power supply circuit allows an operational mode of each of the first and second control circuits to be shifted from normal operational mode to another operational mode, the disabling unit working to disable at least one of the communication routes for at least one of the first and second communication circuits according to data output from the power supply circuit, the output data representing the operational mode shift of the at least one of the first and second control circuits as the predetermined disabling condition.
  • 22. An electronic control unit according to claim 1, further comprising a power supply circuit connected to each of the first control circuit, the second control circuit, the bus transceiver, and the level adjusting unit, and configured to carry out, based on a power control signal, supply and/or interruption of power to each of the first control circuit, the second control circuit, the bus transceiver, and the level adjusting unit, the power control signal being externally input to the power supply circuit, wherein the level adjusting unit includes: a disabling unit coupled to the power supply circuit and to a communication route between the level adjusting unit and each of the first control circuit, the second control circuit, and the bus transceiver, the disabling unit working to disable at least one of the communication routes for at least one of the first circuit, the second circuit, and the bus transceiver according to the power control signal to be input to the power supply circuit when the power control signal represents interruption of power supply from the power supply circuit to the at least one of the first control circuit, the second control circuit, and the bus transceiver.
  • 23. An electronic control unit according to claim 1, further comprising a power supply control unit connected to each of the first control circuit, the second control circuit, the bus transceiver, and the level adjusting unit, and configured to control power to be supplied to each of the first control circuit, the second control circuit, the bus transceiver, and the level adjusting unit, wherein the level adjusting unit includes: a disabling unit coupled to the power supply circuit and to a communication route between the level adjusting unit and each of the first control circuit, the second control circuit, and the bus transceiver, the disabling unit working to, when there is an abnormality in power control of the power control unit for at least one of the first control circuit, the second control circuit, and the bus transceiver, disable at least one of the communication routes for the at least one of the first circuit, the second circuit, and the bus transceiver.
  • 24. An electronic control unit according to claim 5, wherein, when a direct communication request indicative of direct communications of the first and second control circuits is input to the level adjusting unit, the disabling unit works to disable the communication routes except for at least one communication route between the level adjusting unit and each of the first and second control circuits according to the direct communication request.
  • 25. An electronic control unit according to claim 24, wherein the direct communication request is input to the level adjusting unit from at least one of the first control circuit, the second control circuit, and the bus transceiver.
  • 26. An electronic control unit according to claim 25, wherein the bus transceiver includes a bus communication monitoring unit connected to the communication bus and configured to: monitor a state of the communication bus; andoutput the direct communication request to the level adjusting circuit so as to be input thereto when it is determined that an abnormality occurs in the communication bus based on the monitoring.
  • 27. An electronic control unit according to claim 25, wherein one of the first and second control circuits works to communicate with the other thereof to determine direct communications therebetween, and sends the direct communication request to the level adjusting unit, and the disabling unit works to disable at least one communication route between the first and second control circuits according to the direct communication request.
  • 28. An electronic control unit according to claim 24, wherein the direct communication request is input to the level adjusting unit from the exterior of the electronic control unit.
  • 29. An electronic control unit according to claim 28, wherein the direct communication request is input to the level adjusting unit from an external device communicably coupled to the electronic control unit, the external device allowing an operational mode of the electronic control unit to be directly or indirectly determined.
  • 30. An electronic control unit according to claim 5, wherein the level adjusting unit includes a communication route switching unit configured to, when the disabling unit disables at least one of the communication routes between the level adjusting unit and the bus transceiver, establish at least one communication route in the level adjusting unit between the first and second communication routes via the level adjusting unit so as to allow data to be directly communicated between the first and second control circuits via the established at least one communication route without via the bus transceiver.
  • 31. An electronic control unit according to claim 30, wherein the communication route switching unit includes a delay circuit provided on the established at least one communication route, the delay unit working to delay the data to be communicated via the established at least one communication path.
  • 32. An electronic control unit according to claim 5, wherein, when a private communication request for one of the first and second control circuits is externally input to the level adjusting unit, the disabling unit works to disable at least one of the communication routes between the level adjusting unit and the other of the first and second control circuits so as to provide a private communication route between the one of the first and second control circuits and the level adjusting unit.
  • 33. An electronic control unit according to claim 32, wherein the private communication request is input via the bus transceiver and the level adjusting unit from an external unit communicably coupled to the communication bus when the external unit wants to write data into the one of the first and second control circuits.
  • 34. An electronic control unit according to claim 32, wherein the disabling unit works to keep disabling of at least one of the communication routes between the level adjusting unit and the other of the first and second control circuits until the data writing from the external unit into the one of the first and second control circuits is completed.
  • 35. An electronic control unit according to claim 1, further comprising a power supply circuit connected to each of the first control circuit, the second control circuit, the bus transceiver, and the level adjusting circuit, and configured to supply power to each of the first control circuit, the second control circuit, the bus transceiver, and the level adjusting unit, the power supply circuit being configured to continuously supply power to the level adjusting unit while at least one of the first control circuit, the second control circuit, and the bus transceiver is running.
  • 36. An electronic control unit according to claim 1, further comprising a power supply circuit connected to each of the first control circuit, the second control circuit, the bus transceiver, and the level adjusting circuit, and configured to supply power to each of the first control circuit, the second control circuit, the bus transceiver, and the level adjusting unit, wherein at least part of the level adjusting unit and the power supply circuit are packaged with each other on/in single integrated circuit.
  • 37. An electronic control unit according to claim 1, wherein at least part of the level adjusting unit and the bus transceiver are packaged with each other on/in single integrated circuit.
  • 38. An electronic control unit according to claim 1, wherein at least part of the level adjusting unit and at least one of the first and second control circuits are packaged with each other on/in single integrated circuit.
Priority Claims (1)
Number Date Country Kind
2006-059679 Mar 2006 JP national