This application claims priority of Taiwanese Patent Application No. 105133151, filed on Oct. 14, 2016.
The disclosure relates to power management method and device, particularly to power management method and device for a vehicle.
A conventional electrical system of a vehicle may include a wireless communication unit that is capable of wireless communication with a user's portable electronic device based on Bluetooth® protocol. Therefore, the user can access other electrical devices of the vehicle (e.g., an audio player, a speaker, etc.) via a wireless connection between the wireless communication unit and the portable electronic device, for example, for playing music files stored in the portable electronic device or for answering a phone call. However, when a main switch of the vehicle is switched to a non-conductive state, the electrical supply from a battery of the vehicle to the wireless communication unit is cut off, and accordingly, the wireless communication unit is unable to establish or maintain the wireless connection with the portable electronic device.
Therefore, an object of the disclosure is to provide a power management method that can alleviate the drawback of the prior art.
According to the disclosure, a power management method for a vehicle is provided. The vehicle includes an electrical system, a processor electrically connected to the electrical system, and a wireless communication module electrically connected to the processor. The electrical system includes a power switch and a battery. The power management method is to be implemented by the processor, and includes:
Another object of the disclosure is to provide a power management device that can alleviate at least one of the drawbacks of the prior art.
According to the disclosure, a power management device for a vehicle includes an electrical system and a processor. The vehicle includes a wireless communication module.
The electrical system includes a power switch operable to switch between a conductive state and a non-conductive state, and a battery electrically connected to the power switch.
The processor is electrically connected to the electrical system, is configured to be electrically connected to the wireless communication module, and is programmed to:
Other features and advantages of the disclosure will become apparent in the following detailed description of the embodiments with reference to the accompanying drawings, of which:
Referring to
The vehicle 1 includes a vehicle body 10, and the power management device 2 is disposed in the vehicle body 10. The power management device 2 includes an electrical system 20, a processor 21, a wireless communication module 22 and a storage module 23.
The electrical system 20 includes a power switch 201 (i.e., a main switch of the vehicle 1), and a battery 202 electrically connected to the power switch 201. The power switch 201 has a key hole 2010 that is paired with a key 2011, and is operable to switch between a conductive state (see the upper part of
The processor 21 is electrically connected to the electrical system 20. The wireless communication module 22 is electrically connected to the processor 21, and is capable of establishing a wireless connection with a portable electronic device 3. The storage module 23 is electrically connected to the processor 21, and stores firmware causing the processor 21 to implement a power management method when executed by the processor 21. In the embodiment, the wireless communication module 22 is a Bluetooth® device, and the storage module 23 may be a read-only memory, a flash memory or a solid state drive.
The portable electronic device 3 may be a smart phone or a tablet, and includes a mobile processor 31, a storage unit 32, a wireless communication element 33, a display unit 34 and an input unit 35. The wireless communication element 33 is compatible with the wireless communication module 22 and is used to establish the wireless connection with the wireless communication module 22. In the embodiment, the wireless communication element 33 is a Bluetooth® device.
Referring to
In step S51, the processor 21 determines whether the power switch 201 is switched from the conductive state to the non-conductive state. It should be noted that the determination made in step S51 may be implemented by known approaches. For example, the processor 21 may detect any change in an electric current between the electrical system 20 and an engine (not shown in the Figures) of the vehicle 1. When it is determined that the power switch 201 is not switched from the conductive state to the non-conductive state, step S51 is repeated. Otherwise, the flow will proceed to step S52.
Upon the power switch 201 being switched from the conductive state to the non-conductive state, in step S52, the processor 21 controls the electrical system 20 to temporarily supply the wireless communication module 22 with electric power from the battery 202, so that the wireless communication module 22 is in a standby state and is capable of establishing or maintaining the wireless connection with the portable electronic device 3. Specifically, when the power switch 201 is switched to the non-conductive state, the battery 202 of the electrical system 20 does not supply electric power to most components of the vehicle 1 (e.g., a stereo system and headlights that are not shown in the Figures), except the processor 21, which implements the power management method to selectively control supply of electric power to the wireless communication module 22, as will become apparent after the method has been fully described. As a result of the processor 21 controlling the supply of electric power to the wireless communication module 22, even when the user parks the vehicle 1 and switches the power switch 201 to the non-conductive state, for at least a period of time, the user can still operate the portable electronic device 3 to establish the wireless connection with the wireless communication module 22. For example, when the power switch 201 is in the non-conductive state, the wireless communication module 22 may continuously detect a wireless signal transmitted by the portable electronic device 3 that is paired with the wireless communication module 22 in advance. Upon detecting the wireless signal transmitted by the portable electronic device 3 (i.e., the portable electronic device 3 is nearby the vehicle 1), the processor 21 may control, for example, turn-signal lights (not shown in the Figures) to emit a flashing light as an indication of a position of the vehicle 1 for the approaching user.
Moreover, upon the power switch 201 being switched to the non-conductive state, the processor 21 further activates a timer 213 to start timing and controls the wireless communication module 22 to transmit a key-off signal to the portable electronic device 3. Upon receiving the key-off signal, the portable electronic device 3 displays on the display unit 34 a timing interface showing a timing result of the timer 213 according to the key-off signal. In this embodiment, the processor 21 activates the timer 213 to count down a predetermined duration, and the timing interface indicates countdown of the predetermined duration. The predetermined duration is a duration for which the wireless communication module 22 is to remain in the standby state. The user of the portable electronic device 3 can know the remaining time the wireless communication module 22 will be in the standby state from the timing interface shown on the display unit 34. For example, the predetermined duration is forty-eight hours and can be modified by the user using an application software (APP) 321 stored in the storage unit 32 (e.g., a solid-state drive) of the portable electronic device 3 when the wireless connection is established. Also, in the case that the portable electronic device 3 is implemented as a smart phone or a tablet, the display unit 34 and the input unit 35 may be integrated as a touch screen, and the user can modify the predetermined duration by operating the application software 321 on the touch screen.
In step S53, the processor 21 determines whether the timer 213 has counted down to zero. In other words, essentially, the processor 21 determines whether a period of electric power supply to the wireless communication module 22 after the power switch 201 is switched to the non-conductive state (i.e., an elapsed time after the timer 213 starts timing, also referred to as a supply duration) has reached the predetermined duration according to the timer 213. The flow goes to step S54 when it is determined that the timer 213 has counted down to zero (i.e., that the supply duration has reached the predetermined duration), and goes to step S55 when otherwise.
In step S54, the processor 21 controls the electrical system 20 to stop supplying electric power to the wireless communication module 22. The processor 21 may subsequently shut down supply of electric power from the battery 202 thereto. Accordingly, after step S54, the battery 202 outputs no electric power until the power switch 201 is switched to the conductive state, and the method is terminated.
In step S55, the processor 21 further determines whether the power switch 201 is switched from the non-conductive state to the conductive state. When it is determined that the power switch 201 is not switched from the non-conductive state to the conductive state, the flow will go back to step S53 and the wireless communication module 22 remains in the standby state; the flow will proceed to step S56 when otherwise.
In step S56, the processor 21 controls the timer 213 to stop timing the predetermined duration and resets the timer 213, and then, the method is terminated. It should be noted that, since the power switch 201 is switched from the non-conductive state to the conductive state as determined in step S55, the vehicle 1 is activated now, and the processor 21 will implement the power management method again by starting step S51.
In summary, the power management device 2 allows the wireless communication module 22 to keep working for the predetermined duration upon the vehicle 1 being inactivated (i.e., the power switch 201 being switched from the conductive state to the non-conductive state). During the predetermined duration, the wireless communication module 22 can not only establish the wireless connection with the portable electronic device 3, but also perform specific functions (e.g., controlling the turn-signal lights to emit the flashing light as an indication upon detecting the wireless signal from the portable electronic device 3). After the predetermined duration has elapsed, the electrical power supply from the battery 202 to the wireless communication module 22 will be cut off, so that the battery 202 is prevented from depletion. By this way, in comparison with a design to always supply electric power from the battery 202 to the wireless communication module 22 when the power switch 201 is in the non-conductive state, the wireless communication module 22 can still function for the predetermined duration after the engine of the vehicle 1 is turned off and the battery 202 will not be depleted even if the engine is turned off for a long time. For example, when the user is going to take an airplane to go abroad for a week and parks the vehicle 1 at a parking lot of an airport, the wireless communication module 22 keeps working for, and only for, the predetermined duration (e.g., 48 hours) after the power switch 201 is turned to the non-conductive state, and then the battery 202 stops supplying electric power after the predetermined duration has elapsed. Therefore, when the user comes back to the parking lot and switches the power switch 201 to the conductive state, the battery 202 will still have enough electrical power to turn on the engine and to activate the vehicle 1.
Furthermore, the wireless communication module 22 can transmit the key-off signal to make the portable electronic device 3 display the timing interface on the display unit 34 to show the remaining time before the predetermined duration ends. Accordingly, the user can know whether the wireless communication module 22 is still functional with the portable electronic device 3.
In the description above, for the purposes of explanation, numerous specific details have been set forth in order to provide a thorough understanding of the embodiments. It will be apparent, however, to one skilled in the art, that one or more other embodiments may be practiced without some of these specific details. It should also be appreciated that reference throughout this specification to “one embodiment,” “an embodiment,” an embodiment with an indication of an ordinal number and so forth means that a particular feature, structure, or characteristic may be included in the practice of the disclosure. It should be further appreciated that in the description, various features are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of various inventive aspects.
While the disclosure has been described in connection with what are considered the exemplary embodiments, it is understood that this disclosure is not limited to the disclosed embodiments but is intended to cover various arrangements included within the spirit and scope of the broadest interpretation so as to encompass all such modifications and equivalent arrangements.
Number | Date | Country | Kind |
---|---|---|---|
105133151 | Oct 2016 | TW | national |