The present invention relates to an electronic/electric vehicle infrastructure system for controlling the electronic/electric functions and/or functionalities of a vehicle and a method for controlling such a system, wherein the electronic/electric vehicle infrastructure system comprises at least one electronic/electric vehicle infrastructure subsets each comprising a plurality of electronic/electric vehicle infrastructure elements, wherein an electronic/electric infrastructure element is an electronic control unit (ECU), a network segment and/or a load, and at least one electronic/electric vehicle infrastructure element is transferable in an active or inactive state, and wherein the activity of the electronic/electric functions and/or functionalities are defined by predetermined vehicle modes and/or predetermined application-specific contexts.
In order to reduce the power consumption in the vehicle, there is a need to develop infrastructure solutions that enable to fully power only electronic/electric infrastructure elements (ECUs, loads, network segments) that are required at the time. As vehicle functionality is to a large extent implemented by applications, this means that only these infrastructure components need to be fully powered which are required by certain applications.
There are solutions today that support activity control on an individual physical network segment. Those solutions are usually referred to as network management. For example, the PCT application WO 02/46895 discloses a control and regulation system for motor vehicles, wherein at least two control units connected via a data bus can be switched to specific power consumption modes in order to reduce power consumption. For this, one control unit comprises a power management module having a control program with an interface, via which data related to the specific power consumption modes can be transmitted to the control program for the optimal execution of existing applications programs. The specific power consumption modes are defined by a program in the control unit or by an external request. The control program itself comprises elements for calculating the power consumption modes required by the control unit from the power consumption data. Further, switching elements are provided which transfer the control unit from one power consumption mode to another.
Disadvantageous, the disclosed method and system can only be used for vehicles having a simple bus or network structure, particularly having only a single bus connecting all ECUs in the vehicle. In case a more complex bus structure having a plurality of network segments or infrastructure subsets is used, these subsets can only be individually controlled by the disclosed method. A possibility to activate more than one network segment with a single request is not possible. Additionally, for a Hardware (HW)-wire controlled activation of loads and/or other ECUs initiated by one ECU, only ad-hoc and application-specific solutions are known. Further, the disclosed power management module only controls the power state of an ECU, wherein the power states of loads and other control units connected and controlled by the same control unit cannot be controlled.
Another disadvantage of the existing solutions is that they are hardware dependent and strongly related to the existing infrastructure. That means, since the logical components or software components, which are necessary for executing specific applications, are not necessarily included in the same ECU in different vehicle, the logical components need to be identified for each vehicle type independently.
It is therefore desirable to provide a single framework for specifying and controlling the activity of a plurality of vehicle infrastructure subsystems and thereby the power consumption of the whole vehicle, i.e. all ECUs, loads and network segments.
According to aspect of the present invention, an electronic/electric vehicle infrastructure system for controlling the electronic/electric functions and/or functionalities of a vehicle and a method for controlling such a system are provided.
The invention is based on the main concept to provide in each ECU a special infrastructural component—a so called state change component, which is adapted to transfer the ECU, loads connected to this ECU and network segments attached to this ECU, i.e. the local infrastructure subset, into an active or inactive state. Thereby, not only the ECU but also the electronic/electric infrastructure subset can be transferred into an active or inactive state. Additionally, all those state change components are adapted to exchange information about the currently required vehicle activity, whereby the required vehicle activity is defined by global vehicle modes, such as parking, living, or running, or by predefined needs of applications. Furthermore, each state change component can request the transfer of one or more further infrastructural subsets into an active or inactive state. The state change information is propagated in the vehicle by the state change components transmitting the state transfer request to all ECUs, connected loads and attached network segments that are affected by the state transfer request.
The state change component itself can be a software element, particularly a middleware element, adapted to be executed by a software controlled element, such as a microprocessor or a CPU, comprised in the ECU, and/or a hardware logic element comprised by the ECU or the ECU'S software controlled element, such as a programmable logic device or a field programmable gate array.
According to a preferred embodiment of the invention, an ECU can have at least two inactive states which differ by power consumption and/or response time. That means, e.g. if an ECU has two inactive states, a stand-by state and a sleep state, the power consumption of the stand-by state could be higher than the power consumption of the sleep state. But on the other hand, the response time of the ECU to requests in the stand-by state could be much quicker than in the sleep state. Further, upon receiving the transfer request, the ECU can decide into which inactive state it will transfer. In a further preferred embodiment, if there is no need for an ECU to be active, the ECU can also be instructed into which inactive state to switch to when is should become inactive. Additionally, it is possible to change this instruction at any time during run-time to reflect different needs related to power consumption and/or response time.
Which electronic/electric vehicle infrastructure subset needs to be active or whether it can be transferred in an inactive state is preferably defined by “global” vehicle modes and/or by application needs. Thereby, for each application and/or each vehicle modes a corresponding subset of needed ECU's, loads and network segments are defined in so-called activation scenarios, which are preferably stored in a look up table.
In general, the “global” vehicle modes are modes on an overall vehicle level related to the operation of the whole vehicle, which are mostly related to the vehicle's overall power consumption. An exemplary set of vehicle modes is given in the following list, wherein the power consumption increases from the beginning of the list to its end.
In a further preferred embodiment, the state change components are arranged in a tree hierarchical structure having a root state change component and at least one subordinate state change component, such as an intermittent state change component and/or a leaf state change component. The intermittent state change component can therefore be regarded as a superordinate state change component to at least one leaf state change component.
It is further preferred, that for each application a local state change component is defined which transmits a state transfer request to the state change components comprised in the ECUs needed by the application and/or in the ECUs connected to loads needed by the application and/or in the ECUs attached to network segments needed for the transmission of the state transfer request. Thereby, a transfer request from an application made to its local state change component is forwarded upwards to all superordinate state change components related to the request. The superordinate state change components then transmit a compiled state transfer request to all their subordinate state change components related to the request, whereby all state change components get an updated picture of the currently required infrastructure subsets and can therefore activate their ECU, connected loads and/or attached network segments, accordingly.
This network-communicated state transfer can preferably be performed by transmitting a state transfer message over the network segments attached to the ECU. Thereby, it is possible to transfer ECUs and loads into an active or inactive state which are connected to the same network segments as the ECU hosting the state change component, which has transmitted the transfer request.
As mentioned above, the activity of a specific set of vehicle function or functionalities as requested by application needs and/or vehicle modes can be captured by an activation scenario. The activation scenario is preferably hardware-independent and identifies all logical (software) components required to be active for a concerned function. Since these software components or logical components are executed by microprocessors or CPUs generally comprised in ECUs, the activation scenario also implicitly identifies all ECUs which are required to be active. When the allocation of the logical (software) components onto the ECUs is known, the necessary set of electronic/electric vehicle infrastructure subsets (ECUs, loads, network segments) required for the application or the vehicle mode can be identified in the activation scenario. Further, each activation scenario defined for a certain function and/or vehicle mode (e.g. Parked, Living and Running) specifies the required active logical components as well as conditions for their activation/deactivation.
In a further preferred embodiment, the activation scenarios are defined in the form of configuration data, which can be consulted by the state change component in each ECU at run-time. The configuration data can, without necessarily changing the ECU implementation (i.e. post-build), be updated to reflect changes in the infrastructural subsets that should be possible to activate.
In a further preferred embodiment of the invention, the activation scenarios are stored in a look-up table, preferably a static look-up table, that links the vehicle functions' needs for activation of logical components to the activation of the infrastructure required for the activation to be possible. This table can be consulted at run-time (e.g. by the state change components) to ensure the appropriate activation or the transmission of an appropriate state transfer request.
The state change component is preferably enabled to locally initiate activation of the ECU itself and its locally controlled loads, to activate a network segment the ECU is connected to, to perform a wire-controlled activation of another ECU or load, to perform a network-communicated activation of another ECU or load, and/or to request gateway activation.
For activating an ECU or load, a specific hardware wire line control can be provided which is adapted to perform an activation/deactivation of hardware wire lines, which are used as activation lines, when the state change component receives an activation request for an infrastructure subset that includes the ECU or load. For the transfer of the ECU or a load into the active or inactive state by means of the activation line, the ECU or load to be activated can be powered, e.g., using a relay solution controlled by the activation line. The ECU or load could also be woken up from the inactive state by an activation line connected to an interrupt-triggering line of e.g. a network controller or microcontroller in the ECU.
For the locally initiated activation, the state change component preferably keeps the ECU running as long as there are internal ECU application requests to run or state change components in other ECUs require it to be running. If no requests or needs are present, the ECU can be transferred into the inactive state or low power state, particularly into a shut down state, a sleep state or a stand-by state.
Preferably, the inactive state or low power state of the ECU is in relation to the current vehicle mode. At run-time, the microprocessor or the CPU of the ECU can be re-configured, whenever the vehicle mode is changed. Thereby, it is possible that the ECU can enter a specific inactive state, when it is deactivated the next time.
The different inactive states differ, as explained above, by their power consumption and/or their response time to requests. Additionally, the different inactive states define how an ECU can be reactivated. For example, an ECU in a stand-by state can be woken up by sensor activity, wherein, in a sleep state, it can be woken up only by bus traffic. That means, in the stand-by state, the ECU can monitor sensor activity, wherein, in the sleep state, the ECU can only monitor bus activity.
Additionally, for the activation of a network segment, all network segments to which an ECU is connected to can be activated by the ECU'S state change component in order to make other ECUs or loads reachable.
In a further preferred embodiment, each state change component can propagate transfer requests received on one network segment or via a dedicated activation lines to other network segments or activation lines attached to the ECU. For that, the dedicated activation lines are adapted to uniquely identify the concerned infrastructural subset. In this way, it is possible to propagate transfer requests from one network segment to any other network segment via one or more (gateway) state change components.
Further advantages and preferred embodiments are described herein.
In the following the invention will be described in more detail with reference to the attached figures. The embodiments shown in the figures are exemplary only and are not intended to limit the scope of the invention thereto.
The figures show:
The vehicle's electronic/electric infrastructure provides the electric and/or electronic functions or functionalities of the vehicle which in turn can be provided by applications e.g. defined by software programs being executed in the microprocessors or CPUs of the electronic control units. Preferably, the infrastructure subset is defined as a subset of the vehicle's electronic/electric infrastructure components (ECUs, loads, network segments) which should be activated together for providing certain vehicle functions or functionalities. Since activation of a network segment also results in an activation of ECUs, it makes no sense to specify an infrastructure subset that only includes these ECUs, which, for example, cannot be activated/deactivated in relation to the activation of the network segment. To avoid that, the set of infrastructure subsystems are preferably established early in the infrastructure system design.
According to the invention, each ECU (ECU1-ECU15) comprises a state change component which is indicated by a black rectangle in
Since each application needs a specific set of logical or software components, which can be executed in the same and/or in different ECUs, for providing the application based function or functionality of the vehicle, the activation scenarios specify for each application the necessary logical components. Since the logical components can be spread over a plurality of ECUs, a map is necessary which links the needed logical components of an application to the ECUs incorporating the logical devices and to the infrastructure subsets, which comprise the corresponding ECUs. Preferably, such a map is a look-up table, which can be consulted at run-time. In a preferred embodiment, the state change component comprises a memory for storing different activation scenarios as well as such a map for the activation of infrastructure subsets.
In the following table, the infrastructure subsets and their corresponding ECUs and connecting CAN busses as illustrated in
Preferably, the ECUs and therefore also the state change components are arranged in a hierarchical tree structure, as illustrated in
Instead of a hierarchical tree structure, as described above, it is also possible to use a structure in which between any pair of ECUs1 or state change components, in the vehicle, there is exactly one communication path for exchanging data, particularly state transfer requests. That means, a case in which two ECUs are connected to the same two data buses does not exist. The rationale for this is that, if there would be more than one path, then a state transfer request could be sent between two ECUs for an infinite amount of time as there is no way to know when all ECUs have received the request. If there is only one path, the transmission of the request will automatically stop when the request reaches a leaf node. In this particular case, it is sufficient for each state change component to propagate an incoming activation request only on one communication link (e.g. a data bus or a hardwired link) to all other communication links it is connected to provided that they are part of the infrastructure subset specified by the activation request.
The above described hierarchical tree structure for the ECUs also defines the hierarchical tree structure of the state change components incorporated in the ECU. That means e.g. the state change component incorporated in root ECU1 is also defined as root state change component. Thereby it acts as master m to subordinated intermediated state change components incorporated in ECU2 and ECU 3 as well as to leaf state change components in ECU4 and ECU 5 as well as in ECU 6, ECU7, ECU8, and ECU9, ECU10, ECU11, and so on.
Even if ECU 1 acts as master to all other ECUs, it must not be incorporated in the same infrastructure subset as its subordinate ECUs. As can be seen in
It can be further seen in
Transfer requests made by applications or vehicle modes for transferring any infrastructure subset ISS into an active or inactive state are always made to a local state change component incorporated in the same ECU as the requesting logical (software) component. In order to inform all other ECUs and state change components, respectively, of the state transfer, the request is forwarded upwards in the hierarchy to all superordinate state change components as required for the request. That means if transfer request is initiated from e.g. ECU15, its incorporated and thereby local state change component transfers ECU 15 in an active state (a requesting ECU must always be included in the transfer request and, consequently, ECU 15 should become active itself as a part of the ISS activation) and then forwards the transfer request to its superordinate state change component incorporated in ECU3. The state change component of ECU3 then forwards the transfer request to its superordinate state change component which is root state change component incorporated in ECU 1. The root state change component then sends compiled request information downwards to all subordinated state change components incorporated in ECU4, ECU5, ECU6, ECU, 7, ECU8, ECU9, ECU 10, ECU11 and ECU2, ECU3, which in turn forward the request to their subordinated state change component incorporated in ECU12, ECU13, ECU 14 and back to the state change component ECU15. In this way, all state change components will have an updated picture of the currently active infrastructure subset ISS5 and can activate—if needed or requested—their local infrastructure, namely the hosting ECU and the loads attached to the ECU, accordingly.
Upon receiving information that an infrastructure subset has been transferred in the inactive state, the state change component in the concerned ECU will decide whether, as a result of the inactivation of the infrastructure subset, the ECU shall become inactive or not. It should be noted that an ECU can only become inactive if there are no pending requests in which it is included. An inactivation request can be triggered by e.g. global vehicle modes such as the vehicle is parked or if an ECU is not requested for a certain amount of time. Further, it is possible to define a plurality of inactive states for an ECU, which differ by power consumption and/or response time to requests.
For example, three ECU states can be defined—an active state and two inactive states, e.g. a stand-by state and a sleep state. Each state defines the tasks or functions an ECU can perform. In the active state, the ECU is fully powered and all possible ECU functions are provided if requested. The active state is typically used during the global vehicle state “Running”.
In the inactive state, only inputs (e.g. sensor input or data buses) connected to the ECU and related to selected or no ECU functions can trigger a change to the active state. In case the function is requested (i.e. inputs related to the function triggers the ECU), it takes a certain amount of time until the ECU responds. This response time can even be noticeable by a driver. Inactive states are typically used, if the vehicle is parked or in storage. Since there are scenarios in which the vehicle is not driving, but the driver is still inside, it is not desirable that certain vehicle function are not possible to activate any more, or it takes a noticeable amount of time to activate a function. E.g. in case a driver waits for a passenger with the vehicle not running, he/she might want to listen to music. Then, a driver might be annoyed, if the radio ON/OFF button only responses after some time. On the other hand in case the driver has just entered the vehicle, a noticeable response time for the ON/OFF button of the radio might be acceptable.
Consequently, the invention suggests defining at least two inactive states, wherein e.g. in case of a two-inactivity state embodiment a stand-by state and a sleep state are defined. The stand-by state can e.g. be used in case the vehicle is not running but the driver is still inside. The overall goal of this state is to save power by deactivating ECU functions. The ECUs can be adapted to enter the stand-by state after typically few seconds of inactivity. In the stand-by state, the ECU is still able to detect a function request from a driver or the vehicle itself, and can be transferred to the active state in reasonable short amount of time.
The sleep state can be typically be used if the vehicle is parked or in storage. The overall goal of this state is also to save power, but to a much higher amount than in the stand-by state, whereby the ECU functions are not active and not even requestable. In this state the ECU is not able to directly (on its own) detect a function request by driver or vehicle, and can be transferred to the active state only in a noticeable amount of time after being woken up by bus communication from other ECUs.
In the following table the three different states of ECUs and their characteristics are shown, wherein the active state is compared to two inactive states—a stand-by state and a sleep state.
In
The logical or software components for performing the security light function are e.g. a security light controller (SL) for performing the function, a front right light control FR, a front left light control FL, a rear right light control RR, and a read left light control RL, for illuminating the vehicle, and a remote communication control RC for receiving an external request for initiating the security light function. For performing the security light function, all these components and the ECUs comprising the logical components need to be active. Therefore the corresponding activation scenario defines that for performing the security light function the logical component set of {RC, SL, FL, FR, RR, RL} need to be activated. The mapping/allocation of the activation scenario onto infrastructure further defines that the indicated logical components are included in a corresponding set of ECUs {ECU4, ECU5, ECU 10, ECU9, ECU 12, ECU 13}. All these ECUs need to be activated for performing the security light function. It should be noted that each activation scenario can be specified independently of the vehicle's infrastructure subsystem and that a mapping onto infrastructure activation can be made as soon as the allocation of logical components in the ECUs is known. Therefore the application scenario can be used for a plurality of vehicles.
Since the necessary ECUs are not necessarily in the same infrastructure subset, the activation scenario also links the necessary ECUs to the network segments which need to be activated. As illustrated in
The activation scenario for performing security light illumination is triggered by an external request received by ECU4 comprising RC. ECU4 comprising RC then transmits a need for activation the security lights are transmitted to the security light controlling ECU5. ECU5 consults the activation scenario stored in a look-up table and then transmits a state transfer request, particularly an activation request, to its superordinate ECU1. ECU1 in turn transmits the request to ECU9, ECU10 and ECU2, whereby ECU2 further transmits the state transfer request to ECU12 and ECU13. In the end, all necessary ECUs are activated.
The communication of transfer requests can, for example, be performed by using an already existing network management as a transport media (by e.g. embedding the information in the network management messages usually sent by the network management) but all other distribution possibilities can be used.
The invention can be made an integral part of any ECU and/or system configuration tools. Furthermore, it is possible to re-use the implementation of the infrastructure and application activation as specific components to be embedded in each ECU.
In addition use of the invention allows standardisation of specification, design and implementation of the activation of all applications, loads, network segments and ECUs in the whole vehicle. This will reduce integration problems due to application-specific sub-system solutions. It will also be possible to re-use application and middleware software to a larger extent. Full traceability of function activity down to implementation will be possible. Furthermore, configuration of the infrastructure use (ECUs and networks) due to changed application activation needs can be automatically generated from the updated application descriptions and will normally require no changes in the infrastructure as this is controlled by configuration data in the ECUs.
Number | Date | Country | Kind |
---|---|---|---|
0702360-9 | Oct 2007 | SE | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/SE08/00607 | 10/22/2008 | WO | 00 | 8/31/2010 |