Charging control method and device, electronic equipment and medium
Patent Information
- Application Number
- CN202311414184.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-27
- Publication Date
- 2026-10-09
- Estimated Expiration
- 2043-10-27
AI Technical Summary
[0005]本申请实施例的目的是提供一种充电控制方法、装置、电子设备及介质,能够解决采用两个充电芯片充电导致充电噪声较大的问题
[0012] In this embodiment, when two charging chips in the terminal are working simultaneously, the operating frequency of one of the charging chips (such as the first charging chip) can be adjusted until the frequency deviation between the output frequencies of the two charging chips falls outside the first frequency range, provided that the frequency deviation between the output frequencies of the two charging chips falls within the first frequency range. Since the first frequency range is used to characterize whether the resonant frequencies corresponding to the two output frequencies are within the range that the human ear can perceive, it can be ensured that the resonant frequencies corresponding to the output frequencies of the two charging chips after the operating frequency adjustment are outside the range that the human ear can perceive, thereby reducing the charging noise caused by using dual charging chips.
Smart Images

Figure CN117411138B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of charging technology, specifically relating to a charging control method, device, electronic device, and medium. Background Technology
[0002] As users increase their frequency of using electronic devices, their demands for charging speed are also increasing.
[0003] Currently, two charging chips can be used to charge electronic devices, thereby increasing the charging speed of electronic devices.
[0004] However, when using two charging chips to charge an electronic device, if the charging frequencies of these two chips are different, the harmonic frequencies generated by these two charging frequencies may fall within the range of frequencies perceptible to the human ear, resulting in significant charging noise. Summary of the Invention
[0005] The purpose of this application is to provide a charging control method, device, electronic device, and medium that can solve the problem of high charging noise caused by using two charging chips.
[0006] In a first aspect, embodiments of this application provide a charging control method applied to a terminal including two charging chips. The method includes: detecting the output frequencies of the two charging chips when both charging chips are in a working state simultaneously; adjusting the working frequency of the first charging chip when the frequency deviation between the output frequencies of the two charging chips is within a first frequency range, until the frequency deviation between the output frequencies of the two charging chips is outside the first frequency range; wherein, the first frequency range is used to characterize whether the resonant frequencies corresponding to the two output frequencies are within the frequency range perceptible to the human ear.
[0007] Secondly, embodiments of this application provide a charging control device, which may include a detection module and an adjustment module. The detection module is used to detect the output frequencies of the two charging chips when both chips in the terminal are simultaneously operating. The adjustment module is used to adjust the operating frequency of the first charging chip when the frequency deviation between the output frequencies detected by the detection module is within a first frequency range, until the frequency deviation between the output frequencies of the two charging chips is outside the first frequency range; wherein, the first frequency range is used to characterize whether the resonant frequencies corresponding to the two output frequencies are within the range of frequencies perceptible to the human ear.
[0008] In a first aspect, embodiments of this application provide an electronic device including a processor and a memory, wherein the memory stores a program or instructions executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the method described in the first aspect.
[0009] Fourthly, embodiments of this application provide a readable storage medium on which a program or instructions are stored, which, when executed by a processor, implement the steps of the method described in the first aspect.
[0010] Fifthly, embodiments of this application provide a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being used to run programs or instructions to implement the method as described in the first aspect.
[0011] In a sixth aspect, embodiments of this application provide a computer program product stored in a storage medium, which is executed by at least one processor to implement the method described in the first aspect.
[0012] In this embodiment, when two charging chips in the terminal are working simultaneously, the operating frequency of one of the charging chips (such as the first charging chip) can be adjusted until the frequency deviation between the output frequencies of the two charging chips falls outside the first frequency range, provided that the frequency deviation between the output frequencies of the two charging chips falls within the first frequency range. Since the first frequency range is used to characterize whether the resonant frequencies corresponding to the two output frequencies are within the range that the human ear can perceive, it can be ensured that the resonant frequencies corresponding to the output frequencies of the two charging chips after the operating frequency adjustment are outside the range that the human ear can perceive, thereby reducing the charging noise caused by using dual charging chips.
[0013] Furthermore, since the resonant frequency corresponding to the output frequency of the two charging chips can be determined by whether the frequency deviation between the output frequencies of the two charging chips falls within a specific frequency range, it can simplify the process of determining whether the dual charging chips generate noise perceptible to the human ear, thereby improving charging control efficiency. Attached Figure Description
[0014] Figure 1 This is one of the flowcharts illustrating the charging control method provided in the embodiments of this application;
[0015] Figure 2 This is a circuit diagram of a related technology that uses dual charging chips for charging.
[0016] Figure 3This is a schematic diagram of the output signal of the dual charging chip and the corresponding resonant signal when charging with dual charging chips.
[0017] Figure 4 This is a second schematic flowchart of the charging control method provided in the embodiments of this application;
[0018] Figure 5 This is one of the structural schematic diagrams of the terminal provided in the embodiments of this application;
[0019] Figure 6 This is a second schematic diagram of the terminal structure provided in the embodiments of this application;
[0020] Figure 7 This is the third schematic diagram of the terminal structure provided in the embodiments of this application;
[0021] Figure 8 This is the fourth structural schematic diagram of the terminal provided in the embodiments of this application;
[0022] Figure 9 This is a schematic diagram of the charging control device provided in the embodiments of this application;
[0023] Figure 10 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application;
[0024] Figure 11 This is the fifth schematic diagram of the terminal structure provided in the embodiments of this application. Detailed Implementation
[0025] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.
[0026] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.
[0027] The terms "at least one," "at least one of," etc., used in the specification and claims of this application refer to any one, any two, or a combination of two or more of the included items. For example, at least one of a, b, and c can mean: "a," "b," "c," "a and b," "a and c," "b and c," and "a, b, and c," where a, b, and c can be single or multiple. Similarly, "at least two" refers to two or more items, and its meaning is similar to that of "at least one."
[0028] The charging control method provided in this application will be described in detail below with reference to the accompanying drawings, through specific embodiments and application scenarios.
[0029] The charging control method provided in this application can be applied to scenarios where charging is performed through two or more charging chips in a terminal.
[0030] Currently, when a terminal uses two or more charging chips to charge simultaneously, if these charging chips have different output frequencies, the resonant frequencies corresponding to the output frequencies of these charging chips may fall within the frequency range that the human ear can perceive, thus causing the terminal to generate charging noise.
[0031] To address the charging noise issue caused by dual charging chips, this application provides a method for rapid charging control. When two charging chips in the terminal are simultaneously in operation, the output frequencies of the two charging chips are detected, and it is determined whether the frequency deviation between the output frequencies of the two charging chips falls within a first frequency range.
[0032] If the frequency falls within the first frequency range, the operating frequency of one of the two charging chips is adjusted until the frequency deviation between the output frequencies of the two charging chips falls outside the first frequency range. Since the first frequency range is used to characterize whether the resonant frequencies corresponding to the two output frequencies are within the range of frequencies that the human ear can perceive, it can be ensured that the resonant frequencies corresponding to the output frequencies of the two charging chips after the operating frequency adjustment are outside the range of frequencies that the human ear can perceive, thereby reducing the noise caused by using dual charging chips.
[0033] Furthermore, since the resonant frequency corresponding to the output frequency of the two charging chips can be determined by whether the frequency deviation between the output frequencies of the two charging chips falls within a specific frequency range, it can simplify the process of determining whether the dual charging chips generate noise perceptible to the human ear, thereby improving charging control efficiency.
[0034] The charging control method provided in this application can be executed by a terminal, or by a functional module or entity within the terminal that can implement the charging control method. The specific implementation can be determined based on actual usage requirements, and this application does not impose any limitations. The following description uses the execution of the charging control method by a terminal as an example to illustrate the charging control method provided in this application.
[0035] Figure 1 This illustration shows a flowchart of a charging control method provided in an embodiment of this application. The charging control method provided in this embodiment can be applied to a terminal including two charging chips, such as... Figure 1 As shown, the charging control method provided in this application embodiment may include steps 101 and 102.
[0036] Step 101: When both charging chips are working simultaneously, the terminal detects the output frequency of the two charging chips.
[0037] In this embodiment, the output frequency of the charging chip can be understood as the actual operating frequency or effective frequency of the charging chip.
[0038] Optionally, the terminal can detect the output frequency of the two charging chips after detecting that they are working simultaneously.
[0039] Typically, the output frequency of a charging chip is less than or equal to its operating frequency.
[0040] Step 102: When the frequency deviation between the output frequencies of the two charging chips is within the first frequency range, the terminal adjusts the operating frequency of the first charging chip until the frequency deviation between the output frequencies of the two charging chips is outside the first frequency range.
[0041] The first charging chip can be either a first charging chip or a second charging chip, and the first frequency range can be used to characterize whether the resonant frequencies corresponding to the two output frequencies are within the range of frequencies that can be perceived by the human ear.
[0042] Optionally, the first charging chip can be either one of two charging chips that operate simultaneously. For example, assuming that charging chip 1 and charging chip 2 of the terminal operate simultaneously, then the first charging chip can be either charging chip 1 or charging chip 2.
[0043] It is understandable that when the frequency deviation between the output frequencies of the two charging chips is within the first frequency range, the terminal can adjust the operating frequency of one of the two charging chips until the frequency deviation between the output frequencies of the two charging chips is outside the first frequency range.
[0044] It can be understood that when the frequency deviation between the two output frequencies is within the first frequency range, it means that the frequency of the resonant wave obtained by intermodulation of the two output frequencies is within the range of human hearing perception; otherwise, it means that the frequency of the resonant wave obtained by intermodulation of the two output frequencies is outside the range of human hearing perception, that is, it is not easy for the human ear to hear.
[0045] The method for determining the first frequency range will be explained below with reference to the accompanying drawings.
[0046] Assuming the charging circuit uses two charging chips, it is as follows: Figure 2 The charging circuit shown is as follows: Figure 2 As shown, the charging circuit includes: an integrated circuit (IC) 1 and a charging IC 2, capacitors C1, C2, C3, C4, and C5, and batteries (BT) 1 and BT 2.
[0047] In this configuration, the positive terminal of capacitor C1 is connected to the power port VBUS, and the negative terminal of capacitor C1 is grounded; the input terminals of charging IC1 and charging IC2 are connected to VBUS, the output terminal of charging IC1 is connected to the positive terminals of capacitors C4 and BT2, and the negative terminals of capacitors C4 and BT2 are grounded; the output terminal of charging IC2 is connected to the positive terminals of capacitors C5 and BT1, and the negative terminals of capacitors C5 and BT1 are grounded; capacitors C2 and C3 are connected in parallel with charging IC1 and charging IC2, respectively.
[0048] VBUS is the charging input circuit, which is the path of the charging current from the charger to the charging IC.
[0049] Capacitor C1: This is the input capacitor for the charging circuit, used for functions such as voltage regulation and filtering.
[0050] Capacitors C2 and C3: These are the capacitors for the charging ICs. Capacitors C2 and C3 are the energy storage elements for charging ICs 1 and 2 during the charging process, respectively.
[0051] Capacitors C4 and C5 are charging output capacitors, used in conjunction with capacitors C2 or C3 respectively, and are mostly used in the form of charge pumps to realize voltage or current conversion.
[0052] When charging IC1 and charging IC2 work simultaneously, such as Figure 3 As shown, the output signal curve of charging IC1 can be represented as x1 = A1cos(ω1t + θ1), and the output signal curve of charging IC1 can be represented as x2 = A2cos(ω2t + θ2). Assuming that the charging current magnitude and charging ripple amplitude of the two charging ICs are the same, and their starting phases are the same, i.e., A1 = A2 = A, θ1 = θ2 = θ, then... Figure 3As shown, the resonant waves corresponding to the output frequencies of these two charging ICs can be expressed as:
[0053]
[0054] The period of the resonant envelope corresponding to the resonant wave X can be expressed as: F = 2(f2 - f1), the half period of the resonant envelope can be expressed as F1 = f2 - f1, and the period of the resonant wave can be expressed as: F2 = (f2 + f1) / 2 (assuming f2 ≥ f1);
[0055] Where f1 is the output frequency of x1, and f2 is the output frequency of x1.
[0056] Typically, charging ICs operate at higher frequencies, such as 200kHz or 300kHz. Considering that the operating frequencies of the two charging chips are quite close, then... The change over time is small, so it can be simply viewed as X having an angular frequency of . Amplitude is The resonant vibration. If f1 = 200kHz or 300kHz, then the frequency in the resonant envelope is... Therefore, frequencies within the envelope are not perceptible; the human ear may perceive low-frequency signals within the envelope, that is, signals with frequencies in the range of 20Hz to 20kHz.
[0057] Therefore, when 20Hz ≤ F = 2(f2-f1) ≤ 20kHz, the user can hear the noise generated by the resonant envelope. Conversely, if F = 2(f2-f1) exceeds this range, i.e., F = 2(f2-f1) < 20Hz or F = 2(f2-f1) > 20kHz, the user cannot perceive the noise generated by the resonant envelope. Thus, the first frequency range can be determined to be: [10Hz, 10kHz].
[0058] It is understandable that, theoretically, the output frequencies of the two charging ICs are the same. However, due to differences in line transmission and the consistency of charging IC commands from order placement to execution, there is a frequency deviation in the actual charging frequency.
[0059] For example, if the theoretical frequency of two charging ICs is 300KHz, but their actual frequencies are f1 = 300KHz and f2 = 302KHz respectively, then a noise with a frequency of 2(302-300) = 4KHz will occur. The range that the human ear can hear is 20Hz-20KHz. That is, if the resonant envelope formed falls within the range of 20Hz-20KHz, it will be easily perceived by the user.
[0060] In the charging control method provided in this application embodiment, when two charging chips in the terminal are working simultaneously, the operating frequency of one of the two charging chips (such as the first charging chip) can be adjusted until the frequency deviation between the output frequencies of the two charging chips falls outside the first frequency range, provided that the frequency deviation between the output frequencies of the two charging chips falls within the first frequency range. Since the first frequency range is used to characterize whether the resonant frequencies corresponding to the two output frequencies are within the range of frequencies perceptible to the human ear, it can be ensured that the resonant frequencies corresponding to the output frequencies of the two charging chips after the operating frequency adjustment are outside the range of frequencies perceptible to the human ear, thereby reducing the charging noise caused by using dual charging chips.
[0061] Furthermore, since the resonant frequency corresponding to the output frequency of the two charging chips can be determined by whether the frequency deviation between the output frequencies of the two charging chips falls within a specific frequency range, it can simplify the process of determining whether the dual charging chips generate noise perceptible to the human ear, thereby improving charging control efficiency.
[0062] Optionally, step 102 may include steps 102a and 102b.
[0063] Step 102a: When the frequency deviation between the output frequencies of the two charging chips is within the first frequency range, the terminal adjusts the operating frequency of the first charging chip according to at least one frequency adjustment parameter in sequence.
[0064] Each frequency adjustment parameter includes a frequency adjustment step size.
[0065] Optionally, the terminal adjusts the operating frequency of the first charging chip sequentially according to at least one frequency adjustment parameter. This can be understood as the terminal determining a frequency each time based on one of the at least one frequency adjustment parameter, and adjusting the operating frequency of the first charging chip to that frequency. It can be seen that the terminal adjusts the operating frequency of the first charging chip individually using each frequency adjustment parameter.
[0066] Optionally, in order to improve the accuracy of adjusting the operating frequency, the terminal can perform corresponding calculations on the frequency adjustment step size of each frequency adjustment parameter and the operating frequency of the other charging chip among the two charging chips, and use the frequency corresponding to the calculation result as the adjusted operating frequency of the first charging chip.
[0067] Optionally, the frequency adjustment step size in at least one of the frequency adjustment parameters is outside the first frequency range, and increases or decreases sequentially. This ensures that the adjusted operating frequency of the first charging chip is outside the first frequency range, thereby reducing the probability that the resonant frequencies corresponding to the output frequencies of the two charging chips fall within the range of frequencies perceptible to the human ear.
[0068] For example, assuming the first frequency range is [10Hz, 10KHz], then: (1) the frequency adjustment step size in at least one of the above frequency adjustment parameters can be greater than 10KHz and increase sequentially; or, (2) the frequency adjustment step size in at least one of the above frequency adjustment parameters can be less than 10Hz and decrease sequentially.
[0069] Optionally, in the above (1), the purpose of the frequency adjustment step size being greater than 10KHz is to ensure that the envelope frequency of the resonant wave corresponding to the output frequency of the two charging chips is not within the range of human hearing by adding an appropriate operating frequency difference to the two charging chips.
[0070] Optionally, in (2) above, the purpose of adjusting the frequency step size to less than 10Hz is to ensure that the envelope frequency of the resonant wave corresponding to the output frequency of the two charging chips is not within the range of human hearing by adding an appropriate operating frequency difference to the two charging chips. However, considering the high accuracy requirement of less than 10Hz, the frequency loss characteristics and stability differences of the circuit components and the charging IC itself may make (2) difficult to apply in practice.
[0071] Thus, since the frequency adjustment step size in each frequency adjustment parameter is outside the first frequency range, adjusting the operating frequency of the first charging chip according to a frequency adjustment parameter can increase the probability that the frequency deviation between the output frequencies of the two charging chips is outside the first frequency range. Therefore, by adjusting the frequency a limited number of times, the frequency deviation between the output frequencies of the two charging chips can be kept outside the first frequency range, thereby avoiding the resonant wave frequencies corresponding to the output frequencies of the two charging chips from being within the range of human hearing perception, thereby reducing charging noise.
[0072] Step 102b: After the terminal adjusts the operating frequency of the first charging chip according to a frequency adjustment parameter, it detects the output frequency of the two charging chips until the frequency deviation between the output frequencies of the two charging chips is outside the first frequency range.
[0073] In this embodiment of the application, after the terminal adjusts the working frequency of the first charging chip according to a frequency adjustment parameter, the purpose of detecting the output frequency of the two charging chips is to confirm or verify the frequency deviation.
[0074] It is understandable that after each detection of the output frequency of the two charging chips, the terminal can calculate the frequency deviation between the output frequencies of the two charging chips to determine whether the frequency deviation is outside the first frequency range.
[0075] The charging control method provided in the embodiments of this application will be described below with reference to examples.
[0076] For example, when both charging chips are working simultaneously, the user's perceptible noise level is: 10Hz ≤ Δf ≤ 10kHz; Figure 4 As shown, when the terminal uses the dual-charging-chip charging mode, assuming the output frequencies of the two charging chips are f1 and f2 respectively, then:
[0077] If f1 and f2 are different, and 10Hz≤f2-f1≤10KHz, then the output frequency of one of the two charging chips can be fixed, and the parameters can be adjusted according to the first frequency to adjust the operating frequency of the other charging chip to frequency 1.
[0078] Then, the terminal can detect the output frequencies of the two charging chips to obtain f1' and f2'. If 10Hz≤f2'-f1'≤10KHz, the terminal can continue to adjust the operating frequency of one of the charging chips to frequency 2 according to the second frequency adjustment parameter, and continue to detect the output frequencies of the two charging chips to obtain f1" and f2" to confirm the frequency deviation value. This process is repeated until the nth adjustment of the operating frequency of the charging chip is completed, and the frequency deviation value between the obtained output frequencies is found to be outside [10Hz, 10KHz], to ensure that the envelope caused by the frequency deviation is not within the range of human hearing.
[0079] Thus, since the terminal can adjust the operating frequency of the first charging chip at least once, and after each adjustment, it detects and verifies whether the frequency deviation between the output frequencies of the two charging chips is outside the first frequency range, it can ensure that after the operating frequency adjustment is completed, the output frequencies of the two charging chips are indeed outside the first frequency range, that is, it ensures that the resonant frequencies corresponding to the output frequencies of the two charging chips are not easily heard by the human ear.
[0080] Optionally, the terminal adjusts the operating frequency of the first charging chip according to at least one frequency adjustment parameter in sequence, which may include the following steps A or B.
[0081] Step A: For any one of the at least one frequency adjustment parameters, the terminal adjusts the operating frequency of the first charging chip to the sum of the frequency adjustment step size in that one frequency adjustment parameter and the operating frequency of the second charging chip among the two charging chips.
[0082] Step B: For any one of the at least one frequency adjustment parameters, the terminal adjusts the operating frequency of the first charging chip to the difference between the frequency adjustment step size in that frequency adjustment parameter and the operating frequency of the second charging chip.
[0083] Optionally, the first charging chip and the second charging chip are different charging chips among two charging chips that operate simultaneously.
[0084] For example, suppose that one of the frequency adjustment parameters mentioned above may include: 11kHz, the operating frequency of the first charging chip is f1, and the operating frequency of the second charging chip is f2. Then: in step A, the terminal can adjust the operating frequency of the first charging chip to f1+11kHz; in step B, the terminal can adjust the operating frequency of the first charging chip to f1-11kHz.
[0085] It is understandable that, theoretically, the two charging chips operate at the same frequency, such as 200kHz or 300kHz. However, due to differences in chip manufacturing processes or command execution times (i.e., clock differences), the output power of the two charging chips may differ, and the magnitude of this difference is basically fixed or fluctuates only slightly.
[0086] Optionally, after the terminal detects the output power of the two charging chips for the first time, if it determines that the output power of the first charging chip is greater than that of the second charging chip, the terminal can adjust the output power of the first charging chip to the operating frequency of the second charging chip plus a frequency adjustment step; otherwise, the terminal can adjust the output power of the first charging chip to the operating frequency of the second charging chip minus a frequency adjustment step.
[0087] Thus, since the operating frequency of the first charging chip can be adjusted to the difference or sum of the frequency adjustment step size and the operating frequency of the second charging chip in any frequency adjustment parameter, the flexibility of adjusting the operating frequency of the charging chip can be improved.
[0088] Optionally, assuming that the terminal's register contains a charging parameter list, each charging parameter in the charging parameter list corresponds to a working frequency; step 102a above may include steps C and D below.
[0089] Step C: When the frequency deviation between the output frequencies of the two charging chips is within the first frequency range, the terminal determines a working frequency based on any one of the at least one frequency adjustment parameters.
[0090] For the method of determining a frequency by adjusting parameters based on any frequency, please refer to the relevant descriptions of steps A and B above.
[0091] Step D: The terminal calls the first charging parameter corresponding to the above-mentioned frequency from the charging parameter list to the first charging chip, so as to adjust the operating frequency of the first charging chip to a certain frequency through the first charging parameter.
[0092] Optionally, the terminal can first determine a frequency based on the frequency adjustment step size of one of the at least one frequency adjustment parameters and the operating frequency of the second charging chip; then, based on the correspondence list between frequencies and charging parameters, it can determine the first charging parameter corresponding to that frequency in the charging parameter list. The terminal can then call the first charging parameter from the charging parameter list and output it to the first charging chip. After receiving the first charging parameter, the first charging chip can adjust its own operating frequency to the frequency corresponding to the first charging parameter.
[0093] Optionally, the charging parameters in the charging parameter list can be adjustment commands or instructions for adjusting the operating frequency of the charging chip.
[0094] Optionally, if the first charging parameter is not included in the charging parameter list, the terminal can first determine the first charging parameter based on the correspondence list between frequency and charging parameter and the frequency, write the first charging parameter into the charging parameter list, and then call the first charging parameter in the charging parameter list and output it to the first charging chip.
[0095] Thus, since a frequency can be determined based on any one of the frequency adjustment parameters, and the first charging parameter corresponding to the frequency in the charging parameter list can be called to the first charging chip, the operating frequency of the first charging chip can be adjusted, thereby increasing the speed of adjusting the operating frequency of the charging chip.
[0096] Optionally, the terminal can perform steps 101 and 102 above through the frequency calibration module in the terminal.
[0097] For example, a frequency calibration module is added to the terminal. The frequency calibration module detects the output frequency of the charging chip and determines and adjusts the operating frequency of the charging chip based on the output frequency. This is to avoid the resonant noise envelope range corresponding to the output frequency of the charging chip falling within the 20Hz-20KHz range, thereby avoiding noise interference problems for users.
[0098] The structure of the terminal is described below.
[0099] This application provides a terminal, such as... Figure 5 As shown, the terminal may include a frequency calibration module 40 and two charging chips, namely charging chip 41 and charging chip 42.
[0100] The input terminal 401 of the frequency calibration module 40 is connected to the output terminal 411 of the charging chip 41 and the output terminal 421 of the charging chip 42, respectively. The output terminal 402 of the frequency calibration module 40 is connected to the control terminal 412 of the charging chip 41 and the control terminal 422 of the charging chip 42, respectively.
[0101] The input terminal 413 of charging chip 41 and the input terminal 423 of charging chip 42 are connected to the power port VBUS. The output terminal 411 of charging chip 41 is also connected to the battery 43, and the output terminal 421 of charging chip 42 is also connected to the battery 44.
[0102] The frequency calibration module 40 can be used to detect the output frequency of charging chip 41 and charging chip 42 when they are both in operation, and adjust the operating frequency of charging chip 41 or charging chip 42 until the output frequency of charging chip 41 and charging chip 42 is outside the frequency range when the output frequency of charging chip 41 and charging chip 42 is within the frequency range.
[0103] The frequency range is used to characterize whether the resonant frequencies corresponding to the two output frequencies are within the range of frequencies that the human ear can perceive.
[0104] For example, assuming the charging chip is charging IC1 and the charging chip is charging IC2, combined with Figure 5 ,like Figure 6 As shown, the frequency calibration module may include two input terminals and two output terminals. Each input terminal is connected to the output terminal of an electrical IC, and each output terminal is connected to the control terminal of a charging IC. For Figure 6 For further description, please refer to the above embodiments. Figure 2 Related descriptions.
[0105] In the terminal provided in this application embodiment, when the two charging chips in the terminal are working simultaneously, the frequency calibration module can adjust the working frequency of one of the two charging chips until the frequency deviation between the output frequencies of the two charging chips falls outside the first frequency range, provided that the frequency deviation between the output frequencies of the two charging chips falls within the first frequency range. Since the first frequency range is used to characterize whether the resonant frequencies corresponding to the two output frequencies are within the range of frequencies perceptible to the human ear, it can be ensured that the resonant frequencies corresponding to the output frequencies of the two charging chips after the working frequency adjustment are outside the range of frequencies perceptible to the human ear, thereby reducing the noise caused by using dual charging chips.
[0106] Optionally, combined Figure 5 ,like Figure 7As shown, the frequency calibration module 40 may include a frequency detection module 403 and a frequency adjustment module 404.
[0107] The input terminal 401 of the frequency detection module 403 is connected to the output terminal 411 of the charging chip 41 and the output terminal 421 of the charging chip 42. The output terminal 405 of the frequency detection module 403 is connected to the input terminal 406 of the frequency adjustment module 404. The output terminal 402 of the frequency adjustment module 404 is connected to the control terminal 412 of the charging chip 41 and the control terminal 422 of the charging chip 42, respectively.
[0108] The frequency detection module 403 is used to detect the output frequency of the charging chip 41 and the charging chip 42.
[0109] The frequency adjustment module 404 is used to determine whether the frequency deviation between the output frequencies of the charging chip 41 and the charging chip 42 is within the first frequency range, and if it is determined that the frequency deviation between the output frequencies of the charging chip 41 and the charging chip 42 is within the first frequency range, adjust the operating frequency of the charging chip 41 or the charging chip 42 until the output frequencies of the charging chip 41 and the charging chip 42 are outside the first frequency range.
[0110] Optionally, the frequency detection module can detect the output power of the charging chip by detecting the output current or output voltage of the charging chip.
[0111] Optionally, in combination with the above Figure 6 ,like Figure 8 As shown, the frequency calibration module 40 may further include a clock module 407. The clock module 407 is connected to the input terminal of the frequency detection module and the input terminal of the frequency adjustment module.
[0112] The clock module provides clock signals to the frequency detection module and the frequency adjustment module.
[0113] It should be noted that the specific method for adjusting the operating frequency of the charging chip by the frequency calibration module can be found in the description of the terminal adjusting the operating frequency of the first charging chip in the above method embodiment. To avoid repetition, it will not be repeated here.
[0114] It should be noted that the above embodiments are illustrated by charging simultaneously through two charging chips. In actual implementation, the charging control method provided in this application can also be applied to scenarios where charging is performed simultaneously through more than two charging chips.
[0115] Optionally, assuming the terminal includes multiple charging chips, when M charging chips are simultaneously in working state, the output frequency of the M charging chips is detected, where M is an integer greater than 1; when the resonant wave frequency corresponding to the output frequency of the M charging chips is within the range of human hearing perception, the working frequency of the M charging chips is adjusted; wherein the adjusted working frequencies of the M charging chips are arranged in an arithmetic sequence.
[0116] For example, assuming M = 4, the M charging chips are designated as charging chips 1 to 4, and the operating frequency of charging chip 1 is f1, then:
[0117] The terminal can adjust the operating frequency of charging chip 2 to: f1 + fs;
[0118] The terminal can adjust the operating frequency of charging chip 3 to: f1 + 2fs;
[0119] The terminal can adjust the operating frequency of charging chip 4 to: f1+3fs.
[0120] Here, fs is outside the first frequency range, which is used to characterize whether the resonant frequencies corresponding to the M output frequencies are within the range of frequencies that can be perceived by the human ear.
[0121] In this way, by adjusting the power frequencies of the M charging chips to be arranged in an arithmetic sequence, the frequency interval between the operating frequencies of the M charging chips can be increased, thereby reducing the probability that the resonant frequencies corresponding to the output frequencies of the M charging chips fall within the perceived sensing range, thus reducing charging interference.
[0122] It is understood that the above-described method embodiments, or various possible implementations of the method embodiments, can be executed individually, or, provided there is no contradiction, they can be combined with each other. The specific implementation can be determined according to actual usage requirements, and this application embodiment does not impose any restrictions on this.
[0123] The charging control method provided in this application can be executed by a charging control device. This application uses the example of a charging control device executing the charging control method to illustrate the charging control device provided in this application.
[0124] Figure 9 A schematic diagram of the structure of the charging control device provided in an embodiment of this application is shown, as follows: Figure 9As shown, the charging control device 900 may include a detection module 901 and an adjustment module 902. The detection module is used to detect the output frequencies of the two charging chips when both are simultaneously operating in the terminal. The adjustment module is used to adjust the operating frequency of the first charging chip when the frequency deviation between the output frequencies of the two charging chips detected by the detection module is within a first frequency range, until the frequency deviation between the output frequencies of the two charging chips is outside the first frequency range.
[0125] The first frequency range is used to characterize whether the resonant frequencies corresponding to the two output frequencies are within the range of frequencies perceptible to the human ear.
[0126] Optionally, the adjustment module is specifically used to adjust the operating frequency of the first charging chip according to at least one frequency adjustment parameter in sequence;
[0127] The detection module is further configured to detect the output frequency of the two charging chips after the adjustment module adjusts the operating frequency of the first charging chip according to a frequency adjustment parameter, until the frequency deviation between the output frequencies of the two charging chips is outside the first frequency range.
[0128] Optionally, each frequency adjustment parameter includes a frequency adjustment step size;
[0129] The adjustment module is specifically used for:
[0130] For any one of the at least one frequency adjustment parameters:
[0131] The operating frequency of the first charging chip is adjusted to the sum of the frequency adjustment step size in any of the frequency adjustment parameters and the operating frequency of the second charging chip; or...
[0132] The operating frequency of the first charging chip is adjusted to the difference between the frequency adjustment step size in any of the frequency adjustment parameters and the operating frequency of the second charging chip among the two charging chips.
[0133] Optionally, the terminal's register is configured with a charging parameter list, and each charging parameter in the charging parameter list corresponds to a working frequency;
[0134] The adjustment module is specifically used for:
[0135] A frequency is determined based on any one of the at least one frequency adjustment parameters;
[0136] The first charging parameter corresponding to the frequency in the charging parameter list is called to the first charging chip so that the operating frequency of the first charging chip is adjusted to the frequency through the first charging parameter.
[0137] In the charging control device provided in this application embodiment, when two charging chips in the terminal are working simultaneously, the operating frequency of one of the two charging chips can be adjusted until the frequency deviation between the output frequencies of the two charging chips falls outside the first frequency range, provided that the frequency deviation between the output frequencies of the two charging chips falls within the first frequency range. Since the first frequency range is used to characterize whether the resonant frequencies corresponding to the two output frequencies are within the range of frequencies perceptible to the human ear, it can be ensured that the resonant frequencies corresponding to the output frequencies of the two charging chips after the operating frequency adjustment are outside the range of frequencies perceptible to the human ear, thereby reducing the noise caused by using dual charging chips.
[0138] Furthermore, since the resonant frequency corresponding to the output frequency of the two charging chips can be determined by whether the frequency deviation between the output frequencies of the two charging chips falls within a specific frequency range, it can simplify the process of determining whether the dual charging chips generate noise perceptible to the human ear, thereby improving charging control efficiency.
[0139] The charging control device in this application embodiment can be an electronic device or a component within an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices besides a terminal. For example, the electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television (TV), ATM, or self-service machine, etc. This application embodiment does not specifically limit the specific device.
[0140] The charging control device in this application embodiment can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit it.
[0141] The charging control device provided in this application embodiment can achieve... Figures 1 to 4 The various processes implemented in the method implementation examples will not be described again here to avoid repetition.
[0142] Optionally, such as Figure 10 As shown, this application embodiment also provides an electronic device 1000, including a processor 1001 and a memory 1002. The memory 1002 stores a program or instructions that can run on the processor 1001. When the program or instructions are executed by the processor 1001, they implement the various steps of the above-described charging control method embodiment and can achieve the same technical effect. To avoid repetition, they will not be described again here.
[0143] It should be noted that the electronic devices in the embodiments of this application include mobile electronic devices and non-mobile electronic devices.
[0144] Figure 11 A schematic diagram of the hardware structure of a terminal to implement an embodiment of this application.
[0145] The terminal 700 includes, but is not limited to, the following components: radio frequency unit 701, network module 702, audio output unit 703, input unit 704, sensor 705, display unit 706, user input unit 707, interface unit 708, memory 709, two charging chips, and processor 710.
[0146] Those skilled in the art will understand that the terminal 700 may also include a power supply (such as a battery) for supplying power to various components. The power supply may be logically connected to the processor 710 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 11 The terminal structure shown does not constitute a limitation on the terminal. The terminal may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.
[0147] The sensor 705 is used to detect the output frequency of the two charging chips when both charging chips in the terminal are working at the same time; the processor 710 is used to adjust the working frequency of the first charging chip when the frequency deviation between the output frequencies of the two charging chips detected by the sensor 705 is within a first frequency range, until the frequency deviation between the output frequencies of the two charging chips is outside the first frequency range.
[0148] The first frequency range is used to characterize whether the resonant frequencies corresponding to the two output frequencies are within the range of frequencies perceptible to the human ear.
[0149] Optionally, the processor 710 is specifically configured to adjust the operating frequency of the first charging chip according to at least one frequency adjustment parameter in sequence;
[0150] The sensor 705 is also used to detect the output frequency of the two charging chips after the processor 710 adjusts the operating frequency of the first charging chip according to a frequency adjustment parameter, until the frequency deviation between the output frequencies of the two charging chips is outside the first frequency range.
[0151] Optionally, each frequency adjustment parameter includes a frequency adjustment step size;
[0152] The processor 710 is specifically used for:
[0153] For any one of the at least one frequency adjustment parameters:
[0154] The operating frequency of the first charging chip is adjusted to the sum of the frequency adjustment step size in any of the frequency adjustment parameters and the operating frequency of the second charging chip; or...
[0155] The operating frequency of the first charging chip is adjusted to the difference between the frequency adjustment step size in any of the frequency adjustment parameters and the operating frequency of the second charging chip among the two charging chips.
[0156] Optionally, the terminal's register is configured with a charging parameter list, and each charging parameter in the charging parameter list corresponds to a working frequency;
[0157] The processor 710 is specifically used for:
[0158] A frequency is determined based on any one of the at least one frequency adjustment parameters;
[0159] The first charging parameter corresponding to the frequency in the charging parameter list is called to the first charging chip so that the operating frequency of the first charging chip is adjusted to the frequency through the first charging parameter.
[0160] In the terminal provided in this application embodiment, when the two charging chips in the terminal are working simultaneously, since the frequency deviation between the output frequencies of the two charging chips falls within the first frequency range, the working frequency of one of the two charging chips can be adjusted until the frequency deviation between the output frequencies of the two charging chips falls outside the first frequency range. Since the first frequency range is used to characterize whether the resonant frequencies corresponding to the two output frequencies are within the range of frequencies perceptible to the human ear, it can be ensured that the resonant frequencies corresponding to the output frequencies of the two charging chips after the working frequency adjustment are outside the range of frequencies perceptible to the human ear, thereby reducing the noise caused by using dual charging chips.
[0161] Furthermore, since the resonant frequency corresponding to the output frequency of the two charging chips can be determined by whether the frequency deviation between the output frequencies of the two charging chips falls within a specific frequency range, it can simplify the process of determining whether the dual charging chips generate noise perceptible to the human ear, thereby improving charging control efficiency.
[0162] It should be understood that, in this embodiment, the input unit 704 may include a graphics processing unit (GPU) 7041 and a microphone 7042. The GPU 7041 processes image data of still images or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 706 may include a display panel 7061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 707 includes at least one of a touch panel 7071 and other input devices 7072. The touch panel 7071 is also called a touch screen. The touch panel 7071 may include a touch detection device and a touch controller. Other input devices 7072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, and joysticks, which will not be described in detail here.
[0163] The memory 709 can be used to store software programs and various data. The memory 709 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, the memory 709 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DRRAM). The memory 709 in the embodiments of this application includes, but is not limited to, these and any other suitable types of memory.
[0164] Processor 710 may include one or more processing units; optionally, processor 710 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into processor 710.
[0165] It should be noted that, Figure 11 The provided terminal can implement the various processes executed by the terminal in the above method embodiments and achieve the same technical effect. To avoid repetition, it will not be described again here.
[0166] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described charging control method embodiments and achieve the same technical effects. To avoid repetition, they will not be described again here.
[0167] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.
[0168] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above-described charging control method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0169] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.
[0170] This application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the various processes of the charging control method embodiments described above, and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0171] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
[0172] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0173] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.
Claims
1. A charging control method, applied to a terminal including two charging chips, characterized in that, The method includes: When both charging chips are in working condition, the output frequency of the two charging chips is detected. When the frequency deviation between the output frequencies of the two charging chips is within the first frequency range, the operating frequency of the first charging chip is adjusted until the frequency deviation between the output frequencies of the two charging chips is outside the first frequency range. The first frequency range is used to characterize whether the resonant frequencies corresponding to the two output frequencies are within the range of frequencies that can be perceived by the human ear. Adjusting the operating frequency of the first charging chip among the two charging chips until the frequency deviation between the output frequencies of the two charging chips is outside the first frequency range includes: The operating frequency of the first charging chip is adjusted sequentially according to at least one frequency adjustment parameter; After adjusting the operating frequency of the first charging chip according to a frequency adjustment parameter, the output frequency of the two charging chips is detected until the frequency deviation between the output frequencies of the two charging chips is outside the first frequency range.
2. The method according to claim 1, characterized in that, Each frequency adjustment parameter includes a frequency adjustment step size; The step of adjusting the operating frequency of the first charging chip according to at least one frequency adjustment parameter includes: For any one of the at least one frequency adjustment parameters: The operating frequency of the first charging chip is adjusted to the sum of the frequency adjustment step size in any of the frequency adjustment parameters and the operating frequency of the second charging chip; or... The operating frequency of the first charging chip is adjusted to the difference between the frequency adjustment step size in any of the frequency adjustment parameters and the operating frequency of the second charging chip among the two charging chips.
3. The method according to claim 1, characterized in that, The terminal's register contains a charging parameter list, and each charging parameter in the charging parameter list corresponds to a working frequency. The step of adjusting the operating frequency of the first charging chip according to at least one frequency adjustment parameter includes: A working frequency is determined based on any one of the at least one frequency adjustment parameters. The first charging parameter corresponding to the operating frequency in the charging parameter list is called to the first charging chip so that the operating frequency of the first charging chip is adjusted to the operating frequency through the first charging parameter.
4. A charging control device, characterized in that, The device includes: a detection module and an adjustment module; The detection module is used to detect the output frequency of the two charging chips when both charging chips in the terminal are working at the same time. The adjustment module is used to adjust the operating frequency of the first charging chip among the two charging chips when the frequency deviation value between the output frequencies of the two charging chips detected by the detection module is within a first frequency range, until the frequency deviation value between the output frequencies of the two charging chips is outside the first frequency range. The first frequency range is used to characterize whether the resonant frequencies corresponding to the two output frequencies are within the range of frequencies that can be perceived by the human ear. The adjustment module is specifically used for: The operating frequency of the first charging chip is adjusted sequentially according to at least one frequency adjustment parameter; After adjusting the operating frequency of the first charging chip according to a frequency adjustment parameter, the output frequency of the two charging chips is detected until the frequency deviation between the output frequencies of the two charging chips is outside the first frequency range.
5. The apparatus according to claim 4, characterized in that, Each frequency adjustment parameter includes a frequency adjustment step size; The adjustment module is specifically used for: For any one of the at least one frequency adjustment parameters: The operating frequency of the first charging chip is adjusted to the sum of the frequency adjustment step size in any of the frequency adjustment parameters and the operating frequency of the second charging chip; or... The operating frequency of the first charging chip is adjusted to the difference between the frequency adjustment step size in any of the frequency adjustment parameters and the operating frequency of the second charging chip among the two charging chips.
6. The apparatus according to claim 4, characterized in that, The terminal's register contains a charging parameter list, and each charging parameter in the charging parameter list corresponds to a working frequency. The adjustment module is specifically used for: A working frequency is determined based on any one of at least one frequency adjustment parameters. The first charging parameter corresponding to the operating frequency in the charging parameter list is called to the first charging chip so that the operating frequency of the first charging chip is adjusted to the operating frequency through the first charging parameter.
7. An electronic device, characterized in that, It includes a processor and a memory, the memory storing a program or instructions that can run on the processor, the program or instructions being executed by the processor to implement the steps of the charging control method as described in any one of claims 1 to 3.
8. A readable storage medium, characterized in that, The readable storage medium stores a program or instructions that, when executed by a processor, implement the steps of the charging control method as described in any one of claims 1 to 3.
Citation Information
Patent Citations
Chip control method, chip control device, electronic equipment and storage medium
CN112286338A