Audio quality adjustment method, electronic equipment and computer readable storage medium

By controlling the current frequency of the target induction coil to be consistent with the current frequency of the audio externalizer, the noise problem caused by magnetic field interference during the audio externalizer is solved, and a clearer audio output is achieved.

CN120065824APending Publication Date: 2025-05-30VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510167111.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-14
Publication Date
2025-05-30

AI Technical Summary

Technical Problem

During the audio playback process, the audio playback elements on the electronic device are easily disturbed by the magnetic field generated by the internal current path, resulting in large noise.

Method used

By acquiring the first current frequency of the audio externalizer element, the second current frequency of the target induction coil is controlled so that it is consistent with the current frequency of the audio externalizer element, thereby reducing noise.

Benefits of technology

It effectively reduces the negative interference of the target induction coil to the audio output element, reduces the noise level, and improves the audio quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120065824A_ABST
    Figure CN120065824A_ABST
Patent Text Reader

Abstract

The invention discloses an audio quality adjustment method, electronic equipment and a computer readable storage medium, and belongs to the technical field of electronics. The method comprises the following steps: acquiring a first current frequency of an audio loudspeaker element on the electronic equipment in a working state; and based on the first current frequency, controlling a second current frequency of a target induction coil on the electronic equipment, so that noise generated by the audio loudspeaker element in a working state due to interference of the target induction coil is reduced, wherein the area occupied by the target induction coil is a target area, and the target area is at least partially overlapped with the vertical projection area of the audio loudspeaker element on the plane where the target area is located.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of electronic technology, and particularly relates to an audio quality adjustment method, an electronic device, and a computer-readable storage medium. Background Art

[0002] Users often use the audio external playback function in scenarios such as watching videos and listening to music.

[0003] During the process of audio external playback, audio external playback components on electronic devices such as mobile phones are easily affected by the magnetic field interference generated by the current path inside the electronic device. Since current electronic devices such as mobile phones are often thin and light, the current path close to the audio external playback components will cause greater interference to the audio external playback components, resulting in greater background noise during audio external playback. Summary of the Invention

[0004] Embodiments of this application provide an audio quality adjustment method, an electronic device, and a computer-readable storage medium, which can solve the problem of greater background noise during audio external playback in related technologies.

[0005] In a first aspect, embodiments of this application provide an audio quality adjustment method, which includes: Obtain a first current frequency when an audio external playback component on the electronic device is in a working state; Based on the first current frequency, control a second current frequency of a target induction coil on the electronic device, so that the background noise generated by the interference of the target induction coil when the audio external playback component is in a working state is reduced; Wherein, the area occupied by the target induction coil is a target area, and the target area at least partially overlaps with the vertical projection area of the audio external playback component on the plane where the target area is located.

[0006] In a second aspect, embodiments of this application provide an electronic device, which includes a processor and a memory. The memory stores a program or instruction that can run on the processor. When the program or instruction is executed by the processor, the steps of the method described in the first aspect are implemented.

[0007] In a third aspect, embodiments of this application provide a computer-readable storage medium, on which a program or instruction is stored. When the program or instruction is executed, the steps of the method described in the first aspect are implemented.

[0008] In a fourth aspect, embodiments of this application provide a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.

[0009] The above at least one technical solution provided by the embodiments of the present application can achieve the following technical effects: In the embodiments of the present application, a first current frequency when an audio external playback component on an electronic device is in a working state is obtained; based on the first current frequency, a second current frequency of a target induction coil on the electronic device is controlled, so that noise generated by interference of the target induction coil when the audio external playback component is in the working state is reduced; wherein, an area occupied by the target induction coil is a target area, and the target area at least partially overlaps with a vertical projection area of the audio external playback component on a plane where the target area is located. Thus, since the target area occupied by the target induction coil at least partially overlaps with the vertical projection area of the audio external playback component on the plane where the target area is located, the negative interference of the target induction coil on the audio external playback component is relatively large. When the audio external playback component is in the working state, by controlling the second current frequency of the target induction coil on the electronic device based on the first current frequency of the audio external playback component, the noise generated by interference of the target induction coil when the audio external playback component is in the working state is reduced, and the negative interference of the target induction coil on the audio external playback component is reduced, thereby solving the problem of relatively large noise during audio external playback in the related art. Description of the Drawings

[0010] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention, and thus should not be regarded as limiting the scope. For those of ordinary skill in the art, other related drawings can be obtained based on these drawings without creative efforts.

[0011] Figure 1 is a flowchart of a method for adjusting audio quality provided by the embodiments of the present application; Figure 2 is a flowchart of another method for adjusting audio quality provided by the embodiments of the present application; Figure 3 is a schematic diagram of the gain current of an audio external playback component provided by the embodiments of the present application; Figure 4 is a flowchart of another method for adjusting audio quality provided by the embodiments of the present application; Figure 5-1 is a schematic diagram of a foldable electronic device provided by the embodiments of the present application; Figure 5-2 is a schematic diagram of interference of an induction coil on an audio external playback component provided by the embodiments of the present application; Figure 6 is a schematic diagram of the unfolded state loop design of a foldable electronic device provided by the embodiments of the present application; Figure 7 It is a schematic diagram of the folding angle of a foldable electronic device provided by an embodiment of the present application; Figure 8 It is a schematic diagram of an ultrasonic frequency square wave signal provided by an embodiment of the present application; Figure 9 It is a specific flowchart of an audio quality adjustment method provided by an embodiment of the present application; Figure 10 It is an overall concept diagram of an audio quality adjustment method provided by an embodiment of the present application; Figure 11 It is a working flowchart of an audio quality adjustment method provided by an embodiment of the present application; Figure 12 It is a structural block diagram of an audio quality adjustment device provided by an embodiment of the present application; Figure 13 It is a structural block diagram of an electronic device provided by an embodiment of the present application.

[0012] Explanation of reference numerals: 110 - Speaker position on the first body of the foldable electronic device; 120 - Speaker sound outlet hole position; 210 - Main board position on the second body of the foldable electronic device; 220 - Microphone sound inlet hole position on the second body of the foldable electronic device; 310 - Magnetic field generated by the current path on the main board of the foldable electronic device; 320 - Rotating shaft of the foldable electronic device. Detailed implementation manners

[0013] Next, the technical solutions in the embodiments of the present application will be clearly described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are some, but not all, of the embodiments of the present application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without creative efforts shall fall within the protection scope of the present application.

[0014] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, rather than to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of the present application can be implemented in an order different from those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of the same type, and the number of objects is not limited. For example, the first object can be one or multiple. In addition, "and / or" in the specification and claims means at least one of the connected objects, and the character " / ", generally represents an "or" relationship between the associated objects before and after.

[0015] Accordingly, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts fall within the scope of protection of the present invention.

[0016] The audio quality adjustment method provided by the embodiments of the present application is applied to the audio playback scenario. Specifically, when the audio external playback component on the electronic device is in the working state, the first current frequency of the audio external playback component can be obtained, and the second current frequency of the target induction coil on the electronic device can be controlled based on the first current frequency, so that the noise generated by the interference of the target induction coil when the audio external playback component is in the working state is reduced.

[0017] The audio quality adjustment method provided by the embodiments of the present application can be executed by an electronic device. The electronic device can be a terminal device such as a mobile phone or a tablet, or an audio playback device such as an audio player.

[0018] The following combines the accompanying drawings to specifically illustrate the audio quality adjustment method provided by the embodiments of the present application through specific embodiments and their application scenarios.

[0019] Please refer to Figure 1 , Figure 1 which is a flowchart of an audio quality adjustment method provided by the embodiments of the present application. This method can be executed by a processor in an electronic device. As Figure 1 shown, this method includes the following steps: Step 110: Obtain the first current frequency when the audio external playback component on the electronic device is in the working state.

[0020] In the embodiments of the present application, the electronic device is a device including an audio external playback component, such as a mobile phone, a computer, a tablet computer, etc. The audio external playback component is a component associated with the audio external playback function. The audio external playback component in the embodiments of the present application is, for example, a speaker or a receiver, etc., and can also be the voice coil in the speaker. When the audio external playback component is in the working state, there can be a current path in the audio external playback component. For example, the current path formed by the voice coil in the speaker, and the frequency of the current on the current path is the first current frequency.

[0021] In the embodiments of the present application, the processor in the electronic device can obtain the first current frequency of the audio external playback component and transmit the first current frequency to the drive module of the audio external playback component. The drive module can drive the audio external playback component to perform audio external playback based on the first current frequency. Among them, the processor can be, for example, the Application Processor (AP) in a mobile phone.

[0022] Step 120: Based on the first current frequency, control the second current frequency of the target induction coil on the electronic device, so as to reduce the noise generated by the interference of the target induction coil when the audio playback component is in the working state; wherein, the area occupied by the target induction coil is the target area, and the target area at least partially overlaps with the vertical projection area of the audio playback component on the plane where the target area is located.

[0023] In the embodiment of the present application, the working current path in the audio playback component can be equivalent to a coil, and the target induction coil can also be equivalent to a coil. Since the target area occupied by the target induction coil at least partially overlaps with the vertical projection area of the audio playback component on the plane where the target area is located, mutual inductance between the two coils will be generated, resulting in noise generated by the interference of the target induction coil when the audio playback component is in the working state.

[0024] In the process of controlling the second current frequency of the target induction coil on the electronic device based on the first current frequency of the audio playback component, the second current frequency on the target induction coil can be controlled to be the same as or close to the first current frequency of the audio playback component. After controlling the second current frequency of the target induction coil on the electronic device based on the first current frequency of the audio playback component, the noise generated by the interference of the target induction coil when the audio playback component is in the working state is reduced. The noise reduction in the embodiment of the present application is compared with the state before controlling the second current frequency. That is to say, the noise generated by the interference of the target induction coil after controlling the second current frequency is less than the noise generated by the interference of the target induction coil before controlling the second current frequency.

[0025] In an embodiment of the present application, in the process of controlling the second current frequency of the target induction coil based on the first current frequency, the second current frequency of the target induction coil on the electronic device can be adjusted to be equal to the first current frequency.

[0026] In the embodiment of the present application, after obtaining the first current frequency of the audio playback component, the processor in the electronic device can directly control the second current frequency of the target induction coil in the electronic device to be the first current frequency. After controlling the first current frequency of the audio playback component to be consistent with the second current frequency of the target induction coil, the magnetic field generated by the target induction coil is no longer a negative interference factor for the audio playback component, and the problem of noise generated by the interference of the target induction coil when the audio playback component is in the working state can be solved.

[0027] In an embodiment of the present application, a first current frequency of an audio external playback component on an electronic device in a working state is obtained; based on the first current frequency, a second current frequency of a target induction coil on the electronic device is controlled, so that the noise generated by the interference of the target induction coil when the audio external playback component is in the working state is reduced; wherein, the area occupied by the target induction coil is a target area, and the target area at least partially overlaps with the vertical projection area of the audio external playback component on the plane where the target area is located. Thus, since the target area occupied by the target induction coil at least partially overlaps with the vertical projection area of the audio external playback component on the plane where the target area is located, the negative interference of the target induction coil on the audio external playback component is relatively large. When the audio external playback component is in the working state, by controlling the second current frequency of the target induction coil on the electronic device based on the first current frequency of the audio external playback component, the noise generated by the interference of the target induction coil when the audio external playback component is in the working state is reduced, reducing the negative interference of the target induction coil on the audio external playback component, thereby solving the problem of relatively large noise during audio external playback in the related art.

[0028] Please refer to Figure 2 , Figure 2 which is a flowchart of another audio quality adjustment method provided by an embodiment of the present application. As Figure 2 shown, the method includes the following steps: Step 210: Obtain a first current frequency of an audio external playback component on an electronic device in a working state.

[0029] In an embodiment of the present application, the electronic device may include a foldable electronic device and a non-foldable electronic device. When the electronic device is a foldable electronic device, the relative position between the target induction coil and the audio external playback component may change; when the electronic device is a non-foldable electronic device, the relative position between the target induction coil and the audio external playback component is relatively fixed. Figure 2 The shown embodiment can be applied to the cases of foldable electronic devices and non-foldable electronic devices.

[0030] Step 220: Based on the first current frequency, control the second current frequency of the target induction coil on the electronic device, so that the noise generated by the interference of the target induction coil when the audio external playback component is in the working state is reduced; wherein, the area occupied by the target induction coil is a target area, and the target area at least partially overlaps with the vertical projection area of the audio external playback component on the plane where the target area is located.

[0031] In an embodiment of the present application, the second current frequency of the target induction coil can be directly adjusted to be equal to the first current frequency of the audio external playback component in the working state.

[0032] Step 230: Determine the target current of the audio external playback component in the working state; the target current is obtained based on the induced current generated by the target induction coil on the audio external playback component at the second current frequency.

[0033] In the embodiment of the present application, the target induction coil and the working current path in the audio external playback component can be regarded as two coils. Since the target area occupied by the target induction coil and the vertical projection area of the audio external playback component on the plane where the target area is located at least partially overlap, mutual inductance will be generated between the two coils. Due to the current on the target induction coil, an induced current is generated on the audio external playback component, and the frequency of the induced current can be the same as the second current frequency of the target induction coil. And since the second current frequency of the target induction coil is obtained after being controlled based on the first current frequency of the audio external playback component and can be the same as the first current frequency, therefore, the induced current generated by the target induction coil on the audio external playback component can be a positive gain for the audio external playback component, rather than a negative interference.

[0034] Based on this, the target current may include the load current of the audio external playback component without considering the influence of the target induction coil on the audio external playback component, and the induced current. That is to say, the current value of the target current is greater than the current value of the load current of the audio external playback component without considering the influence of the target induction coil on the audio external playback component. In this way, the working current of the audio external playback component no longer depends only on the motherboard traces to be realized, and a part of the working current can be shared through the coupling of the target induction coil. When the volume requirement for the audio external playback component increases, that is, when the working current value requirement for the audio external playback component increases, it is possible to increase the volume of the audio external playback component without occupying the motherboard trace area, meeting the current trend of the increasingly small audio design space in the motherboard of electronic devices.

[0035] In an embodiment of the present application, in addition to including steps 210 to 240, the audio quality adjustment method provided by the embodiment of the present application may further include: obtaining the projection area of the target induction coil on the audio external playback component, and the coupling distance between the target induction coil and the audio external playback component before determining the target current of the audio external playback component in the working state; determining an audio gain multiple based on the projection area and the coupling distance; the audio gain multiple is associated with the induced current.

[0036] Wherein, the projection area is, for example, the projection area of the target induction coil projected vertically onto the audio playback component, the coupling distance is, for example, the distance between the weighted centroid of the target induction coil and the center point of the target projection area, the target projection area is, for example, the projection area of the target induction coil projected vertically onto the plane where the audio playback component is located, and the audio gain multiple can be used to evaluate the current gain value generated by the current in the target induction coil on the working current path of the audio playback component. The centroid of the target induction coil is used to represent the average position of the mass distribution in the target induction coil, and the weighted centroid of the target induction coil is used to represent the average position of the mass distribution in the target induction coil after applying weights to each position of the target induction coil.

[0037] In an embodiment of the present application, when the electronic device is a non-foldable electronic device, the relative positions of the target induction coil and the audio playback component remain fixed. During the entire process of the audio playback component playing audio, the projection area of the target induction coil on the audio playback component and the coupling distance between the target induction coil and the audio playback component can both be fixed values. In this case, the audio gain multiple can also be a fixed value.

[0038] That is to say, during the entire process of using the audio playback component of the non-foldable electronic device to play audio, after adjusting at least one of the voltage change amplitude and the current of the target induction coil so that the audio playback component plays audio with a target current, the voltage change amplitude of the target induction coil does not need to be adjusted a second time, and only the current frequency (second current frequency) of the target induction coil needs to be adjusted in real time, so that the noise generated by the interference of the target induction coil during the working state of the audio playback component is reduced.

[0039] In an embodiment of the present application, the target induction coil includes a plurality of induction coils, the projection area includes the projection area of each induction coil in the plurality of induction coils on the audio playback component, and the coupling distance includes the coupling distance between each induction coil in the plurality of induction coils and the audio playback component. In the process of determining the audio gain multiple based on the projection area and the coupling distance, the following method can be adopted: obtain the weights of the projection areas of the respective induction coils on the audio playback component and the weights of the coupling distances between the respective induction coils and the audio playback component; determine the audio gain multiple based on the projection areas of the respective induction coils on the audio playback component, the weights of the projection areas of the respective induction coils on the audio playback component, the coupling distances between the respective induction coils and the audio playback component, and the weights of the coupling distances between the respective induction coils and the audio playback component.

[0040] In the embodiment of the present application, the target induction coil may include N induction coils, where N is a positive integer. Reference may be made to Figure 3 , Figure 3 which is a schematic diagram of the gain current of an audio external playback component provided by an embodiment of the present application. As Figure 3 shown, the N induction coils may be 4 induction coils, that is, Figure 3 the induction coil 1, induction coil 2, induction coil 3, and induction coil 4 shown in

[0041] . Specifically, in the process of determining the audio gain multiple, the following formula may be used: ; where F is the audio gain multiple, N is the number of induction coils, is the load current of the audio external playback component without considering the influence of the target induction coil on the audio external playback component, is the spatial coupling coefficient of the i-th induction coil, is the weight of the projected area of the i-th induction coil on the audio external playback component, is the projected area of the i-th induction coil on the audio external playback component, is the weight of the coupling distance between the i-th induction coil and the audio external playback component, is the coupling distance between the i-th induction coil and the audio external playback component, is the load current of the i-th induction coil, is the load voltage of the i-th induction coil.

[0042] As Figure 3 shown, different induction coils may be used for different user usage scenarios. For example, Figure 3 the induction coil 4 in Figure 3 may be used for the game scenario, and the induction coil 3 may be used for the music scenario, etc. At the same time, multiple induction coils may also be used in one scenario. Through the weight ratio of the multiple induction coils (that is, Figure 3The spatial coupling coefficients 1, 2, 3, and 4 can be used to determine the induced current value generated by the audio external playback component, that is, Figure 3 the gain current shown in

[0043] Step 240: Control the audio external playback component to play audio at the target current in the working state.

[0044] In the embodiments of the present application, by controlling the second current frequency of the target induction coil, the negative interference of the target induction coil on the audio external playback component can be converted into positive gain. Without changing the trace area of the audio external playback component, the induced current generated by the target induction coil on the audio external playback component can increase the working current of the audio external playback component, thereby increasing the audio volume of the audio external playback component.

[0045] Please refer to Figure 4 , Figure 4 FIG. is a flowchart of another audio quality adjustment method provided by the embodiments of the present application. The electronic device in the embodiments of the present application may be a foldable electronic device. As Figure 4 shown, the method includes the following steps: Step 410: Obtain the first current frequency of the audio external playback component on the foldable electronic device in the working state, where the audio external playback component is located on the first body of the foldable electronic device.

[0046] Currently, with the gradual development and maturity of flexible screen technology, foldable electronic devices have been widely used in various electronic products, such as foldable mobile phones or foldable tablet computers. Since foldable electronic devices can provide users with a larger screen space and a more portable carrying method, they have received extensive attention from users and technology enthusiasts. Moreover, with the continuous development of technology, the design trend of foldable electronic devices is to become thinner and lighter to improve the portability and user experience of foldable electronic devices.

[0047] Reference can be made to Figure 5-1 , Figure 5-1 FIG. is a schematic diagram of a foldable electronic device provided by the embodiments of the present application. As Figure 5-1 shown, the foldable electronic device includes a first body and a second body. The audio external playback component is located on the first body. The audio external playback component may be, for example, Figure 5-1 the speaker in Figure 5-1 i.e., the speaker may be located at the position marked 110 in Figure 5-1 ; a main board is provided on the second body. The main board may be, for example, a printed circuit board (PCB). The main board of the foldable electronic device may be located at the position marked 210 in

[0048] However, as foldable electronic devices develop towards being thinner and lighter, when the foldable electronic device is in a folded state, the distance between the audio playback component on the first body of the foldable electronic device and the second body is getting closer and closer. This situation can cause the magnetic field generated by the current path on the second body to interfere with the audio playback component, resulting in noise problems during audio playback of the audio playback component.

[0049] Reference can be made to Figure 5-2 , Figure 5-2 which is a schematic diagram showing the interference of an induction coil on an audio playback component provided by an embodiment of the present application. As Figure 5-2 shown, the current path on the main board 210 of the second body will generate a magnetic field ( Figure 5-2 the magnetic field shown as 310 in

[0050] ), and the magnetic field will interfere with the audio playback component on the first body.

[0051] Wherein, the area occupied by the target induction coil is a target area, and the target area at least partially overlaps with the vertical projection area of the audio playback component on the plane where the target area is located.

[0052] In an embodiment of the present application, the target area is the vertical projection area of the working current path in the audio playback component on the main board of the second body when the folding angle between the first body and the second body is 0 degrees. Reference can be made to Figure 6 , Figure 6 which is a schematic diagram of the unfolded state loop design of a foldable electronic device provided by an embodiment of the present application. Figure 6 The dotted line in Figure 6 is used to indicate the rotation axis of the foldable electronic device. The left part of the dotted line is the first body of the foldable electronic device, and the right part of the dotted line is the second body of the foldable electronic device. The first body and the second body can rotate based on the rotation axis to form the folding angle of the foldable electronic device. The audio playback component can be, for example, Figure 6 the speaker in Figure 6 , and the target area can be, for example, Figure 6 the speaker projection area in

[0053] It should be noted that the load chip (AP processor) and the power management integrated circuit (PMIC) module on the main board (PCB board) of the second body of the foldable electronic device can be arranged in the target area, that is Figure 6 within the projection area of the speaker in Figure 6 The layout of the AP processor and the PMIC module outside the projection area of the speaker in

[0054] is only for better demonstration effect, that is, to better demonstrate multiple devices including the AP processor and the PMIC module. Figure 6 As shown in Figure 6 the PMIC module includes a low dropout regulator (LDO) and a wire ground terminal (Ground, AND). Among them, the LDO is used to control the voltage change amplitude and current frequency of the induction coil. In addition, the LDO is only an example, and a buck circuit (BUCK circuit) can also be used. A load is also provided on the current path where the induction coil is located, such as

[0055] Step 430: Obtain the folding angle between the first body and the second body.

[0056] In the embodiment of the present application, reference can be made to Figure 7 , Figure 7 which is a schematic diagram of the folding angle of a foldable electronic device provided by the embodiment of the present application. As shown in Figure 7 the first body and the second body rotate based on the rotating shaft of the foldable electronic device to form a folding angle (such as Figure 7 the in

[0057] During the process of obtaining the folding angle between the first body and the second body, a flexible pressure sensor can be set at the rotating shaft of the foldable electronic device, and the folding angle between the first body and the second body can be determined by detecting the pressure signal detected by the flexible pressure sensor. In addition, the folding angle between the first body and the second body can also be obtained in the following ways.

[0058] Exemplarily, in an embodiment of the present application, the target parameters in the target induction coil are controlled such that the audio external playback component outputs an ultrasonic signal, where the target parameters include at least one of the current frequency and the voltage change amplitude; the first time point when the audio external playback component outputs the ultrasonic signal and the second time point when the microphone on the second body receives the ultrasonic signal are acquired; based on the first time point and the second time point, the signal transmission duration of the ultrasonic signal is determined; and based on the signal transmission duration, the folding angle between the first body and the second body is determined.

[0059] In an embodiment of the present application, as Figure 6 shown, the AP processor can send an instruction to the PMIC module through the System Power Management Interface (SPMI) to control the PMIC module to adjust the target parameters in the target induction coil. Specifically, by setting the direct current (DC) power supply between the PMIC module and the AP processor, and at the same time adjusting the target parameters of the target induction coil through Pulse Width Modulation (PWM) technology and Pulse Frequency Modulation (PFM) technology, the target parameters can include the current frequency, such that the target induction coil forms a Figure 8 22 - 24Khz ultrasonic frequency square wave as shown. In this case, the target induction coil will form an ultrasonic frequency current magnetic field with a frequency of 22 - 24Khz near the upper speaker.

[0060] Among them, the target parameters can also include the voltage change amplitude of the target induction coil. During the process of adjusting the voltage change amplitude of the target induction coil, the voltage change amplitude of the target induction coil can be adjusted within the upper limit and the lower limit of the operating voltage of the load. That is to say, the voltage change amplitude of the target induction coil can meet the following conditions: ; where A is the voltage change amplitude of the target induction coil, is the upper limit value of the operating voltage of the load, is the lower limit value of the operating voltage of the load.

[0061] Reference can be made to Figure 8 , Figure 8 which is a schematic diagram of an ultrasonic frequency square wave signal provided by an embodiment of the present application. As Figure 8As shown, when the audio external playback component is in the working state, the load is also in the working state. During the process of adjusting the voltage change amplitude of the target induction coil, the voltage change amplitude of the target induction coil (such as Figure 8 A in) can be made less than the difference between the upper limit value and the lower limit value of the working voltage of the load.

[0062] According to the principle of generating induced current by mutual inductance of coils, when there is current passing through the target induction coil formed by PCB traces and chips, a magnetic field will be generated. The working current path of the audio external playback component is equivalent to a coupling coil. The two coils generate mutual inductance. At this time, the working current path of the audio external playback component will generate an induced current of the same frequency under the action of the magnetic field generated by the target induction coil, thereby driving the audio external playback component to emit sound of this frequency.

[0063] After the AP processor controls the PMIC module to adjust the load current of the target induction coil to make the target induction coil generate an ultrasonic frequency magnetic field, after the ultrasonic frequency magnetic field is coupled to the audio external playback component, an induced current is generated on the audio external playback component, and the induced current drives the audio external playback component to emit an ultrasonic frequency acoustic wave signal. That is to say, the induced current makes the audio external playback component output an ultrasonic signal, and the ultrasonic signal is a sound signal in the ultrasonic frequency band that is inaudible to the human ear.

[0064] A microphone can be provided on the second body of the foldable electronic device. After the audio external playback component outputs an ultrasonic signal, the microphone on the second body can receive the ultrasonic signal after a certain time delay. After receiving the ultrasonic signal, the microphone can process the ultrasonic signal through a codec (COder-DECoder, Codec) and perform analog-to-digital conversion through an analog-to-digital converter (Analog to Digital Converter, ADC). Then, the result after analog-to-digital conversion can be transmitted to the AP processor.

[0065] In this case, the AP processor can obtain the first time point when the audio external playback component outputs the ultrasonic signal and the second time point when the microphone receives the ultrasonic signal. Based on the first time point and the second time point, the AP processor can obtain the signal transmission duration of the ultrasonic signal. Based on the signal transmission duration, the AP processor can determine the folding angle between the first body and the second body.

[0066] Specifically, in one embodiment of the present application, in the process of determining the folding angle between the first body and the second body based on the signal transmission duration, the following method can be adopted: obtain a first distance and a second distance, the first distance being the distance between the sound outlet of the audio speaker element and the rotating axis of the foldable electronic device, the second distance being the distance between the sound input hole of the microphone and the rotating axis, and the first body and the second body being rotatable based on the rotating axis; determine the folding angle between the first body and the second body based on the first distance, the second distance and the signal transmission duration.

[0067] like Figure 7 As shown, the sound outlet of the audio amplifier component (e.g. Figure 7 The vertical distance from the speaker sound outlet hole 120 in the foldable electronic device to the rotation axis 320 is the first distance. Figure 7 The vertical distance from the microphone sound inlet 220 to the rotating shaft 320 of the foldable electronic device is the second distance. Figure 7 The distance between the sound outlet of the audio amplifier component and the sound inlet of the microphone, and the first distance and the second distance are as follows: Figure 7 The triangular relationship shown.

[0068] Therefore, the folding angle between the first body and the second body can be determined by the following formula: ; in, is the folding angle between the first body and the second body, is the first distance, is the second distance, c is the transmission sound speed in the signal transmission medium, and t is the signal transmission time.

[0069] Step 440: Based on the folding angle, determine the projection area of ​​the target induction coil on the audio player element and the coupling distance between the target induction coil and the audio player element.

[0070] In this embodiment of the present application, the projection area is the projection area of ​​the target induction coil vertically projected onto the audio speaker element at the folding angle, the coupling distance is the distance between the weighted center of mass of the target induction coil and the center point of the target projection area on the first fuselage, and the target projection area is the projection area of ​​the target induction coil vertically projected onto the first fuselage at the folding angle.

[0071] Specifically, the projected area of the target induction coil on the audio playback component and the coupling distance between the target induction coil and the audio playback component can be determined by the following formula: ; ; where is the projected area of the target induction coil on the audio playback component, S is the loop area of the target induction coil, is the folding angle between the first body and the second body, is the distance between the weighted centroid of the target induction coil and the centroid of the audio playback component, is the coupling distance between the target induction coil and the audio playback component, is the distance between the centroid of the audio playback component and the center of the target projection area.

[0072] Step 450: Determine the audio gain multiple based on the projected area and the coupling distance; the audio gain multiple is associated with the induced current.

[0073] In the embodiments of the present application, the projected area of the target induction coil and the coupling distance between the target induction coil and the audio playback component determine the current gain value generated by the target induction coil on the audio playback component. In fact, when other factors remain unchanged, the larger the projected area of the target induction coil, the larger the induced current generated on the audio playback component; the larger the coupling distance between the target induction coil and the audio playback component, the smaller the induced current generated on the audio playback component.

[0074] where the audio gain multiple can be used to evaluate the current gain value generated by the current in the target induction coil on the working current path of the audio playback component, and the current in the target induction coil causes an induced current to be generated in the audio playback component. The audio gain multiple is associated with the induced current generated in the audio playback component. The maximum audio gain multiple theoretically generated by the target induction coil can be constructed as shown in the following formula:

[0075] where is the maximum audio gain multiple theoretically generated by the target induction coil, I is the magnitude of the current coupled from the target induction coil to the audio playback component side, is the load current of the audio playback component without considering the influence of the target induction coil on the audio playback component, is the spatial coupling coefficient of the target induction coil, and G is the equivalent conductance of the target induction coil, is the upper limit of the operating voltage of the load on the target induction coil, is the lower limit of the operating voltage of the load on the target induction coil. Wherein, the spatial coupling coefficient of the target induction coil is associated with the folding angle of the foldable electronic device, and the spatial coupling coefficient of the target induction coil at different folding angles can be preset.

[0076] As can be seen from the above formula, the current in the target induction coil can be controlled by adjusting the voltage change amplitude of the target induction coil, and the current value in the target induction coil can affect the induced current generated by the audio playback component, and the audio gain multiple is associated with the induced current.

[0077] In an embodiment of the present application, the target induction coil includes a plurality of induction coils, the projected area includes the projected area of each induction coil in the plurality of induction coils on the audio playback component, and the coupling distance includes the coupling distance between each induction coil in the plurality of induction coils and the audio playback component. In the process of determining the audio gain multiple based on the projected area and the coupling distance, the following method can be used: obtaining the weights of the projected areas of the respective induction coils on the audio playback component, and the weights of the coupling distances between the respective induction coils and the audio playback component; determining the audio gain multiple based on the projected area of each induction coil on the audio playback component, the weights of the projected areas of each induction coil on the audio playback component, the coupling distance between each induction coil and the audio playback component, and the weights of the coupling distances between each induction coil and the audio playback component.

[0078] In an embodiment of the present application, the target induction coil may include N induction coils, N is a positive integer, for example Figure 6 such as R1, R2, and R3 shown in. The weights of the projected areas of the N induction coils on the audio playback component and the weights of the coupling distances between the N induction coils and the audio playback component can be preset according to actual situations.

[0079] Wherein, the projected area of the i-th induction coil in the N induction coils on the audio playback component and the coupling distance between the i-th induction coil and the audio playback component can be obtained by the following formula: ; ; Wherein, is the projected area of the i-th induction coil on the audio playback component, is the loop area of the i-th induction coil, is the folding angle between the first body and the second body is the distance between the weighted centroid of the i-th induction coil and the centroid of the audio output component is the coupling distance between the i-th induction coil and the audio output component is the distance between the centroid of the audio output component and the center of the target projection area of the i-th induction coil. The target projection area of the i-th induction coil is the projection area obtained by vertically projecting the i-th induction coil onto the first body at the folding angle. The projected area of the i-th induction coil on the audio output component is the projection area obtained by vertically projecting the i-th induction coil onto the audio output component at the folding angle. The coupling distance between the i-th induction coil and the audio output component is the distance between the weighted centroid of the i-th induction coil and the center point of the target projection area on the first body. The target projection area is the projection area obtained by vertically projecting the i-th induction coil onto the first body at the folding angle.

[0080] Theoretically, the maximum audio gain multiple generated by the N induction coils for the audio output component can be seen in the following formula

[0081] where is the maximum audio gain multiple generated by the N induction coils theoretically is the magnitude of the current coupled by the i-th induction coil to the audio output component side is the load current of the audio output component without considering the influence of the target induction coil on the audio output component is the spatial coupling coefficient of the i-th induction coil is the equivalent conductance of the i-th induction coil is the upper limit value of the operating voltage of the load on the i-th induction coil is the lower limit value of the operating voltage of the load on the i-th induction coil. Among them, the spatial coupling coefficient of each induction coil in the N induction coils is associated with the folding angle of the foldable electronic device, and the spatial coupling coefficients of the N induction coils at different folding angles can be preset

[0082] In an embodiment of the present application, the amplitude of the voltage change of the target induction coil can be fitted based on the projected area of the N induction coils on the audio playback component and the coupling distance between the N induction coils and the audio playback component. Meanwhile, based on the user application scenarios of the N induction coils, the load voltage and load current of the N induction coils can be determined, and the load voltage and load current of the induction coils can be used to determine the equivalent conductance of the induction coils. Based on this, the following formula for determining the audio gain multiple can be obtained:

[0083] where F is the audio gain multiple generated by the N induction coils for the audio playback component, is the spatial coupling coefficient of the i-th induction coil, is the load current of the i-th induction coil, is the load voltage of the i-th induction coil, is the weight of the projected area of the i-th induction coil on the audio playback component, is the loop area of the i-th induction coil, is the folding angle between the first body and the second body, is the weight of the coupling distance between the i-th induction coil and the audio playback component, is the distance between the weighted centroid of the i-th induction coil and the centroid of the audio playback component, is the distance between the centroid of the audio playback component and the center of the target projection area of the i-th induction coil. The target projection area of the i-th induction coil is the projection area obtained by vertically projecting the i-th induction coil onto the first body at the folding angle, is the load current of the audio playback component without considering the influence of the target induction coil on the audio playback component.

[0084] In an embodiment of the present application, after determining the audio gain multiple based on the projected area and the coupling distance, at least one of the voltage change amplitude and the current value of the target induction coil can be controlled based on the audio gain multiple, so that the volume of the audio played by the audio playback component remains the same at different folding angles.

[0085] In the embodiments of the present application, when the foldable electronic device is at different folding angles, the projected area of the target induction coil on the audio playback component and the coupling distance between the target induction coil and the audio playback component will also be different, and different audio gain multiples can be determined. In fact, when the folding angle of the foldable electronic device increases, the projected area of the target induction coil on the audio playback component decreases accordingly, and the coupling distance between the target induction coil and the audio playback component increases accordingly. When the current in the target induction coil remains unchanged, the audio gain multiple generated by the target induction coil for the audio playback component will also decrease accordingly. That is to say, in this case, if the magnitude of the current value in the target induction coil is not changed, the induced current generated on the audio playback component will decrease, thereby causing the volume of the audio playback component to decrease.

[0086] To ensure that the volume of the foldable electronic device remains unchanged during the entire audio playback process (the folding angle may change), the current folding angle of the foldable electronic device can be detected in real time, and the audio gain multiple can be determined based on the current folding angle. Then, based on the audio gain multiple, the voltage change amplitude or current value of the target induction coil can be controlled.

[0087] In the embodiments of the present application, through the current folding angle of the foldable electronic device detected in real time, the current value of the target induction coil can be adjusted based on the audio gain multiple at the current folding angle, so that the volume of the audio playback component remains unchanged during the entire audio playback process, avoiding the situation where the volume fluctuates during the audio playback process and improving the user experience.

[0088] Step 460: Determine the target current of the audio playback component in the working state; the target current is obtained based on the induced current generated by the target induction coil for the audio playback component at the second current frequency.

[0089] Step 470: Control the audio playback component to play audio at the target current in the working state.

[0090] In the embodiments of the present application, an audio gain optimization scheme for the audio playback component of a foldable electronic device is proposed. Without increasing the wiring area of the audio playback component on the first body of the foldable electronic device, the audio current gain of the audio playback component can be realized through the induction coil on the second body of the foldable electronic device, reducing the wiring area requirement of the audio playback component.

[0091] Please refer to Figure 9 , Figure 9 which is the specific flowchart of an audio quality adjustment method provided by the embodiments of the present application. As Figure 9As shown, the method includes the following steps: Step 910: Obtain a first current frequency when an audio external playback component on a foldable electronic device is in an operating state, where the audio external playback component is located on a first body of the foldable electronic device.

[0092] For reference, Figure 10 , Figure 10 is an overall conceptual diagram of an audio quality adjustment method provided by an embodiment of the present application. As Figure 10 shown, induction coils (such as induction coil 1, induction coil 2, and induction coil 3 in Figure 10 ) are designed through device layout and wire routing on a main board PCB of the foldable electronic device. The induction coils are arranged within a projection area of a speaker on a second body when the folding angle of the foldable electronic device is 0. When the induction coils are operating, a current loop can form a magnetic field, which is transmitted to the speaker voice coil in the form of mutual induction, causing the speaker to generate a corresponding induced current.

[0093] The first body and the second body of the foldable electronic device can rotate based on a rotating shaft 320 of the foldable electronic device to form a folding angle (such as Figure 10 shown in ). To obtain the current folding angle of the foldable electronic device, the working current in the induction coils can be controlled so that the induced current generated by the speaker drives the speaker to emit a sound signal in an ultrasonic frequency band that is inaudible to the human ear. After the ultrasonic frequency band sound signal is emitted from a speaker sound outlet 120, a microphone sound inlet 220 located on the second body of the foldable electronic device can receive the ultrasonic frequency band sound signal, and the folding angle conversion can be completed through the signal transmission duration of the sound signal. A control unit in the foldable electronic device (such as an AP processor in a mobile phone) can determine an audio gain multiple according to the folding angle, so as to map the audio gain multiple to the magnitude of the induced current and the power contribution ratio of each level of the system power supply, and control the current frequency of the induction coils (such as making the current frequency of the induction coils consistent with the current frequency in the speaker voice coil) and the voltage change amplitude. In this way, the negative magnetic field interference on the original PCB main board can be converted into an effective audio signal, eliminating the influence of the negative interference and converting it into useful gain, thereby achieving the audio volume gain assistance effect in the user's folding scenario.

[0094] Step 915: Based on the first current frequency, adjust a second current frequency of a target induction coil on the electronic device to be equal to the first current frequency, so that the noise generated by the interference of the target induction coil when the audio external playback component is in an operating state is reduced. The target induction coil is located on a second body of the foldable electronic device.

[0095] Step 920: Control the target parameters in the target induction coil so that the audio output component outputs an ultrasonic signal, where the target parameters include at least one of the current frequency and the voltage change amplitude.

[0096] Step 925: Obtain the first time point when the audio output component outputs the ultrasonic signal, and the second time point when the microphone on the second body receives the ultrasonic signal.

[0097] Step 930: Based on the first time point and the second time point, determine the signal transmission duration of the ultrasonic signal; based on the signal transmission signal, determine the folding angle between the first body and the second body.

[0098] In the process of determining the folding angle between the first body and the second body based on the signal transmission signal, the following method can be adopted: Obtain a first distance and a second distance, where the first distance is the distance between the sound outlet hole of the audio output component and the rotation axis of the foldable electronic device, and the second distance is the distance between the sound inlet hole of the microphone and the rotation axis. The first body and the second body can rotate based on the rotation axis; based on the first distance, the second distance, and the signal transmission duration, determine the folding angle between the first body and the second body.

[0099] In the process of determining the folding angle between the first body and the second body based on the first distance, the second distance, and the signal transmission duration, the following formula can be used: ; where, is the folding angle between the first body and the second body, is the first distance, is the second distance, c is the transmission sound speed in the signal transmission medium, and t is the signal transmission duration.

[0100] Step 935: Based on the folding angle, determine the projected area of the target induction coil on the audio output component, and the coupling distance between the target induction coil and the audio output component.

[0101] where, the projected area is the projected area when the target induction coil is vertically projected onto the audio output component in the case of the folding angle, and the coupling distance is the distance between the weighted centroid of the target induction coil and the center point of the target projection area on the first body. The target projection area is the projected area when the target induction coil is vertically projected onto the first body in the case of the folding angle.

[0102] Step 940: Determine an audio gain multiple based on the projected area and the coupling distance; the audio gain multiple is associated with the induced current.

[0103] In an embodiment of the present application, the target induction coil includes a plurality of induction coils, the projected area includes the projected area of each induction coil in the plurality of induction coils on the audio playback component, and the coupling distance includes the coupling distance between each induction coil in the plurality of induction coils and the audio playback component.

[0104] In the process of determining the audio gain multiple based on the projected area and the coupling distance, the following method may be adopted: obtain the weights of the projected areas of the respective induction coils on the audio playback component and the weights of the coupling distances between the respective induction coils and the audio playback component; determine the audio gain multiple based on the projected areas of the respective induction coils on the audio playback component, the weights of the projected areas of the respective induction coils on the audio playback component, the coupling distances between the respective induction coils and the audio playback component, and the weights of the coupling distances between the respective induction coils and the audio playback component.

[0105] Specifically, the load voltage, load current, and spatial coupling coefficient of each induction coil may be obtained, and the audio gain multiple is determined by the following formula: ; where F is the audio gain multiple, N is the number of induction coils, is the load current of the audio playback component without considering the influence of the target induction coil on the audio playback component, is the spatial coupling coefficient of the i-th induction coil, is the weight of the projected area of the i-th induction coil on the audio playback component, is the projected area of the i-th induction coil on the audio playback component, is the weight of the coupling distance between the i-th induction coil and the audio playback component, is the coupling distance between the i-th induction coil and the audio playback component, is the load current of the i-th induction coil, is the load voltage of the i-th induction coil.

[0106] Step 945: Control at least one of the voltage change amplitude and the current value of the target induction coil based on the audio gain multiple, so that the volume of the audio played by the audio playback component remains the same at different folding angles.

[0107] Step 950: Determine the target current of the audio external playback component in the working state; the target current is obtained based on the induced current generated by the target induction coil on the audio external playback component at the second current frequency.

[0108] Step 955: Control the audio external playback component to play audio at the target current in the working state.

[0109] To more clearly introduce the process of the entire audio external playback component during audio playback, reference can be made to Figure 11 , Figure 11 which is the flowchart of a method for adjusting audio quality provided by an embodiment of the present application. As Figure 11 shown, when the audio external playback volume starts, that is, when the audio external playback component starts to play audio, the load current drive on the main board PCB can be started, so that the AP processor on the main board can start to control the PMIC module to adjust the voltage change amplitude and current frequency of the induction coil on the main board. Then, the target parameters in the target induction coil can be controlled so that the audio external playback component outputs ultrasonic signals. The ultrasonic signals output by the audio external playback component are received through the microphone of the foldable electronic device, and the distance between the audio external playback component and the microphone can be determined based on the signal transmission duration of the ultrasonic signals. The current folding angle of the foldable electronic device can be determined based on the distance between the audio external playback component and the microphone.

[0110] Based on the current folding angle of the foldable electronic device, the audio gain multiple generated by the induction coil can be determined. Based on the audio gain multiple, the voltage change amplitude of the induction coil can be determined. The AP processor in the foldable electronic device can control the PMIC module to adjust the voltage change amplitude and current frequency of the induction coil so that the current frequency of the induction coil is consistent with the current frequency of the audio external playback component. At this time, the induction coil can provide a gain current to the audio external playback component (the induced current generated by the action of the current in the induction coil on the audio external playback component).

[0111] Since the folding angle of the foldable electronic device may change during the audio playback process, the folding angle of the foldable electronic device can be detected in real time, and the voltage change amplitude and current frequency of the induction coil can be adjusted in real time so that the foldable electronic device plays audio at the same volume. The above process ends when the audio external playback component stops playing audio. After the audio external playback component stops playing audio, the PCB load current drive can be turned off.

[0112] In an embodiment of the present application, a first current frequency of an audio external playback component on an electronic device in a working state is obtained; based on the first current frequency, a second current frequency of a target induction coil on the electronic device is controlled, so that the noise generated by the audio external playback component due to the interference of the target induction coil in the working state is reduced; wherein, the area occupied by the target induction coil is a target area, and the target area at least partially overlaps with the vertical projection area of the audio external playback component on the plane where the target area is located. In this way, since the target area occupied by the target induction coil at least partially overlaps with the vertical projection area of the audio external playback component on the plane where the target area is located, the negative interference of the target induction coil on the audio external playback component is relatively large. When the audio external playback component is in a working state, by controlling the second current frequency of the target induction coil on the electronic device based on the first current frequency of the audio external playback component, the noise generated by the audio external playback component due to the interference of the target induction coil in the working state is reduced, and the negative interference of the target induction coil on the audio external playback component is reduced, thereby solving the problem of relatively large noise during audio external playback in the related art.

[0113] It should be understood that Figures 1 to 9 the explanations of the same or corresponding steps in [reference] can be referred to each other. For example, Figure 1 the explanations of step 110 and step 120 in [reference] can be applied to Figure 2 step 210 and step 220 in [reference].

[0114] At the same time, it should be understood that an audio quality adjustment method provided by an embodiment of the present application may have the following beneficial effects: First, the present invention proposes an optimization scheme for the audio gain of a foldable electronic device speaker based on the PCB current magnetic field. An induction loop is designed through the device layout and wiring on the main board PCB of the foldable electronic device, and it is designed at the projection position of the upper speaker after the folding state. Through the magnetic field formed by the current loop when this power supply loop works, it is sensed in the form of mutual induction on the speaker voice coil to generate a corresponding current, thereby driving the speaker to emit a set ultrasonic frequency band sound to achieve the function of fold angle detection. At the same time, the ultrasonic volume picked up by the microphone is detected in real time to adjust the PCB current size, ensuring that the foldable electronic device can achieve the function of fold angle detection at each fold angle, converting the original magnetic field interference on the PCB main board into an effective audio signal, eliminating the negative interference effect while converting it into a useful signal, thereby realizing the audio volume gain in some user folding scenarios. Second, by designing a unique load coupling loop in the speaker projection area, combined with the unfolding and buckling angles of the user in different scenarios, different coupling energy ratios and loop excitation currents are provided, thereby achieving the effect of assisting the speaker to achieve audio gain.

[0115] Please refer to Figure 12 ,Figure 12 This is a structural block diagram of an audio quality adjustment device provided by an embodiment of the present application. As Figure 12 shown, an embodiment of the present application provides an audio quality adjustment device 800. The audio quality adjustment device 1200 includes: an acquisition module 1210 and a control module 1220.

[0116] The acquisition module 1210 is configured to acquire a first current frequency when an audio external playback component on the electronic device is in a working state; The control module 1220 is configured to control a second current frequency of a target induction coil on the electronic device based on the first current frequency, so as to reduce noise generated by interference of the target induction coil when the audio external playback component is in a working state; wherein, an area occupied by the target induction coil is a target area, and the target area at least partially overlaps a vertical projection area of the audio external playback component on a plane where the target area is located.

[0117] In an embodiment of the present application, a first current frequency when an audio external playback component on the electronic device is in a working state is acquired; based on the first current frequency, a second current frequency of a target induction coil on the electronic device is controlled, so as to reduce noise generated by interference of the target induction coil when the audio external playback component is in a working state; wherein, an area occupied by the target induction coil is a target area, and the target area at least partially overlaps a vertical projection area of the audio external playback component on a plane where the target area is located. In this way, since the target area occupied by the target induction coil at least partially overlaps the vertical projection area of the audio external playback component on the plane where the target area is located, the negative interference of the target induction coil on the audio external playback component is relatively large. When the audio external playback component is in a working state, by controlling the second current frequency of the target induction coil on the electronic device based on the first current frequency of the audio external playback component, the noise generated by interference of the target induction coil when the audio external playback component is in a working state is reduced, and the negative interference of the target induction coil on the audio external playback component is reduced, thereby solving the problem of relatively large noise during audio external playback in the related art.

[0118] The audio quality adjustment device provided by the embodiment of the present application can implement each process implemented by the above method embodiment. To avoid repetition, it will not be elaborated here.

[0119] As Figure 13As shown in the figure, an embodiment of the present application further provides an electronic device 1300. The electronic device 1300 includes a processor 1310 and a memory 1320. A program or instruction is stored on the memory 1320, and when the program or instruction is executed by the processor 1310, the steps of any of the methods described above are implemented. For example, when the program is executed by the processor 1310, the following process is implemented: obtaining a first current frequency when an audio external playback component on the electronic device is in a working state; based on the first current frequency, controlling a second current frequency of a target induction coil on the electronic device, so that the noise generated by the interference of the target induction coil when the audio external playback component is in the working state is reduced; wherein, the area occupied by the target induction coil is a target area, and the target area at least partially overlaps with the vertical projection area of the audio external playback component on the plane where the target area is located. In this way, since the target area occupied by the target induction coil at least partially overlaps with the vertical projection area of the audio external playback component on the plane where the target area is located, the negative interference of the target induction coil on the audio external playback component is relatively large. When the audio external playback component is in the working state, by controlling the second current frequency of the target induction coil on the electronic device based on the first current frequency of the audio external playback component, the noise generated by the interference of the target induction coil when the audio external playback component is in the working state is reduced, reducing the negative interference of the target induction coil on the audio external playback component, thereby solving the problem of relatively large noise during audio external playback in the related art.

[0120] An embodiment of the present application further provides a readable storage medium. A program or instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of each embodiment of the audio quality adjustment method are implemented, and the same technical effects can be achieved. To avoid repetition, it will not be elaborated here.

[0121] Wherein, the processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk, or an optical disc, etc.

[0122] Another embodiment of the present application provides a chip. The chip includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run a program or instruction to implement each process of the above method embodiment, and the same technical effects can be achieved. To avoid repetition, it will not be elaborated here.

[0123] An embodiment of the present application provides a computer program product. The program product is stored in a storage medium, and the program product is executed by at least one processor to implement each process of the above method embodiment, and the same technical effects can be achieved. To avoid repetition, it will not be elaborated here.

[0124] It should be noted that, in this text, the term "including", "comprising" or any other variant thereof is intended to cover non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "comprising an..." does not exclude the presence of additional identical elements in the process, method, article or device comprising that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, but may also include performing functions in a substantially simultaneous manner or in a reverse order according to 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.

[0125] Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. The computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disc) and includes several instructions for causing a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of the present application.

[0126] The embodiments of the present application have been described above in conjunction with the accompanying drawings. However, the present application is not limited to the above specific embodiments. The above specific embodiments are merely illustrative and not restrictive. Those of ordinary skill in the art, under the inspiration of the present application and without departing from the purpose of the present application and the scope protected by the claims, can still make many forms, all of which fall within the protection scope of the present application.

Claims

1. A method for adjusting audio quality, characterized in that: include: Acquire a first current frequency of an audio amplifier component on the electronic device when the audio amplifier component is in a working state; Based on the first current frequency, controlling a second current frequency of a target induction coil on the electronic device, so that noise generated by interference of the target induction coil when the audio amplifier is in operation is reduced; The area occupied by the target induction coil is the target area, and the target area at least partially overlaps with the vertical projection area of ​​the audio amplifier element on the plane where the target area is located.

2. The method according to claim 1, characterized in that The controlling, based on the first current frequency, a second current frequency of a target induction coil on the electronic device comprises: The second current frequency of the target induction coil on the electronic device is adjusted to be equal to the first current frequency.

3. The method according to claim 1, characterized in that After controlling the second current frequency of the target induction coil on the electronic device, the method further includes: Determine a target current of the audio amplifier component in a working state; the target current is obtained based on an induced current generated by the target induction coil on the audio amplifier component at the second current frequency; The audio amplifier component is controlled to play audio with the target current in a working state.

4. The method according to claim 3, characterized in that Before determining the target current of the audio amplifier component in the working state, the method further includes: Acquire a projection area of ​​the target induction coil on the audio amplifier component, and a coupling distance between the target induction coil and the audio amplifier component; An audio gain factor is determined based on the projected area and the coupling distance; the audio gain factor is associated with the induced current.

5. The method according to claim 4, characterized in that The electronic device is a foldable electronic device, the audio external speaker is located on a first body of the foldable electronic device, and the target induction coil is located on a second body of the foldable electronic device; The obtaining of the projection area of ​​the target induction coil on the audio external player element and the coupling distance between the target induction coil and the audio external player element includes: Acquire a folding angle between the first body and the second body; Based on the folding angle, a projection area of ​​the target induction coil on the audio player element and a coupling distance between the target induction coil and the audio player element are determined.

6. The method according to claim 5, characterized in that The obtaining a folding angle between the first body and the second body includes: Controlling a target parameter in the target induction coil so that the audio amplifier outputs an ultrasonic signal, wherein the target parameter includes at least one of a current frequency and a voltage variation amplitude; Acquire a first time point at which the audio amplifier outputs the ultrasonic signal, and a second time point at which the microphone on the second body receives the ultrasonic signal; Determining a signal transmission duration of the ultrasonic signal based on the first time point and the second time point; Based on the signal transmission duration, a folding angle between the first body and the second body is determined.

7. The method according to claim 6, characterized in that The determining, based on the signal transmission duration, a folding angle between the first body and the second body, comprises: Acquire a first distance and a second distance, wherein the first distance is the distance between the sound outlet of the audio speaker and the rotation axis of the foldable electronic device, and the second distance is the distance between the sound inlet of the microphone and the rotation axis, and the first body and the second body are rotatable based on the rotation axis; A folding angle between the first body and the second body is determined based on the first distance, the second distance, and the signal transmission duration.

8. The method according to claim 7, characterized in that The specific formula for determining the folding angle between the first body and the second body is as follows: ; in, is the folding angle between the first body and the second body, is the first distance, is the second distance, c is the transmission sound speed in the signal transmission medium, and t is the signal transmission time.

9. The method according to claim 5, characterized in that The projection area is the projection area of ​​the target induction coil vertically projected onto the audio speaker element at the folding angle, the coupling distance is the distance between the weighted center of mass of the target induction coil and the center point of the target projection area on the first fuselage, and the target projection area is the projection area of ​​the target induction coil vertically projected onto the first fuselage at the folding angle.

10. The method according to claim 5, characterized in that After determining the audio gain multiple based on the projection area and the coupling distance, the method further includes: Based on the audio gain multiple, at least one of the voltage change amplitude and the current value of the target induction coil is controlled so that the volume of the audio played by the audio external speaker component remains the same at different folding angles.

11. The method according to claim 4, characterized in that The target induction coil includes a plurality of induction coils, the projection area includes a projection area of ​​each of the plurality of induction coils on the audio amplifier element, and the coupling distance includes a coupling distance between each of the plurality of induction coils and the audio amplifier element; The step of determining the audio gain multiple based on the projection area and the coupling distance includes: Obtaining the weight of the projection area of ​​each induction coil on the audio amplifier element, and the weight of the coupling distance between each induction coil and the audio amplifier element; The audio gain multiple is determined based on the projection area of ​​each induction coil on the audio player element, the weight of the projection area of ​​each induction coil on the audio player element, the coupling distance between each induction coil and the audio player element, and the weight of the coupling distance between each induction coil and the audio player element.

12. The method according to claim 11, characterized in that The specific formula for determining the audio gain multiple is as follows: ; Among them, F is the audio gain multiple, N is the number of induction coils, is the load current of the audio amplifier component without considering the influence of the target induction coil on the audio amplifier component, is the spatial coupling coefficient of the i-th induction coil, is the weight of the projection area of ​​the i-th induction coil on the audio amplifier element, is the projection area of ​​the i-th induction coil on the audio amplifier element, is the weight of the coupling distance between the i-th induction coil and the audio amplifier element, is the coupling distance between the i-th induction coil and the audio amplifier element, is the load current of the i-th induction coil, is the load voltage of the i-th induction coil.

13. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores a program or instruction running on the processor, and when the program or instruction is executed by the processor, the steps of the method according to any one of claims 1 to 12 are implemented.

14. A computer-readable storage medium, characterized in that: The medium stores a program or an instruction, and when the program or the instruction is executed, the steps of the method according to any one of claims 1 to 12 are implemented.

15. A computer program product, characterized in that The invention comprises a computer program, which implements the method according to any one of claims 1 to 12 when being executed by a processor.