Power supply control method and device, virtual reality device, and storage medium

CN116931706BActive Publication Date: 2026-08-18GEER TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310952805.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-07-31
Publication Date
2026-08-18
Estimated Expiration
2043-07-31

AI Technical Summary

Technical Problem

[0003]本发明的主要目的在于提供了一种供电控制方法、装置、虚拟现实设备及存储介质,旨在解决现有技术中无法在降低整机功耗的同时提高系统的稳定性的技术问题

Benefits of technology

[0034]本发明提出一种应用于虚拟现实设备的供电控制方法,所述虚拟现实设备上设置有至少一个摄像头模组,该方法监测所述摄像头模组的当前工作模式;根据所述当前工作模式确定所述摄像头模组引用的低压差稳压器的目标供电模式;将所述低压差稳压器的供电模式调整至所述目标供电模式为所述摄像头模组供电。本发明通过监测到的摄像头模组的当前工作模式确定摄像头模组引用的低压差稳压器的目标供电模式,并将低压差稳压器的供电模式调整至目标供电模式为摄像头模组供电,能够根据摄像头模组的工作模式动态调整低压差稳压器的供电模式,使得低压差稳压器的供电模式与摄像头模组的工作模式相适应,在降低整机功耗的同时提高了系统稳定性。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116931706B_ABST
    Figure CN116931706B_ABST
Patent Text Reader

Abstract

The application discloses a power supply control method and device, a virtual reality device and a storage medium, the method is applied to the virtual reality device, at least one camera module is arranged on the virtual reality device, the method monitors a current working mode of the camera module; a target power supply mode of a low dropout regulator referenced by the camera module is determined according to the current working mode; and the power supply mode of the low dropout regulator is adjusted to the target power supply mode to supply power for the camera module. The application determines the target power supply mode of the low dropout regulator referenced by the camera module according to the monitored current working mode of the camera module, adjusts the power supply mode of the low dropout regulator to the target power supply mode to supply power for the camera module, can dynamically adjust the power supply mode of the low dropout regulator according to the working mode of the camera module, makes the power supply mode of the low dropout regulator adapt to the working mode of the camera module, and reduces the whole machine power consumption while improving system stability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of virtual reality technology, and in particular to a power supply control method, device, virtual reality equipment, and storage medium. Background Technology

[0002] Currently, virtual reality (VR) devices typically have multiple camera modules, each used to perform different functions, such as see-through, eye-tracking, and depth sensing. If multiple camera modules work simultaneously, the power management integrated circuit (PMIC) needs to provide a large current, resulting in significant power consumption for the entire device. While operating the PMIC in low-power mode can reduce overall power consumption, it may not be able to meet the power requirements of the camera modules, leading to overcurrent protection (OCP) failures and system crashes. Therefore, improving system stability while reducing overall power consumption has become an urgent technical challenge. Summary of the Invention

[0003] The main objective of this invention is to provide a power supply control method, device, virtual reality equipment, and storage medium, aiming to solve the technical problem in the prior art that it is impossible to improve the stability of the system while reducing the overall power consumption.

[0004] To achieve the above objectives, the present invention provides a power supply control method applied to a virtual reality device, the virtual reality device being equipped with at least one camera module, the method comprising the following steps:

[0005] Monitor the current operating mode of the camera module;

[0006] The target power supply mode of the low-dropout regulator referenced by the camera module is determined based on the current operating mode.

[0007] Adjust the power supply mode of the low-dropout regulator to the target power supply mode to power the camera module.

[0008] Optionally, monitoring the current operating mode of the camera module includes:

[0009] The operating parameters of the low-dropout regulator provided by the power management integrated circuit are monitored by the monitoring thread.

[0010] The current operating mode of the camera module is determined based on the operating parameters.

[0011] Optionally, the operating parameters include usage count and path current;

[0012] The monitoring of the operating parameters of the low-dropout regulator provided by the power management integrated circuit through the monitoring thread includes:

[0013] The camera module monitors the reference information of the low-dropout regulator provided by the power management integrated circuit through a monitoring thread, and determines the usage count of the low-dropout regulator based on the reference information; and

[0014] The monitoring thread monitors the voltage difference in the path where the low-dropout regulator is located, and determines the path current of the low-dropout regulator based on the voltage difference.

[0015] Optionally, determining the current operating mode of the camera module based on the operating parameters includes:

[0016] If the usage count is greater than a preset count threshold and the path current is greater than a preset current threshold, the current operating mode of the camera module is determined to be a high-power consumption operating mode; and

[0017] If the usage count is less than the preset count threshold and / or the path current is less than the preset current threshold, the current operating mode of the camera module is determined to be a low-power operating mode.

[0018] Optionally, determining the target power supply mode of the low-dropout regulator referenced by the camera module based on the current operating mode includes:

[0019] When the current operating mode is a high-power consumption operating mode, the target power supply mode for the low-dropout regulator referenced by the camera module is determined to be the normal power supply mode; and

[0020] When the current operating mode is a low-power operating mode, the target power supply mode of the low-dropout regulator referenced by the camera module is determined to be a low-power power supply mode.

[0021] Optionally, adjusting the power supply mode of the low-dropout regulator to the target power supply mode to power the camera module includes:

[0022] Obtain the power supply voltage range of the low dropout voltage regulator and the required voltage range of the camera module;

[0023] The voltage adjustment range is determined based on the supply voltage range and the required voltage range;

[0024] Adjust the power supply voltage of the low dropout regulator within the voltage adjustment range, and adjust the power supply mode of the low dropout regulator to the target power supply mode to power the camera module.

[0025] Optionally, adjusting the supply voltage of the low-dropout regulator within the voltage adjustment range and adjusting the supply mode of the low-dropout regulator to the target supply mode to power the camera module includes:

[0026] Obtain the preset voltage adjustment step size;

[0027] Within the voltage adjustment range, the power supply voltage of the low dropout regulator is adjusted according to the preset voltage adjustment step size, and the power supply mode of the low dropout regulator is adjusted to the target power supply mode to power the camera module.

[0028] Furthermore, to achieve the above objectives, the present invention also proposes a power supply control device, which is installed in a virtual reality device, the virtual reality device having at least one camera module, the power supply control device comprising:

[0029] The monitoring module is used to monitor the current working mode of the camera module;

[0030] The determining module is used to determine the target power supply mode of the low-dropout regulator referenced by the camera module based on the current operating mode;

[0031] An adjustment module is used to adjust the power supply mode of the low-dropout regulator to the target power supply mode for powering the camera module.

[0032] Furthermore, to achieve the above objectives, the present invention also proposes a virtual reality device, the device comprising: a memory, a processor, and a power supply control program stored in the memory and executable on the processor, the power supply control program being configured to implement the steps of the power supply control method described above.

[0033] In addition, to achieve the above objectives, the present invention also proposes a storage medium storing a power supply control program, which, when executed by a processor, implements the steps of the power supply control method described above.

[0034] This invention proposes a power supply control method for virtual reality devices, wherein the virtual reality device is equipped with at least one camera module. The method monitors the current operating mode of the camera module; determines the target power supply mode of the low-dropout voltage regulator (LDV regulator) used by the camera module based on the current operating mode; and adjusts the power supply mode of the LTV regulator to the target power supply mode to power the camera module. This invention determines the target power supply mode of the LTV regulator used by the camera module by monitoring its current operating mode and adjusts the LTV regulator's power supply mode to the target power supply mode to power the camera module. This allows for dynamic adjustment of the LTV regulator's power supply mode according to the camera module's operating mode, ensuring that the LTV regulator's power supply mode adapts to the camera module's operating mode, thereby reducing overall power consumption and improving system stability. Attached Figure Description

[0035] Figure 1 This is a schematic diagram of the structure of a virtual reality device in the hardware operating environment involved in the embodiments of the present invention;

[0036] Figure 2 This is a flowchart illustrating the first embodiment of the power supply control method of the present invention;

[0037] Figure 3 This is a flowchart illustrating the second embodiment of the power supply control method of the present invention;

[0038] Figure 4 This is a flowchart illustrating the third embodiment of the power supply control method of the present invention;

[0039] Figure 5 This is a structural block diagram of the first embodiment of the power supply control device of the present invention.

[0040] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0041] It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of the invention.

[0042] Reference Figure 1 , Figure 1 This is a schematic diagram of the virtual reality device structure of the hardware operating environment involved in the embodiments of the present invention.

[0043] like Figure 1As shown, the virtual reality device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen or an input unit such as a keyboard; optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wireless-Fidelity (Wi-Fi) interface). The memory 1005 may be high-speed random access memory (RAM) or stable non-volatile memory (NVM), such as a disk drive. The memory 1005 may also optionally be a storage device independent of the aforementioned processor 1001.

[0044] Those skilled in the art will understand that Figure 1 The structure shown does not constitute a limitation on virtual reality devices and may include more or fewer components than illustrated, or combine certain components, or have different component arrangements.

[0045] like Figure 1 As shown, the memory 1005, which serves as a storage medium, may include an operating system, a network communication module, a user interface module, and a power supply control program.

[0046] exist Figure 1 In the virtual reality device shown, the network interface 1004 is mainly used for data communication with the network server; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 can be set in the virtual reality device. The virtual reality device calls the power supply control program stored in the memory 1005 through the processor 1001 and executes the power supply control method provided in the embodiment of the present invention.

[0047] This invention provides a power supply control method applied to a virtual reality device, wherein the virtual reality device is equipped with at least one camera module. Figure 2 , Figure 2 This is a flowchart illustrating the first embodiment of the power supply control method of the present invention.

[0048] In this embodiment, the power supply control method includes the following steps:

[0049] Step S10: Monitor the current working mode of the camera module.

[0050] It should be noted that the executing entity in this embodiment can be a computing service device with data processing, network communication, and program execution functions, or an electronic device, control device, virtual reality device, etc., capable of realizing the above functions. The following uses a virtual reality device as an example to illustrate this embodiment and the subsequent embodiments.

[0051] It is understood that the camera module can be a module set on the virtual reality device to achieve certain functions through cameras. The functions achieved by the camera module include, but are not limited to, eye tracking, depth tracking, and see-through functions. The number of camera modules is at least one, and can be determined according to the specific scenario. For example, the number of camera modules can be 6, 7, 10, or other numbers. This embodiment does not impose any restrictions here. The current working mode can be the working mode of the camera module that is turned on in the virtual reality device. The current working mode includes, but is not limited to, high power consumption mode, low power consumption mode, and normal power consumption mode.

[0052] Step S20: Determine the target power supply mode of the low dropout regulator referenced by the camera module based on the current operating mode.

[0053] It is understood that the low dropout regulator (LDO) can be a voltage regulator provided by the PMIC to power the camera module; after the camera module is turned on, the PMIC powers the operating camera module through the LDO; the low dropout regulator referenced by the camera module can be a low dropout regulator that powers the camera module; the number of low dropout regulators referenced by each camera module can be determined according to the specific scenario, and the number of regulators referenced by the camera module includes, but is not limited to, two, three or other numbers, which is not limited in this embodiment; the target power supply mode can be a power supply mode adapted to the current operating mode of the camera module, and the target power supply mode can be dynamically adjusted according to the current operating mode of the camera module.

[0054] Step S30: Adjust the power supply mode of the low dropout regulator to the target power supply mode to power the camera module.

[0055] In practice, the virtual reality device monitors the current operating mode of the activated camera module, determines the target power supply mode of the low-dropout regulator that powers the camera module based on the current operating mode, and adjusts the power supply mode of the low-dropout regulator to the target power supply mode, so as to control the low-dropout regulator to power the camera module in a target power supply mode that is compatible with the current operating mode of the camera module.

[0056] Furthermore, in order to dynamically adjust the power supply mode of the low-dropout regulator so that the power supply mode is adapted to the working mode of the camera module, step S10 includes: monitoring the working parameters of the low-dropout regulator provided by the power management integrated circuit through a monitoring thread; and determining the current working mode of the camera module based on the working parameters.

[0057] It is understandable that the monitoring thread can be a thread that monitors the operating parameters of the low-dropout regulator provided by the power management integrated circuit. The monitoring thread can be established in the kernel to monitor the operating parameters of the low-dropout regulator, including but not limited to the usage count and path current of the low-dropout regulator; the current operating mode of the camera module is determined based on the usage count and path current of the low-dropout regulator.

[0058] In practice, the usage count and path current of the low-dropout regulator provided by the power management integrated circuit are monitored by the monitoring thread. The current working mode of the camera module is determined based on the usage count and path current. The target power supply mode of the low-dropout regulator referenced by the camera module is determined based on the current working mode, and the power supply mode of the low-dropout regulator is adjusted to the target power supply mode to power the camera module.

[0059] Furthermore, to improve the accuracy of monitoring the operating parameters of the low-dropout regulator, the operating parameters include usage count and path current; the monitoring of the operating parameters of the low-dropout regulator provided by the power management integrated circuit through the monitoring thread includes: monitoring the reference information of the low-dropout regulator provided by the power management integrated circuit by the camera module through the monitoring thread, and determining the usage count of the low-dropout regulator based on the reference information; and monitoring the path voltage difference of the path where the low-dropout regulator is located through the monitoring thread, and determining the path current of the low-dropout regulator based on the path voltage difference.

[0060] It is understandable that the usage count can be the count of the low-dropout regulator referenced by the camera module; the path current can be the current in the path where the low-dropout regulator is located; the reference information can be the information of whether the low-dropout regulator is referenced or released by the camera module; determining the usage count of the low-dropout regulator based on the reference information can be based on determining whether the low-dropout regulator is referenced or released, and determining the usage count based on the information of the low-dropout regulator being referenced and released.

[0061] It should be understood that the path of the low dropout regulator is equipped with a monitoring resistor. By obtaining the voltage across the monitoring resistor, the path voltage difference of the low dropout regulator can be determined. Based on the path voltage difference and the resistance value of the monitoring resistor, the path current of the low dropout regulator can be determined.

[0062] It should be noted that when a camera module is activated, its corresponding low-dropout regulator is used, and the count is incremented by one. If the low-dropout regulator is deactivated, the count is decremented by one. Therefore, the number of camera modules activated can be determined by the usage count of the low-dropout regulator.

[0063] In practical implementation, for example, PMIC provides four LDOs: LDO1, LDO2, LDO3, and LDO4. The virtual reality device is equipped with six camera modules: Camera1, Camera2, Camera3, Camera4, Camera5, and Camera6. Camera1 corresponds to LDO1 and LDO2, Camera2 corresponds to LDO2 and LDO3, Camera3 corresponds to LDO3 and LDO4, Camera4 corresponds to LDO1 and LDO3, and Camera5 corresponds to LDO4. Camera1 corresponds to LDO4, and Camera6 corresponds to LDO3 and LDO4. During the operation of the virtual reality device, assuming that Camera1, Camera4, and Camera5 are invoked, the usage count of LDO1 monitored by the monitoring thread is 3, the usage count of LDO2 is 1, the usage count of LDO3 is 1, and the usage count of LDO4 is 1. The voltage difference of each path is obtained by setting the monitoring resistors in the paths where LDO1, LDO2, LDO3, and LDO4 are located, and the path current of the corresponding path is determined according to the voltage difference of each path and the resistance value of the corresponding monitoring resistor.

[0064] Furthermore, to improve the accuracy of power supply mode adjustment, determining the current operating mode of the camera module based on the operating parameters includes: determining the current operating mode of the camera module as a high-power-consumption operating mode when the usage count is greater than a preset count threshold and the path current is greater than a preset current threshold; and determining the current operating mode of the camera module as a low-power-consumption operating mode when the usage count is less than the preset count threshold and / or the path current is less than the preset current threshold.

[0065] It is understandable that the preset counting threshold can be a pre-set counting threshold used to determine whether the camera module is in a high power consumption working mode; the preset current threshold can be a pre-set current threshold used to determine whether the camera module is in a high power consumption working mode; a high power consumption working mode can be a working mode with high power consumption; and a low power consumption working mode can be a working mode with low power consumption.

[0066] This embodiment proposes a power supply control method for a virtual reality device. The virtual reality device is equipped with at least one camera module. The method monitors the current operating mode of the camera module; determines the target power supply mode of the low-dropout voltage regulator (LDV regulator) used by the camera module based on the current operating mode; and adjusts the power supply mode of the LTV regulator to the target power supply mode to power the camera module. This embodiment determines the target power supply mode of the LTV regulator used by the camera module by monitoring its current operating mode and adjusts the LTV regulator's power supply mode to the target power supply mode to power the camera module. This allows for dynamic adjustment of the LTV regulator's power supply mode according to the camera module's operating mode, ensuring that the LTV regulator's power supply mode adapts to the camera module's operating mode, thereby reducing overall power consumption and improving system stability.

[0067] refer to Figure 3 , Figure 3 This is a flowchart illustrating the second embodiment of the power supply control method of the present invention.

[0068] Based on the first embodiment described above, in this embodiment, step S20 includes:

[0069] Step S201: When the current working mode is a high power consumption working mode, determine that the target power supply mode of the low dropout voltage regulator referenced by the camera module is a normal power supply mode.

[0070] Understandably, a normal power supply mode can be a power supply mode that can output a higher current. If the current working mode of the camera module is a high power consumption mode, it is determined that the current demand of the camera module is high. Therefore, the target power supply mode of the corresponding low dropout regulator is determined to be the normal power supply mode to output the current that meets the needs of the camera module, thereby improving system stability. The high power consumption mode of the camera module corresponds to the normal power supply mode of the low dropout regulator.

[0071] Step S201': When the current working mode is a low power consumption working mode, determine that the target power supply mode of the low dropout regulator referenced by the camera module is a low power consumption power supply mode.

[0072] Understandably, a low-power power supply mode can be a power supply mode that can output a lower current. If the current working mode of the camera module is a low-power working mode, it is determined that the current requirement of the camera module is low. Therefore, the target power supply mode of the corresponding low-dropout regulator is determined to be a low-power power supply mode, which can reduce the power consumption of the whole machine while meeting the current requirement of the camera module. The low-power working mode of the camera module corresponds to the low-power power supply mode of the low-dropout regulator.

[0073] In this embodiment, when the current operating mode is a high-power consumption mode, the target power supply mode for the low-dropout regulator used by the camera module is determined to be the normal power supply mode; when the current operating mode is a low-power consumption mode, the target power supply mode for the low-dropout regulator used by the camera module is determined to be the low-power supply mode. This allows the low-dropout regulator to output current sufficient for the camera module's current requirements through the normal power supply mode, thereby improving system stability. Conversely, when the camera module's current requirements are low, the corresponding low-dropout regulator's power supply mode is determined to be the low-power supply mode, thereby reducing overall power consumption. This approach improves system stability while simultaneously reducing overall power consumption.

[0074] refer to Figure 4 , Figure 4 This is a flowchart illustrating the third embodiment of the power supply control method of the present invention.

[0075] Based on the above embodiments, in this embodiment, step S30 includes:

[0076] Step S301: Obtain the power supply voltage range of the low dropout regulator and the required voltage range of the camera module.

[0077] It is understandable that the power supply voltage range can be the voltage range that the low dropout regulator can output; the required voltage range can be the range of power supply voltage required by the camera module.

[0078] Step S302: Determine the voltage adjustment range based on the supply voltage range and the required voltage range.

[0079] It is understandable that the voltage adjustment range can be an area where the supply voltage range and the demand voltage range overlap.

[0080] Step S303: Adjust the power supply voltage of the low dropout regulator within the voltage adjustment range, and adjust the power supply mode of the low dropout regulator to the target power supply mode to power the camera module.

[0081] It is understandable that the power supply voltage of the low-dropout regulator is adjusted within the voltage adjustment range according to the voltage requirements of the camera module.

[0082] In practical implementation, for example: the usage count of LDOs is represented by RefCount, with a preset counting threshold of 'a'. The virtual reality device monitors the referencing and releasing status of LDOs provided by the PMIC by the camera module through a monitoring thread, and determines the usage count of each LDO based on the referencing and releasing status. It determines the path voltage difference by monitoring the voltage difference across the monitoring resistors set in the path where each LDO is located, and determines the path current based on the path voltage difference and the resistance value of the corresponding monitoring resistor. Assuming the usage count RefCount-k of LDO-k is greater than 'a', and the path current Ik is greater than the preset current threshold, then the current operating mode of the camera module is determined to be a high-power consumption operating mode. At this time, the target power supply mode of LDO-k is determined to be the normal power supply mode, and the power supply mode of LDO-k is adjusted to the normal power supply mode to increase the output current, thereby meeting the needs of the camera module. Within the voltage adjustment range, the power supply voltage is increased according to the required voltage of the camera module. If the usage count RefCount-k of LDO-k is detected... If Count-k is less than a, and / or the path current Ik is less than the preset current threshold, then the power supply mode of LDO-k will be adjusted to low power supply mode to reduce the output current, thereby reducing the overall power consumption, and the power supply voltage will be reduced within the voltage adjustment range according to the voltage requirements of the camera module.

[0083] Furthermore, in order to improve the accuracy of voltage regulation, step S303 includes: obtaining a preset voltage adjustment step size; adjusting the power supply voltage of the low dropout regulator according to the preset voltage adjustment step size within the voltage adjustment range, and adjusting the power supply mode of the low dropout regulator to the target power supply mode to power the camera module.

[0084] It is understandable that the voltage adjustment step size can be a pre-adjusted step size for adjusting the output voltage of the low-dropout regulator.

[0085] In specific implementations, for example: the voltage adjustment range is (2.75V, 3.2V), and the voltage adjustment step size is 20mV. Assuming the target power supply mode of the low-dropout regulator is the normal power supply mode, within the range of (2.75V, 3.2V), the power supply voltage of the low-dropout regulator is increased in 20mV steps according to the voltage requirement of the camera module, and the power supply mode of the low-dropout regulator is adjusted to the normal power supply mode to provide higher current to the camera module and improve system stability. Assuming the target power supply mode of the low-dropout regulator is the low-power power supply mode, within the range of (2.75V, 3.2V), the power supply voltage of the low-dropout regulator is decreased in 20mV steps according to the voltage requirement of the camera module, and the power supply mode of the low-dropout regulator is adjusted to the low-power power supply mode to reduce the overall power consumption. The voltage adjustment range and voltage adjustment step size can be set to other values ​​according to the specific scenario, and this embodiment does not impose any restrictions.

[0086] This embodiment obtains the supply voltage range of the low-dropout regulator and the required voltage range of the camera module; determines a voltage adjustment range based on the supply voltage range and the required voltage range; adjusts the supply voltage of the low-dropout regulator within the voltage adjustment range, and adjusts the power supply mode of the low-dropout regulator to the target power supply mode to power the camera module. This embodiment adjusts the supply voltage of the low-dropout regulator within the voltage adjustment range determined by the supply voltage range and the required voltage range, and adjusts the power supply mode of the low-dropout regulator to the target power supply mode to power the camera module. This allows for dynamic adjustment of the supply voltage and power supply mode of the low-dropout regulator, improving system stability while reducing overall power consumption.

[0087] Furthermore, embodiments of the present invention also propose a storage medium storing a power supply control program, which, when executed by a processor, implements the steps of the power supply control method described above.

[0088] Reference Figure 5 , Figure 5 This is a structural block diagram of a first embodiment of the power supply control device of the present invention. The device is installed in a virtual reality device, and the virtual reality device is provided with at least one camera module.

[0089] like Figure 5 As shown, the power supply control device proposed in this embodiment of the invention includes:

[0090] Monitoring module 10 is used to monitor the current working mode of the camera module;

[0091] The determining module 20 is used to determine the target power supply mode of the low-dropout regulator referenced by the camera module based on the current operating mode;

[0092] The adjustment module 30 is used to adjust the power supply mode of the low-dropout regulator to the target power supply mode for powering the camera module.

[0093] This embodiment proposes a power supply control device for a virtual reality device, wherein the virtual reality device is equipped with at least one camera module. The device monitors the current operating mode of the camera module; determines the target power supply mode of the low-dropout voltage regulator used by the camera module based on the current operating mode; and adjusts the power supply mode of the low-dropout voltage regulator to the target power supply mode to power the camera module. This embodiment determines the target power supply mode of the low-dropout voltage regulator used by the camera module by monitoring its current operating mode, and adjusts the power supply mode of the low-dropout voltage regulator to the target power supply mode to power the camera module. This allows for dynamic adjustment of the low-dropout voltage regulator's power supply mode according to the camera module's operating mode, ensuring that the low-dropout voltage regulator's power supply mode adapts to the camera module's operating mode, thereby reducing overall power consumption and improving system stability.

[0094] Based on the first embodiment of the power supply control device of the present invention described above, a second embodiment of the power supply control device of the present invention is proposed.

[0095] In this embodiment, the monitoring module 10 is further configured to monitor the operating parameters of the low-dropout regulator provided by the power management integrated circuit through a monitoring thread; and determine the current operating mode of the camera module based on the operating parameters.

[0096] The monitoring module 10 is further configured to monitor the reference information of the low-dropout regulator provided by the power management integrated circuit by the camera module through the monitoring thread, and determine the usage count of the low-dropout regulator based on the reference information; and monitor the path voltage difference of the path where the low-dropout regulator is located through the monitoring thread, and determine the path current of the low-dropout regulator based on the path voltage difference, wherein the operating parameters include usage count and path current.

[0097] The monitoring module 10 is further configured to determine that the current operating mode of the camera module is a high-power-consumption operating mode when the usage count is greater than a preset count threshold and the path current is greater than a preset current threshold; and to determine that the current operating mode of the camera module is a low-power-consumption operating mode when the usage count is less than the preset count threshold and / or the path current is less than the preset current threshold.

[0098] The determining module 20 is further configured to determine, when the current operating mode is a high-power operating mode, the target power supply mode of the low-dropout regulator referenced by the camera module is a normal power supply mode; and when the current operating mode is a low-power operating mode, the target power supply mode of the low-dropout regulator referenced by the camera module is a low-power power supply mode.

[0099] The adjustment module 30 is further configured to obtain the power supply voltage range of the low-dropout regulator and the required voltage range of the camera module; determine the voltage adjustment range based on the power supply voltage range and the required voltage range; adjust the power supply voltage of the low-dropout regulator within the voltage adjustment range; and adjust the power supply mode of the low-dropout regulator to the target power supply mode to power the camera module.

[0100] The adjustment module 30 is also used to obtain a preset voltage adjustment step size; adjust the power supply voltage of the low dropout regulator according to the preset voltage adjustment step size within the voltage adjustment range, and adjust the power supply mode of the low dropout regulator to the target power supply mode to power the camera module.

[0101] Other embodiments or specific implementations of the power supply control device of the present invention can be referred to the above-described method embodiments, and will not be repeated here.

[0102] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.

[0103] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0104] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as read-only memory / random access memory, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of the present invention.

[0105] The above are merely preferred embodiments of the present invention and do not limit the scope of the patent. Any equivalent structural or procedural transformations made based on the description and drawings of the present invention, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of the present invention.

Claims

1. A power supply control method, characterized in that, The power supply control method is applied to a virtual reality device, which is equipped with at least one camera module. The power supply control method includes: Monitor the current operating mode of the camera module; The target power supply mode of the low-dropout regulator referenced by the camera module is determined based on the current operating mode. Adjust the power supply mode of the low-dropout regulator to the target power supply mode to power the camera module; The monitoring of the current operating mode of the camera module includes: The operating parameters of the low-dropout regulator provided by the power management integrated circuit are monitored by the monitoring thread. The current operating mode of the camera module is determined based on the operating parameters; The operating parameters include usage count and path current; The monitoring of the operating parameters of the low-dropout regulator provided by the power management integrated circuit through the monitoring thread includes: The camera module monitors the reference information of the low-dropout regulator provided by the power management integrated circuit through a monitoring thread, and determines the usage count of the low-dropout regulator based on the reference information; and The monitoring thread monitors the voltage difference in the path where the low-dropout regulator is located, and determines the path current of the low-dropout regulator based on the voltage difference. Determining the current operating mode of the camera module based on the operating parameters includes: If the usage count is greater than a preset count threshold and the path current is greater than a preset current threshold, the current operating mode of the camera module is determined to be a high-power consumption operating mode; and If the usage count is less than the preset count threshold and / or the path current is less than the preset current threshold, the current operating mode of the camera module is determined to be a low-power operating mode.

2. The method as described in claim 1, characterized in that, Determining the target power supply mode of the low-dropout regulator referenced by the camera module based on the current operating mode includes: When the current operating mode is a high-power consumption operating mode, the target power supply mode for the low-dropout regulator referenced by the camera module is determined to be the normal power supply mode; and When the current operating mode is a low-power operating mode, the target power supply mode of the low-dropout regulator referenced by the camera module is determined to be a low-power power supply mode.

3. The method as described in claim 1, characterized in that, The step of adjusting the power supply mode of the low-dropout regulator to the target power supply mode to power the camera module includes: Obtain the power supply voltage range of the low dropout voltage regulator and the required voltage range of the camera module; The voltage adjustment range is determined based on the supply voltage range and the required voltage range; Adjust the power supply voltage of the low dropout regulator within the voltage adjustment range, and adjust the power supply mode of the low dropout regulator to the target power supply mode to power the camera module.

4. The method as described in claim 3, characterized in that, The step of adjusting the supply voltage of the low-dropout regulator within the voltage adjustment range and adjusting the supply mode of the low-dropout regulator to the target supply mode to power the camera module includes: Obtain the preset voltage adjustment step size; Within the voltage adjustment range, the power supply voltage of the low dropout regulator is adjusted according to the preset voltage adjustment step size, and the power supply mode of the low dropout regulator is adjusted to the target power supply mode to power the camera module.

5. A power supply control device, characterized in that, The device is installed in a virtual reality device, which has at least one camera module. The power supply control device includes: The monitoring module is used to monitor the current working mode of the camera module; The determining module is used to determine the target power supply mode of the low-dropout regulator referenced by the camera module based on the current operating mode; The adjustment module is used to adjust the power supply mode of the low-dropout regulator to the target power supply mode to power the camera module; The monitoring module is also used to monitor the operating parameters of the low-dropout regulator provided by the power management integrated circuit through a monitoring thread; and to determine the current operating mode of the camera module based on the operating parameters. The monitoring module is also used to monitor the reference information of the low-dropout regulator provided by the power management integrated circuit by the camera module through the monitoring thread, and determine the usage count of the low-dropout regulator based on the reference information; and to monitor the path voltage difference of the path where the low-dropout regulator is located through the monitoring thread, and determine the path current of the low-dropout regulator based on the path voltage difference, wherein the operating parameters include usage count and path current; The monitoring module is further configured to determine that the current operating mode of the camera module is a high-power-consumption operating mode when the usage count is greater than a preset count threshold and the path current is greater than a preset current threshold; and to determine that the current operating mode of the camera module is a low-power-consumption operating mode when the usage count is less than the preset count threshold and / or the path current is less than the preset current threshold.

6. A virtual reality device, characterized in that, The device includes: a memory, a processor, and a power control program stored in the memory and executable on the processor, the power control program being configured to implement the steps of the power control method as described in any one of claims 1 to 4.

7. A storage medium, characterized in that, The storage medium stores a power supply control program, which, when executed by a processor, implements the steps of the power supply control method as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Method and apparatus for supplying power for display apparatus

    CN102426820A

  • Camera power supply method and device, electronic equipment and storage medium

    CN111585319A