External and internal power management for embedded electronic devices
11715972 · 2023-08-01
Assignee
Inventors
- Ismael Alejandro Torres Carino (Woodridge, IL, US)
- Nicholas C. Carter (Woodridge, IL, US)
- Richard Earl (Woodridge, IL, US)
- Mauro Hernandez Castro (Woodridge, IL, US)
- Joel Jasso Calderon (Woodridge, IL, US)
- Michael Podgorny (Woodridge, IL, US)
Cpc classification
International classification
B60R16/023
PERFORMING OPERATIONS; TRANSPORTING
G01R31/00
PHYSICS
G07C5/08
PHYSICS
Abstract
A power management system is provided to manage internal and external power sources for an embedded electronic device. The power management system includes an internal power source and an external power source. The power management system determines when to power the internal embedded electronic device or devices from either the internal or external power source, when to recharge the internal power source, when to shut down the internal embedded electronic device so as not to over discharge and damage the internal power source when external power is not available.
Claims
1. A power management system for an embedded electronic device to manage internal and external power sources used to power the embedded electronic device, the power management system comprising: an internal power source for powering the embedded electronic device; a charging system configured to charge the internal power source from the external power source; a microprocessor that is configured to determine whether the embedded electronic device is or is not connected to an external power source, if the microprocessor does not detect an external power source and the internal power source is depleted, the microprocessor waits for the external power to be available before charging the internal power source and powering the embedded electronic device; if the microprocessor detects an external power source and the external power is within a threshold voltage, the external power source is used by the system to power the embedded electronic device and to charge the internal power source; if the microprocessor detects that the external power source declines below the threshold voltage, the microprocessor discontinues drawing power from the external power source and begins drawing power from the internal power source to provide uninterrupted power to the embedded electronic device without depleting the external power source.
2. The power management system of claim 1, wherein when the microprocessor draws power from the internal power source to power the embedded electronic device, the embedded electronic device begins executing a reduced functionality operation to conserve power.
3. The power management system of claim 2, wherein the microprocessor is configured to wake up upon being signaled by an external power voltage monitoring circuit when the voltage of the external power source raises back into a nominal range.
4. The power management system of claim 1, wherein in the event that the external power source is below the threshold voltage and the internal power source reaches a low power level, the system reduces the power draw on the internal power source while waiting for the external power source to be restored to the threshold voltage.
5. The power management system of claim 4, wherein when the internal power source reaches an under-voltage condition and the external power source is below the threshold voltage the embedded electronic device goes into a sleep mode.
6. A power management system for an embedded electronic device to manage internal and external power sources used to power the embedded electronic device comprising: an internal power source; a microprocessor; an external protection switch connected between the external power source and the embedded electronic device; an external power sense circuit configured to measure the voltage of the external power source; an internal power switch connected between the internal power source and the embedded device; an internal power under-voltage lockout control circuit that controls the internal power switch; an internal power sense circuit configured to monitor the voltage of the internal power source; an external power voltage monitoring circuit configured to monitor the voltage of the external power source; an internal power charger circuit configured to charge the internal power source; a power path control circuit that is configured to select the appropriate power source depending upon the availability of the external and internal power sources; wherein, the microprocessor is configured to determine when to power the embedded electronic device from either the internal or external power source, when to recharge the internal power source, and when to shut down the embedded electronic device so as not to over discharge and damage the internal power source when the external power is low or not available.
7. The power management system of claim 6 further including an external power under-voltage lockout control circuit configured to protect the embedded device from an external power under-voltage condition.
8. The power management system of claim 7 further including an external power over-voltage lockout control circuit configured to protect the embedded device from an external power over-voltage condition.
9. The power management system of claim 6, wherein when the microprocessor directs power from the internal power source to the embedded electronic device, the embedded electronic device begins executing a reduced functionality operation to conserve power.
10. The power management system of claim 7, wherein in the event that the external power source is below the threshold voltage and the internal power source reaches a low power level, the system reduces the power draw on the internal power source while waiting for the external power source to be restored to the threshold voltage.
11. The power management system of claim 10, wherein when the internal power source reaches an under-voltage condition and the external power source is below the threshold voltage the embedded electronic device is no longer powered.
12. A battery management method of an electrical device, having an internal power source and an external power source, the battery management method comprising the steps of: detecting, by a battery management unit, whether the electrical device is electrically connected with the external power source; determining, by the battery management unit, whether the external power is within a nominal range, and if the external power is below the nominal range then determining, by the battery management unit, whether the internal power source is above a threshold level; if it is determined that the external power source is below the nominal range and the internal power source is above a threshold level then the battery management unit is configured to power the electrical device using the internal power source while operating the device at a reduced functionality; if it is determined that the external power source is above the nominal range and the internal power source is above a threshold level then the battery management unit is configured to power the electrical device using the internal power source while operating the device at a reduced functionality and disables charging of the internal power source.
13. The battery management method of claim 12, wherein if it is determined that the external power source is below the nominal range and the internal power source is below the threshold level then the battery management unit is configured to shut down the electrical device.
14. The battery management method of claim 12, wherein if it is determined that the external power source is within the nominal range and the internal power source is fully charged, then the battery management unit is configured to power the electrical device using the external power source and discontinue charging the internal power source.
15. A vehicle monitoring device that is adapted to receive signals and power from an on-board diagnostics port of a vehicle, the vehicle systems monitor comprising: a microprocessor adapted to receive signals from the vehicle; an internal power source for powering the processor; a charging system configured to charge the internal power source from power from the vehicle; the microprocessor configured to determine whether the device is or is not connected to the power source from the vehicle, if the microprocessor does not detect power from the vehicle and the internal power source is depleted, the microprocessor waits for the power from the vehicle to be available before charging the internal power source and powering the device; if the microprocessor detects power from the vehicle and the power from the vehicle is within a threshold voltage, the processor uses power from the vehicle to power the device and to charge the internal power source; if the microprocessor detects that the power from the vehicle has declined below the threshold voltage, the microprocessor discontinues drawing power from the vehicle and begins drawing power from the internal power source to provide uninterrupted power to the device without depleting the power from the vehicle.
16. The vehicle monitoring device of claim 15, wherein when the microprocessor draws power from the internal power source to power the device, the device begins executing a reduced functionality operation to conserve power.
17. The vehicle monitoring device of claim 15, wherein in the event that power from the vehicle is below the threshold voltage and the internal power source reaches a low power level, the microprocessor is configured to reduce the power draw on the internal power source while waiting for the power from the vehicle to be restored to the threshold voltage.
18. The power management system of claim 17, wherein when the internal power source reaches an under-voltage condition and the power from the vehicle is below the threshold voltage the electronic device goes into a sleep mode.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The detailed description particularly refers to the accompanying figures in which:
(2)
(3)
(4)
DETAILED DESCRIPTION
(5) Power management system 11 of embedded device is adapted to engage or disengage power draw from an external power source 14 of an asset, such as a motor vehicle, at a software level and a hardware level, as illustrated in
(6) The power management strategy involves hardware-imposed under- and over-voltage thresholds for the external power source 14 and the internal power source 5, and software thresholds for determining the health and usability of the power sources. The hardware portion of the solution also includes interrupt signals to wake microprocessor 20 from a sleep mode when certain external power voltage thresholds have been crossed. An example microprocessor 20 that could be used includes an ST Microelectronics STM32F427 Cortex M4 microprocessor.
(7) The power management system 11 includes multiple interactive components illustrated in
(8) The power management system 11 is adapted to manage internal and external power sources 5, 14 for an embedded electronic device, which includes microprocessor 20 among other components as illustrated in
(9) The power management system 11 also determines whether the external power source 14 is providing too much or too little power. The present system measures external and internal voltage to make determinations and determines when to execute a reduced power consumption profile of the internal electronic device. The system is designed to switch between internal and external power 5, 14 without disrupting the function of the embedded electronic device.
(10) There are several scenarios in which the power management system 11 operates, as illustrated in the flow diagram of
(11) If the embedded electronic device 13 is connected to an external power source 14 and the external power is within a nominal range (i.e. 12-14 volts in a 12 volt system) the external power source 14 is used to power the embedded electronic device 13. The microprocessor 20 is configured to wake up upon being signed by the external power under voltage detect circuit 3. The external power source 14 is used to charge the internal power source 5. The power management system 11 manually closes the internal power source switch to make it available to the embedded electronic device 13 in the event the external power source 14 fails.
(12) If the power management system 11 determines that the internal power source 5 charging is completed, the external power source 14 is still used to power the embedded electronic device 13. The internal power source voltage increases to a nominal state.
(13) In the event that the external power source 14 begins to decline below a monitored threshold voltage, the external power under voltage detect circuit 3 causes the microprocessor 20 to wake up. The external power under voltage engages opening the external power source switch 1 to protect the external power source 14. The power path control circuitry automatically begins drawing power from the internal power source 5 instead of the external power source 14. The power path control circuitry draws power from the internal power source 5 to provide uninterrupted power for embedded electronic device 13 operation. Having switched to the internal power source 5, the embedded electronic device 13 begins executing its reduced functionality operation to conserve power. The microprocessor 20 is configured to wake up upon being signaled by the external power voltage monitoring circuit 9 when the voltage of the external power source 14 raises back into a nominal range (i.e. 12-14 volts in a 12 volt system).
(14) In the event that the external power source 14 is still not available and the internal power source 5 reaches a low power level, the internal power sense circuit 8 determines that the voltage is under a set threshold value. As the internal power source continues to decline, the power management system 11 enters shutdown mode, attempting to reduce to a bare minimum its power draw on the internal power source 5 awaiting for the external power source 14 to be restored to a level within the nominal range.
(15) In the event that the internal power source 5 reaches an under-voltage condition and the external power is still locked out the internal power under-voltage lockout automatically engages opening the internal power source switch to protect the internal power source. At this point the embedded electronic device 13 is no longer powered and the embedded electronic device 13 does not operate.
(16) Below is a table that illustrates how the embedded electronic device 13 operates through various states charge for the external power source 14 and the internal power source 5.
(17) TABLE-US-00001 Internal Power State Nominal Below Low Level 1 HW Undervoltage External HW Automatically switch to Internal Disengage manual switch to device is unpowered Power Overvoltage Power by autonomous Ext. External Power, although state Power HW Undervoltage automatically will still be using protection Internal Power Disengage manual switch to Configure External Power External Power, although voltage monitors to wake-up automatically will still be using device if it recovers. Internal Power Engage manual disconnect of Configure External Power Internal Power. voltage monitors to wake-up Enter Shutdown mode device if it recovers. Reduced device functionality. Disable charging. Nominal Use External Power Use External Power Use External Power Normal behavior Normal behavior Normal behavior Top-off charging Regular charging Regular charging Configure External Power Configure External Power Configure External Power voltage monitors to wake-up voltage monitors to wake-up voltage monitors to wake-up device if it goes above or device if it goes above or device if it goes above or below given thresholds. below given thresholds. below given thresholds. Below Low Wait 15 minutes before Wait 15 minutes before Wait 15 minutes before Level 1 engaging manual switch to engaging manual switch to engaging manual switch to Internal Power through Internal Power through Internal Power through opening External Power switch opening External Power switch opening External Power switch Initially, normal behavior Initially, normal behavior Initially, normal behavior Initially, regular charging Initially, regular charging Initially, regular charging After switching to Internal After switching to Internal After switching to Internal Power, execute reduced power Power, execute reduced power Power, execute reduced power behavior behavior behavior After switching to Internal After switching to Internal After switching to Internal Power, disable charging Power, disable charging Power, disable charging Configure External Power Configure External Power Configure External Power voltage monitors to wake-up voltage monitors to wake-up voltage monitors to wake-up device if it goes above or device if it goes above or device if it goes above or below given thresholds. below given thresholds. below given thresholds. Configure External Power Configure External Power Configure External Power voltage monitors to wake-up voltage monitors to wake-up voltage monitors to wake-up device if it recovers. device of it recovers. device of it recovers. Below Low Wait 3 minutes before Wait 1 minute before engaging Wait 1 minute before engaging Level n engaging manual switch to manual switch to Internal shutting down device. Internal Power through Power through opening Initially, normal switch opening External Power switch External Power switch Initially, regular charging Initially, normal behavior Initially, normal behavior After time is up, disengage Initially, regular charging Initially, regular charging manual switch to External After switching to Internal After switching to Internal Power, although automatically Power, execute reduced power Power, execute reduced power will still be using Internal behavior behavior Power After switching to Internal After switching to Internal After time is up, configure Power, disable charging Power, disable charging External Power voltage Configure External Configure External monitors to wake-up device if it Power voltage monitors Power voltage monitors recovers to wake-up device if it to wake-up device if it After time is up, enter goes above of below goes above of below Shutdown mode given thresholds. given thresholds. Configure External Power Configure External Power Configure External Power voltage monitors to wake-up voltage monitors to wake-up voltage monitors to wake-up device if it goes above or device if it recovers. device if it recovers. below given thresholds. Configure External Power voltage monitors to wake-up device if it recovers. HW Automatically switch to Internal Disengage manual switch to device is unpowered Undervoltage Power by autonomous Ext. External Power, although Power HW Undervoltage automatically will still be using protection Internal Power Engage manual switch to Configure External Power Internal Power through voltage monitors to wake-up opening External Power switch device if it recovers. Configure External Power Engage manual disconnect of voltage monitors to wake-up Internal Power. device if it recovers. Enter Shutdown mode Execute reduced device functionality. Disable charging.
(18) The table below provides sample scenarios when the external power source 14 and the internal power source 5 are at various states of charge/discharge requiring the system to take certain actions for the embedded electronic device 13.
(19) TABLE-US-00002 Condition Device's reaction Device's reaction experienced on External power on Internal Power Device's functional by device control control behavior Device is initially External power source Internal Power source Device is not operating. not connected to an switch is closed, awaiting is depleted, awaiting External power for External power to be for External power to source connected. be available to begin charging. The device is External power source is External power source Device begins normal connected to External used to power the is used to charge the functional operation. power within the device. Internal Power source. Device operates NOMINAL range. The device is configured Device manually normally, to wake-up upon being closes the Internal sometimes actively, and signaled by the External Power source switch other times entering a power voltage to make it available to reduced power mode monitoring circuits when the device in case (sleep). it drops under a External power source threshold. fails. Internal Power No change. Internal Power source Device operates normally, source charging voltage increases to a sometimes actively, and completes cycle. NOMINAL state. other times entering a reduced power mode (sleep). Over time, the External External power The Power Path Having switched to power source begins to Undervoltage Lockout control circuitry Internal Power, device decline below a automatically engages automatically begins begins executing its monitored threshold, and opening the External drawing power from reduced functionality the device wakes up. power source switch to Internal Power operation. protect the External source, providing power source. uninterrupted power The Power Path control for device operation. circuitry automatically begins drawing power from Internal Power source. The device is configured to wake-up upon being signaled by the External power voltage monitoring circuits when it raises back into a NOMINAL range. Reduced External power is still Internal Power functionality locked out. source begins to operation decline. continues. The Internal Power External power is still Internal Power Device enters Shutdown reaches a low level. locked out. source mode, attempting to Device's software continues to reduce to bare minimum senses it is under a decline. its power draw on the Software threshold. Internal Power, awaiting for External power to be restored to a level within the NOMINAL range. The Internal Power External power is still Internal Power Device is reaches an undervoltage locked out. Undervoltage Lockout unpowered. Device condition. automatically engages does not operate. opening the Internal Power source switch to protect the Internal Power source.
(20)
(21) TABLE-US-00003 External Power State for 12 volt Systems External Power State Power Source Is External Power (12 V) (12 V) Useable? OV Internal No Present External Yes Low Internal/External Yes Weak Internal No Lost Internal No
(22) TABLE-US-00004 External Power State for 24 volt Systems External Power State Power Source Is External Power (24 V) (24 V) Useable? OV Internal No Present External Yes Low Internal/External Yes Weak Internal/External Yes Lost Internal No
(23) To confirm the new external power state, the system 11 must verify that the new external power state of the external power source 14 remains for a specific amount of time based on the new external power state that was detected, as illustrated in
(24) At this point, the system 10 is able to go to sleep to conserve energy if needed. During this condition, a 15 minute timer is set to allow the external power state determination to run. Once the external power voltage is less than the configured threshold it must remain lower than that threshold for a specific amount of time before the lower external power state is confirmed. At this moment, the low battery condition is true and the appropriate power source switch is executed.
(25) The system can be in the form of a vehicle monitoring device that is adapted to receive signals and power from an on-board diagnostics port of a vehicle, such as an OBD II port that provides data signals from the vehicle computer. The vehicle monitoring device includes a microprocessor 20 adapted to receive signals from the vehicle. The system 11 includes an internal power source 5 that can be used to power the microprocessor 20. The system 20 also includes a charging system 13 configured to charge the internal power source 5 by using power from the vehicle. The microprocessor 20 is configured to determine whether the device 13 is or is not connected to the power source from the vehicle, if the microprocessor 20 does not detect power from the vehicle and the internal power source 5 is depleted, the microprocessor 20 waits for the power from the vehicle to be available before charging the internal power source 5 and powering the device 13. If the microprocessor 20 detects power from the vehicle and the power from the vehicle is within a threshold voltage, the microprocessor 20 uses power from the vehicle to power the device 13 and to charge the internal power source 5. If the microprocessor 20 detects that the power from the vehicle has declined below the threshold voltage (i.e. below 12 volts, for example), the microprocessor 20 discontinues drawing power from the vehicle and begins drawing power from the internal power source 5 to provide uninterrupted power to the device 13 without depleting the power from the vehicle. If the microprocessor 20 has to draw power from the internal power source 5 to power the device 13, the device 13 begins executing a reduced functionality operation to conserve power so that there is less of a power draw on the internal power source 5. In the event that power from the vehicle is below the threshold voltage and the internal power source 5 reaches a low power level (i.e. below 12 v), the microprocessor 20 is configured to reduce the power draw on the internal power source 5 while waiting for the power from the vehicle to be restored to the threshold voltage. When the internal power source reaches an under-voltage condition and the power from the vehicle is below the threshold voltage the device 13 goes into a sleep mode to conserve the internal power source 5.
(26) Various features of the invention have been particularly shown and described in connection with the illustrative embodiment of the invention, however, it must be understood that these particular arrangements may merely illustrate, and that the invention is to be given its fullest interpretation within the terms of the appended claims.