Vehicle control system
The master-slave configuration in the vehicle control system manages power consumption by designating monitored ports for slave nodes, ensuring flexible adaptation to vehicle functionality changes without increasing power usage.
Patent Information
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-07-29
- Publication Date
- 2026-04-07
AI Technical Summary
Conventional vehicle development methods struggle to respond flexibly and quickly to the rapid evolution and changes in vehicle functionality, leading to increased power consumption when functions are decentralized in vehicle control systems.
A vehicle control system with a master-slave configuration, where a master node designates monitored ports for slave nodes during sleep periods, enabling wake-up signals and event notifications to manage power consumption effectively.
The system suppresses an increase in power consumption while allowing flexible and quick responses to functional evolution and changes in vehicle applications.
Smart Images

Figure 0007841384000001 
Figure 0007841384000002 
Figure 0007841384000003
Abstract
Description
Technical Field
[0001] The technology disclosed herein belongs to the technical field related to vehicle control systems.
Background Art
[0002] Patent Document 1 shows a configuration example of an in-vehicle network in which ECUs are connected via an in-vehicle network, and devices such as sensors and actuators are connected to each ECU (see FIG. 1 of Patent Document 1).
[0003] Patent Document 2 discloses a technique of providing a hub device between a central processing unit and in-vehicle devices to decentralize vehicle functions at the end of an in-vehicle network.
[0004] Patent Document 3 discloses a technique related to a LIN communication device having a wake-up mode for waking up in response to a signal applied to a WAKE port and a sleep mode for suspending operation.
Prior Art Documents
Patent Documents
[0005]
Patent Document 1
Patent Document 2
Patent Document 3
Summary of the Invention
Problems to be Solved by the Invention
[0006] By the way, in recent years, with the evolution of application technology, particularly, the functional evolution and functional changes regarding the behavior of vehicles have been accelerating.
[0007] In conventional vehicle development, the approach has been to individually develop each in-vehicle device that implements a function in response to the evolution and changes in vehicle functionality, and then retrofit them to the vehicle after completion. For example, when adding an additional function related to the opening and closing of doors, the in-vehicle device unit related to that new function (e.g., sensors, actuators, and the ECU that controls them) was developed individually and then installed in the vehicle or replaced with an existing in-vehicle device. By separating functions as in the conventional configuration, it is easier to adopt only the evolved functions as add-ons to the vehicle, and development can be easily outsourced on a function-by-function basis. This conventional configuration is very efficient when the evolution of vehicle functionality is gradual.
[0008] However, as the evolution of vehicle behavior and the functional advancements at the vehicle's end accelerate, the amount of development required to keep up inevitably increases. In other words, traditional development styles face the challenge of not being able to respond flexibly and quickly to the rapid evolution and changes in vehicle functionality.
[0009] Therefore, as shown in Patent Document 2, it is conceivable to distribute functions at the end of the in-vehicle network by providing a central processing unit and connecting in-vehicle devices via a hub. In this case, as shown in Patent Document 3, if wake-up is made at the end of the network based on the individual device's judgment, there may be cases where power consumption cannot be sufficiently reduced.
[0010] The technology disclosed herein has been made in view of these points, and aims to provide a vehicle control system that can suppress an increase in power consumption even when functions are distributed to the terminal side of the network in the vehicle control system. [Means for solving the problem]
[0011] To solve the aforementioned problems, the technology disclosed herein relates to a vehicle control system and comprises a plurality of slave nodes, each having a plurality of ports including one or more input ports that receive input from an in-vehicle device, and a master node that has device port information of an in-vehicle device connected to the input port of each slave node and communicates with each slave node via a communication network. The master node designates each slave node via the network as a monitored port, which is the input port to be monitored during the sleep period. The slave node sends a wake-up signal to the master node when it detects input from the monitored port during the sleep period, and after the wake-up of the master node is confirmed, it sends an event notification signal to notify of an event based on the input from the monitored port. The master node performs a wake-up operation when it receives the wake-up signal during the sleep period and recognizes the information obtained from the monitored port based on the event notification signal and the device port information received from the slave node.
[0012] In the vehicle control system of the above embodiment, the vehicle control system is configured in a master-slave configuration, and an in-vehicle device is connected to each slave node. By adopting such a configuration and subdividing the slave node configuration, it becomes possible to distribute functions to the ends. Furthermore, in this embodiment, the master node specifies the ports to be monitored during the sleep period for each slave node. This prevents an increase in power consumption and enables appropriate power consumption management even when the slave node configuration is subdivided.
[0013] In the above embodiment, the designated signal may include a command for the monitoring interval for each monitoring port, and the slave node may monitor changes in the input from the monitoring port at the monitoring interval during the sleep period.
[0014] As a result, in addition to the above aspect, further reduction of power consumption becomes possible.
[0015] In the above aspect, the plurality of ports may be general-purpose input / output ports, and the master node may be configured to transmit initial configuration data indicating the input / output setting contents of each general-purpose input / output port to each of the slave nodes, and the information of the monitoring target port may be included in the initial configuration data.
[0016] In this way, by configuring to specify the monitoring target port after setting the initial configuration data in the slave node, while subdividing the configuration of the slave node so as to be able to flexibly and quickly respond to the function evolution and function changes of the vehicle application, it is possible to suppress an increase in power consumption.
Effect of the Invention
[0017] As described above, according to the technology disclosed herein, even when functions are decentralized to the terminal side of the network in a vehicle control system, an increase in power consumption can be suppressed.
Brief Description of the Drawings
[0018] [Figure 1] Block diagram showing a configuration example of a vehicle control system [Figure 2] Block diagram showing a configuration example of a master node [Figure 3] Block diagram showing a configuration example of a slave node [Figure 4] Circuit block diagram showing a configuration example of a driver unit [Figure 5] Diagram showing an example of a master configuration area [Figure 6] Diagram showing another example of a master configuration area [Figure 7] Diagram showing an example of a slave configuration area [Figure 8] Diagram showing another example of a slave configuration area [Figure 9] Figure showing another example of the slave configuration area [Figure 10] Flowchart showing an example of the operation of the vehicle control system [Figure 11] Flowchart showing an example of the operation of the vehicle control system [Figure 12] Figure showing an example of the configuration data transmitted and received in the operation of FIG. 11
Mode for Carrying Out the Invention
[0019] Hereinafter, exemplary embodiments will be described in detail with reference to the drawings. The same or corresponding parts in the drawings are denoted by the same reference numerals, and repeated explanations may be omitted. In the following embodiments, the description will focus on the configurations highly relevant to the content of the present disclosure.
[0020] Note that the following embodiments are exemplary, and there is no intention to limit the content of the present disclosure by the presence or absence of description, the exemplified numerical values, etc.
[0021] In the present disclosure, regarding the configurations indicated by the terms "system", "unit", "module", and "node", part or all of them can be realized by dedicated circuits such as application specific integrated circuits (ASICs) or programmable logic arrays (PLAs). Similarly, "system", "unit", "module", and "node" can be realized by a processor circuit that executes computer-readable instructions (e.g., programs) to execute predetermined processing steps to perform a specific function.
[0022] <Vehicle control system> FIG. 1 shows an example of the configuration of the vehicle control system according to the embodiment.
[0023] As shown in Figure 1, the vehicle control system 1 is mounted on the vehicle CA and consists of a master node 2 and multiple slave units connected via an in-vehicle communication network.
[0024] In the example shown in Figure 1, multiple slave units are exemplified, including a combination switch unit 4, left and right side mirror units 5, a steering switch unit 6, a cluster switch unit 31, an overhead console unit 32, left and right seat heater units 33, and left and right door latch units 34. Each slave unit is equipped with a slave node 7 (see Figure 4) which has a common configuration. For the sake of explanation, the side mirror unit 5, door latch unit 34, and seat heater unit 33 are described using common reference numerals for the left and right sides, respectively.
[0025] Specifically, the master node 2 and several slave units (in this example, the combination switch unit 4, the steering switch unit 6, the cluster switch unit 31, the right side mirror unit 5, the right seat heater unit 33, and the right door latch unit 34) are bus-connected via communication network B1. In addition, the master node 2 and several other slave units (in this example, the overhead console unit 32, the left side mirror unit 5, the left seat heater unit 33, and the left door latch unit 34) are bus-connected via communication network B2.
[0026] Communication networks B1 and B2 are, for example, communication lines compliant with CXPI (Clock Extension Peripheral Interface). However, the communication method is not limited to CXPI; other communication methods (wired or wireless) may be used. Furthermore, there is no particular limit to the number of communication lines used in the communication network. Additionally, communication relay hubs (not shown) and ECUs (not shown) may be provided in the middle of communication network B.
[0027] Figure 2 is a block diagram showing an example configuration of master node 2, and Figure 3 is a block diagram showing an example configuration of slave node 7.
[0028] -Master Node- The master node 2 illustrated in Figure 2 comprises a communication module 21, a cognitive module 22, a decision module 23, an operation module 24, and a memory 25.
[0029] Master node 2 is comprised of, for example, one or more electronic control units (ECUs). An electronic control unit may be comprised of a single integrated circuit (IC) or multiple ICs. Furthermore, the IC may contain a single core or die, or multiple cooperating cores or dies.
[0030] [Communication Module] The communication module 21 has the function of receiving received signals from each slave node 7 via the communication network B and transmitting signals to each slave node 7.
[0031] [Memory] The memory 25 includes a master configuration area 27 (see Figure 5) in which configuration data corresponding to each slave node 7 (hereinafter referred to as "master configuration data") is stored.
[0032] The master configuration data includes the initial configuration data set for each slave node 7, as well as device port information. In other words, master node 2 holds the initial configuration data set for each slave node 7.
[0033] Device port information is data that shows the connection relationship between each port P of the slave node 7 and the device ports of the in-vehicle device. In other words, device port information is data that shows which functional device ports of the in-vehicle device are connected to each port P of the slave node 7.
[0034] Figure 5 shows an example of the master configuration data MC for the combination switch unit 4 (upper part of Figure 5: also called "first master configuration data MC1") and the master configuration data MC for the side mirror unit 5 (lower part of Figure 5: also called "second master configuration data MC2"). Figure 6 shows an example of the master configuration data MC for the steering switch unit 6 (also called "third master configuration data MC3").
[0035] The first master configuration data MC1 includes (1) device port information indicating the connection relationship between each port P1 to P12 of the combi switch unit 4 and each device port of the wiper switch 41, light switch 42, and turn switch 43, and (2) the initial configuration data SC1 of the combi switch unit 4.
[0036] More specifically, since port P1 of the combi switch unit 4 is connected to a device port that outputs the ON / OFF operation signal of the wiper switch 41, this connection relationship is stored as device port information in the first master configuration data MC1.
[0037] Similarly, the devices that output the speed setting signal for the wiper switch 41 are connected to ports P2 to P4 of the combi switch unit 4, and the device that outputs the light OFF setting signal for the light switch 42 is connected to port P5. Therefore, the respective connection relationships are stored as device port information in the first master configuration data MC1. The same applies to the other ports P6 to P12 and the ports P1 to P12 of the right side mirror unit 5.
[0038] The third master configuration data MC3 includes (1) device port information indicating the connection relationship between each port P1 to P12 of the steering switch unit 6 and each device port of the operation switches 61 for auto cruise and audio, and the illumination LED 62, and (2) the initial configuration data SC3 of the steering switch unit 6.
[0039] The memory 25 may be an internal memory built into the IC that constitutes the ECU, or it may be an external memory attached to the IC. In addition, the memory may store, for example, a program for operating the CPU mounted on the IC, or information such as the processing results of the CPU.
[0040] Furthermore, for the sake of clarity, the initial configuration data SC of the first master configuration data MC1 may be labeled "SC1," the initial configuration data SC of the second master configuration data MC2 may be labeled "SC2," and the initial configuration data SC of the third master configuration data MC3 may be labeled "SC3" to distinguish them in the explanation.
[0041] [Cognitive Module] The cognitive module 22 performs cognitive processing to recognize information acquired by sensors mounted on the in-vehicle device, based on the master configuration data MC stored in memory 25 and the time-dependent changes in the detection signal received from the slave node 7. Here, the information recognized in the cognitive processing is referred to as "cognitive information." The cognitive module 22 includes a decoding module 221 that performs decoding processing of the detection signal received from the slave node 7, and an information processing module 222 that performs information processing on the decoded detection signal and recognizes the specific content of the detection information. The detection signal will be explained in detail later.
[0042] In this disclosure, the term "sensor" is used broadly to include not only sensors that measure and detect various physical quantities such as temperature, voltage, and current, but also switches that accept various operations, cameras that capture images inside and outside the vehicle, radar that recognizes targets outside the vehicle, etc., and outputs mechanical-electrical conversion signals, etc. Sensors acquire vehicle behavior information, occupant operation information, information on currents flowing through actuators and applied voltages, vehicle malfunction status information, occupant status information and / or external environment information, etc. (hereinafter collectively referred to as "detection information").
[0043] [Decision Module] The decision module 23 performs a decision process to determine the vehicle CA's actions based on the cognitive information recognized by the cognitive module 22. The decision module 23 includes a purpose determination module 231 that determines the purpose of the vehicle CA's actions, an action plan module 232 that sets an action plan to achieve the determined purpose, an action decision module 233 that determines which action to actually carry out from among the actions listed in the action plan, and a response decision module 234 that selects the means to realize the determined action.
[0044] [Operation Module] The operation module 24 identifies an operation device corresponding to the vehicle action determined by the decision process, generates an operation command signal to command the operation of the identified operation device, and performs operation processing to transmit it to the slave node to which the operation device is connected. The operation module 24 comprises an operation decision module 241 that determines the target of operation and the amount of operation required to realize the determined action, and an operation command generation module 242 that generates an operation command signal and transmits it to the slave node.
[0045] -Slave Unit- Figure 3 shows an example configuration of the slave unit exemplified in Figure 1, specifically the combination switch unit 4, the right side mirror unit 5 (hereinafter referred to as "right side mirror unit 5"), and the steering switch unit 6.
[0046] As shown in Figure 3, the combination switch unit 4, the right side mirror unit 5, and the steering switch unit 6 are each provided with a common slave node 7. Each slave node 7 is provided with 12 general-purpose input / output ports P (hereinafter simply referred to as "port P") for connecting in-vehicle devices. The slave node 7 is implemented, for example, by an IC (Integrated Circuit).
[0047] In this example, the combination switch unit 4 has a wiper switch 41 connected to ports P1 to P4 to receive wiper operation, a light switch 42 connected to ports P5 to P9 to receive light operation, and a turn switch 43 connected to ports P10 and P11 to receive turn lamp operation. P12 is a reserve port P. The wiper switch 41, light switch 42, and turn switch 43 are examples of in-vehicle devices including sensors.
[0048] In the right side mirror unit 5, LEDs 51 for turn signals (hereinafter referred to as "turn LEDs 51") are connected to ports P1 and P2, LEDs 52 for indicators are connected to ports P3 to P6, and motors 53 for mirror retraction are connected to ports P7 to P12. Here, the turn LEDs 51, 52, and motors 53 are examples of in-vehicle devices that include sensors and objects to be operated. In other words, the turn LEDs 51, 52, and motors 53 are examples of slave nodes that have sensors and objects to be operated.
[0049] In the steering switch unit 6, control switches 61 for the auto cruise and audio are connected to ports P1 to P10, and illumination LEDs 62 are connected to ports P11 and P12. The control switches 61 are an example of an in-vehicle device including a sensor. The illumination LEDs 62 are an example of an in-vehicle device including the object being controlled.
[0050] [Slave node] Each slave node 7 is equipped with a communication module 71, a register 72, a selector 73, and a group of drivers 74.
[0051] [Communication Module] The communication module 71 is connected to the communication module 21 of the master node 2 via the communication network B and is configured to enable bidirectional communication with the communication module 21 in accordance with CXPI. The communication module 71 includes, for example, an input / output circuit connected to the communication network B, an encoder and decoder connected to the input / output circuit, etc. Note that a previously known circuit configuration can be applied to the specific circuit configuration of the communication module 71, so a detailed explanation is omitted here.
[0052] [Driver group] The driver group 74 comprises multiple driver units 740, each connected one-to-one to a port P. For example, if the slave node 7 has 12 ports P, the driver group 74 will have 12 driver units 740.
[0053] The driver unit 740 is an I / O circuit that can use port P as an input port or an output port through external settings. For example, a conventionally known general-purpose input / output circuit (GPIO: General Purpose Input / Output) can be used as the driver unit 740. Figure 4 shows an example configuration of the driver unit 740.
[0054] The driver unit 740 illustrated in Figure 4 comprises an output circuit 743 connected to port P and a driver circuit 741 that drives the output circuit 743 based on the output setting data of the output register 742. The output setting data of the output register 742 can be rewritten by a setting signal input from the OUT terminal.
[0055] The driver unit 740 includes an input circuit 745 that receives input to port P, and a receiver circuit 746 that converts the input received by the input circuit 745 into a detection signal. The receiver circuit 746 includes an AD converter 747 and a comparator 748. The AD converter 747 converts the input to port P from analog to digital and outputs it from the AI terminal when the attribute of port P is analog input. The comparator 748 outputs the input to port P as a digital signal from the DI terminal when the attribute of port P is digital input.
[0056] The driver unit 740 allows the settings of each component to be changed based on configuration signals that are based on operation command signals. For example, the filter constants of the digital filter in the receiver circuit 746 can be changed based on the configuration signals.
[0057] 〔selector〕 The selector 73 has the function of selecting which of the terminals (OUT terminal, AI terminal, DI terminal) of each driver unit 740 to enable, based on the attribute data of each port P set in the slave configuration area 77 described later.
[0058] When the AI terminal is enabled, an analog input signal is input from port P. In this case, the analog input signal is converted to a digital signal by the input circuit 745 and the AD converter 747, output from the AI terminal, and written to the detection signal area of register 72 via selector 73. In Figures 7 to 9 described later, the column labeled "detection signal" corresponds to the detection signal area. The detection signal area may or may not be included in the slave configuration area 77.
[0059] When the DI terminal is enabled, a digital input signal is input from port P. In this case, the digital input signal is output from the DI terminal via input circuit 745 and comparator 748, and written to the detection signal area of register 72 via selector 73.
[0060] When the OUT terminal is enabled, output setting data based on the operation command signal is reflected in the output register 742 of the driver circuit 741. The driver circuit 741 drives the output circuit 743 to output an operation signal (either a digital signal, an analog signal, or a PWM signal) from port P based on the output setting data in the output register 742.
[0061] Here, the output setting data is generated, for example, based on the operation command signal received from the master node 2, using the logic circuit (not shown) in the selector 73 or the value of register 72. In other words, the output setting based on the operation command signal is set in the output register 742 of the driver circuit 741 connected to port P based on the operation command signal. Then, the output circuit 743 outputs an operation signal based on the operation command signal via port P based on that output setting data. The operation command signal is, for example, a signal that includes identification data of the port P to which the target of operation is connected, and the output setting for each port P associated with that identification data.
[0062] Regarding the specific circuit configuration of the selector, conventionally known configurations can be used, so a detailed explanation will be omitted here.
[0063] [Register] Register 72 is provided with a slave configuration area 77 in which configuration data set for each slave node 7 (hereinafter referred to as "slave configuration data") is stored.
[0064] The slave configuration data includes, for example, (1) attribute data for each port P, (2) filter constants for ports P whose attribute is input (hereinafter simply referred to as "input port P"), (3) configuration data for the monitored ports, and (4) output configuration data for ports P whose attribute is output (hereinafter simply referred to as "output port P"). In this disclosure, the initial configuration information of the slave configuration data is referred to as "initial configuration data".
[0065] Here, the monitored port Px is the input port P that is monitored during the sleep period. The slave node 7 is configured to send a wake-up signal to the master node when it detects input from the monitored port Px during the sleep period.
[0066] The initial configuration data setting flow, sleep operation, and wake-up operation will be explained later.
[0067] In addition to the slave configuration data, the aforementioned detection signal is stored in the slave configuration area 77. The detection signal may also be stored in a storage area other than the slave configuration area 77.
[0068] Figures 7 to 9 show examples of the slave configuration area 77 of the slave node 7. Figure 7 shows an example of the combination switch unit 4, Figure 8 shows an example of the right side mirror unit 5, and Figure 9 shows an example of the steering switch unit 6.
[0069] For convenience, in the following explanation, the slave configuration area 77 in Figure 7 may be referred to as the combi configuration area 771, the slave configuration area 77 in Figure 8 as the side configuration area 772, and the slave configuration area 77 in Figure 9 as the steer configuration area 773.
[0070] In Figures 7 to 9, the attribute data for each port P is listed in the I / O attribute column. DI indicates that port P is a digital input. DO indicates that port P is a digital output, AI indicates that port P is an analog input, AO indicates that port P is an analog output (not shown), and PWM indicates that port P is a PWM output. In other words, DI and AI indicate that port P is set as an input port, while DO, AO, and PWM indicate that port P is set as an output port.
[0071] For example, in the initial configuration data (t=T11) of the combi-config area 771 shown in Figure 7, ports P1 to P11 are digital inputs, i.e., input ports. The filter constants for ports P1 to P11 are Qs1 to Qs11, respectively. Input port P11 is set as the monitored port Px during the sleep period, and its monitoring interval is set to Ti1. The monitoring interval indicates the monitoring interval for the monitored port Px during the sleep period. In other words, the slave node 7 of the combi-switch unit 4 monitors the input of input port P11, which is the monitored port Px, at each monitoring interval Ti1. Then, in the combi-switch unit 4, the value of the digital filter of the driver unit 740 connected to port P1 is set to Qs1 by the configuration signal. The same applies to ports P2 to P11.
[0072] In the combi-switch unit 4, input port P11 is connected to the left turn switch, and the master node 2 understands this connection relationship through device port information. On the other hand, in this example, the slave node 7 of the combi-switch unit 4 does not have information about the connection destination of input port P11.
[0073] Furthermore, the selector 73 of the combi switch unit 4 enables the DI terminals of the driver unit 740 connected to each of the ports P1 to P11. As a result, as described above, digital input signals from ports P1 to P11 are written to the detection signal area of register 72 via selector 73.
[0074] For example, in the initial configuration data (t=T11) of the steering configuration area 773 shown in Figure 9, ports P1~P3 and P6 are digital inputs, and ports P4, P5, P7~P10 are analog inputs. That is, P1~P10 are input ports. The filter constants for ports P1~P3 and P6 are Qu1~Qu3 and Qu6, respectively. Ports P11 and P12 are PWM ports and output ports. In addition, input port P6 is set as the monitored port Px, and its monitoring interval is set to Ti2. In other words, the slave node 7 of the steering switch unit 6 monitors the input of input port P6, which is the monitored port Px, at each monitoring interval Ti2.
[0075] In the steering switch unit 6, input port P6 is connected to the audio ON / OFF switch, and the master node 2 understands this connection relationship through device port information. On the other hand, in this example, the slave node 7 of the steering switch unit 6 does not have information about the connection destination of input port P6.
[0076] -Operation of the vehicle control system- Figures 10 and 11 are flowcharts illustrating an example of the operation of a vehicle control system.
[0077] [Step S1] In the vehicle control system 1, when power is supplied to the master node 2 and the slave node 7, the initial configuration process of step S1 is executed.
[0078] First, master node 2 sends initial configuration data to slave node 7, tailored to that slave node. Slave node 7, having received the initial configuration data SC from master node 2 via communication network B, performs the input / output configuration of port P based on the received initial configuration data SC.
[0079] In the example shown in Figure 10, first, the master node 2 refers to the first master configuration data MC1 and sends the initial configuration data SC1 to the slave node 7 of the combi-switch unit 4. The slave node 7 of the combi-switch unit 4 receives the initial configuration data SC1 and stores the received initial configuration data SC1 in the combi-config area 771 (see t=T11 in Figure 7). Then, the selector 73 performs the input / output settings for each port of the driver unit 740 of the combi-switch unit 4. The input / output settings include, for example, setting the input / output attributes of port P, setting the filter constant of input port P, and setting the monitored ports based on the setting data.
[0080] When the slave node 7 of the combi-switch unit 4 has completed the input / output settings for each port of the driver unit 740, it sends an acknowledgment back to the master node 2. At this time, along with the acknowledgment, it may also send back the detection data in its initial state, which is stored in the detection signal area, in response to a request from the master node 2. The master node 2 stores the detection data received from the combi-switch unit 4 in the memory 25 (see the "S1 (received)" column in the upper table of Figure 12).
[0081] Next, the master node 2 determines whether the initial configuration process is complete based on the acknowledgment returned from the slave node 7. As shown in Figure 10, if the acknowledgment from the combi-switch unit 4 is OK, the initial configuration process for the next slave node 7 is executed sequentially.
[0082] For example, the slave node 7 of the right side mirror unit 5 stores the initial configuration data SC2 received from the master node 2 in the side configuration area 772 (see t=T11 in Figure 8). Similar to the case of the combi switch unit 4, the selector 73 performs the input / output settings for each port of the driver unit 740 of the right side mirror unit 5. The right side mirror unit 5 also sends an acknowledgment RC back to the master node 2 and, for example, returns detection data in the initial state in response to a request from the master node 2. The master node 2 stores the detection data received from the combi switch unit 4 in the memory 25 (see the "S1 (received)" column in the lower table of Figure 12).
[0083] For example, the slave node 7 of the steering switch unit 6 stores the initial configuration data SC3 received from the master node 2 in the steering configuration area 773 (see t=T11 in Figure 9). Similar to the case of the combination switch unit 4, the selector 73 performs the input / output settings for each port P of the driver unit 740 of the steering switch unit 6.
[0084] Once the initial configuration process for all slave nodes 7 is complete, the flow proceeds to the next step, S3.
[0085] On the other hand, for example, in the aforementioned example, if the acknowledgment received from the combi-switch unit 4 is NG, the master node 2 will re-execute the initial configuration process for the slave node 7 where the NG occurred. The number of times the initial configuration process is re-executed is not particularly limited and can be set arbitrarily.
[0086] [Step S3] In step S3, normal operation takes place. For example, each slave node 7 sends a detection signal to the master node when it detects an input to or a change in the input to input port P. When master node 2 receives the detection signal, it performs the aforementioned recognition processing, decision processing, and operation processing. In the operation processing, master node 2 generates an operation command signal that commands the output content of output port P, which is set to output in the input / output settings, and sends it to one or more slave nodes to be operated via the communication network B. One or more slave nodes that receive the operation command signal output an operation signal based on the operation command signal from the output port P based on the operation command signal.
[0087] In this example, as shown in Figure 11, the process when the turn switch 43 is operated to the right by the driver during normal operation will be described.
[0088] [Step S31] When the turn switch 43 is operated to the right turn position, an ON setting signal is input from the digital output port DOR of the turn switch 43 to the input port P10 of the driver group 74. For example, a digital signal that changes from "0" to "1" is input to the input port P10. This change in the digital signal is written to the detection signal area of the combi-config area 771 via the driver group 74 and the selector 73 (see t=T12 in Figure 7).
[0089] [Step S32] When slave node 7 detects a change in the detection signal area, it sends an event notification to master node 2. The event notification details the change in the detection signal area.
[0090] In this example, the operation of the turn switch 43 changes the value of input port P10 in the detection signal area from "0" to "1" (see Figure 7), so the combi switch unit 4 notifies the master node 2 of the change in the value of the detection signal area. Specifically, for example, the combi switch unit 4 sends the detection data of the entire detection signal area, which reflects the change in input port P10, to the master node 2 as a detection signal. In this way, the detection data of the entire detection signal area may be sent to the master node 2, or only the detection data of the input port P whose value has changed may be sent to the master node 2.
[0091] [Steps S33, S34] In the next step, S33, the master node 2 performs processing (also called "event processing") according to the content of the event notification. In event processing, the aforementioned cognitive processing, judgment processing, and operation processing are performed.
[0092] In this example, the master node 2 performs information processing as a cognitive process, based on the difference data between the detection data received in step S1 and the detection data received in the current step. Specifically, the master node 2 recognizes that the turn switch 43 has been operated to the right turn side based on the change in port P10 of the combi switch unit 4 and the device port information.
[0093] Next, in the decision-making process, the master node 2 executes decision-making processes using the objective decision module 231, the action plan module 232, the action decision module 233, and the response decision module 234. In this example, the action to be performed by vehicle CA is determined to be "turn on the right turn lamp of vehicle CA (including the right turn lamp of the right side mirror unit 5)".
[0094] Next, the master node 2 decides to operate on the slave node 7 to which the right turn signal is connected, and to blink the right turn signal as the operation. The master node 2 then generates an operation command signal C5 that commands the right turn signal to blink and sends it to one or more slave nodes 7 (including the right side mirror unit 5) to which the right turn signal is connected (step S34). Specifically, the operation command signal sent to the right side mirror unit 5 is, for example, a signal that commands it to output an ON operation signal (for example, a blinking operation signal) from output port P2.
[0095] [Steps S35, S36] The slave node 7 of the right side mirror unit 5 receives an operation command signal (step S35) and outputs an operation signal based on the operation command signal C5 from the port based on the operation command signal C5. Specifically, the slave node 7 of the right side mirror unit 5 outputs a digital operation signal from port P2 that instructs ON control based on the operation command signal C5 (step S36).
[0096] [Steps S37, S38] In step S37, the master node 2 requests an acknowledgment from the slave node 7 that sent the operation command signal to confirm whether the output settings based on the operation command signal C5 have been configured. Then, in the next step S38, the slave node 7, having received the acknowledgment request, sends back an acknowledgment to the master node 2 indicating the status of the output settings based on the operation command signal.
[0097] In this example, acknowledgments are sent and received between the master node 2 and the slave node 7 of the right side mirror unit 5.
[0098] As described above, each time the detection signal changes, an event notification is sent from slave node 7 to master node 2, event processing is performed based on that event notification, and the target of the operation is operated based on the event processing.
[0099] [Step S4] Returning to Figure 10, in step S4, the master node 2 performs a sleep process. The sleep process is performed when the vehicle CA is unlikely to be used for a while, for example, when the vehicle CA is parked and the ignition power is turned off. The trigger for the execution of the sleep process is not particularly limited and can be arbitrarily set in the application of the master node 2, for example.
[0100] During the sleep process, master node 2 sends a sleep signal to slave node 7, which is to be put into sleep mode, instructing it to transition to sleep mode. Upon receiving the sleep signal, slave node 7 executes the process of transitioning to sleep mode.
[0101] If the slave node 7 has an input port P with the monitored port Px set to ON, it will monitor the monitored port Px during the sleep period. In addition, if a monitoring interval is set in addition to the monitored port Px setting, it will monitor the monitored port Px at the specified monitoring interval. In this example, the slave node 7 of the combi switch unit 4 monitors the input of input port P11, which is the monitored port Px, at every monitoring interval Ti1. Also, the slave node 7 of the steering switch unit 6 monitors the input of input port P6, which is the monitored port Px, at every monitoring interval Ti2.
[0102] Master node 2 enters sleep mode after it has finished sending sleep signals to all slave nodes 7 that are to be put to sleep.
[0103] [Step S5] During the sleep period, if input is detected from the monitored port Px, a wake-up signal is sent to the master node. For example, if the audio ON / OFF switch of the steering switch unit 6 is operated during the sleep period, the input to input port P, which is the monitored port Px, changes. In this case, the slave node 7 of the steering switch unit 6 sends a wake-up signal to the master node 2.
[0104] Furthermore, for example, chatter filtering is performed on the slave side. For instance, if a change is detected after chatter filtering at slave node 7, slave node 7 sends a wake-up signal to master node 2. By configuring the chatter filter, false wake-ups due to noise, etc., can be prevented, resulting in reduced power consumption.
[0105] More specifically, for example, slave node 7 includes a monitoring circuit for monitoring, a power supply circuit for intermittent monitoring, and a communication circuit including a communication module 71 for communicating with master node 2. During wake-up monitoring in sleep mode, power is continuously supplied only to the monitoring circuit, while the power supply circuit operates intermittently (for example, power is supplied for 10 μsec once every 10 msec). When a wake-up signal is received from the monitored port Px, power is supplied to the communication circuit, and the entire slave node 7 is activated. Then, slave node 7 sends a wake-up signal to master node 2.
[0106] [Step S6] If the master node 2 receives a wake-up signal from the slave node 7 configured with the monitored port Px during the sleep period, it will perform the wake-up process. Specifically, it will start supplying power to each circuit that is in sleep mode. It will also send a wake-up signal to the slave node 7 that has entered sleep mode. The slave node 7 that receives the wake-up signal will perform the wake-up process. As mentioned above, the slave node 7 that receives the wake-up signal (in this example, the slave node 7 of the steering switch unit 6) will be fully activated by step S5.
[0107] [Step S7] Next, once the steering switch unit 6 confirms that the master node 2 has woken up, it executes an event notification that triggers the event that caused the wake-up. In this example, the steering switch unit 6 notifies the master node 2 of the change in the value of the detection signal area. Specifically, for example, the steering switch unit 6 sends detection data of the entire detection signal area, which reflects the change in input port P6, to the master node 2.
[0108] [Step S8] Master node 2 performs event processing based on event notifications received from steering switch unit 6.
[0109] Specifically, first, the master node 2 recognizes the information obtained from the monitored port Px based on the event notification signal and device port information received from the slave node 7. In this example, it recognizes that the audio ON / OFF switch has been operated.
[0110] Subsequently, if necessary, decision-making and operation processes are performed based on the cognitive information that the audio ON / OFF switch has been operated.
[0111] As described above, the vehicle control system of this embodiment performs the following processes as sleep operation and wake operation: (1) The master node 2 designates each slave node 7 as the port to be monitored during the sleep period; (2) When an input from the monitored port Px is detected during the sleep period, the slave node 7 sends a wake-up signal and an event notification signal to the master node 2; (3) The master node 2 performs a wake-up operation based on the wake-up signal and recognizes the information acquired from the monitored port based on the event notification signal and device port information.
[0112] This prevents an increase in power consumption and enables appropriate power management even when the configuration of slave node 7 is subdivided. [Industrial applicability]
[0113] The vehicle control system disclosed herein is useful because it can respond flexibly and quickly to the evolution and changes in vehicle functions. [Explanation of Symbols]
[0114] 1. Vehicle control system 2 Master Nodes 7 slave nodes B Communication Network SC1 Initial Configuration Data P port
Claims
1. A vehicle control system, Multiple slave nodes, each having multiple ports including one or more input ports that accept input from an in-vehicle device, The system comprises a master node which has device port information of an in-vehicle device connected to the input port of each of the slave nodes and communicates with each of the slave nodes via a communication network, The master node, via the communication network, specifies to each of the slave nodes the monitored port, which is the input port to be monitored during the sleep period. During the sleep period, if the slave node detects input from the monitored port, it sends a wake-up signal to the master node, and after the master node has woken up, it sends an event notification signal to notify of an event based on the input from the monitored port. A vehicle control system in which the master node performs a wake-up operation when it receives the wake-up signal during the sleep period, and recognizes information acquired from the monitored port based on the event notification signal and device port information received from the slave node.
2. The master node instructs each of the slave nodes to specify the monitored port, as well as the monitoring interval for each monitored port. The vehicle control system according to claim 1, wherein the slave node monitors the input from the monitored port during the monitoring interval while in sleep mode.
3. The aforementioned multiple ports are general-purpose input / output ports, The vehicle control system according to claim 1 or 2, wherein the master node is configured to transmit initial configuration data indicating the input / output settings of each general-purpose input / output port to each of the slave nodes, and the information of the monitored port is included in the initial configuration data.
Citation Information
Patent Citations
Multiplex communications equipment
JP1994292274A
LIN communication apparatus
JP2005142662A
Network HUB, transfer method, and on-vehicle network system
JP2017212725A
On-vehicle network system, electronic control equipment, gateway unit
JP2019134301A
Network hub device
WO2021010324A1