Adaptive power control method and related apparatus
Patent Information
- Application Number
- CN202411331625.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-24
- Publication Date
- 2026-10-27
- Estimated Expiration
- 2044-09-24
AI Technical Summary
[0003]然而,现有技术中市场流通的电源适配器有多种型号规格,例如5V/1A、5V/2A、9V/2A、12V/1A等,这些型号中的数字和字母分别表示该电源适配器可以将市电的交流电(例如220V\50HZ的交流电)转换为对应的直流电压值以及允许输出最大的电流值,这也就意味着这些电源适配器所输出的功率是有限的,当电源适配器给所需功率更大的音频播放设备供电时,其可能会导致电源适配器超功率危险运行,或直接导致音频播放设备对应的功能因功率不足达不到预设效果
[0050]本申请应用于音频播放设备的自适应功率控制方法,先确定音频播放设备的电源适配器输出的当前电压值;再依据当前电压值以及音频播放设备的当前音量档位对应的额定电流值,确定音频播放设备的当前最佳输出功率,其中当前最佳输出功率等于当前电压值乘以额定电流值;判断当前最佳输出功率是否大于音频播放设备的电源适配器能够提供的最大供电功率;若当前最佳输出功率大于音频播放设备的电源适配器能够提供的最大供电功率,则将音频播放设备的当前音量档位调整降低一档,再触发执行确定音频播放设备的电源适配器输出的当前电压值的步骤,进而实现音频播放设备在输出当前最佳输出功率时对不同的电源适配器的自适应功率逐级匹配调整,直到音频播放设备对应音量档位输出当前最佳输出功率与电源适配器能够提供的功率匹配,确保音频播放设备不在达不到功率播放要求的音量档位过久播放,并且确保电源适配器不会过久在超功率过载情况下的过久使用,确保音频播放设备以及电源适配器的使用安全;若当前最佳输出功率小于或等于音频播放设备的电源适配器能够提供的供电功率,则可以忽略,表明此时音频播放设备以及电源适配器的使用安全。
Smart Images

Figure CN119311073B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of power control technology, and in particular relates to an adaptive power control method and related apparatus. Background Technology
[0002] With the development of electronic technology, various electronic devices have been created to meet different user needs. Among them, speakers, as audio playback devices, are widely used in home theaters, shopping mall promotions, conference presentations, and other scenarios. Audio playback devices typically require a power adapter to provide suitable power, converting AC mains power into DC power suitable for the device's operation. Furthermore, to be compatible with various power adapters available on the market, audio playback devices are designed to be compatible with a wide range of power adapter models and specifications.
[0003] However, existing power adapters on the market come in various models and specifications, such as 5V / 1A, 5V / 2A, 9V / 2A, and 12V / 1A. The numbers and letters in these models indicate that the power adapter can convert AC mains power (e.g., 220V / 50HZ AC) into the corresponding DC voltage value and the maximum allowable output current value. This means that the power output of these power adapters is limited. When the power adapter supplies power to audio playback devices that require higher power, it may cause the power adapter to operate dangerously beyond its power limit, or directly cause the corresponding functions of the audio playback device to fail to achieve the preset effect due to insufficient power. Summary of the Invention
[0004] The purpose of this application is to provide an adaptive power control method and related apparatus to enable audio playback devices to adaptively match and adjust the power of different power adapters, thereby ensuring the safe use of audio playback devices and power adapters.
[0005] In a first aspect, this application provides an adaptive power control method applied to an audio playback device, comprising:
[0006] Determine the current voltage value output by the power adapter of the audio playback device;
[0007] Based on the current voltage value and the rated current value corresponding to the current volume level of the audio playback device, the current optimal output power of the audio playback device is determined, and the current optimal output power is equal to the current voltage value multiplied by the rated current value;
[0008] Determine whether the current optimal output power is greater than the maximum power supply that the power adapter of the audio playback device can provide;
[0009] If the current optimal output power is greater than the maximum power supply that the power adapter of the audio playback device can provide, then the current volume level of the audio playback device is adjusted down by one level, triggering the step of determining the current voltage value output by the power adapter of the audio playback device.
[0010] If the current optimal output power is less than or equal to the power supply that the power adapter of the audio playback device can provide, then ignore it.
[0011] Optionally, determining the current voltage value output by the power adapter of the audio playback device includes:
[0012] Read the charging protocol of the power adapter of the audio playback device;
[0013] The current voltage value output by the power adapter of the audio playback device is determined from the charging protocol.
[0014] Optionally, before determining whether the current optimal output power is greater than the maximum power supply that the power adapter of the audio playback device can provide, the method further includes:
[0015] Calculate the maximum power supply of the power adapter of the audio playback device, wherein the maximum power supply is equal to the current voltage value multiplied by the maximum current value allowed to be output under the current voltage value as specified by the charging protocol.
[0016] Optionally, the audio playback device pre-stores the rated current values corresponding to different power supply voltage values when different volume levels are to achieve the best playback effect, and the current voltage value is one of the power supply voltage values.
[0017] Optionally, before lowering the current volume level of the audio playback device by one level after the current optimal output power exceeds the maximum power supply provided by the power adapter of the audio playback device, the method further includes:
[0018] Determine if there are any unnecessary functions that can be turned off. The unnecessary functions include one or more of the following: ambient lighting function, hotspot function, and screen display function.
[0019] If there are any unnecessary functions that can be turned off, the unnecessary functions will be turned off, triggering the step of determining the current voltage value output by the power adapter of the audio playback device;
[0020] If there are no non-essential functions that can be turned off, then the step of lowering the current volume level of the audio playback device by one level is triggered.
[0021] Optionally, determining the current voltage value output by the power adapter of the audio playback device includes:
[0022] When the audio playback device is in audio playback mode, determine the current voltage value output by the power adapter of the audio playback device.
[0023] Secondly, this application provides an adaptive power control system applied to an audio playback device, comprising:
[0024] A determining unit is used to determine the current voltage value output by the power adapter of the audio playback device;
[0025] The determining unit is further configured to determine the current optimal output power of the audio playback device based on the current voltage value and the rated current value corresponding to the current volume level of the audio playback device, wherein the current optimal output power is equal to the current voltage value multiplied by the rated current value.
[0026] The judgment unit is used to determine whether the current optimal output power is greater than the maximum power supply that the power adapter of the audio playback device can provide;
[0027] The adjustment unit is used to adjust the current volume level of the audio playback device down by one level when the current optimal output power is greater than the maximum power supply that the power adapter of the audio playback device can provide.
[0028] A triggering unit is used to trigger the execution of the step of determining the current voltage value output by the power adapter of the audio playback device;
[0029] The ignore unit is used to ignore the current optimal output power if it is less than or equal to the power supply that the power adapter of the audio playback device can provide.
[0030] Optionally, when the determining unit determines the current voltage value output by the power adapter of the audio playback device, it is specifically used for:
[0031] Read the charging protocol of the power adapter of the audio playback device;
[0032] The current voltage value output by the power adapter of the audio playback device is determined from the charging protocol.
[0033] Optionally, the system further includes:
[0034] A calculation unit is used to calculate the maximum power supply of the power adapter of the audio playback device, wherein the maximum power supply is equal to the current voltage value multiplied by the maximum current value allowed to be output under the current voltage value as specified by the charging protocol.
[0035] Optionally, the audio playback device pre-stores the rated current values corresponding to different power supply voltage values when different volume levels are to achieve the best playback effect, and the current voltage value is one of the power supply voltage values.
[0036] Optionally, the system further includes:
[0037] The judgment unit is also used to determine whether there are any unnecessary functions that can be turned off. The unnecessary functions include one or more of the following: ambient light function, hotspot function, and screen display function.
[0038] The shutdown unit is used to shut down the unnecessary function if there is one that can be shut down, and to trigger the step of determining the current voltage value output by the power adapter of the audio playback device.
[0039] The triggering unit is used to trigger the execution of the step of lowering the current volume level of the audio playback device by one level if there is no unnecessary function that can be turned off.
[0040] Optionally, when the determining unit determines the current voltage value output by the power adapter of the audio playback device, it is specifically used for:
[0041] When the audio playback device is in audio playback mode, determine the current voltage value output by the power adapter of the audio playback device.
[0042] Thirdly, this application provides a computer device, comprising:
[0043] Processor, memory, bus, input / output interfaces, network interfaces;
[0044] The processor is connected to the memory, the input / output interface, and the network interface via a bus;
[0045] The memory stores a program;
[0046] When the processor executes the program stored in the memory, it implements the adaptive power control method described in any one of the first aspects above.
[0047] Fourthly, this application provides a computer-readable storage medium storing instructions that, when executed on a computer, cause the computer to perform the adaptive power control method as described in any of the first aspects above.
[0048] Fifthly, this application provides a computer program product that, when executed on a computer, causes the computer to perform the adaptive power control method as described in any of the first aspects above.
[0049] As can be seen from the above technical solutions, the embodiments of this application have the following advantages:
[0050] This application applies to an adaptive power control method for audio playback devices. First, the current voltage value output by the power adapter of the audio playback device is determined. Then, based on the current voltage value and the rated current value corresponding to the current volume level of the audio playback device, the current optimal output power of the audio playback device is determined, where the current optimal output power equals the current voltage value multiplied by the rated current value. Next, it is determined whether the current optimal output power is greater than the maximum power supply that the power adapter of the audio playback device can provide. If the current optimal output power is greater than the maximum power supply that the power adapter of the audio playback device can provide, the current volume level of the audio playback device is lowered by one level, and then the process of determining the current output power of the audio playback device's power adapter is triggered. The process involves determining the current voltage value, thereby enabling the audio playback device to adaptively adjust the power of different power adapters step by step when outputting its current optimal output power. This continues until the optimal output power of the audio playback device at the corresponding volume level matches the power that the power adapter can provide. This ensures that the audio playback device does not play at a volume level that is below the required power for extended periods, and that the power adapter is not used for excessively long periods under overload conditions, thus ensuring the safety of both the audio playback device and the power adapter. If the current optimal output power is less than or equal to the power supply that the audio playback device's power adapter can provide, this can be ignored, indicating that the audio playback device and the power adapter are safe to use at this time. Attached Figure Description
[0051] Figure 1 This is a schematic flowchart of an embodiment of the adaptive power control method of this application;
[0052] Figure 2 This is a schematic flowchart of another embodiment of the adaptive power control method of this application;
[0053] Figure 3 This is a schematic diagram of an embodiment of the adaptive power control system of this application;
[0054] Figure 4 This is a schematic diagram of another embodiment of the adaptive power control system of this application;
[0055] Figure 5 This is a schematic diagram of the structure of one embodiment of the computer device of this application. Detailed Implementation
[0056] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0057] It should be noted that power adapters currently on the market typically support one or more charging protocols, such as USB PD (USB Power Delivery) and Quick Charge (QC) fast charging technology. Power adapters supporting different charging protocols can provide varying amounts of power to audio playback devices. To facilitate distribution and improve compatibility, audio playback devices are often designed to be compatible with power adapters using different charging protocols. Therefore, in existing technologies, audio playback devices may only operate according to their own output power requirements, which could lead to a mismatch between the power supply and the power required by the power adapter. For example, if a power adapter supplies power to an audio playback device that requires more power, it may cause the power adapter to operate dangerously beyond its power limit, or it may directly cause the audio playback device's functions to fail to achieve their intended effects due to insufficient power.
[0058] Based on the above understanding, this application uses software algorithms to manage and control the functions of audio playback devices, requiring minimal adjustments to the hardware design. This facilitates product miniaturization and weight reduction, and also helps control product costs. Please refer to [link / reference]. Figure 1 This application relates to an adaptive power control method for audio playback devices, comprising:
[0059] 101. Determine the current voltage value output by the power adapter of the audio playback device.
[0060] Specifically, this step involves reading the charging protocol of the audio playback device's power adapter and then determining the current output voltage value of the power adapter from the charging protocol. Taking the audio playback device and power adapter connected via a Type-C interface data cable, with the power adapter supporting the USB PD protocol as an example, in this embodiment, the main controller of the audio playback device can directly read the USB PD protocol currently being executed by the power adapter via the Type-C interface data cable, and then determine its current output voltage value from the USB PD protocol currently being executed by the power adapter. In this embodiment, the main controller can be the MediaTek MT6750.
[0061] 102. Based on the current voltage value and the rated current value corresponding to the current volume level of the audio playback device, determine the current optimal output power of the audio playback device.
[0062] It's understandable that audio playback devices need to achieve different playback volumes at different volume levels. These different volume levels correspond to different current flows to the speakers. Given a fixed voltage supplied by the power adapter to the speakers, the rated current required to achieve optimal audio playback varies depending on the current audio level. If the power adapter cannot provide a sufficiently large current (i.e., the actual current is less than the rated current for the current audio level), the audio playback device cannot reach its optimal output power for that volume level, thus failing to deliver the best audio playback performance. The optimal output power equals the current voltage multiplied by the rated current.
[0063] 103. Determine whether the current optimal output power is greater than the maximum power that the power adapter of the audio playback device can provide. If the current optimal output power is greater than the maximum power that the power adapter of the audio playback device can provide, proceed to step 104; if the current optimal output power is less than or equal to the power that the power adapter of the audio playback device can provide, proceed to step 105.
[0064] In this embodiment, the criterion is whether the current optimal output power is greater than the maximum power that the power adapter of the audio playback device can provide. If the current optimal output power is greater than the maximum power that the power adapter of the audio playback device can provide, it indicates that the power adapter is not capable of providing enough current to drive the speaker to play the best audio effect at the current volume level of the audio playback device. If the current optimal output power is less than or equal to the power that the power adapter of the audio playback device can provide, it indicates that the power adapter is capable of providing enough current to drive the speaker to play the best audio effect at the current volume level of the audio playback device.
[0065] 104. Adjust the current volume level of the audio playback device to a lower level, triggering the execution of step 101.
[0066] If step 103 determines that the current optimal output power of the audio playback device is greater than the maximum power supply that the power adapter of the audio playback device can provide, it indicates that the power adapter is unable to provide a sufficient current to drive the speaker to play the best audio effect at the current volume level of the audio playback device. In order to avoid the power adapter from operating at overpower and to ensure that the audio playback device does not continue to play audio at the current volume level where it cannot achieve the best audio playback effect, this step adjusts the current volume level of the audio playback device down by one level and triggers the execution of step 101. This enables the audio playback device to adaptively match and adjust the power of different power adapters step by step when outputting the current optimal output power, until the current optimal output power of the corresponding volume level of the audio playback device matches the power that the power adapter can provide. This ensures that the audio playback device does not stay at the volume level where it cannot reach the power playback requirement for too long, and also ensures that the power adapter is not used for too long under overpower overload conditions, thus ensuring the safety of the audio playback device and the power adapter.
[0067] 105. Ignore.
[0068] If the current optimal output power is determined to be less than or equal to the power supply power that the power adapter of the audio playback device can provide in step 103, it indicates that the power adapter is capable of providing enough current to drive the speaker to play the best audio effect at the current volume level of the audio playback device. This step does not interfere with the volume level of the audio playback device.
[0069] Please see Figure 2 Another embodiment of the adaptive power control method for audio playback devices applied in this application includes:
[0070] 201. When the audio playback device is in audio playback mode, read the charging protocol of the audio playback device's power adapter.
[0071] Specifically, the audio playback device in this embodiment may frequently be powered by different power adapters, or the power adapter may simultaneously power multiple devices. Therefore, the power supply that the power adapter can provide to the audio playback device may dynamically change. Thus, the audio playback device in this embodiment needs to periodically execute the adaptive power control method of this application embodiment to achieve dynamic adaptive power control. This step only reads the charging protocol of the audio playback device's power adapter when the audio playback device is in audio playback mode, in order to save the computing power expenditure of the audio playback device. Specifically, taking the audio playback device and the power adapter connected via a Type-C interface data cable, with the power adapter supporting the USB PD protocol as an example, the main controller of the audio playback device in this embodiment can directly read the USB PD protocol currently being executed by the power adapter via the Type-C interface data cable. The main controller in this embodiment can be the MT6750 from MediaTek Inc.
[0072] 202. Determine the current voltage value output by the power adapter of the audio playback device from the charging protocol.
[0073] Specifically, the current output voltage value is determined by reading the USB PD protocol currently being executed by the power adapter in step 201.
[0074] 203. Based on the current voltage value and the rated current value corresponding to the current volume level of the audio playback device, determine the current optimal output power of the audio playback device. The current optimal output power is equal to the current voltage value multiplied by the rated current value.
[0075] The execution of this step is the same as described above. Figure 1 The operations performed in step 102 of the embodiment are similar, and the repeated parts will not be described again here.
[0076] It should be noted that the audio playback device pre-stores the rated current values corresponding to different power supply voltage values when different volume levels are to achieve the best playback effect. The current voltage value mentioned above in this embodiment is one of the power supply voltage values.
[0077] 204. Calculate the maximum power supply of the power adapter of the audio playback device.
[0078] Specifically, the maximum power output that the power adapter of an audio playback device can currently provide is equal to the current voltage value multiplied by the maximum current value allowed to be output at the current voltage value as specified in the charging protocol.
[0079] 205. Determine whether the current optimal output power is greater than the maximum power that the power adapter of the audio playback device can provide. If the current optimal output power is greater than the maximum power that the power adapter of the audio playback device can provide, proceed to step 206; if the current optimal output power is less than or equal to the power that the power adapter of the audio playback device can provide, proceed to step 209.
[0080] The execution of this step is the same as described above. Figure 1 The operations performed in step 103 of the embodiment are similar, and the repeated parts will not be described again here.
[0081] 206. Determine if there are any unnecessary functions that can be turned off. If there are any unnecessary functions that can be turned off, proceed to step 207; if there are no unnecessary functions that can be turned off, proceed to step 208.
[0082] If step 205 determines that the current optimal output power is greater than the maximum power supplied by the audio playback device's power adapter, then, while maintaining the current volume level of the audio playback device, this step can also attempt to disable unnecessary functions of the audio playback device. This would save some of the power required by these functions to be transferred to the current optimal output power needed for audio playback at the current volume level. To do this, this step first determines if there are any unnecessary functions that can be disabled. If so, it indicates that some of the power saved can be transferred to the current optimal output power needed for audio playback at the current volume level of the audio playback device. If no unnecessary functions can be disabled, it indicates that no such power can be saved to transfer to the current optimal output power needed for audio playback at the current volume level of the audio playback device. Unnecessary functions include one or more of the following: ambient lighting function, hotspot function, and screen display function.
[0083] 207. Disable unnecessary functions and trigger step 101.
[0084] If it is determined in step 206 that there are unnecessary functions of the audio playback device that can be turned off, it means that there is a portion of the functional power that can be saved. This power can be transferred to the current optimal output power required for the speaker corresponding to the current volume level of the audio playback device to play audio, so as to provide some power support for the speaker corresponding to the current volume level to play the current optimal playback effect.
[0085] 208. Adjust the current volume level of the audio playback device to a lower level, triggering the execution of step 101.
[0086] If step 206 determines that there are no unnecessary functions that can be turned off on the audio playback device, it means that there is no functional power that can be saved to be used as the current optimal output power required for the speaker corresponding to the current volume level of the audio playback device to play audio. This step can only adjust the current volume level of the audio playback device to be lowered by one level.
[0087] 209. Ignore and trigger step 101.
[0088] The execution of this step is the same as described above. Figure 1 Step 105 in the embodiment is similar, and the repeated parts will not be described again here.
[0089] The above embodiments describe the adaptive power control method of this application applied to an audio playback device. The adaptive power control system of this application applied to an audio playback device is described below. Please refer to [link / reference]. Figure 3 , Figure 3 An embodiment of the adaptive power control system of this application applied to an audio playback device includes:
[0090] The determining unit 301 is used to determine the current voltage value output by the power adapter of the audio playback device;
[0091] The determining unit 301 is further configured to determine the current optimal output power of the audio playback device based on the current voltage value and the rated current value corresponding to the current volume level of the audio playback device, wherein the current optimal output power is equal to the current voltage value multiplied by the rated current value.
[0092] The judgment unit 302 is used to determine whether the current optimal output power is greater than the maximum power supply that the power adapter of the audio playback device can provide;
[0093] The adjustment unit 303 is used to adjust the current volume level of the audio playback device down by one level when the current optimal output power is greater than the maximum power supply that the power adapter of the audio playback device can provide.
[0094] Trigger unit 304 is used to trigger the execution of the step of determining the current voltage value output by the power adapter of the audio playback device;
[0095] The ignore unit 305 is used to ignore the current optimal output power when it is less than or equal to the power supply that the power adapter of the audio playback device can provide.
[0096] The operation performed by the adaptive power control system of the audio playback device in this embodiment is the same as described above. Figure 1 The operations performed in the embodiments are similar, and the repeated parts will not be described again here.
[0097] Please see Figure 4 Another embodiment of the adaptive power control system for an audio playback device, as described in this application, includes:
[0098] The determining unit 401 is used to determine the current voltage value output by the power adapter of the audio playback device;
[0099] The determining unit 401 is further configured to determine the current optimal output power of the audio playback device based on the current voltage value and the rated current value corresponding to the current volume level of the audio playback device, wherein the current optimal output power is equal to the current voltage value multiplied by the rated current value.
[0100] The judgment unit 402 is used to determine whether the current optimal output power is greater than the maximum power supply that the power adapter of the audio playback device can provide;
[0101] The adjustment unit 403 is used to adjust the current volume level of the audio playback device down by one level when the current optimal output power is greater than the maximum power supply that the power adapter of the audio playback device can provide.
[0102] Trigger unit 404 is used to trigger the execution of the step of determining the current voltage value output by the power adapter of the audio playback device;
[0103] The ignore unit 405 is used to ignore the current optimal output power when it is less than or equal to the power supply that the power adapter of the audio playback device can provide.
[0104] Optionally, when the determining unit 401 determines the current voltage value output by the power adapter of the audio playback device, it is specifically used for:
[0105] Read the charging protocol of the power adapter of the audio playback device;
[0106] The current voltage value output by the power adapter of the audio playback device is determined from the charging protocol.
[0107] Optionally, the system further includes:
[0108] The calculation unit 406 is used to calculate the maximum power supply of the power adapter of the audio playback device, wherein the maximum power supply is equal to the current voltage value multiplied by the maximum current value allowed to be output under the current voltage value as specified by the charging protocol.
[0109] Optionally, the audio playback device pre-stores the rated current values corresponding to different power supply voltage values when different volume levels are to achieve the best playback effect, and the current voltage value is one of the power supply voltage values.
[0110] Optionally, the system further includes:
[0111] The judgment unit 402 is also used to determine whether there are any unnecessary functions that can be turned off. The unnecessary functions include one or more of the following: ambient light function, hotspot function, and screen display function.
[0112] The shutdown unit 407 is used to shut down the unnecessary function if there is one that can be shut down, and to trigger the step of determining the current voltage value output by the power adapter of the audio playback device.
[0113] The trigger unit 404 is used to trigger the execution of the step of lowering the current volume level of the audio playback device by one level if there is no unnecessary function that can be turned off.
[0114] Optionally, when the determining unit 401 determines the current voltage value output by the power adapter of the audio playback device, it is specifically used for:
[0115] When the audio playback device is in audio playback mode, determine the current voltage value output by the power adapter of the audio playback device.
[0116] The operation performed by the adaptive power control system of the audio playback device in this embodiment is the same as described above. Figure 2 The operations performed in the embodiments are similar, and the repeated parts will not be described again here.
[0117] The computer device in the embodiments of this application is described below. Please refer to [link / reference]. Figure 5 One embodiment of the computer device in this application includes:
[0118] The computer device 500 may include one or more central processing units (CPUs) 501 and memory 502, wherein the memory 502 stores one or more application programs or data. The memory 502 may be volatile or persistent storage. The program stored in the memory 502 may include one or more modules, each module including a series of instruction operations on the computer device. Furthermore, the processor 501 may be configured to communicate with the memory 502 and execute the series of instruction operations stored in the memory 502 on the computer device 500. The computer device 500 may also include one or more wireless network interfaces 503, one or more input / output interfaces 504, and / or one or more operating systems, such as HarmonyOS, Windows Server, Mac OS, Unix, Linux, FreeBSD, etc. The processor 501 can execute the aforementioned... Figure 1 or Figure 2 The specific operations performed in the embodiments will not be described in detail here.
[0119] In the several embodiments provided in this application, those skilled in the art should understand that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection between apparatuses or units through some interfaces, and may be electrical, mechanical, or other forms.
[0120] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods in the various embodiments of this application. The aforementioned storage medium includes: USB flash drive, mobile hard drive, read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk, and other media capable of storing program code.
[0121] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. An adaptive power control method, characterized in that, Used in audio playback devices, including: Determine the current voltage value output by the power adapter of the audio playback device; Based on the current voltage value and the rated current value corresponding to the current volume level of the audio playback device, the current optimal output power of the audio playback device is determined, and the current optimal output power is equal to the current voltage value multiplied by the rated current value; Determine whether the current optimal output power is greater than the maximum power supply that the power adapter of the audio playback device can provide; If the current optimal output power is greater than the maximum power supply that the power adapter of the audio playback device can provide, then the current volume level of the audio playback device is adjusted down by one level, triggering the step of determining the current voltage value output by the power adapter of the audio playback device. If the current optimal output power is less than or equal to the power supply that the power adapter of the audio playback device can provide, then ignore it; Determining the current voltage value output by the power adapter of the audio playback device includes: Read the charging protocol of the power adapter of the audio playback device; The current voltage value output by the power adapter of the audio playback device is determined from the charging protocol; Before determining whether the current optimal output power is greater than the maximum power supply that the power adapter of the audio playback device can provide, the method further includes: Calculate the maximum power supply of the power adapter of the audio playback device, wherein the maximum power supply is equal to the current voltage value multiplied by the maximum current value allowed to be output under the current voltage value as specified by the charging protocol; The audio playback device pre-stores the rated current values corresponding to different power supply voltage values when different volume levels are to achieve the best playback effect, and the current voltage value is one of the power supply voltage values.
2. The adaptive power control method according to claim 1, characterized in that, When the current optimal output power exceeds the maximum power supply that the power adapter of the audio playback device can provide, but before lowering the current volume level of the audio playback device by one level, the method further includes: Determine if there are any unnecessary functions that can be turned off. The unnecessary functions include one or more of the following: ambient lighting function, hotspot function, and screen display function. If there are any unnecessary functions that can be turned off, the unnecessary functions will be turned off, triggering the step of determining the current voltage value output by the power adapter of the audio playback device; If there are no non-essential functions that can be turned off, then the step of lowering the current volume level of the audio playback device by one level is triggered.
3. The adaptive power control method according to claim 1, characterized in that, Determining the current voltage value output by the power adapter of the audio playback device includes: When the audio playback device is in audio playback mode, determine the current voltage value output by the power adapter of the audio playback device.
4. An adaptive power control system, characterized in that, Used in audio playback devices, including: A determining unit is used to determine the current voltage value output by the power adapter of the audio playback device; The determining unit is further configured to determine the current optimal output power of the audio playback device based on the current voltage value and the rated current value corresponding to the current volume level of the audio playback device, wherein the current optimal output power is equal to the current voltage value multiplied by the rated current value; The judgment unit is used to determine whether the current optimal output power is greater than the maximum power supply that the power adapter of the audio playback device can provide; The adjustment unit is used to adjust the current volume level of the audio playback device down by one level when the current optimal output power is greater than the maximum power supply that the power adapter of the audio playback device can provide. A triggering unit is used to trigger the execution of the step of determining the current voltage value output by the power adapter of the audio playback device; An ignore unit is used to ignore the current optimal output power if it is less than or equal to the power supply provided by the power adapter of the audio playback device. When the determining unit determines the current voltage value output by the power adapter of the audio playback device, it is specifically used for: Read the charging protocol of the power adapter of the audio playback device; The current voltage value output by the power adapter of the audio playback device is determined from the charging protocol; The calculation unit is used to calculate the maximum power supply of the power adapter of the audio playback device, wherein the maximum power supply is equal to the current voltage value multiplied by the maximum current value allowed to be output under the current voltage value as specified by the charging protocol; A pre-storage unit is used to pre-store the rated current value corresponding to different power supply voltage values when different volume levels are to achieve the best playback effect, wherein the current voltage value is one of the power supply voltage values.
5. A computer device, characterized in that, include: Processor, memory, bus, input / output interfaces, network interfaces; The processor is connected to the memory, the input / output interface, and the network interface via a bus; The memory stores a program; When the processor executes the program stored in the memory, it implements the adaptive power control method according to any one of claims 1 to 3.
6. A computer-readable storage medium, characterized in that, The computer storage medium stores instructions that, when executed on the computer, cause the computer to perform the adaptive power control method as described in any one of claims 1 to 3.
7. A computer program product, characterized in that, When the computer program product is executed on a computer, it causes the computer to perform the adaptive power control method as described in any one of claims 1 to 3.
Citation Information
Patent Citations
Power consumption measuring and control method for sound system switch power source as well as special device thereof
CN101226411A
Power adaptive circuit, control method and electronic equipment
CN112714382A