Peak current control methods, devices, electronic equipment, and storage media for power supplies

By acquiring the predicted signal of the electroacoustic transducer, using a preset model to predict the voltage or current signal of the electroacoustic transducer, and combining the mapping relationship between the power supply output power and the input power, the input power is adjusted to control the peak current of the power supply. This solves the problems of delay and inaccuracy in the peak current control of the power supply in the prior art, and realizes real-time and accurate power supply protection.

CN119861788BActive Publication Date: 2025-11-14WUHAN JUXIN MICROELECTRONICS CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311370681.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-20
Publication Date
2025-11-14
Estimated Expiration
2043-10-20

AI Technical Summary

Technical Problem

Existing technologies struggle to precisely control the peak current of a power supply, and real-time monitoring and battery prediction models suffer from latency and inaccuracy.

Method used

By acquiring the predicted signal of the electroacoustic transducer, the voltage or current signal of the electroacoustic transducer is predicted using a preset signal prediction model (such as an impedance model or admittance model). Combined with the mapping relationship between the power supply output power and the input power, the input power is adjusted to control the peak current of the power supply.

Benefits of technology

It enables real-time and accurate control of the power supply peak current, improving the accuracy and reliability of power supply protection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119861788B_ABST
    Figure CN119861788B_ABST
Patent Text Reader

Abstract

This application provides a method, apparatus, electronic device, and storage medium for controlling the peak current of a power supply. The method includes: acquiring a first prediction signal of an electroacoustic transducer; predicting a second prediction signal based on the first prediction signal; determining the input power of the electroacoustic transducer based on the first and second prediction signals; determining the output power of the power supply based on a preset mapping relationship between the power supply output power and the input power of the electroacoustic transducer; and adjusting the input power of the electroacoustic transducer based on the output power and a preset power threshold to achieve control of the peak current of the power supply. Since this application determines the input power based on the predicted first and second prediction signals, it ensures the real-time nature of the input power, making the input power more accurate. Determining the output power of the power supply based on the input power ensures that the output power is real-time and accurate. Therefore, adjusting the input power based on the output power improves the accuracy of peak current control of the power supply.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of power supply technology, specifically to a peak current control method, device, electronic device, and storage medium for a power supply. Background Technology

[0002] Currently, power supply protection is mainly achieved by limiting the peak current during its use. Therefore, precise control of the power supply's peak current is particularly important.

[0003] In related technologies, on the one hand, peak current of the power supply is controlled by real-time monitoring of the current and voltage; however, this measurement-based control method has a certain delay. On the other hand, the input power of the power supply is predicted using battery models, such as impedance models. However, due to the instability of the load impedance, the input power predicted by the battery prediction model is not accurate enough. Therefore, it is necessary to provide a technical solution that can accurately control the peak current of the power supply. Summary of the Invention

[0004] This application provides a method, apparatus, electronic device, and storage medium for controlling the peak current of a power supply, aiming to solve the technical problem in the prior art that it is difficult to accurately control the peak current of a power supply through actual measurement or battery prediction models.

[0005] In a first aspect, this application provides a peak current control method for a power supply used to power a power amplifier, the power amplifier being used to power an electroacoustic transducer, the peak current control method comprising:

[0006] A first predicted signal of an electroacoustic transducer is obtained, and a second predicted signal of the electroacoustic transducer is predicted based on the first predicted signal using a preset signal prediction model. The first predicted signal is one of a voltage signal and a current signal, and the second predicted signal is the other of a voltage signal and a current signal.

[0007] The input power of the electroacoustic transducer is determined based on the first prediction signal and the second prediction signal;

[0008] The output power of the power supply is determined based on the preset mapping relationship between the power supply output power and the input power of the electroacoustic transducer, and the input power.

[0009] Based on the output power and the preset power threshold, the input power of the electroacoustic transducer is adjusted to control the peak current of the power supply.

[0010] In some embodiments, the preset signal prediction model is a preset impedance model or a preset admittance model;

[0011] The step of predicting the second predicted signal of the electroacoustic transducer based on the first predicted signal using a preset signal prediction model includes:

[0012] If the preset signal prediction model is a preset impedance model, then the first predicted signal is determined to be a current signal and the second predicted signal is a voltage signal.

[0013] Based on the first predicted signal, a preset impedance model is used to predict the second predicted signal of the electroacoustic transducer.

[0014] If the preset signal prediction model is a preset admittance model, then the first predicted signal is determined to be a voltage signal and the second predicted signal is a current signal.

[0015] Based on the first predicted signal, a second predicted signal of the electroacoustic transducer is predicted using a preset admittance model.

[0016] In some embodiments, acquiring the first prediction signal of the electroacoustic transducer includes:

[0017] If the first predicted signal is a voltage signal, then the audio input signal and corresponding gain of the electroacoustic transducer are obtained;

[0018] The output voltage is determined based on the audio input signal and the gain.

[0019] In some embodiments, predicting a second prediction signal of the electroacoustic transducer based on the first prediction signal using a preset admittance model includes:

[0020] The first predicted signal is used as the input of the preset admittance model, and processed using the preset admittance model to obtain the second predicted signal output by the preset admittance model. The preset admittance model is an electroacoustic transducer admittance model that updates the model parameters of the electroacoustic transducer admittance model in real time.

[0021] In some embodiments, the method further includes:

[0022] Obtain the original admittance model of the electroacoustic transducer, the voltage data of the electroacoustic transducer, and the current data of the electroacoustic transducer;

[0023] Based on the voltage data and the current data, determine the actual admittance model parameters of the electroacoustic transducer;

[0024] The original electroacoustic transducer admittance model is updated based on the actual admittance model parameters to obtain the preset admittance model.

[0025] In some embodiments, adjusting the input power of the electroacoustic transducer based on the output power and a preset power threshold includes:

[0026] If the output power is greater than the preset power threshold, the gain of the audio input signal is adjusted to the preset gain, or the gain of the audio input signal is adjusted according to the preset power threshold and the output power.

[0027] In some embodiments, adjusting the gain corresponding to the audio input signal to a preset gain includes:

[0028] The gain corresponding to the audio input signal is adjusted from the current gain to a preset gain, wherein the current gain is greater than the preset gain;

[0029] The step of adjusting the gain of the audio input signal according to the preset power threshold and the output power includes: determining the target gain of the audio input signal according to the preset power threshold and the output power;

[0030] The gain of the audio input signal is adjusted according to the target gain.

[0031] In some embodiments, before determining the output power of the power supply based on a preset mapping relationship between the power supply output power and the electroacoustic transducer input power, and the input power, the method further includes:

[0032] Obtain the historical output power set of the power supply within a preset time period, wherein the historical output power set includes multiple historical output powers;

[0033] Obtain the historical input power set of the electroacoustic transducer within the preset time period, wherein the historical output power set includes multiple historical input powers;

[0034] Based on the historical output power set and the historical input power set, a preset mapping relationship between the power supply output power and the electroacoustic transducer input power is constructed.

[0035] Secondly, this application provides a peak current control device for a power supply, wherein the power supply is used to power a power amplifier, and the power amplifier is used to power an electroacoustic transducer. The peak current control device for the power supply includes:

[0036] The prediction module is used to acquire a first prediction signal of the electroacoustic transducer, and based on the first prediction signal, to predict a second prediction signal of the electroacoustic transducer using a preset signal prediction model. The first prediction signal is one of a voltage signal and a current signal, and the second prediction signal is the other of a voltage signal and a current signal.

[0037] The first determining module is used to determine the input power of the electroacoustic transducer based on the first prediction signal and the second prediction signal; the second determining module is used to determine the output power of the power supply based on a preset mapping relationship between the power supply output power and the input power of the electroacoustic transducer, and the input power.

[0038] The control module is used to adjust the input power of the electroacoustic transducer based on the output power and a preset power threshold, so as to control the peak current of the power supply.

[0039] Thirdly, this application provides an electronic device including a memory and a processor. The memory stores a computer program, and the processor is used to run the computer program in the memory to perform the steps in the peak current control method for a power supply as described in the first aspect.

[0040] Fourthly, this application provides a storage medium storing a plurality of instructions adapted for loading by a processor to perform steps in the power supply peak current control method as described in the first aspect.

[0041] This application obtains a first predicted signal from an electroacoustic transducer, and based on the first predicted signal, uses a preset signal prediction model to predict a second predicted signal from the electroacoustic transducer. The first predicted signal is either a voltage signal or a current signal, and the second predicted signal is either a voltage signal or a current signal. The input power of the electroacoustic transducer is determined based on the first and second predicted signals. The output power of the power supply is determined based on a preset mapping relationship between the power supply output power and the input power of the electroacoustic transducer, and the input power itself. Based on the output power and a preset power threshold, the input power of the electroacoustic transducer is adjusted to control the peak current of the power supply. Because this application determines the input power based on predicted current and voltage signals, it ensures the real-time nature of the input power and eliminates the need to determine the input power based on impedance, making the input power more accurate. Furthermore, determining the output power based on the input power ensures real-time and accurate output power. Therefore, adjusting the input power based on the output power improves the precision of peak current control of the power supply. Attached Figure Description

[0042] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0043] Figure 1This is a schematic flowchart of a peak current control method for a power supply provided in an embodiment of this application;

[0044] Figure 2 This is a schematic diagram of a process for obtaining the first prediction signal of an electroacoustic transducer provided in an embodiment of this application;

[0045] Figure 3 This is a schematic diagram of a module of the peak current control device for the power supply provided in the embodiments of this application. Detailed Implementation

[0046] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0047] In the description of this invention, it should be understood that the terms "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," and "outer," etc., indicating orientation or positional relationships based on the orientation or positional relationships shown in the accompanying drawings, are only for the convenience of describing the invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the invention. Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, features defined with "first" and "second" may explicitly or implicitly include one or more of the stated features. In the description of this invention, "a plurality of" means two or more, unless otherwise explicitly specified.

[0048] In this application, the term "exemplary" is used to mean "serving as an example, illustration, or description." Any embodiment described as "exemplary" in this application is not necessarily to be construed as being more preferred or advantageous than other embodiments. The following description is provided to enable any person skilled in the art to make and use the invention. Details are set forth in the following description for purposes of explanation. It should be understood that those skilled in the art will recognize that the invention can be made without using these specific details. In other instances, well-known structures and processes will not be described in detail to avoid obscuring the description of the invention with unnecessary detail. Therefore, the invention is not intended to be limited to the embodiments shown, but is consistent with the broadest scope of the principles and features disclosed in this application.

[0049] This application provides a peak current control method, device, electroacoustic transducer control method, electronic device, and storage medium for a power supply, which will be described in detail below.

[0050] First, refer to Figure 1 , Figure 1 The illustration shows a flowchart of a peak current control method for a power supply in an embodiment of this application. The power supply powers a power amplifier, which in turn powers an electroacoustic transducer. The peak current control method may include the following steps 101-106, as detailed below:

[0051] 101. Obtain a first prediction signal of the electroacoustic transducer, and predict a second prediction signal of the electroacoustic transducer based on the first prediction signal using a preset signal prediction model. The first prediction signal is one of a voltage signal and a current signal, and the second prediction signal is the other of a voltage signal and a current signal.

[0052] Specifically, in this embodiment, the power supply is used to power the power amplifier (PA), which in turn powers the electroacoustic transducer, and the power amplifier is electrically connected to the electroacoustic transducer.

[0053] An electroacoustic transducer is a device that converts sound energy into electrical energy or vice versa, such as microphones, loudspeakers, and headphones in electroacoustic engineering.

[0054] The first prediction signal and the second prediction signal are both prediction electrical signals of the electroacoustic transducer, such as current signals and voltage signals. The first prediction signal is one of the voltage signal and the current signal, and the second prediction signal is the other of the voltage signal and the current signal.

[0055] The first and second prediction signals can be instantaneous currents or voltages obtained by real-time prediction of the current or voltage signals of an electroacoustic transducer in an electronic device. The preset signal prediction model refers to a pre-set model used to predict the current or voltage signals of the electroacoustic transducer. For example, the preset signal prediction model is a preset impedance model or a preset admittance model.

[0056] Specifically, the first predicted signal can be used as the input of a preset signal prediction model, and the first predicted signal can be processed. The output of the preset signal prediction model is the second predicted signal.

[0057] It is worth noting that the power amplifier in this embodiment can be one or more. When there are multiple power amplifiers, the first prediction signal and the second prediction signal of each power amplifier can be predicted separately so that the joint input power of the multiple power amplifiers can be determined based on their respective first prediction signals and second prediction signals, and the joint input power can be used as the input power.

[0058] In one specific embodiment, the preset signal prediction model is a preset impedance model or a preset admittance model; step 101, which involves predicting the second prediction signal of the electroacoustic transducer based on the first prediction signal using the preset signal prediction model, may include the following steps 101A to 101D, as follows:

[0059] 101A. If the preset signal prediction model is a preset impedance model, then the first predicted signal is determined to be a current signal and the second predicted signal is a voltage signal.

[0060] 101B. Based on the first predicted signal, a preset impedance model is used to predict the second predicted signal of the electroacoustic transducer.

[0061] 101C. If the preset signal prediction model is a preset admittance model, then the first predicted signal is determined to be a voltage signal and the second predicted signal is a current signal.

[0062] 101D. Based on the first predicted signal, a preset admittance model is used to predict the second predicted signal of the electroacoustic transducer.

[0063] Specifically, when the preset signal prediction model is a preset impedance model, the first predicted signal is determined to be a current signal and the second predicted signal to be a voltage signal. In this case, the process of predicting the second predicted signal of the electroacoustic transducer using the preset signal prediction model is as follows: the current signal is used as the input to the preset impedance model, the current signal is processed, and the output of the preset impedance model is the voltage signal. When the preset signal prediction model is a preset admittance model, the first predicted signal is determined to be a voltage signal and the second predicted signal to be a current signal. In this case, the process of predicting the second predicted signal of the electroacoustic transducer using the preset admittance model is as follows: the voltage signal is used as the input to the preset admittance model, the voltage signal is processed, and the output of the preset impedance model is the current signal. That is, the voltage signal is input into the electroacoustic transducer admittance model, and the output of the electroacoustic transducer admittance model is the predicted current signal. Understandably, in this embodiment, predicting the current signal using the electroacoustic transducer admittance model reduces the current prediction error near the resonant frequency and improves the accuracy of the current signal.

[0064] In one specific implementation, see further details. Figure 2 , Figure 2This paper illustrates a flowchart of obtaining a first prediction signal of an electroacoustic transducer in an embodiment of this application. Step 101, which involves obtaining the first prediction signal of the electroacoustic transducer, may include the following steps 101E to 101G, as detailed below:

[0065] 101E. If the first predicted signal is a voltage signal, then obtain the audio input signal and corresponding gain of the electroacoustic transducer.

[0066] 101F. Determine the voltage signal based on the audio input signal and the gain;

[0067] 101G. If the first predicted signal is a current signal, then the current signal is acquired by a current acquisition device.

[0068] Specifically, when an electronic device inputs an audio input signal from a terminal device to an electroacoustic transducer, the voltage signal can be predicted based on the input audio signal and its corresponding gain. More specifically, the gain can be determined based on the frequency response curve of the electroacoustic transducer, which is the curve of gain versus frequency. Then, the product of the audio input signal and the corresponding gain is calculated to predict the output voltage, i.e., output(s) = input(s) * H(s), where output(s) represents the current signal, input(s) represents the audio input signal, and H(s) represents the gain. Understandably, in this embodiment, determining the voltage signal based on the audio input signal and gain avoids the delay problem inherent in real-time voltage signal detection, making the output voltage real-time and accurate. When the first predicted signal is a current signal, the current signal of the electroacoustic transducer can be acquired by a current acquisition device.

[0069] In one specific embodiment, the step 101D, which involves predicting the second prediction signal of the electroacoustic transducer based on the first prediction signal using a preset admittance model, may include the following step 101D1, as follows:

[0070] 101D1. The first predicted signal is used as the input of a preset admittance model, and the preset admittance model is used for processing to obtain the second predicted signal output by the preset admittance model. The preset admittance model is an electroacoustic transducer admittance model that updates the model parameters of the electroacoustic transducer admittance model in real time.

[0071] Specifically, the output voltage is used as the input of the preset admittance model, and the output of the preset admittance model is the current signal. Understandably, since the model parameters in the preset admittance model are updated in real time, the preset admittance model predicts the current more accurately, thereby further improving the accuracy of the output current.

[0072] In one specific embodiment, the method may further include the following steps 105-107, as detailed below:

[0073] 105. Obtain the original admittance model of the electroacoustic transducer, the voltage data and current data of the electroacoustic transducer;

[0074] 106. Based on the voltage data and the current data, determine the actual admittance model parameters of the electroacoustic transducer;

[0075] 107. Update the original electroacoustic transducer admittance model according to the actual admittance model parameters to obtain the preset admittance model.

[0076] The voltage and current data refer to the voltage and current across the electroacoustic transducer. The original electroacoustic transducer admittance model refers to the electroacoustic transducer admittance model whose parameters have not been updated in real time.

[0077] Specifically, the voltage and current across the electroacoustic transducer can be monitored using a voltage and current acquisition device (IV sensor). Alternatively, voltage and current data can be acquired using analog signals. By extracting the voltage and current values ​​corresponding to multiple frequencies of the analog signal and converting these values ​​into digital signals, the actual admittance model parameters of the electroacoustic transducer can be calculated. Then, the model parameters of the original electroacoustic transducer admittance model are updated based on the actual admittance model parameters to obtain the preset admittance model.

[0078] The original admittance model of the electroacoustic transducer can be expressed by the following function:

[0079]

[0080] In this original electroacoustic transducer admittance model, the electroacoustic transducer can be a moving-coil electroacoustic transducer, such as the moving-coil electroacoustic transducer corresponding to the above function. This is only an example in this embodiment. I(s) is the current signal function, U(s) is the voltage signal function, w0 is the resonant angular frequency of the electroacoustic transducer, and Q... ts Q is the quality factor. ms R is the mechanical quality factor of the electroacoustic transducer. e Let represent the DC resistance of the electroacoustic transducer, and Le represent the inductance of the voice coil of the electroacoustic transducer.

[0081] It should be noted that since the ratio of the current signal function to the voltage signal function of the electroacoustic transducer at the corresponding frequency can be directly calculated from the voltage and current data, given the solution of the above function, the parameters of the function can be derived in reverse, thereby obtaining the actual admittance model parameters of the electroacoustic transducer. For example, the actual resonant angular frequency w0 and the actual mechanical quality factor Q of the electroacoustic transducer in the above function are also relevant. ms The actual quality factor Q of the electroacoustic transducer ts The actual DC resistance of the electroacoustic transducer, the actual inductance of the voice coil of the electroacoustic transducer, etc., can be obtained, for example, by solving the least squares method or multiple sets of equations.

[0082] 102. Determine the input power of the electroacoustic transducer based on the first prediction signal and the second prediction signal.

[0083] Specifically, since the first prediction signal is one of the voltage signal and the current signal, and the second prediction signal is the other of the voltage signal and the current signal, the input power can be obtained by directly calculating the product of the first prediction signal and the second prediction signal. Since both the voltage signal and the current signal have high accuracy, the input power of the electroacoustic transducer determined based on the voltage signal and the current signal is more accurate.

[0084] It is worth noting that when there are multiple power amplifiers, the input power of each power amplifier can be summed and the sum can be used as the input power.

[0085] 103. Determine the output power of the power supply based on the preset mapping relationship between the power supply output power and the input power of the electroacoustic transducer, and the input power.

[0086] The preset mapping relationship between the power supply output power and the electroacoustic transducer input power is used to characterize the correlation between the power supply output power and the electroacoustic transducer input power. This mapping relationship can be a functional expression between the power supply output power and the electroacoustic transducer input power, or it can be a mapping relationship table between multiple power supplies and the corresponding multiple electroacoustic transducer input powers.

[0087] Specifically, after determining the input power, the output power can be determined based on the preset mapping relationship between the power supply output power and the electroacoustic transducer input power, so that the peak current of the power supply can be analyzed and controlled based on the output power.

[0088] In one specific embodiment, before determining the output power of the power supply based on a preset mapping relationship between the power supply output power and the input power of the electroacoustic transducer, and the input power, in step 103, the method may further include the following steps 108-110, as follows:

[0089] 108. Obtain the historical output power set of the power supply within a preset time period, wherein the historical output power set includes multiple historical output powers;

[0090] 109. Obtain the historical input power set of the electroacoustic transducer within the preset time period, wherein the historical output power set includes multiple historical input powers;

[0091] 110. Construct the preset mapping relationship between the power supply output power and the electroacoustic transducer input power based on the historical output power set and the historical input power set.

[0092] The preset time period can be the previous week, the previous month, etc.

[0093] Specifically, the power supply's historical output power and the electroacoustic transducer's historical input power within a preset time period can be fitted. For example, the historical output power at the same moment can be used as the horizontal axis and the historical input power as the vertical axis. Points can be plotted on a two-dimensional coordinate system and fitted to construct a preset mapping relationship between the power supply's output power and the electroacoustic transducer's input power.

[0094] 104. Based on the output power and the preset power threshold, adjust the input power of the electroacoustic transducer to control the peak current of the power supply.

[0095] The preset power threshold refers to a pre-set critical power level used to determine whether the peak current of the power supply exceeds the peak current limit. This preset power threshold can be set according to the actual operating power supply.

[0096] Specifically, after determining the power supply's output power, the system can determine whether the power supply's peak current meets the peak current limit based on the output power and a preset power threshold. If the peak current does not meet the limit, the input power of the electroacoustic transducer is adjusted to ensure the peak current meets the limit, thus controlling the power supply's peak current and protecting it. Because the power supply's output power is real-time and accurate, adjusting the input power based on this output power improves the precision of peak current control.

[0097] In this embodiment, the input power is determined based on the predicted output voltage and output current, ensuring the real-time nature of the input power. Compared to calculating the input power based on impedance, this method makes the input power more accurate. At the same time, the output power of the power supply is determined according to the preset mapping relationship between the power supply output power and the input power of the electroacoustic transducer, making the output power real-time and accurate. Adjusting the input power based on this output power improves the accuracy of peak current control of the power supply.

[0098] In one specific embodiment, step 104, which involves adjusting the input power of the electroacoustic transducer based on the output power and a preset power threshold to control the peak current of the power supply, may include the following step 104A, as detailed below:

[0099] 104A. If the output power is greater than the preset power threshold, adjust the gain of the audio input signal to the preset gain, or adjust the gain of the audio input signal according to the preset power threshold and the output power.

[0100] Specifically, since the output power and the peak current of the power supply are positively correlated, when the output power is greater than the preset power threshold, it indicates that the peak current of the power supply does not meet the peak current limit condition. Therefore, the peak current is controlled by controlling the input power of the electroacoustic transducer. The input power of the electroacoustic transducer can be adjusted by adjusting the gain corresponding to the audio input signal, or the gain to be adjusted can be determined based on the preset power threshold and the output power, such as the difference or ratio between the preset power threshold and the output power. Then, the gain of the audio input signal is adjusted according to the gain to be adjusted, so that the peak current of the electroacoustic transducer meets the peak current limit condition of the power supply, thereby protecting the power supply.

[0101] In one specific embodiment, adjusting the gain corresponding to the audio input signal to a preset gain in step 104A may include the following step 104A1, as follows:

[0102] 104A1. Adjust the gain corresponding to the audio input signal from the current gain to a preset gain, wherein the current gain is greater than the preset gain;

[0103] The step 104A, which involves adjusting the gain of the audio input signal based on the preset power threshold and the output power, may include the following steps 104A2 to 104A3, as detailed below:

[0104] 104A2. If the output power is greater than the preset power threshold, then the target gain corresponding to the audio input signal is determined based on the preset power threshold and the output power.

[0105] 104A3. Adjust the gain of the audio input signal according to the target gain.

[0106] Specifically, when the output power exceeds a preset power threshold, it indicates that the peak current of the power supply does not meet the peak current limit. Therefore, the peak current is controlled by adjusting the input power of the electroacoustic transducer. This control can be achieved by adjusting the gain corresponding to the audio input signal. One adjustment method is to adjust the gain of the audio input signal from the current gain to a preset gain. Since the current gain is greater than the preset gain, the audio input signal is attenuated, thus reducing the input power. This ensures that the peak current of the electroacoustic transducer meets the peak current limit of the power supply, protecting the power supply. Another adjustment method is to calculate the ratio of the preset power threshold to the output power, using this ratio as the target gain. The gain corresponding to the audio input signal is then adjusted to the target gain. Since this ratio is less than 1, the audio input signal is attenuated, reducing the input power. This ensures that the peak current of the electroacoustic transducer meets the peak current limit of the power supply, protecting the power supply.

[0107] Furthermore, to better implement the power supply peak current control method in the embodiments of this application, this application also provides a power supply peak current control device based on the power supply peak current control method, see reference. Figure 2 , Figure 2 The diagram illustrates a module schematic of a power supply peak current control device according to an embodiment of this application. The power supply powers a power amplifier, which in turn powers an electroacoustic transducer. The power supply peak current control device 200 includes:

[0108] Prediction module 201 is used to acquire a first prediction signal of the electroacoustic transducer, and predict a second prediction signal of the electroacoustic transducer based on the first prediction signal using a preset signal prediction model. The first prediction signal is one of a voltage signal and a current signal, and the second prediction signal is the other of a voltage signal and a current signal.

[0109] The first determining module 202 is used to determine the input power of the electroacoustic transducer based on the first prediction signal and the second prediction signal; the second determining module 203 is used to determine the output power of the power supply based on a preset mapping relationship between the power supply output power and the input power of the electroacoustic transducer, and the input power.

[0110] The control module 204 is used to adjust the input power of the electroacoustic transducer based on the output power and a preset power threshold, so as to control the peak current of the power supply.

[0111] In this embodiment, the preset signal prediction model is a preset impedance model or a preset admittance model; the prediction module 201 is specifically used for:

[0112] If the preset signal prediction model is a preset impedance model, then the first predicted signal is determined to be a current signal and the second predicted signal is a voltage signal.

[0113] Based on the first predicted signal, a preset impedance model is used to predict the second predicted signal of the electroacoustic transducer.

[0114] If the preset signal prediction model is a preset admittance model, then the first predicted signal is determined to be a voltage signal and the second predicted signal is a current signal.

[0115] Based on the first predicted signal, a second predicted signal of the electroacoustic transducer is predicted using a preset admittance model.

[0116] In this embodiment of the application, the prediction module 201 is further configured to:

[0117] If the first predicted signal is a voltage signal, then the audio input signal and corresponding gain of the electroacoustic transducer are obtained;

[0118] The voltage signal is determined based on the audio input signal and the gain;

[0119] If the first predicted signal is a current signal, then the current signal is acquired by a current acquisition device.

[0120] In this embodiment of the application, the prediction module 201 is further configured to:

[0121] If the first predicted signal is a voltage signal, then the audio input signal and corresponding gain of the electroacoustic transducer are obtained;

[0122] The voltage signal is determined based on the audio input signal and the gain;

[0123] If the first predicted signal is a current signal, then the current signal is acquired by a current acquisition device.

[0124] In this embodiment of the application, the prediction module 201 is further configured to:

[0125] The first predicted signal is used as the input of the preset admittance model, and processed using the preset admittance model to obtain the second predicted signal output by the preset admittance model. The preset admittance model is an electroacoustic transducer admittance model that updates the model parameters of the electroacoustic transducer admittance model in real time.

[0126] In this embodiment of the application, the peak current control device 200 of the power supply further includes:

[0127] The first acquisition module is used to acquire the original admittance model of the electroacoustic transducer, the voltage data and current data of the electroacoustic transducer;

[0128] The third determining module is used to determine the actual admittance model parameters of the electroacoustic transducer based on the voltage data and the current data.

[0129] The update module is used to update the original electroacoustic transducer admittance model according to the actual admittance model parameters to obtain the preset admittance model.

[0130] In this embodiment of the application, the control module 204 is specifically used for:

[0131] If the output power is greater than the preset power threshold, the gain of the audio input signal is adjusted to the preset gain, or the gain of the audio input signal is adjusted according to the preset power threshold and the output power.

[0132] In this embodiment of the application, the control module 204 is further configured to:

[0133] The gain corresponding to the audio input signal is adjusted from the current gain to a preset gain, wherein the current gain is greater than the preset gain;

[0134] The step of adjusting the gain of the audio input signal according to the preset power threshold and the output power includes:

[0135] The target gain corresponding to the audio input signal is determined based on the preset power threshold and the output power.

[0136] The gain of the audio input signal is adjusted according to the target gain.

[0137] In this embodiment of the application, the peak current control device 200 of the power supply further includes:

[0138] The second acquisition module is used to acquire the historical output power set of the power supply within a preset time period, and the historical output power set includes multiple historical output powers.

[0139] The third acquisition module is used to acquire the historical input power set of the electroacoustic transducer within the preset time period, and the historical output power set includes multiple historical input powers.

[0140] A construction module is used to construct the preset mapping relationship between the power supply output power and the electroacoustic transducer input power based on the historical output power set and the historical input power set.

[0141] It should be understood that Figure 3The apparatus and modules shown can be implemented in various ways. For example, in some embodiments, the apparatus and modules can be implemented in hardware, software, or a combination of both. The hardware portion can be implemented using dedicated logic; the software portion can be stored in memory and executed by an appropriate instruction execution system, such as a microprocessor or dedicated-design hardware. Those skilled in the art will understand that the methods and systems described above can be implemented using computer-executable instructions and / or included in processor control code, for example, on a carrier medium such as a disk, CD, or DVD-ROM, a programmable memory such as read-only memory (firmware), or a data carrier such as an optical or electronic signal carrier. The systems and modules of this application can be implemented not only with hardware circuits such as very large-scale integrated circuits or gate arrays, semiconductors such as logic chips, transistors, or programmable hardware devices such as field-programmable gate arrays, programmable logic devices, etc., but also with software, for example, executed by various types of processors, or with a combination of the aforementioned hardware circuits and software (e.g., firmware).

[0142] It should be noted that the above description of the device and its modules is for convenience only and should not be construed as limiting this application to the scope of the embodiments described. It is understood that those skilled in the art, after understanding the principle of the system, may arbitrarily combine the various modules or construct subsystems connected to other modules without departing from this principle. For example, Figure 3 The prediction module 201, the first determination module 202, the second determination module 203, and the control module 204 disclosed in the document can be different modules in one system, or one module can implement the functions of two or more of the above modules.

[0143] Furthermore, this application embodiment also provides an electronic device, which includes a memory and a processor. The memory stores a computer program, and the processor runs the computer program in the memory to perform the steps in the peak current control method of the power supply described in any of the above embodiments. This electronic device may be, but is not limited to, a weight scale, body fat scale, nutritional scale, infrared electronic thermometer, pulse oximeter, body composition analyzer, power bank, wireless charger, fast charger, car charger, adapter, display, Universal Serial Bus (USB) docking station, stylus, True Wireless Stereo (TWS) earphones, car center console screen, automobile, smart wearable device, mobile terminal, smart home device, etc.

[0144] Wearable devices include, but are not limited to, smartwatches, smart bracelets, and neck massagers. Mobile terminals include, but are not limited to, smartphones, laptops, tablets, and point-of-sale (POS) terminals. Smart home devices include, but are not limited to, smart sockets, smart rice cookers, smart robot vacuums, and smart lights.

[0145] Furthermore, embodiments of the present invention also provide a computer-readable storage medium, which may include: read-only memory (ROM), random access memory (RAM), a magnetic disk, or an optical disk, etc. A computer program is stored thereon, which is loaded by a processor to execute the steps in any of the peak current control methods for a power supply provided in embodiments of the present invention. For example, the computer program loaded by the processor can execute the following steps:

[0146] A first predicted signal of an electroacoustic transducer is obtained, and a second predicted signal of the electroacoustic transducer is predicted based on the first predicted signal using a preset signal prediction model. The first predicted signal is one of a voltage signal and a current signal, and the second predicted signal is the other of a voltage signal and a current signal.

[0147] The input power of the electroacoustic transducer is determined based on the first prediction signal and the second prediction signal;

[0148] The output power of the power supply is determined based on the preset mapping relationship between the power supply output power and the input power of the electroacoustic transducer, and the input power.

[0149] Based on the output power and the preset power threshold, the input power of the electroacoustic transducer is adjusted to control the peak current of the power supply.

[0150] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the detailed descriptions of other embodiments above, which will not be repeated here.

[0151] The basic concepts have been described above. Obviously, for those skilled in the art, the detailed disclosure above is merely illustrative and does not constitute a limitation of this application. Although not explicitly stated herein, those skilled in the art may make various modifications, improvements, and corrections to this application. Such modifications, improvements, and corrections are suggested in this application, and therefore remain within the spirit and scope of the exemplary embodiments of this application.

[0152] Furthermore, this application uses specific terms to describe embodiments of the application. For example, "an embodiment," "one embodiment," and / or "some embodiments" refer to a particular feature, structure, or characteristic associated with at least one embodiment of the application. Therefore, it should be emphasized and noted that "an embodiment," "one embodiment," or "an alternative embodiment" mentioned twice or more in different locations in this specification do not necessarily refer to the same embodiment. In addition, certain features, structures, or characteristics in one or more embodiments of the application can be appropriately combined.

[0153] Similarly, it should be noted that, in order to simplify the description of the present application and thus aid in the understanding of one or more embodiments of the invention, the foregoing description of the embodiments of the present application sometimes combines multiple features into a single embodiment, drawing, or description thereof. However, this disclosure method does not imply that the subject matter of the application requires more features than those mentioned in the claims. In fact, the embodiments contain fewer features than all the features of the single embodiments disclosed above.

[0154] In some embodiments, numbers describing the quantity of components and attributes are used. It should be understood that such numbers used in the description of embodiments are modified in some examples with the terms "approximately," "approximately," or "generally." Unless otherwise stated, "approximately," "approximately," or "generally" indicates that the numbers are allowed to vary by ±20%. Accordingly, in some embodiments, the numerical parameters used in the specification and claims are approximate values, which may be changed depending on the characteristics required by individual embodiments. In some embodiments, numerical parameters should take into account specified significant digits and employ a general method of digit reservation. Although the numerical ranges and parameters used to confirm their breadth of scope in some embodiments of this application are approximate values, in specific embodiments, such values ​​are set as precisely as feasible.

[0155] For each patent, patent application, patent application publication, and other material such as articles, books, specifications, publications, and documents referenced in this application, the entire contents of that patent application are incorporated herein by reference, except for historical application documents that are inconsistent with or conflict with the content of this application, and documents that limit the broadest scope of the claims of this application (currently or subsequently appended to this application). It should be noted that if there are any inconsistencies or conflicts between the descriptions, definitions, and / or terminology used in the supplementary materials of this application and the content of this application, the descriptions, definitions, and / or terminology used in this application shall prevail.

[0156] The foregoing has provided a detailed description of a peak current control method, apparatus, electroacoustic transducer control method, electronic device, and storage medium for a power supply provided in the embodiments of this application. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.

Claims

1. A method for controlling the peak current of a power supply, characterized in that, The power supply is used to power the power amplifier, the power amplifier is used to power the electroacoustic transducer, and the peak current control method of the power supply includes: A first predicted signal of an electroacoustic transducer is obtained, and a second predicted signal of the electroacoustic transducer is predicted based on the first predicted signal using a preset signal prediction model. The first predicted signal is one of a voltage signal and a current signal, and the second predicted signal is the other of a voltage signal and a current signal. The input power of the electroacoustic transducer is determined based on the first prediction signal and the second prediction signal; The output power of the power supply is determined based on the preset mapping relationship between the power supply output power and the input power of the electroacoustic transducer, and the input power. Based on the output power and the preset power threshold, the input power of the electroacoustic transducer is adjusted to control the peak current of the power supply. The step of adjusting the input power of the electroacoustic transducer based on the output power and a preset power threshold includes: If the output power is greater than the preset power threshold, the gain of the audio input signal of the electroacoustic transducer is adjusted to the preset gain, or the gain of the audio input signal of the electroacoustic transducer is adjusted according to the preset power threshold and the output power.

2. The peak current control method for a power supply as described in claim 1, characterized in that, The preset signal prediction model is a preset impedance model or a preset admittance model; The step of predicting the second predicted signal of the electroacoustic transducer based on the first predicted signal using a preset signal prediction model includes: If the preset signal prediction model is a preset impedance model, then the first predicted signal is determined to be a current signal and the second predicted signal is a voltage signal. Based on the first predicted signal, a preset impedance model is used to predict the second predicted signal of the electroacoustic transducer. If the preset signal prediction model is a preset admittance model, then the first predicted signal is determined to be a voltage signal and the second predicted signal is a current signal. Based on the first predicted signal, a second predicted signal of the electroacoustic transducer is predicted using a preset admittance model.

3. The peak current control method for a power supply as described in claim 1, characterized in that, The acquisition of the first prediction signal of the electroacoustic transducer includes: If the first predicted signal is a voltage signal, then the audio input signal and corresponding gain of the electroacoustic transducer are obtained; The voltage signal is determined based on the audio input signal and the gain; If the first predicted signal is a current signal, then the current signal is acquired by a current acquisition device.

4. The peak current control method for a power supply as described in claim 2, characterized in that, The step of predicting the second prediction signal of the electroacoustic transducer based on the first prediction signal using a preset admittance model includes: The first predicted signal is used as the input of the preset admittance model, and processed using the preset admittance model to obtain the second predicted signal output by the preset admittance model. The preset admittance model is an electroacoustic transducer admittance model that updates the model parameters of the electroacoustic transducer admittance model in real time.

5. The peak current control method for a power supply as described in claim 4, characterized in that, The method further includes: Obtain the original admittance model of the electroacoustic transducer, the voltage data of the electroacoustic transducer, and the current data of the electroacoustic transducer; Based on the voltage data and the current data, determine the actual admittance model parameters of the electroacoustic transducer; The original electroacoustic transducer admittance model is updated based on the actual admittance model parameters to obtain the preset admittance model.

6. The peak current control method for a power supply as described in claim 1, characterized in that, Adjusting the gain corresponding to the audio input signal to a preset gain includes: The gain corresponding to the audio input signal is adjusted from the current gain to a preset gain, wherein the current gain is greater than the preset gain; The step of adjusting the gain of the audio input signal according to the preset power threshold and the output power includes: The target gain corresponding to the audio input signal is determined based on the preset power threshold and the output power. The gain of the audio input signal is adjusted according to the target gain.

7. The peak current control method for a power supply as described in claim 1, characterized in that, Before determining the output power of the power supply based on a preset mapping relationship between the power supply output power and the electroacoustic transducer input power, and the input power, the method further includes: Obtain the historical output power set of the power supply within a preset time period, wherein the historical output power set includes multiple historical output powers; Obtain the historical input power set of the electroacoustic transducer within the preset time period, wherein the historical output power set includes multiple historical input powers; Based on the historical output power set and the historical input power set, a preset mapping relationship between the power supply output power and the electroacoustic transducer input power is constructed.

8. A peak current control device for a power supply, characterized in that, The power supply is used to power a power amplifier, the power amplifier is used to power an electroacoustic transducer, and the peak current control device of the power supply is used to execute the peak current control method of the power supply as described in any one of claims 1 to 7, wherein the peak current control device of the power supply comprises: The prediction module is used to acquire a first prediction signal of the electroacoustic transducer, and based on the first prediction signal, to predict a second prediction signal of the electroacoustic transducer using a preset signal prediction model. The first prediction signal is one of a voltage signal and a current signal, and the second prediction signal is the other of a voltage signal and a current signal. The first determining module is configured to determine the input power of the electroacoustic transducer based on the first prediction signal and the second prediction signal; The second determining module is used to determine the output power of the power supply based on a preset mapping relationship between the power supply output power and the input power of the electroacoustic transducer, and the input power. The control module is used to adjust the input power of the electroacoustic transducer based on the output power and a preset power threshold, so as to control the peak current of the power supply.

9. An electronic device, characterized in that, It includes a memory and a processor, the memory storing a computer program, and the processor running the computer program in the memory to perform the steps in the peak current control method of the power supply according to any one of claims 1 to 7.

10. A storage medium, characterized in that, The storage medium stores a plurality of instructions adapted for loading by a processor to execute the steps of the peak current control method for the power supply according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Method for numeral sound signal processing and digital type sound frequency directional loudspeaker

    CN101203062A

  • Photovoltaic grid-connected inverter power limit method and device, controller and inverter

    CN109888827A