Semiconductor integrated circuit device and controller device
The semiconductor integrated circuit device with a control circuit and comparison circuit efficiently manages state transitions in controller devices, reducing processing load and enabling cost-effective operation.
Patent Information
- Application Number
- JP2025532636
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2023-07-07
- Filing Date
- 2024-06-21
- Publication Date
- 2025-12-03
- Estimated Expiration
- 2044-06-21
AI Technical Summary
The processing load on the arithmetic unit of a controller device increases when it receives communication frames, leading to inefficiencies or restrictions in software functions, especially when transitioning between normal and sleep states.
A semiconductor integrated circuit device with a control circuit that stores data for transitioning the controller device between states, and a comparison circuit to check specific communication data, reducing the burden on the arithmetic unit by determining whether to maintain or transition the controller device to a normal or sleep state.
This approach reduces the processing load on the arithmetic unit by efficiently managing transitions between states, allowing the use of less expensive controller devices and maintaining software functionality.
Smart Images

Figure 0007779443000001 
Figure 0007779443000002 
Figure 0007779443000003
Abstract
Description
CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] This application is based on Japanese Application No. 2023-112280, filed on July 7, 2023, the contents of which are incorporated herein by reference. [Technical Field]
[0002] The present disclosure relates to a semiconductor integrated circuit device and a controller device. [Background technology]
[0003] Conventionally, there is a communication circuit that implements selective partial network management. This communication technology allows a network system in which multiple ECUs coexist on the same communication bus to transition to sleep mode when certain ECUs are no longer required to operate.
[0004] Patent Document 1 also describes a technique in which a master ECU transmits activation conditions determined for each slave ECU to each slave ECU so that each slave ECU receives the conditions. As a result, the activation information is compared with the activation conditions, and if the wake-up conditions are met, the slave ECU transitions from the sleep state to the normal state. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] Patent Publication No. 2021-129245 Summary of the Invention
[0006] The inventors have considered a system in which a controller device and a semiconductor integrated circuit device are configured as separate entities, in relation to the technology described in the Background Art section. The semiconductor integrated circuit device is configured to start up the controller device when a predetermined start-up condition is met while the semiconductor integrated circuit device is in a sleep state.
[0007] However, for example, if the semiconductor integrated circuit device receives a communication frame from the communication bus in the normal state, and the controller device is allowed to receive the communication frame as is, the arithmetic unit of the controller device will have to read the communication frame and determine whether to continue in the normal state where it continues to run or to transition to sleep mode. In this case, the processing load on the arithmetic unit of the controller device will increase, which may result in problems such as not being able to use an inexpensive controller device or restricting the software functions of the arithmetic unit of the controller device.
[0008] An object of the present disclosure is to provide a semiconductor integrated circuit device and a controller device that can reduce the processing load on an arithmetic unit configured in the controller device.
[0009] According to one aspect of the present disclosure, a semiconductor integrated circuit device receives a signal from a communication bus connecting multiple ECUs. A receiving circuit receives the signal from the communication bus, converts it to a voltage level of data receivable by a controller device having an arithmetic unit, and causes the controller device to receive the signal as a received signal. A transmitting circuit receives a transmission signal from the controller device, converts it to a predetermined voltage level, and transmits it to the communication bus. A communication circuit communicates with the controller device. A control circuit is configured to transition the controller device from a normal state to a sleep state upon receiving a sleep signal from the controller device.
[0010] The control circuit includes a memory circuit that stores data for transitioning the arithmetic unit of the controller device from a sleep state to a normal state, and a comparison circuit that checks whether specific communication data matching the data stored in the memory circuit has been received from the communication bus in accordance with a predetermined communication protocol when the arithmetic unit of the controller device is in a sleep state.
[0011] Even when the arithmetic unit of the controller device is in a normal state, the control circuit receives a signal from the communication bus, acquires data corresponding to specific communication data from the received data, and compares the data with the data stored in the memory circuit using a comparison circuit.If the data is compared, the control circuit sends a continuation determination signal to the arithmetic unit of the controller device to maintain the arithmetic unit of the controller device in a normal state, and stops the transition of the arithmetic unit of the controller device to a sleep state.
[0012] According to one aspect of the present disclosure, even when the arithmetic unit of the controller device is in the normal state, the comparison circuit compares specific communication data received from the communication bus with the data stored in the memory circuit, just as when the arithmetic unit of the controller device is in the sleep state. This reduces the burden of the determination process on the arithmetic unit of the controller device to maintain the normal state, and also reduces the burden of the calculation process for making a transition to the sleep state determination. This reduces the processing burden on the arithmetic unit of the controller device.
[0013] One aspect of the present disclosure is directed to a controller device that transmits and receives signals to and from a transceiver device connected to a communication bus that connects multiple ECUs. The controller device includes a communication controller, a computing device, and a control circuit. The communication controller transmits and receives signals via the transceiver device. The control circuit can transition the computing device to a sleep mode when a sleep signal is given from the communication controller.
[0014] The control circuit includes a memory circuit for storing data for transitioning to the normal state, and a comparison circuit for checking whether specific communication data matching the data stored in the memory circuit is received from the transceiver device according to a predetermined communication protocol when the arithmetic device is in the sleep state. The control circuit receives a signal from the communication controller even in the normal state, obtains data corresponding to the specific communication data from the received data, and compares the data with the data stored in the memory circuit using the comparison circuit. If the data matches, the control circuit stops the arithmetic device from transitioning to the sleep state by sending a continuation determination signal to the arithmetic device to maintain the normal state. In this case, the burden on the arithmetic device of the controller device for its own determination to maintain the normal state is similarly reduced, as is the burden on the arithmetic device for executing the calculation processing for making the transition to the sleep state determination. This reduces the processing burden on the arithmetic device of the controller device. [Brief explanation of the drawings]
[0015] The above and other objects, features and advantages of the present disclosure will become more apparent from the following detailed description taken in conjunction with the accompanying drawings, in which: [Figure 1] FIG. 1 is a schematic electrical configuration diagram of a vehicle system according to a first embodiment; [Figure 2] FIG. 2 is a diagram illustrating the contents of a CAN data frame in the first embodiment. [Figure 3] FIG. 3 is a flowchart illustrating an operation of the first embodiment; [Figure 4] FIG. 4 is a time chart schematically illustrating the operation of the first embodiment; [Figure 5] FIG. 5 is a diagram illustrating the contents of specific communication data in the first embodiment; [Figure 6] FIG. 6 is an electrical configuration diagram illustrating a vehicle system according to a second embodiment; [Figure 7] FIG. 7 is an electrical configuration diagram illustrating a vehicle system according to a third embodiment; [Figure 8]FIG. 8 is an electrical configuration diagram illustrating a vehicle system according to a fourth embodiment; [Figure 9] FIG. 9 is an electrical configuration diagram that schematically shows a vehicle system according to the fifth embodiment. DETAILED DESCRIPTION OF THE INVENTION
[0016] Hereinafter, several embodiments of a semiconductor integrated circuit device will be described. Components having the same functions among the embodiments will be designated by the same reference numerals, and the description thereof will be omitted.
[0017] (First embodiment) A first embodiment will be described with reference to Figs. 1 to 5. Vehicles are equipped with electronic control units 1 (hereinafter referred to as ECUs 1), and the number of such units installed is increasing year by year. For this reason, it is necessary to minimize the power consumption of ECUs 1 that are not in operation. In response to this demand, a partial network management system S (hereinafter referred to as system S) as shown in Fig. 1 has been installed in vehicles in recent years. The system S is configured by connecting multiple clustered ECUs 1 to one communication bus 2 or multiple communication buses 2 via a vehicle gateway.
[0018] Each of the many ECUs 1 belongs to one or more of the cluster groups. In the vehicle, the same identification code is assigned to each ECU 1 for each cluster group to which it belongs, and the identification code indicating the cluster group is stored inside the ECU 1. While FIG. 1 shows the internal electrical configuration block of one ECU 1, the other ECUs 1 also have a similar configuration. Therefore, the electrical configuration of one ECU 1 will be described below.
[0019] The ECU 1 is configured by connecting a driver IC 11 as a semiconductor integrated circuit device and an MCU 20 as a controller device. Power is supplied from an external battery BA to the driver IC 11. The power supply circuit 13 is configured so that it can be enabled / disabled by a control circuit 112 (see below) of the driver IC 11. The power supply circuit 13 is enabled by default, and when enabled, it supplies power to the MCU 20. When the power supply circuit 13 is disabled by the control circuit 112, it cuts off the power supply to the MCU 20.
[0020] The MCU 20 is configured by a microcontroller unit including a communication controller 121, a communication circuit 122, and a CPU 123 as a calculation device. The driver IC 11 inputs a signal from the communication bus 2.
[0021] The driver IC 11 includes a transceiver 111 and a control circuit 112. The driver IC 11 is connected to the communication bus 2 via the transceiver 111. The transceiver 111 includes a transmitting circuit 111a and a receiving circuit 111b. The receiving circuit 111b receives a signal from the communication bus 2, converts it to a voltage level of data that can be received by the MCU 20, and causes the MCU 20 to receive it as a receiving signal RX. The transmitting circuit 111a receives a transmitting signal TX from the MCU 20, converts it to a predetermined voltage level, and transmits it to the communication bus 2.
[0022] The MCU 20 can transition between a normal state, which is a normal operation mode, and a sleep state, which is a low power consumption mode. In the normal state, the MCU 20 can communicate data with other ECUs 1 using a predetermined communication protocol via the transceiver 111. The predetermined communication protocol used here is the CAN protocol.
[0023] CAN is an abbreviation for Controller Area Network and is a registered trademark. This allows application to a communication bus 2 that uses CAN communication. In this embodiment, the communication protocol of the communication bus 2 is described as Classic-CAN, but this is not particularly limited, and application is also possible to other vehicle communication fields such as CAN-FD, CXPI, and LIN.
[0024] The Classic-CAN data frame is shown in Figure 2. The data frame consists of SOF (Start Of Frame), ID (Identification), RTR (Remote Transmission Request), control field, data field, CRC (Cyclic Redundancy Check) sequence, CRC delimiter, ACK slot, ACK delimiter, and EOF (End Of Frame).
[0025] The control field consists of a 1-bit IDE (Identifier Extension), a reserved bit, and a 4-bit DLC (Data Length Code). The 6th most significant bit of the CBV in the data area indicates the PN information bit, and if the 6th bit is "1", it indicates that the communication frame is related to a partial network. For example, if the CBV is 0x40, it indicates that the communication frame is related to a partial network.
[0026] The first byte NID in the data field indicates the node identification number (Node ID), and the fourth and fifth bytes indicate the PN information (Partial Network Information) included in the NM-PDU. The PN information is used as specific communication data and bit information, and is used to determine which cluster group's ECU1 will be in normal mode or sleep mode.
[0027] Referring back to FIG. 1, the configuration will be described. The control circuit 112 includes a communication circuit 112a, a register 112b, a matching circuit 112c, and a register 112d. The register 112d is used as a storage circuit for temporarily storing data of the received signal RX. The register 112b is used as a storage circuit for storing data for transitioning the CPU 123 of the MCU 20 from a sleep state to a normal state. While the registers 112b and 112d are shown, they may each be replaced by a volatile memory such as a RAM, or a non-volatile memory such as an E2PROM.
[0028] The communication circuit 112a can transmit the data held in the register 112b to the communication circuit 122 of the MCU 20. The communication circuit 112a will be described as using serial communication by, for example, SPI (Serial Peripheral Interface), but it may also use UART (Universal Asynchronous Receiver Transmitter), I2C (Inter-Integrated Circuit), or a parallel communication line (direct line). When the control circuit 112 receives a sleep signal from the MCU 20 via the communication circuit 112a, it can transition the MCU 20 from the normal state to the sleep state.
[0029] <State transition from normal state to sleep state> The operation when transitioning from the normal state to the sleep state will be described with reference to the flowchart in Fig. 3 and the timing chart in Fig. 4. When the ignition switch is turned on and power is supplied from the battery BA to the ECU 1, the power supply circuit 13 starts up in S1 in Fig. 3. When the power supply circuit 13 starts up, a power supply voltage is supplied to the MCU 20. This starts up the CPU 123 of the MCU 20 and transitions to the normal state (S2 in Fig. 3: T1 in Fig. 4).
[0030] 4, the driver IC 11 is started up together with the MCU 20. The MCU 20 is enabled to communicate data with the external ECU 1 through the transceiver 111 and the communication bus 2. The CPU 123 of the MCU 20 transmits NM-PDU (Network Management PDU) data, which is start-up command data, to the driver IC 11 through the communication circuit 122.
[0031] When the CPU 123 of the MCU 20 enters the normal state, it transmits in advance to the driver IC 11 bit information of the NM-PDU data, which serves as a notification trigger for transitioning from sleep mode to the normal state. At this time, the MCU 20 transmits the NM-PDU data via the communication circuits 112a and 122. The startup command data can be freely changed using a software program stored in the MCU 20.
[0032] The communication circuit 112a of the control circuit 112 determines whether or not there has been a write communication of NM-PDU data in S3 of Fig. 3, and if it determines that there has been a write communication, it stores the NM-PDU data in the register 112b in S4 of Fig. 3. The register 112b stores the signal received from the MCU 20 via the communication circuit 112a.
[0033] This notification trigger is data corresponding to the NM-PDU data and is a trigger signal required to transition to the normal state. If the communication circuit 112a of the control circuit 112 does not receive NM-PDU data that was not sent from the MCU 20, the process of S4 is skipped.
[0034] The MCU 20 starts a timer in S5 and waits until a specific time has elapsed. During this time, in period T2 in FIG. 4, the transceiver 111 can receive a reception signal RX from the communication bus 2. The reception signal RX is stored in register 112d of the control circuit 112. The reception signal RX is also transmitted to the MCU 20.
[0035] In S6, the control circuit 112 determines whether or not the ID of the NM-PDU data is included in the received signal RX using the matching circuit 112c. At this time, even if the CPU 123 of the MCU 20 is in the normal state, the matching circuit 112c receives a signal from the communication bus 2 and acquires data corresponding to specific communication data from the received data.
[0036] The specific communication data here includes communication bits based on the ID of the NM-PDU signal related to network management, and a start signal assigned to the ECU1 of the cluster of the group to which the ECU belongs.
[0037] If the ID of the NM-PDU signal is included, the collation circuit 112c decodes whether or not a start signal is present in a specific communication bit in S7, and compares this with the NM-PDU data held in the register 112b. Here, the collation circuit 112c reads the payload data in the register 112d of the driver IC11 through a decoder, and determines whether or not a start signal is present in a specific communication bit by determining whether the specific bit is H / L (1 / 0).
[0038] The comparison circuit 112c determines whether to maintain the CPU 123 of the MCU 20 in the normal state or to transition it to the sleep state by determining whether the contents held in the register 112b match the communication data of the reception signal RX of the transceiver 111. At this time, the comparison circuit 112c determines whether to maintain the CPU 123 of the MCU 20 in the normal state by comparing the communication data of the reception signal RX with the data held in the register 112b.
[0039] The control circuit 112 decodes the NM-PDU data in the specific bit in S7 of Fig. 3, and if it determines that a wake-up signal is present and matches the contents of register 112b, it determines to continue operating the CPU 123 of the MCU 20 in the normal state. Then, in S8, the control circuit 112 transmits a continuation determination signal via the communication circuit 112a to prevent the CPU 123 of the MCU 20 from transitioning to the sleep state. See the operation during period T2 in Fig. 4. Upon receiving the continuation determination signal via the communication circuit 122, the CPU 123 of the MCU 20 clears the timer in S9 and repeats the process from S5. By transmitting the continuation determination signal to the MCU 20, the control circuit 112 can stop the MCU 20 from transitioning to the sleep state.
[0040] <Explanation of specific examples> For example, as shown in Fig. 5, a case will be described in which five ECUs 1 belong to group B, group B and C, group A and B, group A, and group C, respectively. In Fig. 5, the group to which an ECU 1 belongs (for example, "(B)", "(BC)", etc.) is shown in parentheses.
[0041] The registers 112b of these five ECUs 1 store the group to which each ECU 1 belongs (for example, an identification code indicating (A) to (E)) as H / L (1 / 0). For example, as shown in FIG. 5, if an ECU 1 belongs to group B, the bit assigned to group B is set to "1." If an ECU 1 belongs to groups B and C, the bits assigned to groups B and C are each set to "1." The same applies to the other ECUs 1.
[0042] The collation circuit 112c references the DLC in the payload of the received signal RX received from the communication bus 2 and determines that it is 1 byte. The collation circuit 112c then references the 1 byte of data DATA in the payload of the received signal RX. The collation circuit 112c of ECU1 assigned to group B references "1" and determines that there is a start signal.
[0043] This allows the activation signal to be sent only to the necessary ECUs 1 in the system S using the communication bus 2. Conversely, the collation circuit 112c of the ECUs 1 not assigned to group B determines that there is no activation signal.
[0044] It is desirable that the control circuit 112 transmits the continuation determination signal to the CPU 123 of the MCU 20 using the communication circuits 112a and 122. This is because the communication line between the driver IC 11 and the MCU 20 can be shared, thereby reducing the number of communication lines. Alternatively, the control circuit 112 of the driver IC 11 may use a dedicated line different from the communication line of the communication circuits 112a and 122 when transmitting the continuation determination signal to the CPU 123 of the MCU 20. In this case, since the continuation determination signal can be transmitted via the dedicated line, the quality of the transmitted signal can be guaranteed and communication reliability can be improved.
[0045] The control circuit 112 does nothing if the matching circuit 112c determines in S6 that the ID of the NM-PDU signal is not included in the received signal RX. In this case, the process returns to S5, where the control circuit 112 waits until a specific time has elapsed. As shown in period T3 in FIG. 4, if the control circuit 112 does not receive an NM-PDU signal, it does not transmit a continuation determination signal. This is also true when communication data other than an NM-PDU signal is received as the received signal RX. If the ID of the NM-PDU signal is not included and a wake-up signal has not been received, the matching circuit 112c does not transmit a continuation determination signal, and therefore leaves the decision to transition to the sleep state to the CPU 123 of the MCU 20.
[0046] Note that even during the determination operation of the control circuit 112 described above, the communication controller 121 of the MCU 20 reads the received signal RX. However, on the MCU 20 side, when the ID of the NM-PDU signal arrives, the communication controller 121 reads and discards the data using the ID filtering function. On the MCU 20 side, even if the NM-PDU signal arrives as the received signal RX, the communication controller 121 does not transmit the data to the CPU 123.
[0047] Therefore, in the normal state, the arrival of an NM-PDU signal does not reduce the processing capacity of the CPU 123 of the MCU 20. On the MCU 20 side, when data other than the ID related to the NM-PDU signal arrives, the communication controller 121 transmits the data to the CPU 123. This allows the CPU 123 to receive data of the reception signal RX other than the NM-PDU signal in the normal state. The CPU 123 executes processing according to this received data, and can transmit a transmission signal TX to the communication bus 2 via the communication controller 121 and the transmission circuit 111a of the transceiver 111, thereby continuing normal processing.
[0048] Returning to the above explanation, if the control circuit 112 does not transmit a continuation determination signal, the MCU 20 determines a timeout when a specific time has elapsed (NO in S5 of FIG. 3). If the MCU 20 determines a timeout in S5, it serially transmits a sleep signal to the control circuit 112 in S10. When the control circuit 112 receives the sleep signal, it disables the output of the power supply circuit 13.
[0049] The power supply circuit 13 of the MCU 20 stops power output at S11 in Fig. 3. This causes the MCU 20 to enter a sleep state at S12, thereby saving power. This reduces the burden on the MCU 20 of the decision-making process required for the MCU 20 to maintain its normal state, and also reduces the burden on the MCU 20 of the calculation process required to determine whether to enter the sleep state. This reduces the processing load on the MCU 20.
[0050] <Transition from sleep state to normal state> When the MCU 20 is in the sleep state, the comparison circuit 112c transitions the MCU 20 to the normal state upon receiving specific communication data that matches the data held in the register 112b from the communication bus 2. The control circuit 112 can transition the MCU 20 from the sleep state to the normal state by sending a normal command to the MCU 20.
[0051] For example, when an NM-PDU signal indicating a communication request arrives on the communication bus 2 from another ECU 1, the received signal RX is stored in the register 112d. The control circuit 112 detects whether or not the NM-PDU signal is being transmitted to the communication bus 2. The comparison circuit 112c of the control circuit 112 compares the data in the register 112d with the data in the register 112b.
[0052] The comparison circuit 112c determines that the NM-PDU signal has been received by determining that the specific communication data in the NM-PDU signal matches the data stored in the register 112b. At this time, the comparison circuit 112c enables the operation of the power supply circuit 13, causing the power supply circuit 13 to output power and start the MCU 20. This allows the control circuit 112 to transition the MCU 20 from the sleep state to the normal state, and the MCU 20 can start communication.
[0053] The specific communication data includes a specific communication bit based on a network management ID (NM-PDU) and a start signal assigned to the cluster to which the device belongs. Therefore, it is desirable for the matching circuit 112c to match only the specific communication data and the specific communication bit. By checking only the specific communication data and the specific communication bit, the matching circuit 112c can quickly make a determination while reducing the storage capacity of the driver IC 11.
[0054] <Modification> Here, the specific communication data that the matching circuit 112c matches is exemplified by a specific communication bit based on an ID related to network management (NM-PDU signal) and a start-up signal assigned to the cluster to which the matching circuit 112c belongs, but is not limited to these.
[0055] For example, the specific communication data that the matching circuit 112c matches may be only the activation signal assigned to the cluster to which the matching circuit 112c belongs. In this case, when the MCU 20 detects a received signal RX in the normal state, it determines the ID of the NM-PDU signal related to network management. This reduces the number of decoding bits that the matching circuit 112c matches, thereby reducing the processing load on the control circuit 112.
[0056] <Explanation of Comparative Example> For example, if the driver IC 11 only transmits signals transmitted to the communication bus 2 to the MCU 20 when the MCU 20 is in the normal state, without analyzing the communication data, the MCU 20 will read all the communication data and determine whether to transition to sleep mode. In this case, the processing load on the MCU 20 will increase. Conversely, if the driver IC 11 analyzes all received signals RX, the processing load on the driver IC 11 will increase significantly.
[0057] <Effects of this embodiment> According to this embodiment, even when the MCU 20 is in the normal state, the control circuit 112 receives a signal from the communication bus 2, acquires data corresponding to specific communication data from the received data in the register 112d, and compares the data with the data stored in the register 112b using the comparison circuit 112c to determine whether to send a continuation determination signal to keep the MCU 20 running (corresponding to the normal state). If the normal state is to be maintained, the control circuit 112 sends the continuation determination signal. Alternatively, by not sending the continuation determination signal, the decision to transition to the sleep state can be left to the MCU 20. Specifically, the comparison circuit 112c of the driver IC 11 reads the payload data and determines whether a specific bit is H / L (1 / 0), thereby determining whether to maintain the normal state on behalf of the MCU 20 with a simple configuration.
[0058] After this, the MCU 20 can easily determine whether to transition to the sleep state even if it makes that determination by itself, thereby reducing the processing load on the MCU 20. For example, in the example described above, the MCU 20 can determine whether to transition to the sleep state if a specific time has elapsed and a timeout has occurred.
[0059] In this embodiment, even after the MCU 20 starts up and transitions to the normal state, the driver IC 11 reads communication data and notifies the MCU 20 if it detects a start signal. On the other hand, when the ID related to the NM-PDU signal arrives, the communication controller 121 of the MCU 20 can read and discard the data using the ID filtering function. Since the communication controller 121 of the MCU 20 no longer sends data to the CPU 123, the processing power of the CPU 123 of the MCU 20 does not decrease.
[0060] The CPU 123 of the MCU 20 can allocate its processing power to other tasks, enabling higher performance processing operations. Alternatively, the system S can be constructed even using an MCU 20 with relatively low processing power. This allows the system S to be provided at low cost.
[0061] In this embodiment, the activation / shutdown of the ECU1 (e.g., transition to normal mode, transition to sleep mode) can be controlled for each cluster. Therefore, for example, the driver IC11 of only the ECU1 that is to be activated in sleep mode receives a specific network management ID and specific communication data in the register 112d, and when these data match the data previously received from the MCU20 and stored in the register 112b, the target MCU20 is activated, thereby allowing the MCU20 of the ECU1 that does not need to be activated to maintain the sleep mode.
[0062] (Second embodiment) The second embodiment will be described with reference to FIG. As shown in Fig. 6, an ECU 201 replacing the ECU 1 includes a driver IC 211 instead of the driver IC 11. The driver IC 211 includes a control circuit 212. The control circuit 212 includes a storage circuit 212b instead of the register 112b. The storage circuit 212b includes a non-volatile memory 112e. In this case, it is preferable to use the non-volatile memory 112e such as a Flash RAM. The other configurations are the same as those in the first embodiment, and therefore description thereof will be omitted.
[0063] It is desirable that data for transitioning to the normal state be written to the nonvolatile memory 112e of the storage circuit 212b by an inspection device (not shown) at the time of shipment from the factory. In this case, the control circuit 212 can recognize the data for transitioning the MCU 20 to the normal state by referring to the stored data in the storage circuit 212b. In this case, for example, the MCU 20 does not need to write data to the storage circuit 212b via the communication circuits 122 and 112a, and it is possible to eliminate the write operation. In addition, the MCU 20 can rewrite the data for transitioning to the normal state to the nonvolatile memory 112e of the storage circuit 212b via the communication circuits 122 and 112a.
[0064] (Third embodiment) The third embodiment will be described with reference to FIG. 7, the ECU 301 replacing the ECU 1 includes an MCU 320 instead of the MCU 20, a driver IC 311 instead of the driver IC 11, and a power supply circuit 313 instead of the power supply circuit 13. The MCU 320 includes an NMI (Non-Maskable Interrupt) input, i.e., a non-maskable hardware interrupt input function.
[0065] The driver IC 311 includes a control circuit 312 instead of the control circuit 112. The control circuit 312 includes a matching circuit 312c, which has the same functions as the matching circuit 112c. When the matching circuit 312c determines that the MCU 320 should transition from the sleep state to the normal state, the matching circuit 312c is capable of transmitting a wake-up signal to the communication line for the received signal RX via the register 112d. Note that the power supply circuit 313 of this embodiment does not include an enable / disable control input, and the matching circuit 312c cannot control the output of the power supply circuit 313. The power supply circuit 313 is configured to supply power to the MCU 320 when power from the battery BA is input.
[0066] In this embodiment, the control circuit 312 transmits an activation signal that transitions the MCU 320 to the normal state via an existing communication line, which in the example of Fig. 7 is also the transmission line for the reception signal RX. The MCU 320 may also share the reception terminal for the activation signal with its NMI (Non-Maskable Interrupt) input.
[0067] For example, when the MCU 320 transitions to a sleep state, the MCU 320 stops supplying the clock to the MCU 320. In the sleep state, the supply of the clock is stopped without stopping the output of the power supply circuit 13, thereby reducing the power consumption of the MCU 320 during operation and achieving power saving. Note that the "clock" referred to here is the clock input to the CPU 123 of the MCU 320; in a normal clock supply state, the clock is input to the CPU 123 of the MCU 320 from the clock circuit 125, as exemplified in the fifth embodiment, for example, and in a clock supply stopped state, the clock is not input to the CPU 123.
[0068] When transitioning the MCU 320 from the sleep state to the normal state, the control circuit 312 may instruct the MCU 320, which has had its clock supply stopped, to resume clock supply. When a wake-up signal is input to the MCU 320 in the sleep state by the hardware interrupt function of the NMI 324, the MCU 320 starts supplying the clock to the MCU 320, forcing the MCU 320 to wake up. In this case, the power consumption of the MCU 320 can be efficiently reduced, or the MCU 320 can be quickly transitioned to the normal state.
[0069] <Modification> The control circuit 312 may also have both a function of starting up the power supply circuit 13 using the comparison circuit 112c and a function of instructing the supply of a clock using the comparison circuit 312c. By using both functions, the control circuit 312 can wake up the MCU 320 more reliably.
[0070] (Fourth embodiment) The fourth embodiment will be described with reference to Fig. 8. As shown in Fig. 8, an ECU 401 replacing the ECU 1 includes a driver IC 411 as a transceiver device instead of the driver IC 11. The driver IC 411 includes a transceiver 111. The transceiver 111 includes a transmitting circuit 111a and a receiving circuit 111b.
[0071] On the other hand, the ECU 401 includes an MCU 420 as a controller device instead of the MCU 20. The MCU 420 includes a communication controller 121, a CPU 123 as a calculation device, and a control circuit 124. The MCU 420 transmits and receives signals to and from a driver IC 411 connected to a communication bus 2 that connects multiple ECUs 1. The MCU 420 includes the communication controller 121, the CPU 123, and the control circuit 124.
[0072] The communication controller 121 transmits and receives signals via the transceiver 111. When a sleep signal is given from the CPU 123, the control circuit 124 can transition the CPU 123 to a sleep mode. The CPU 123 may be configured to output the sleep signal to the control circuit 124 via the communication controller 121.
[0073] The control circuit 124 includes registers 124b and 124d as memory circuits and a matching circuit 124c, and is implemented as hardwired logic. The register 124b is used as a memory circuit for holding data for transitioning the CPU 123 of the MCU 20 from the sleep state to the normal state.
[0074] The operation when transitioning from the normal state to the sleep state is generally the same as in the first embodiment, and will be described with reference to FIGS. 3 and 4. Here, differences from the first embodiment will be mainly described. When in the normal state, the CPU 123 of the MCU 420 stores in advance in the register 124b data that serves as a notification trigger for transitioning from sleep mode to the normal state in steps S1 to S4 of FIG. 3. The data that serves as the notification trigger at this time corresponds to the bit information of the NM-PDU data in the first embodiment. The register 124b of the control circuit 124 holds a signal received from the CPU 123 of the MCU 20.
[0075] 3, the CPU 123 of the MCU 420 starts a timer and waits until a specific time has elapsed. During this time, the transceiver 111 can receive a reception signal RX from the communication bus 2. The reception signal RX is stored in the register 124d via the communication controller 121 of the MCU 420.
[0076] 3, the control circuit 124 determines whether or not the ID of the NM-PDU data is included in the received signal RX using the matching circuit 124c. Even when the CPU 123 of the MCU 420 is in the normal state, the matching circuit 124c receives a signal from the communication bus 2 and acquires data corresponding to specific communication data from the received data.
[0077] The specific communication data here includes communication bits based on the ID of the NM-PDU signal related to network management, and a start signal assigned to the ECU 401 of the cluster of the group to which the device belongs.
[0078] If the ID of the NM-PDU signal is included, the comparison circuit 124c decodes whether or not a start signal is present in a specific communication bit in S7 of Fig. 3, and compares this with the NM-PDU data held in the register 124b. Here, the comparison circuit 124c reads the payload data in the register 124d through a decoder, and determines whether or not a start signal is present in a specific communication bit by determining whether the specific bit is H / L (1 / 0).
[0079] The comparison circuit 124c determines whether or not to maintain the CPU 123 of the MCU 420 in the normal state by determining whether the contents held in the register 124b match the communication data of the reception signal RX of the transceiver 111. At this time, the comparison circuit 124c determines whether or not to maintain the CPU 123 of the MCU 420 in the normal state by comparing the communication data of the reception signal RX with the data held in the register 124b.
[0080] The control circuit 124 decodes the NM-PDU data in the specific bit at S7 in Fig. 3, and if it determines that a wake-up signal is present and that the data matches the contents of register 124b, it determines that the CPU 123 of the MCU 20 should continue to operate in the normal state. The control circuit 124 then directly transmits a continuation determination signal to the CPU 123 to prevent the CPU 123 of the MCU 20 from transitioning to the sleep state. The CPU 123 of the MCU 420 clears the timer at S9 in Fig. 3 and repeats the process from S5 in Fig. 3. By transmitting the continuation determination signal to the MCU 20, the control circuit 112 can stop the MCU 20 from transitioning to the sleep state.
[0081] The control circuit 124 does nothing if the matching circuit 112c determines in S6 of FIG. 3 that the ID of the NM-PDU signal is not included in the received signal RX. In this case, the CPU 123 of the MCU 420 returns the process to S5 of FIG. 3 and waits until a specific time has elapsed in S5. As shown in period T3 of FIG. 4, if the control circuit 124 does not receive an NM-PDU signal, it does not transmit a continuation determination signal. This is also true when communication data other than an NM-PDU signal is received as the received signal RX. If the ID of the NM-PDU signal is not included and a wake-up signal is not received, the matching circuit 124c does not transmit a continuation determination signal. At this time, the CPU 123 of the MCU 420 determines whether to transition to a sleep state. The other processing details are the same as those in the above-described embodiment, and therefore will not be described again.
[0082] <Summary of this embodiment> According to this embodiment, even in the normal state, the control circuit 124 receives a signal from the communication controller 121, acquires data corresponding to specific communication data from the received data, and compares the data with the data stored in the register 124b using the comparison circuit 124c. If the data matches, the control circuit 124 stops the transition of the CPU 123 to the sleep state by sending a continuation determination signal to the CPU 123 to maintain the CPU 123 in the normal state. This reduces the burden on the CPU 123 in the MPU 420 of making a determination to maintain the normal state by itself. This reduces the processing burden on the CPU 123 in the MPU 420.
[0083] (Fifth embodiment) The fifth embodiment will be described with reference to Fig. 9. The fifth embodiment differs from the fourth embodiment in that the operation of the clock circuit 125 is stopped when the CPU 123 transitions to a sleep state. The same parts as those in the fourth embodiment are given the same reference numerals and their explanations will be omitted, and only the different parts will be described.
[0084] 9, a clock circuit 125 is configured inside the MCU 420, and the CPU 123 normally operates by receiving a clock from the clock circuit 125. As described in the above embodiment, the CPU 123 determines whether to transition to a sleep state when it does not receive a continuation determination signal from the matching circuit 124c.
[0085] When the CPU 123 transitions to the sleep state, the CPU 123 stores a sleep command signal for commanding the sleep state in the register 124b of the control circuit 124. The control circuit 124 references the register 124b via the comparison circuit 124c, and when it determines that a sleep command signal has been received from the CPU 123, it stops the supply of the clock from the clock circuit 125 to the CPU 123. As a result, the CPU 123 stops operating because it can no longer receive the clock from the clock circuit 125, and transitions to the sleep state.
[0086] According to this embodiment, the control circuit 124 has a function of stopping the operation of the clock circuit 125 that supplies clocks to the CPU 123 when it receives a sleep command signal from the CPU 123 to command the CPU 123 to enter a sleep state. Therefore, the CPU 123 can enter a sleep state in response to the sleep command signal that it has issued.
[0087] (Other embodiments) The present invention is not limited to the above-described embodiment, and the following modifications or extensions are possible. In the fourth embodiment, the registers 124b and 124d are used, but a volatile memory such as a RAM or a non-volatile memory such as an E2PROM may be used for each of them.
[0088] The techniques described in this disclosure may be implemented by a special purpose computer configured with a processor and memory programmed to perform one or more functions embodied in a computer program. Alternatively, the techniques described in this disclosure may be implemented by a special purpose computer configured with a processor comprising one or more dedicated hardware logic circuits. Alternatively, the techniques described in this disclosure may be implemented by one or more special purpose computers configured with a processor and memory programmed to perform one or more functions in combination with a processor configured with one or more hardware logic circuits. Furthermore, a computer program may be stored as instructions executed by a computer on a computer-readable non-transitory storage medium.
[0089] The present disclosure includes the following content in addition to the content described in the claims. [1] A semiconductor integrated circuit device (11; 211; 311) that receives signals from a communication bus (2) connecting a plurality of ECUs (1), a receiving circuit (111b) for receiving a signal from the communication bus, converting it into a voltage level of data that can be received by a controller device (20; 320) equipped with an arithmetic unit (123), and causing the controller device to receive the converted signal as a received signal; a transmission circuit (111a) that receives a transmission signal from the controller device, converts it to a predetermined voltage level, and transmits it to the communication bus; a communication circuit (112a) for communicating with the controller device; a control circuit (112; 212; 312) that transitions the arithmetic unit of the controller device from a normal state to a sleep state when receiving a sleep signal from the controller device; The control circuit a memory circuit (112b; 212b) for storing data for transitioning the arithmetic unit of the controller device from the sleep state to the normal state; a matching circuit (112c) for matching whether specific communication data matching the data stored in the memory circuit has been received from the communication bus in accordance with a predetermined communication protocol when the arithmetic unit of the controller device is in a sleep state; The control circuit A semiconductor integrated circuit device that receives a signal from the communication bus even when the arithmetic unit of the controller device is in the normal state, obtains data corresponding to the specific communication data from the received data, and compares the data with the data stored in the memory circuit using the comparison circuit, and if the data is compared, sends a continuation determination signal to the arithmetic unit of the controller device to maintain the arithmetic unit of the controller device in the normal state, thereby stopping the arithmetic unit of the controller device from transitioning to a sleep state.
[0090] [2] The semiconductor integrated circuit device according to [1], wherein the continuation determination signal is transmitted to the controller device using the communication circuit.
[0091] [3] the communication circuit is configured to transmit data for transitioning the controller device from the sleep state to the normal state; The semiconductor integrated circuit device according to [1] or [2], wherein a dedicated line different from the communication line of the communication circuit is used when transmitting the continuation determination signal to the controller device.
[0092] [4] The semiconductor integrated circuit device according to any one of [1] to [3], wherein the memory circuit stores data for transitioning from the sleep state to the normal state when the data is received from the controller device via the communication circuit.
[0093] [5] The semiconductor integrated circuit device according to any one of [1] to [4], wherein the storage circuit includes a non-volatile memory (112e) in which data for transitioning to the normal state is written by an inspection device at the time of shipment from a factory.
[0094] [6] The semiconductor integrated circuit device according to any one of [1] to [5], wherein the communication protocol is a CAN protocol.
[0095] [7] The specific communication data includes a specific communication bit based on an ID related to network management and a start signal assigned to a cluster to which the device belongs, The semiconductor integrated circuit device according to any one of [1] to [6], wherein the verification circuit verifies the specific communication bit and a start signal.
[0096] [8] the specific communication data is only a start signal allocated to a cluster to which the user belongs, The semiconductor integrated circuit device according to any one of [1] to [7], wherein the verification circuit verifies the activation signal.
[0097] [9] The control circuit A semiconductor integrated circuit device according to any one of [1] to [8], which has one or both of the following functions when transitioning the controller device to the normal state: starting up the power supply circuit of the controller device to start up the controller device, or restarting the clock supply to a controller device that has stopped supplying the clock.
[0098]
[10] A semiconductor integrated circuit device according to any one of [1] to [9], which transmits a start signal for transitioning to a normal state by sharing an existing communication line, or by sharing a receiving terminal with an NMI (Non-Maskable Interrupt) input.
[0099]
[11] A controller device (420) that transmits and receives signals to and from a transceiver device (411) connected to a communication bus (2) that connects a plurality of ECUs (1), a communication controller (121) for transmitting and receiving signals through the transceiver device; A computing device (123); a control circuit (124) that can transition the arithmetic unit to a sleep mode when a sleep signal is given to the control circuit (124); the control circuit comprises a memory circuit (124b) for storing data for transitioning to a normal state, and a comparison circuit (124c) for comparing whether specific communication data matching the data stored in the memory circuit has been received from the transceiver device in accordance with a predetermined communication protocol when the arithmetic unit is in a sleep state; The control circuit receives a signal from the communication controller even in the normal state, obtains data corresponding to the specific communication data from the received data, and compares it with the data stored in the memory circuit using the comparison circuit.If the data is compared, the control circuit stops the transition of the arithmetic device to the sleep state by sending a continuation determination signal to the arithmetic device to maintain the arithmetic device in the normal state.
[0100]
[12] The controller device of
[11] , wherein the control circuit is implemented as hardwired logic.
[0101]
[13] The controller device of
[11] has a function of stopping operation of a clock circuit (125) that supplies a clock to the arithmetic device when the control circuit receives a sleep command signal from the arithmetic device to command the arithmetic device to enter the sleep state.
[0102] In the drawings, 1 indicates an ECU, 2 indicates a communication bus, 11, 211, 311, and 411 indicate driver ICs (semiconductor integrated circuit devices), 20, 320, 420, and 520 indicate MCUs (controller devices), 111a indicates a transmitting circuit, 111b indicates a receiving circuit, 112, 212, 312, and 124 indicate control circuits, 112a indicates a communication circuit, 112b indicates a register (memory circuit), 212b indicates a memory circuit, 112e indicates a non-volatile memory, 122 indicates a communication circuit, and 123 indicates a CPU (arithmetic unit).
[0103] Although the present disclosure has been described based on the above-described embodiment, it is understood that the present disclosure is not limited to the embodiment or the structure described in the embodiment. The present disclosure also encompasses various modifications and modifications within the equivalent range. In addition, various combinations and forms, as well as other combinations and forms including only one element, more than one element, or less than one element, are also within the scope and spirit of the present disclosure.
Claims
1. A semiconductor integrated circuit device (11; 211; 311) that receives signals from a communication bus (2) connecting a plurality of ECUs (1), a receiving circuit (111b) that receives a signal from the communication bus, converts it into a voltage level of data that can be received by a controller device (20; 320) equipped with an arithmetic unit (123), and causes the controller device to receive the signal as a received signal; a transmission circuit (111a) that receives a transmission signal from the controller device, converts it to a predetermined voltage level, and transmits it to the communication bus; a communication circuit (112a) for communicating with the controller device; a control circuit (112; 212; 312) that transitions the arithmetic unit of the controller device from a normal state to a sleep state when receiving a sleep signal from the controller device; The control circuit a memory circuit (112b; 212b) for storing data for transitioning the arithmetic unit of the controller device from the sleep state to the normal state; a matching circuit (112c) for checking whether specific communication data matching the data stored in the memory circuit has been received from the communication bus in accordance with a predetermined communication protocol when the arithmetic unit of the controller device is in a sleep state; The control circuit A semiconductor integrated circuit device that receives a signal from the communication bus even when the arithmetic unit of the controller device is in the normal state, obtains data corresponding to the specific communication data from the received data, and compares the data with the data stored in the memory circuit using the comparison circuit, and if the data is compared, sends a continuation determination signal to the arithmetic unit of the controller device to maintain the arithmetic unit of the controller device in the normal state, thereby stopping the transition of the arithmetic unit of the controller device to the sleep state.
2. 2. The semiconductor integrated circuit device according to claim 1, wherein the continuation determination signal is transmitted to the controller device using the communication circuit.
3. the communication circuit is configured to transmit data for causing an arithmetic unit of the controller device to transition from the sleep state to the normal state; 2. The semiconductor integrated circuit device according to claim 1, wherein a dedicated line different from the communication line of said communication circuit is used when said continuation determination signal is transmitted to the arithmetic unit of said controller device.
4. 2. The semiconductor integrated circuit device according to claim 1, wherein the storage circuit stores data for transitioning from the sleep state to the normal state when the data is received from the arithmetic unit of the controller device via the communication circuit.
5. 2. The semiconductor integrated circuit device according to claim 1, wherein said storage circuit includes a nonvolatile memory (112e) in which data for transitioning to said normal state is written by an inspection device at the time of shipment from a factory.
6. 2. The semiconductor integrated circuit device according to claim 1, wherein the communication protocol is a CAN protocol.
7. The specific communication data includes a specific communication bit based on an ID related to network management and a start signal assigned to a cluster to which the device belongs, 2. The semiconductor integrated circuit device according to claim 1, wherein the verification circuit verifies the specific communication bit and the start signal.
8. the specific communication data is only a start signal allocated to a cluster to which the user belongs, 2. The semiconductor integrated circuit device according to claim 1, wherein the verification circuit verifies the activation signal.
9. The control circuit 2. The semiconductor integrated circuit device according to claim 1, further comprising one or both of the following functions: when transitioning the controller device to the normal state, starting up the power supply circuit of the controller device to start up the controller device, or restarting clock supply to the controller device in a state where clock supply has been stopped.
10. 2. The semiconductor integrated circuit device according to claim 1, wherein the activation signal for transitioning to the normal state is transmitted by sharing an existing communication line, or by sharing a receiving terminal with an NMI (Non-Maskable Interrupt) input.
11. A controller device (420) for transmitting and receiving signals to and from a transceiver device (411) connected to a communication bus (2) connecting a plurality of ECUs (1), a communication controller (121) for transmitting and receiving signals through said transceiver device; A computing device (123); a control circuit (124) that can transition the arithmetic unit to a sleep mode when a sleep signal is given to the control circuit; the control circuit comprises a memory circuit (124b) for storing data for transitioning to a normal state, and a comparison circuit (124c) for comparing whether specific communication data matching the data stored in the memory circuit has been received from the transceiver device in accordance with a predetermined communication protocol when the arithmetic unit is in a sleep state; The control circuit receives a signal from the communication controller even in the normal state, obtains data corresponding to the specific communication data from the received data, and compares it with the data stored in the memory circuit using the comparison circuit.If the data is compared, the control circuit stops the transition of the arithmetic device to the sleep state by sending a continuation determination signal to the arithmetic device to maintain the arithmetic device in the normal state.
12. 12. The controller device of claim 11, wherein the control circuitry is implemented as hardwired logic.
13. 12. The controller device according to claim 11, wherein the control circuit has a function of stopping operation of a clock circuit (125) that supplies a clock to the arithmetic device when the control circuit receives a sleep command signal from the arithmetic device to command the arithmetic device to enter the sleep state.
Citation Information
Patent Citations
Vehicle diagnostic system
JP2014227060A
On-vehicle network system
JP2015107672A
Communication system
JP2021129245A