Vehicle systems and methods for power managed resource activation
By deploying power management services on vehicles, the problem of dynamic power demand management is solved, flexible activation and deactivation of resources is achieved, and the scalability and flexibility of software-defined vehicles are supported.
Patent Information
- Application Number
- CN202311116913.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-02-23
- Filing Date
- 2023-08-31
- Publication Date
- 2024-08-23
AI Technical Summary
It is difficult to fully define power requirements when designing modern vehicles, resulting in dynamic and unpredictable power demands that are difficult to effectively manage and support with existing technologies.
By deploying the power management service on the vehicle, the service receives abstract resource activation requests from software entities, determines whether to allow resource activation based on current status information and usage profiles, and automatically provides specific activation requests to the resources, including abstract request conversion, resource Identity mapping and electrical system status adjustments.
It achieves flexible management of dynamic power demand, ensures that resources can be activated and deactivated without affecting the safety and efficiency of the vehicle's electrical system, and supports the scalability and flexibility of software-defined vehicles.
Smart Images

Figure CN118540175A
Abstract
Description
[0001] The technical field relates generally to vehicle systems, and more particularly to managing power consumption and resource utilization through software applications. Background Art
[0002] Modern vehicles typically utilize software platforms and corresponding electrical architectures that use software that acts as an interface between the driver or other user and the underlying vehicle hardware to enable various features and functions of the vehicle. The software supports various features and functionality of the vehicle, while also allowing features and / or functionality associated with the vehicle to be added and / or updated by updating the software without changing the underlying hardware to improve the user experience, thereby allowing the vehicle to evolve over time. One of the goals of so-called software-defined vehicles (SDVs) is typically to provide flexibility and scalability when deploying software applications by abstracting the underlying hardware implementation, so that software applications can be designed and developed independently of the vehicle (e.g., by third-party application developers). However, this may result in unpredictable power requirements that cannot be fully defined at design time. Therefore, it is desirable to provide systems and methods for supporting dynamic and unpredictable power requirements through different potential software applications that can be deployed on vehicles. In conjunction with the accompanying drawings and the foregoing introduction, other desired features and characteristics of the present invention will become apparent from the subsequent detailed description and the appended claims. Summary of the invention
[0003] An apparatus and related method for a vehicle for managing energy consumption are provided. One method involves: obtaining, at a power management service executed on a computing device onboard a vehicle, an abstract request for activating a resource associated with the vehicle from a software entity, the abstract request including a usage profile associated with the requested resource activation; obtaining, by the power management service, current state information of the vehicle from one or more systems associated with the vehicle; determining, by the power management service, based at least in part on the current state information and the usage profile associated with the abstract request, that the requested resource activation is allowed; and automatically providing, by the power management service, a specific activation request to the resource in response to determining that the requested resource activation is allowed.
[0004] In one aspect, the method involves: the power management service converting the abstract request from an abstract form to a concrete activation request by identifying a destination associated with a resource associated with the abstract request and an appropriate format for the concrete activation request, and then providing the concrete activation request in the appropriate format to the destination associated with the resource. In another aspect, the method involves the power management service mapping an abstract identifier of a resource associated with the abstract request to a concrete address associated with the resource, and then providing the concrete activation request to the concrete address.
[0005] On the other hand, obtaining current state information includes: obtaining a current energy state of the electrical system from a control module associated with the electrical system of the vehicle; and determining that allowing the requested resource activation involves: verifying that the current energy state of the electrical system meets one or more activation criteria of the resource. On the other hand, after determining that the current energy state of the electrical system does not meet one or more activation criteria, the power management service instructs the control module associated with the electrical system to modify the state of the electrical system to support the requested resource activation. On the other hand, instructing the control module associated with the electrical system to modify the current energy state involves: the power management service instructs the control module to modify the state of a high-voltage battery associated with the electrical system before providing a specific activation request to the resource.
[0006] On the other hand, obtaining current state information includes: obtaining a current vehicle mode from a control module associated with the vehicle; and determining that the requested resource activation is allowed includes: verifying that the requested resource activation is allowed under the current vehicle mode. On the other hand, after providing a specific activation request to the resource, the power management service updates the activation state associated with the resource maintained in a data storage element associated with the computing device. On the other hand, after providing a specific activation request to the resource, the power management service publishes the updated activation state associated with the resource to the software entity. On yet another aspect, automatically providing a specific activation request to a resource involves: when the usage profile includes a periodic usage profile, periodically providing a specific activation request to the resource according to the usage profile. On the other hand, automatically providing a specific activation request to a resource involves: the power management service maintains the requested resource activation according to the usage profile until it is determined that the requested resource activation should be terminated.
[0007] A device is provided for a non-transitory computer-readable medium having executable instructions stored thereon, the executable instructions, when executed by a processor, causing the processor to provide a power management service, the power management service being configurable to: receive an abstract request from a software entity to activate a resource associated with a vehicle, the abstract request including a usage profile associated with the requested resource activation, obtain current state information of the vehicle from one or more systems onboard the vehicle, determine to allow the requested resource activation associated with the abstract request based at least in part on the current state information and the usage profile associated with the abstract request, and in response to determining to allow the requested resource activation, automatically provide a specific activation request to the resource. In one aspect, the power management service is configurable to: convert the abstract request from an abstract form into a specific activation request before providing the specific activation request to the resource. In another aspect, the power management service is configurable to map an abstract identifier of a resource associated with the abstract request to a specific address associated with the resource, and then provide the specific activation request to the specific address. On the other hand, the power management service may be configured to: obtain the current energy state of the electrical system from a control module associated with the electrical system of the vehicle before determining that the requested resource activation is allowed, and verify that the current energy state of the electrical system meets one or more activation criteria of the resource. On the other hand, the power management service may be configured to: after determining that the current energy state of the electrical system does not meet one or more activation criteria, before providing a specific activation request to the resource, instruct the control module associated with the electrical system to modify the state of the high-voltage battery associated with the electrical system to support the requested resource activation. On the other hand, the power management service may be configured to: before determining that the requested resource activation is allowed, obtain the current vehicle mode from a control module associated with the vehicle, and verify that the requested resource activation is allowed under the current vehicle mode.
[0008] Also provided is an apparatus for a vehicle, comprising: an electrical system for operating a resource associated with the vehicle, wherein the resource is coupled to the electrical system; and a computing device coupled to the electrical system and the resource. The computing device comprises a non-transitory computer-readable medium having executable instructions stored thereon and a processor coupled to the non-transitory computer-readable medium to execute the executable instructions to provide a power management service, the power management service being configurable to: receive an abstract request for a resource associated with the vehicle from a software entity, the abstract request having a usage profile associated therewith for a requested resource activation; obtain a current energy state of the electrical system from a control module associated with the electrical system; determine, based at least in part on the current energy state and the usage profile associated with the abstract request, to allow the requested resource activation associated with the abstract request; and automatically provide a specific activation request to the resource in response to determining that the requested resource activation is allowed. In one aspect, the software entity comprises a software application or software service configurable to provide an abstract request in an abstract form, wherein the power management service is configurable to convert the abstract request from an abstract form to a specific form before providing the specific activation request to the resource. In another aspect, the power management service may be configured to map an abstract identification of a resource associated with the abstract request to a specific address associated with the resource and then provide a specific activation request to the specific address. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] Exemplary aspects will hereinafter be described in conjunction with the following drawings, wherein like reference numerals refer to like elements, and wherein:
[0010] Figure 1 is a block diagram illustrating a vehicle according to various implementations; and
[0011] Figure 2 Depicted is a flow diagram of a resource activation process suitable for implementation by a power management service in conjunction with a vehicle in accordance with one or more implementations described herein. DETAILED DESCRIPTION
[0012] The following detailed description is merely exemplary in nature and is not intended to limit application and use. In addition, there is no intention to be bound by any express or implied theory presented in the foregoing introduction, the invention content, or the following detailed description. As used herein, the term module refers to any hardware, software, firmware, electronic control component, processing logic and / or processor device alone or in any combination, including but not limited to: application-specific integrated circuits (ASICs), electronic circuits, processors (shared, dedicated or groups) and memories that execute one or more software or firmware programs, combinational logic circuits, and / or other suitable components that provide the described functionality.
[0013] Figure 1An exemplary vehicle 100 is depicted that includes a computing device 102 that supports a power management service 104 that may be configured to manage power consumption and utilization of different resources 106, 108 onboard the vehicle 100. For purposes of explanation, the subject matter may be described herein in the context of the vehicle 100 being implemented as a motor vehicle, such as a passenger car, a sport utility vehicle (SUV), a pickup truck, etc., but it should be understood that the subject matter described herein is not limited to motor vehicles and may be implemented in an equivalent manner in the context of any other vehicle, including motorcycles, trucks, recreational vehicles (RVs), boats, aircraft, etc.
[0014] The computing device 102 generally represents an electronic component carried on the vehicle 100, which includes at least one processor 110 and a data storage element 112. In this regard, the computing device 102 can be implemented as a system on a chip, an integrated circuit, or another electronic module. The processor 110 may include or be implemented as any customized or commercially available processor, a central processing unit (CPU), a graphics processing unit (GPU), an auxiliary processor among several processors associated with the computing device 102, a semiconductor-based processor, a microprocessor (in the form of a microchip or a chipset), a macroprocessor, any combination thereof, or any device generally used to execute instructions. The data storage element 112 includes or is otherwise implemented as a non-temporary computer-readable storage device or medium, which may include volatile and non-volatile storage in a read-only memory (ROM), a random access memory (RAM), and a keep-alive memory (KAM). KAM is a permanent or non-volatile memory that can be used to store various operating variables while the processor 10 is powered off. The data storage element 12 may be implemented using any of a number of known memory devices such as PROM (Programmable Read Only Memory), EPROM (Electrical PROM), EEPROM (Electrically Erasable PROM), flash memory, or any other electrical, magnetic, optical, or combination memory device capable of storing data, some of which represents executable instructions for use by the processor 10. The instructions may include one or more separate programs, each of which includes an ordered list of executable instructions for implementing logical functions. The instructions, when executed by the processor 110, cause the processor 110 to support or otherwise provide the power management service 104 and to perform logic, calculations, methods, and / or algorithms for supporting the subject matter described herein.
[0015] In the illustrated implementation, the data storage element 112 also includes executable instructions that are executed by the processor 110 to provide one or more software entities 114 supported by the computing device 102. In this regard, the software entities 114 generally represent software applications, services, or processes that are designed to use one or more resources 106, 108 onboard the vehicle 100 to support one or more features or functions associated with the vehicle 100. For example, the software entities 114 may be configured for navigation, route planning, vehicle control, infotainment, autonomous driving, and / or any other type of feature or functionality associated with the vehicle 100 that can be managed or controlled via software. In this regard, the software entities 114 may be configurable to provide one or more graphical user interfaces (GUIs) that can be used by a driver or other user to interact with the vehicle 100 and / or the resources 106, 108 associated therewith. It should be noted that although Figure 1 The software entity 114 is depicted as being implemented at the computing device 102, but in reality, the software entity 114 may be implemented at another computing device or electronic device external to the computing device 102 that communicates with the computing device 102 via a wired and / or wireless communication network (such as, for example, another electronic module or component onboard the vehicle 100, a mobile device, and / or other client electronic devices associated with the driver or another passenger, etc.).
[0016] Still refer to Figure 1 , the different resources 106, 108 onboard the vehicle 100 generally represent different hardware components or systems associated with the vehicle 100 that are coupled to the vehicle electrical system 120 to receive power to support the operation of the resources 106, 108, such as, for example, sensors, actuators, motors, transmission systems, pneumatic systems, hydraulic systems, and / or displays, etc. For example, in one or more implementations, the vehicle electrical system 120 includes one or more batteries or other energy storage elements capable of supporting the supply of power at a suitable voltage to support the power grid to operate one or more resources 106, 108 connected or otherwise coupled to the power grid. Some implementations of the vehicle electrical system 120 include a 12 volt battery, which may alternatively be referred to as a low voltage battery, which supplies power to the power grid, which may alternatively be referred to as a 12V power grid or a low voltage power grid. Additionally, the vehicle electrical system 120 may include various switching elements, direct current to direct current (DC-DC) converters, or other hardware or circuits that support the flow of power between a low voltage grid and one or more high voltage batteries that provide power in a suitable voltage range (e.g., 350-800 volts) to primarily power a propulsion system associated with the vehicle 100.
[0017] Depending on the implementation, the computing device 102 may be associated with one or more resources 106 (alternatively referred to herein as local resources) that are directly controlled by the processor 110, the one or more resources 106 being communicatively coupled to the computing device 102 via an input / output (I / O) interface 116 associated with the computing device 102, wherein the input / output interface 116 generally represents firmware, middleware, and / or hardware components configured to support communication between the processor 110 and the local resources 106. For example, in one implementation, the computing device 102 is implemented as a vehicle cockpit unit (VCU), wherein the local resources 106 include one or more electronic displays or other infotainment modules associated with the VCU. Similarly, the computing device 102 can be communicatively coupled to one or more other resources 108 (alternatively referred to herein as remote resources) that are indirectly controlled by the processor 110, and the one or more other resources 108 are communicatively coupled to the computing device 102 via a communication interface 118, which represents firmware, middleware and / or hardware components configured to support communication between the processor 110 and a processor or controller associated with the remote resource 108 via a communication network (such as, for example, Ethernet, a local area network (LAN), a controller area network (CAN) or other wired network, and / or a wireless network, etc.).
[0018] As described in more detail below, during operation of the vehicle 100, the power management service 104 receives a request from the software entity 114 to activate or otherwise utilize one or more of the vehicle resources 106, 108, wherein the power management service 104 controls, adjusts, or otherwise manages the activation of the requested vehicle resources 106, 108 in accordance with the current state of the vehicle 100. In this regard, the power management service 104 is coupled to one or more systems 120, 130 onboard the vehicle 100 to receive or otherwise obtain current state information indicative of the current state of the vehicle 100. For example, the power management service 104 may be coupled to a battery control module (BCM) 122 or other controller associated with the vehicle electrical system 120 to obtain information indicative of the current state of the vehicle electrical system 120. Additionally or alternatively, the power management service 104 is coupled to an engine control unit (ECU) 132 or other controller associated with the vehicle control system 130 to obtain information indicative of the current mode or operating state of the vehicle 100. Based on the current state information obtained from the onboard systems 120, 130, the power management service 104 automatically determines whether to allow activation of the requested resources 106, 108, and when allowed, provides a corresponding activation request to the requested resources 106, 108 to enable activation of the requested resources 106, 108. In this way, the power management service 104 acts as an intermediary to control, adjust, or otherwise manage energy consumption generated by the vehicle resources 106, 108 independently of the software entity 114.
[0019] As described in more detail below, the power management service 104 interacts with the software entity 114 to manage power usage by using a power usage profile provided by the software entity 114 in conjunction with a resource activation request. For example, the software entity 114 may provide a resource activation request that identifies one or more of the resources 106, 108 that the software entity 114 wants to activate, and a power usage profile that identifies an amount or frequency of expected utilization of the requested resources 106, 108 and corresponding energy (or power) consumption, such as: for example, an expected duration or time period that the software entity 114 wants the corresponding resource 106, 108 to be activated; an expected period or frequency at which the software entity 114 wants the corresponding resource 106, 108 to be activated; an energy usage priority associated with the software entity 114's dependency on the corresponding resource 106, 108; a dependency associated with the corresponding resource 106, 108, etc. The software entity 114 may also provide the power management service 104 with information identifying the relative priority of the requested resources 106, 108 or the dependencies of the software entity 114 on the requested resources 106, 108 (e.g., to support the functionality of the software entity 114), permissions associated with the software entity 114 to access the requested resources 106, 108, etc. In other implementations, the power usage profile associated with a particular resource activation request from the respective software entity 114 may be stored or otherwise maintained in the local data storage element 112 (or downloaded from a remote server or system over a communication network) for retrieval or lookup by the power management service 104 in response to receiving the particular resource activation request from the respective software entity 114.
[0020] Based on the requested resources 106, 108, the requested power usage profile, and the current state of the vehicle 100, the power management service 104 determines whether the requested power usage of the requested resources 106, 108 is allowed and can be supported by the vehicle 100, and if so, the power management service 104 commands, signals, or otherwise instructs the requested resources 106, 108 and possibly one or more onboard systems 120, 130 to support the requested power usage profile. In this regard, the power management service 104 abstracts the activation of resources 106, 108, allowing the software entity 114 to request specific resources 106, 108 in an abstract format (e.g., by identifying a specific device, component, system, subsystem, service, etc.) and allowing the power management service 104 to convert the abstract resource activation request from the abstract form into a physical, tangible, or concrete form. For example, the power management service 104 may convert an abstract resource activation request by mapping an abstract identifier of the requested resource to a specific hardware resource and identifying a corresponding physical address, network address, hardware address, or other specific address to be used as the destination of the activation request and a corresponding activation message, command, instruction, or other signal to be transmitted or otherwise provided to the specific address to activate the resource. Thus, the software entity 114 may be designed, developed, or otherwise configured to request resources in a manner that is independent of the underlying physical configuration of the resource 106, 108 or platform associated with the corresponding vehicle 100, thereby providing interoperability of the software entity 114 across different vehicle platforms and / or different configurations of the resource 106, 108 by abstracting the underlying physical activation implementation details to the intermediate power management service 104.
[0021] Figure 2 An exemplary implementation of a resource activation process 200 is depicted, which is suitable for implementation by a power management service to manage the utilization of vehicle resources by a software entity and perform additional tasks, functions and / or operations described herein. For illustrative purposes, the following description may refer to the above combined Figure 1 Although various portions of resource activation process 200 may be performed by different elements of a vehicle system, for purposes of explanation, the subject matter is described herein primarily in the context of resource activation process 200 being primarily performed by power management service 104 at computing device 102 onboard vehicle 100.
[0022] Reference Figure 2 , while continuing to refer to Figure 1 In an exemplary implementation, the resource activation process 200 is initialized or otherwise begins at 202 by receiving or otherwise obtaining an abstract request from a software entity to utilize one or more resources associated with a vehicle. Figure 1As described in the context of , the software entity 114 may communicate, transmit, or otherwise provide a resource activation request to the power management service 104 that identifies, in abstract form, one or more resources 106, 108 onboard the vehicle 100 that the software entity 114 wants to activate and utilize. For example, in an implementation where the software entity 114 is implemented as a software application that supports navigation or other route planning features, in response to a user interacting with the software application to view or define a route, the software entity 114 may provide the power management service 104 with an abstract resource activation request that identifies an onboard global positioning system (GPS) receiver and an onboard display device (e.g., an electronic dashboard display) as the resources 106, 108 that the software entity 114 wants to activate to support the feature that the user is attempting to access.
[0023] At 204, the resource activation process 200 continues by identifying or otherwise determining whether the requested resource needs to be activated at 204. In this regard, when the requested resource has been activated, the resource activation process 200 responds to the resource request by providing a notification to the requesting software entity at 206. As described in more detail below, in an exemplary implementation, after activating or deactivating a particular resource 106, 108, the power management service 104 automatically updates the current resource activation state information 113 to reflect the current activation state of the available resources 106, 108 that can be managed by the power management service 104. In response to receiving the resource activation request, the power management service 104 queries or otherwise accesses the current resource activation state information 113 cached or otherwise maintained by the data storage element 112. When the current resource activation state information 113 indicates that the requested resource is currently active, the power management service 104 automatically responds to the resource request by providing the requesting software entity 114 with the following notification: the requested resource 106, 108 is active, thereby allowing the software entity 114 to continue to utilize the requested resource 106, 108.
[0024] When activation of the requested resource is desired, the resource activation process 200 continues by receiving or otherwise obtaining a power usage profile associated with the resource request at 208. The resource activation process 200 identifies or otherwise obtains information indicating a current state of the vehicle at 210, and then analyzes the power usage profile associated with the current vehicle state to determine whether power usage associated with the resource request is permitted at 212. Upon assuming that the current vehicle state does not permit activation of the requested resource, the resource activation process 200 provides a corresponding notification to the requesting software entity (e.g., at 206). In some implementations, in conjunction with providing the resource request, the requesting software entity 114 also provides a power usage profile corresponding to an expected utilization of the requested resource. In this regard, the power usage profile indicates or otherwise relates to the expected power or energy consumption associated with the software entity 114 utilizing the requested resources 106, 108, and may include, for example, an expected duration or time period that the software entity 114 intends to utilize the requested resources 106, 108; and / or a period or frequency at which the software entity 114 intends to utilize the requested resources 106, 108, etc. In other implementations, the power management service 104 may utilize a lookup table maintained in the data storage element 112 or at a remote system to identify a corresponding power usage profile associated with a particular resource request from a particular software entity 114. For example, an instance of the software entity 114 (or a developer associated with the software entity 114) may register one or more power usage profiles when deploying the software entity 114 to a particular vehicle 100.
[0025] After identifying the power usage profile of the resource request, the power management service 104 identifies or otherwise obtains information indicative of a current state of the vehicle 100 from one or more onboard systems 120, 130. For example, the power management service 104 may retrieve current state information from the BCM 122 or other control module associated with the vehicle electrical system 120, the current state information characterizing a current energy state of the vehicle electrical system 120 or one or more components associated therewith, such as, for example, a current state of charge associated with one or more batteries onboard the vehicle 100, a current state of health associated with one or more batteries onboard the vehicle 100, and / or a current availability or connection state of one or more batteries onboard the vehicle 100 (e.g., whether a high voltage battery is available), etc. Additionally, the power management service 104 can retrieve current status information from the ECU 132 or other control modules associated with the vehicle control system 130, which current status information characterizes the current operating state of the vehicle 100 or one or more components associated therewith, such as, for example, the current operating mode of the vehicle 100 (e.g., standby, ready, driving, parked, etc.), the current state of one or more vehicle components (e.g., the current gear state), the current speed, acceleration, heading or other characteristics associated with the vehicle 100, the current occupancy state of the vehicle 100, the current connection state or over-the-air (OTA) update state, etc.
[0026] After obtaining the power usage profile and current vehicle state information, the power management service 104 determines whether to allow activation of the requested resource 106, 108 using one or more activation criteria or other logic rules, which may vary depending on the specific resource being requested, the current vehicle operating state, and / or the current energy state, etc. In this regard, it should be understood that there are many different potential combinations of activation criteria and logic rules that may be used to dictate the manner in which the power management service 104 allows or denies resource activation requests, depending on the particular implementation, and the subject matter described herein is not intended to be limited to any particular implementation.
[0027] For example, in an exemplary implementation, the power management service 104 first verifies whether activation of the requested resource 106, 108 is allowed in the current vehicle operating mode, and if not, provides a corresponding notification to the requesting software entity 114 requesting the resource 106, 108. In one or more implementations, the power management service 104 automatically allows activation of the requested resource 106, 108 when the current vehicle operating mode is in a ready mode, a driving mode, or any other mode except an off mode or a standby mode in which the vehicle 100 is not operable.
[0028] In one or more exemplary implementations, when the current vehicle operating mode corresponds to a standby mode or an off mode, the power management service 104 verifies whether the current energy state of the vehicle electrical system 120 supports the operation of the requested resource 106, 108 with the associated power usage profile before allowing activation. In this regard, the power management service 104 verifies that the current configuration of the vehicle electrical system 120 and / or the current state of available energy sources will support the expected power and / or energy consumption based on the expected power and / or energy consumption associated with the power usage profile of the requested resource 106, 108. For example, in one or more implementations, the power management service 104 allows the operation of the requested resource 106, 108 when the high-voltage battery of the vehicle electrical system 120 is activated, enabled, or otherwise connected to a voltage grid associated with the requested resource (e.g., a voltage grid to which the requested resource 106, 108 is connected or otherwise operated). In some implementations, the power management service 104 may also verify or confirm that a current state of charge, current state of health, current voltage level, or other electrical characteristics associated with the high voltage battery meet corresponding activation criteria before allowing resource activation, where the activation criteria may be affected by or be a function of an expected power usage profile.
[0029] In one or more exemplary implementations, when the current vehicle operating mode corresponds to a standby mode or an off mode and the high voltage battery is not available, the power management service 104 verifies whether the low voltage battery or other energy source (or energy storage element) connected to or otherwise associated with the voltage grid of the requested resource 106, 108 is capable of supporting the expected power and / or energy consumption of the requested resource 106, 108 when utilized with the expected power usage profile. In this regard, the power management service 104 may also verify or confirm that the current state of charge, current state of health, current voltage level, or other electrical characteristics associated with the low voltage battery meet corresponding activation criteria before allowing resource activation, wherein the activation criteria may be affected by or be a function of the expected power usage profile. Thus, when the current energy state of the available low-voltage battery is sufficient for the vehicle electrical system 120 to support the requested resources 106, 108 operating with the requested power usage profile, the power management service 104 may allow activation of the requested resources 106, 108 even though the vehicle 100 may currently be in a standby or off operating mode and the high-voltage battery is not available. On the other hand, when the current energy state of the available low-voltage battery is not capable of supporting the requested resources 106, 108 operating with the requested power usage profile, the power management service 104 may refuse to activate the requested resources 106, 108. Similarly, if the vehicle electrical system 120 is exhibiting a malfunction or other abnormal condition, the power management service 104 may refuse to activate the requested resources 106, 108.
[0030] In some implementations, when the current energy state of the available low-voltage battery is unable to support the operation of the requested resource 106, 108, the power management service 104 may communicate or otherwise interact with the BCM 122 or other control module associated with the vehicle electrical system 120 to attempt to automatically reconfigure the vehicle electrical system 120 to support the requested operation of the requested resource 106, 108. For example, the power management service 104 may command, signal, or otherwise instruct the BCM 122 or other control module to operate, activate, or otherwise enable one or more switching elements or other electrical components to enable connection between the low-voltage grid and the high-voltage battery associated with the requested resource 106, 108, thereby automatically and autonomously configuring the vehicle electrical system 120 to modify the current energy state and support the requested resource utilization. In such an implementation, the power management service 104 may allow activation of the requested resources 106 , 108 after receiving confirmation from the BCM 122 or other control module associated with the vehicle electrical system 120 that the high voltage battery has been activated or otherwise enabled.
[0031] Still refer to Figure 2 After determining that the current vehicle state permits or otherwise supports activation of the requested resource with the requested or expected power usage profile, the resource activation process 200 converts, maps, or otherwise transforms the abstract resource activation request into one or more corresponding concrete activation requests at 214, and then transmits or otherwise provides the activation request to an appropriate destination at 216 to activate the requested resource. In this regard, the requesting software entity 114 may identify the requested resource 106, 108 in an abstract form, such as, for example, by a name or other identifier associated with the corresponding resource 106, 108. In response to determining that activation of the requested resource 106, 108 is permitted, the power management service 104 converts, maps, or otherwise transforms the abstract resource identifier provided by the requesting software entity 114 into a tangible, concrete address, such as, for example, a specific hardware address, physical address, and / or network address, etc., associated with the corresponding resource 106, 108 that is capable of receiving the corresponding activation request from the power management service 104. Similarly, after identifying a particular tangible or concrete resource 106, 108 to be activated, the power management service 104 identifies a particular activation message, command, instruction, or other signal to be transmitted or otherwise provided to that specific address to activate that resource 106, 108. For example, for a local resource 106, the power management service 104 may convert an abstract resource identifier to a corresponding I / O interface 116 that is connected or otherwise coupled to the corresponding local resource 106 (or a control module or other controller associated with the local resource 106). The power management service 104 may then transmit or otherwise communicate the corresponding activation command or instruction directly to the requested local resource 106 (or a control module associated therewith) via the identified I / O interface 116.
[0032] For remote resources 108 that are not directly under the control of the computing device 102, in an exemplary implementation, the power management service 104 converts the abstract resource identifier to a corresponding network address associated with the remote resource 108 (or a control module or other controller associated with the local resource 106), or other network identifier that allows the remote resource 108 (or a control module or other controller associated with the local resource 106) to receive, obtain, or otherwise identify an activation request transmitted from the power management service 104 via a communication network. In one or more implementations, the remote resource 108 is connected to the computing device 102 via a CAN bus, wherein the power management service 104 maps the abstract resource identifier to a corresponding CAN local network that includes or is otherwise associated with the requested remote resource 108. Thereafter, the power management service 104 transmits, communicates, or otherwise provides an activation request, command, or other instruction addressed to a specific CAN local network to wake up, enable, or otherwise activate the requested remote resource 108. In this regard, a control module associated with the requested remote resource 108 may monitor or otherwise listen to the CAN bus for messages or communications involving its assigned local network and automatically activate or otherwise enable the requested remote resource 108 in response to an activation request for its local network.
[0033] In an exemplary implementation, the power management service 104 holds or otherwise maintains activation requests provided to the requested resources 106, 108 in accordance with a power usage profile associated with a resource request received from the software entity 114. In this regard, when the power usage profile indicates periodic or other discontinuous utilization of the requested resources 106, 108, the power management service 104 may automatically modulate or change the assertion of the activation request in accordance with the power usage profile. For example, when the power usage profile indicates that the software entity 114 wants to utilize or otherwise activate the requested resources 106, 108 for one second out of every minute, the power management service 104 may implement a timer or similar feature that enables the power management service 104 to assert and provide the activation request to the requested resources 106, 108 for a duration of one second and then automatically remove or de-assert the activation request for the next fifty-nine seconds before re-asserting the activation request. In this manner, the power management service 104 can support a variety of different periodic or discontinuous resource utilizations according to the specific power usage profile desired by the particular software entity 114 without being limited to any specific timing, scheme, or other constraints. Thus, the developer of the software entity 114 can flexibly define specific utilization sequences or time segments when it is desired to utilize a particular resource, and the power management service 104 assumes the responsibility of activating or deactivating the particular resource at the desired time segment or otherwise in accordance with the defined utilization sequence.
[0034] Still refer to Figure 2 , after activating the requested resource, the resource activation process 200 continues by broadcasting or otherwise publishing the updated activation state of the resource to the requesting software entity at 218. In this regard, in an exemplary implementation, after activating a resource 106, 108, the power management service 104 updates the cached activation state information 113 maintained in the data storage element 112 to identify that the resource 106, 108 is currently active. In addition to the activation state, the cached activation state information 113 may also include information identifying one or more of: a software entity 114 associated with the activation request that resulted in the activation of the respective resource 106, 108; a power usage profile associated with the activation request that resulted in the activation of the resource 106, 108; and potentially other information that may be used by the power management service 104 to track or otherwise manage activation requests and corresponding activation states of various available resources 106, 108 onboard the vehicle 100. After updating the activation state information 113, the power management service 104 may publish or otherwise notify the requesting software entity 114 of the updated activation state of the requested resource 106, 108. In this regard, in some implementations, the power management service 104 may broadcast or publish the updated activation state information of the resource 106, 108 for any software entity 114 that subscribes to the power management service 104 to receive the updated activation state information. Thus, in addition to the requesting software entity 114 utilizing the newly activated resource 106, 108, one or more other software entities 114 may attempt to initiate concurrent utilization of the resource 106, 108 or otherwise attempt to retrieve data or information from the activated resource 106, 108.
[0035] In an exemplary implementation, the loop defined by 210, 212, 214, 216, and 218 can be continuously repeated to continuously evaluate the current vehicle state and dynamically terminate activation of one or more resources when the current vehicle state no longer permits. In this regard, over time, if the current energy state associated with the vehicle electrical system 120 and / or the current operating state of the vehicle indicated by the vehicle control system 130 corresponds to a vehicle state in which activation of a particular resource 106, 108 is no longer permitted and / or supported, the power management service 104 can automatically terminate activation of the resource 106, 108 (e.g., by removing or canceling the assertion of the activation request, failing to provide the activation request, etc.) and provide a corresponding notification to the requesting software entity 114 that previously requested the activation (e.g., at 206). For example, if the vehicle 100 transitions to a standby operating mode and the state of charge of a low-voltage battery of the vehicle electrical system 120 drops below a resource activation threshold for supporting a requested power usage profile associated with a particular resource 106, 108, the power management service 104 can automatically terminate activation of the particular resource 106, 108 to save energy and extend the availability of the low-voltage battery.
[0036] Refer again Figure 1 And refer to Figure 2 In an exemplary implementation, the power management service 104 is also configured to support managed deactivation of previously activated resources by verifying or otherwise confirming that there are no other active requests for the resource before attempting to deactivate the resource. For example, the power management service 104 can utilize the data storage element 112 to maintain a log or record of different currently active resource activation requests associated with the corresponding software entity 114 that initiated the corresponding resource activation request. After providing a resource activation request, the software entity 114 can subsequently provide a corresponding request to terminate the previous resource activation request or otherwise deactivate the resource being utilized by the software entity 114 (e.g., in response to a user exiting a software application).
[0037] In response to receiving the deactivation request, the power management service 104 verifies or otherwise confirms that there are no activation requests for those resources 106, 108 that are currently active for another software entity 114. In this regard, when there are active resource activation requests for particular resources 106, 108 for another software entity 114, the power management service 104 may update a log or record to remove or otherwise deactivate the resource activation request that the requesting software entity 114 is attempting to terminate while keeping the resources 106, 108 activated and maintaining the active resource activation request for the other software entity 114. In this manner, the power management service 104 eliminates request conflicts and prevents one software entity 114 from interfering with concurrent utilization of the resources 106, 108 by another software entity 114. On the other hand, when there are no other active resource activation requests for a particular resource 106, 108, in response to a deactivation request, the power management service 104 de-claims, removes, or otherwise stops providing activation requests for the resource 106, 108, thereby allowing the particular resource 106, 108 to shut itself down once it is no longer in use.
[0038] In one or more implementations, the power management service 104 utilizes priority information assigned to or otherwise associated with resource activation requests to allow or deny resource activation and terminate resources according to a priority scheme. In this regard, in some implementations, the requesting software entity 114 may provide an indication of the relative priority associated with the requested resources 106, 108 with respect to the features and / or functionality of the requesting software entity 114. For example, a software entity 114 that is a software application supporting navigation or other route planning features may identify a resource activation request for a GPS receiver as a higher priority request, while another resource activation request from the software entity 114 for a communication system (e.g., to check for OTA software updates) may be designated as a lower priority request because it has less impact on the navigation or other route planning features associated with the software. That is, in other implementations, the power management service 104 may be configured to automatically assign priorities to resource activation requests based on a variety of different prioritization schemes or other criteria (e.g., by assigning priorities from highest to lowest in a first-in-last-out manner, etc.), which are not germane to the present disclosure, and the subject matter described herein is not intended to be limited to any particular prioritization scheme or prioritization criteria.
[0039] During operation, the power management service 104 can utilize priority information associated with different resource activation requests to determine whether to allow, deny, and / or terminate utilization of a particular resource (e.g., at 212 of the resource activation process 200). For example, depending on the current vehicle state, for example, to save power or reduce the load on the vehicle electrical system 120, lower priority resource activation requests can be denied or terminated, while other higher priority resource activation requests are allowed. In this regard, depending on the implementation, higher priority activation requests can only be allowed in certain vehicle operating modes (e.g., standby mode) and / or certain energy states (e.g., when the high-voltage battery is not available, when the charge state or health state of the low-voltage battery is below a threshold, etc.), while lower priority activation requests are only supported in other vehicle operating modes or energy states where power consumption or load management is less concerned (e.g., when the vehicle is in a ready or driving operating mode, when the high-voltage battery is available, when the charge state or health state of the low-voltage battery is above a threshold, etc.). Thus, during operation of the vehicle 100, the power management service 104 and / or the resource activation process 200 can dynamically respond to changes in the current vehicle state by changing the activation and utilization of the resources 106, 108 in a corresponding manner to support or otherwise maintain the operation of the vehicle 100 and the vehicle systems 120, 130 and avoid potential undesirable effects caused by the software entity 114 utilizing the vehicle resources 106, 108.
[0040] With the power management service 104 and the resource activation process 200, software entities 114 (e.g., software applications, services, etc.) can be designed independently of resource usage patterns or profiles that are not necessarily known or defined when designing the underlying architecture or platform of the software defined vehicle (SDV). In other words, the SDV can be designed independently of the software entities. By abstracting and decoupling the underlying physical, concrete, hardware implementation, the software entities can be developed, defined, and deployed in a flexible manner independent of any specific vehicle platform or architecture using a power management service that supports dynamic and variable resource utilization that can vary depending on the software entities involved in the specific implementation. In this regard, the power management service utilizes energy state, operating mode, and other vehicle state information to dynamically determine in real time whether the requested vehicle resource utilization can be supported, and can proactively take action to modify the current energy state or configuration of the vehicle electrical system to support the requested use. In addition, the power management service can utilize priorities associated with different resource requests to intelligently manage which resources and / or which software entities are activated in real time and dynamically as dictated by the current vehicle state.
[0041] Although at least one exemplary aspect has been presented in the foregoing detailed description, it should be understood that there are a large number of variations. It should also be understood that the exemplary aspect or multiple exemplary aspects are merely examples and are not intended to limit the scope, applicability, or configuration of the present disclosure in any way. On the contrary, the foregoing detailed description will provide a convenient roadmap for implementing the exemplary aspect or multiple exemplary aspects for those skilled in the art. It should be understood that various changes may be made to the functions and arrangements of the elements without departing from the scope of the present disclosure as set forth in the attached claims and their legal equivalents.
Claims
1. A method of managing energy consumption in a vehicle, the method comprising: obtaining, at a power management service executing on a computing device onboard the vehicle, from a software entity, an abstract request for activating a resource associated with the vehicle, the abstract request including a usage profile associated with the requested resource activation; obtaining, by the power management service, current status information of the vehicle from one or more systems associated with the vehicle; determining, by the power management service, to allow the requested resource activation based at least in part on the current state information and the usage profile associated with the abstract request; as well as In response to determining that the requested resource activation is allowed, a specific activation request is automatically provided by the power management service to the resource.
2. The method according to claim 1, further comprising: The power management service converts the abstract request from an abstract form into the specific activation request by identifying a destination associated with the resource associated with the abstract request and an appropriate format for the specific activation request, and then provides the specific activation request in the appropriate format to the destination associated with the resource.
3. The method according to claim 1, further comprising: The power management service maps the abstract identifier of the resource associated with the abstract request to a specific address associated with the resource, and then provides the specific activation request to the specific address.
4. The method according to claim 1, wherein: Obtaining the current state information includes: obtaining a current energy state of the electrical system from a control module associated with the electrical system of the vehicle; and Determining to allow the requested resource activation includes verifying that the current energy state of the electrical system satisfies one or more activation criteria for the resource.
5. The method according to claim 4, further comprising: After determining that the current energy state of the electrical system does not satisfy the one or more activation criteria, the power management service instructs the control module associated with the electrical system to modify a state of the electrical system to support the requested resource activation.
6. The method according to claim 1, wherein: Obtaining the current state information includes: obtaining a current vehicle mode from a control module associated with the vehicle; and Determining that the requested resource activation is allowed includes verifying that the requested resource activation is allowed in the current vehicle mode.
7. The method according to claim 1, wherein: Automatically providing the specific activation request to the resource includes: when the usage profile includes a periodic usage profile, periodically providing the specific activation request to the resource according to the usage profile.
8. A means of transport, comprising: an electrical system that operates a resource associated with the vehicle, wherein the resource is coupled to the electrical system; as well as a computing device coupled to the electrical system and the resource, wherein the computing device includes a non-transitory computer-readable medium containing executable instructions and a processor coupled to the non-transitory computer-readable medium to execute the executable instructions to provide a power management service, the power management service being configurable to: receiving, from a software entity, an abstract request for the resource associated with the vehicle, the abstract request having associated therewith a usage profile activated by the requested resource; obtaining a current energy state of the electrical system from a control module associated with the electrical system; determining to allow a requested resource activation associated with the abstract request based at least in part on the current energy state and the usage profile associated with the abstract request; as well as In response to determining that the requested resource activation is allowed, a specific activation request is automatically provided to the resource.
9. The vehicle according to claim 8, wherein: The software entity comprises a software application or software service configurable to provide the abstract request in an abstract form, wherein the power management service is configurable to convert the abstract request from the abstract form into a concrete form before providing the concrete activation request to the resource.
10. The vehicle according to claim 9, wherein: The power management service may be configured to map an abstract identifier of the resource associated with the abstract request to a specific address associated with the resource and then provide the specific activation request to the specific address.
