Audio power amplifier control method, intelligent terminal and storage medium

By obtaining the resonance frequency of the speaker in real time and adjusting the working state of the audio amplifier, the problem that the audio amplifier effect is affected by the resonance frequency of the speaker is solved, and the audio output effect is improved and the speaker protection is achieved.

CN119485121APending Publication Date: 2025-02-18SHANGHAI TRANSSION CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411548799.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-31
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

The effect of the audio amplifier is affected by the difference in speaker performance and usage environment, especially when the resonance frequency of the speakers does not match, which may lead to sound quality degradation and distortion.

Method used

By obtaining the resonance frequency of the speaker and adjusting the operating state of the audio amplifier according to the frequency to match the resonance frequency of the speaker, the audio output effect is improved.

Benefits of technology

It effectively improves the audio output effect, protects the speakers, and extends its service life.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119485121A_ABST
    Figure CN119485121A_ABST
Patent Text Reader

Abstract

The invention provides an audio power amplifier control method, an intelligent terminal and a storage medium. The audio power amplifier control method comprises the following steps: S10, acquiring the resonant frequency of a loudspeaker; and S20, adjusting the working state of the audio power amplifier according to the resonant frequency of the loudspeaker. The resonant frequency of the loudspeaker is acquired in real time, and the working state of the audio power amplifier is adjusted according to the resonant frequency of the loudspeaker, so that the audio output effect can be effectively improved, the loudspeaker is protected from being damaged, and the service life of the loudspeaker is prolonged.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of acoustic technology, and in particular to an audio power amplifier control method, an intelligent terminal and a computer-readable storage medium. Background Art

[0002] The audio amplifier (also known as audio power amplifier) ​​is an important component in the audio system. Its main function is to amplify the audio signal and drive the speaker to make sound.

[0003] In the process of conceiving and implementing this application, the inventors found that there are at least the following problems: due to the performance differences of the speakers and the influence of the use environment, the effect of the audio amplifier is often limited. Among them, the resonance frequency of the speaker is one of the important factors affecting the effect of the audio amplifier. If the output frequency of the audio amplifier does not match the resonance frequency of the speaker, it may cause the sound quality to deteriorate or even cause distortion.

[0004] The preceding description is intended to provide general background information and does not necessarily constitute prior art. Summary of the invention

[0005] In response to the above technical problems, the present application provides an audio power amplifier control method, an intelligent terminal and a storage medium to improve the output effect of the audio power amplifier and increase the service life of the speaker.

[0006] The present application provides an audio power amplifier control method, which can be applied to a smart terminal, wherein the smart terminal includes a speaker and an audio power amplifier, and the method includes the following steps:

[0007] S10: Obtain the resonance frequency of the speaker;

[0008] S20: adjusting the working state of the audio power amplifier according to the resonance frequency of the speaker.

[0009] Optionally, step S10 includes:

[0010] Determine or generate an audio signal of a preset frequency;

[0011] receiving a feedback signal generated by a loudspeaker according to an audio signal of a preset frequency;

[0012] A resonant frequency of the loudspeaker is determined based on the feedback signal.

[0013] Optionally, step S20 includes:

[0014] Obtaining the offset between the resonant frequency of the speaker and the preset resonant frequency;

[0015] An offset range in which the offset value is located is selected or determined, and a working state of the audio power amplifier is adjusted according to the offset range in which the offset value is located.

[0016] Optionally, the method further comprises at least one of the following:

[0017] The preset resonant frequency is determined or generated based on historical resonant frequency data of the loudspeaker;

[0018] The offset range includes at least one of a first offset range, a second offset range, a third offset range, and a fourth offset range;

[0019] The working state includes at least one of a normal output state, a compensated output plus state, a compensated output minus state, and an abnormal non-output state.

[0020] Optionally, adjusting the working state of the audio power amplifier according to the offset range of the offset includes:

[0021] If the offset range of the offset is the first offset range, adjusting the working state of the audio power amplifier to a normal output state;

[0022] If the offset range in which the offset value is located is the second offset range, adjusting the working state of the audio power amplifier to a post-compensation output plus state;

[0023] If the offset range in which the offset value is located is the third offset range, adjusting the working state of the audio power amplifier to a post-compensation output minus state;

[0024] If the offset range in which the offset value is located is the fourth offset range, the working state of the audio power amplifier is adjusted to an abnormal non-output state.

[0025] Optionally, the method further comprises at least one of the following:

[0026] Receive current audio signal;

[0027] Amplify the received current audio signal;

[0028] outputting the amplified audio signal to a speaker;

[0029] Detect the resonant frequency of the speaker;

[0030] The working state of the amplification module is adjusted according to the resonance frequency of the speaker.

[0031] Optionally, the method further comprises at least one of the following:

[0032] generating an audio signal of a preset frequency;

[0033] receiving a feedback signal generated by a loudspeaker according to an audio signal of a preset frequency;

[0034] The resonant frequency of the loudspeaker is calculated based on the feedback signal.

[0035] The present application also provides an audio power amplifier control device, which can be used in a smart terminal. The smart terminal includes a speaker and an audio power amplifier. The audio power amplifier control device includes:

[0036] An acquisition module, used for acquiring the resonance frequency of the speaker;

[0037] The adjustment module is used to adjust the working state of the audio power amplifier according to the resonance frequency of the speaker.

[0038] The present application also provides an intelligent terminal, comprising: a memory and a processor, wherein a control program is stored in the memory, and when the control program is executed by the processor, the steps of the above method are implemented.

[0039] The present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps of the above method are implemented.

[0040] As mentioned above, the audio amplifier control method of the present application can be applied to a smart terminal, which includes a speaker and an audio amplifier. The method includes obtaining the resonance frequency of the speaker; and adjusting the working state of the audio amplifier according to the resonance frequency of the speaker. The present application can effectively improve the audio output effect and / or protect the speaker from damage and increase the service life of the speaker by obtaining the resonance frequency of the speaker in real time and adjusting the working state of the audio amplifier according to the resonance frequency of the speaker. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application. In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor.

[0042] Figure 1 A schematic diagram of the hardware structure of a smart terminal for implementing each embodiment of the present application;

[0043] Figure 2 A communication network system architecture diagram provided for an embodiment of the present application;

[0044] Figure 3 is a flow chart of an audio power amplifier control method according to the first embodiment;

[0045] Figure 4 This is a schematic diagram of the components of a smart terminal according to the first embodiment of the present application;

[0046] Figure 5A first schematic diagram of speaker design hardware according to a second embodiment of the present application;

[0047] Figure 6 A second schematic diagram of speaker design hardware according to a second embodiment of the present application;

[0048] Figure 7 is a flow chart of an audio power amplifier control method according to a second embodiment;

[0049] Figure 8 It is a schematic diagram of the functional principle according to the second embodiment of the present application;

[0050] Fig. 9 A schematic diagram of a speaker structure according to the second embodiment of the present application Figure 1 ;

[0051] Fig.10 A schematic diagram of a speaker structure according to the second embodiment of the present application Figure 2 ;

[0052] Fig.11 is a flow chart of an audio power amplifier control method according to a third embodiment;

[0053] Fig.12 is a schematic diagram of the amplitude of a loudspeaker according to the third embodiment of the present application;

[0054] Fig.13 This is a schematic diagram of the module structure of the audio power amplifier control device according to an embodiment of the present application.

[0055] The realization of the purpose, functional features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. The above-mentioned drawings have shown clear embodiments of this application, which will be described in more detail later. These drawings and textual descriptions are not intended to limit the scope of the concept of this application in any way, but to illustrate the concept of this application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0056] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0057] It should be noted that, in this article, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element. Optionally, components, features, and elements with the same name in different embodiments of the present application may have the same meaning or different meanings, and their specific meanings need to be determined by their explanation in the specific embodiment or further combined with the context in the specific embodiment.

[0058] It should be understood that, although the terms first, second, third, etc. may be used to describe various information in this article, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this article, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein can be interpreted as "at the time of" or "when" or "in response to determination". Furthermore, as used in this article, the singular forms "one", "one" and "the" are intended to also include plural forms, unless there is an opposite indication in the context. It should be further understood that the terms "comprising", "including" indicate the existence of features, steps, operations, elements, components, projects, kinds, and / or groups, but do not exclude the existence, occurrence or addition of one or more other features, steps, operations, elements, components, projects, kinds, and / or groups. The terms "or", "and / or", "including at least one of the following" etc. used in this application can be interpreted as inclusive, or mean any one or any combination. For example, “comprising at least one of the following: A, B, C” means “any of the following: A; B; C; A and B; A and C; B and C; A and B and C”, and for another example, “A, B or C” or “A, B and / or C” means “any of the following: A; B; C; A and B; A and C; B and C; A and B and C”. An exception to this definition will only occur when a combination of elements, functions, steps or operations are inherently mutually exclusive in some manner.

[0059] It should be understood that, although the various steps in the flowchart in the embodiment of the present application are displayed in sequence according to the indication of the arrows, these steps are not necessarily performed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and it can be performed in other orders. Moreover, at least a portion of the steps in the figure may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and their execution order is not necessarily performed in sequence, but can be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.

[0060] As used herein, the words "if" and "if" may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to determining" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)", depending on the context.

[0061] It should be noted that in this article, step codes such as S10 and S20 are used for the purpose of expressing the corresponding content more clearly and concisely, and do not constitute a substantial limitation on the sequence. When implementing the step, those skilled in the art may execute S20 first and then S10, etc., but these should all be within the scope of protection of this application.

[0062] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0063] In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present application, and have no specific meanings. Therefore, "module", "component" or "unit" can be used in a mixed manner.

[0064] The smart terminal may be implemented in various forms. For example, the smart terminal described in this application may include smart terminals such as mobile phones, tablet computers, laptop computers, PDAs, portable media players (PMPs), navigation devices, wearable devices, smart bracelets, pedometers, etc., as well as fixed terminals such as digital TVs and desktop computers.

[0065] The following description will be made by taking a mobile terminal as an example, and those skilled in the art will understand that, in addition to components specifically used for mobile purposes, the construction according to the embodiments of the present application can also be applied to fixed-type terminals.

[0066] See also Figure 1 , which is a schematic diagram of the hardware structure of a mobile terminal for implementing various embodiments of the present application, the mobile terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A / V (audio / video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111 and other components. Those skilled in the art can understand that Figure 1 The structure of the mobile terminal shown in the figure does not constitute a limitation on the mobile terminal. The mobile terminal may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0067] Combine the following Figure 1 The following is a detailed introduction to the various components of the mobile terminal:

[0068] The radio frequency unit 101 can be used for receiving and sending signals during information transmission or communication. Specifically, after receiving the downlink information of the base station, it is sent to the processor 110 for processing; in addition, the uplink data is sent to the base station. Generally, the radio frequency unit 101 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc. In addition, the radio frequency unit 101 can also communicate with the network and other devices through wireless communication. The above-mentioned wireless communications can use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution), TDD-LTE (Time Division Duplexing-Long Term Evolution) and 5G, etc.

[0069] WiFi is a short-range wireless transmission technology. Mobile terminals can help users send and receive emails, browse web pages, and access streaming media through WiFi module 102. It provides users with wireless broadband Internet access. Figure 1 The WiFi module 102 is shown, but it is understandable that it is not an essential component of the mobile terminal and can be omitted as required without changing the essence of the invention.

[0070] The audio output unit 103 can convert the audio data received by the RF unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output it as sound when the mobile terminal 100 is in a call signal reception mode, a talk mode, a recording mode, a voice recognition mode, a broadcast reception mode, etc. Moreover, the audio output unit 103 can also provide audio output related to a specific function performed by the mobile terminal 100 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, etc.

[0071] The A / V input unit 104 is used to receive audio or video signals. The A / V input unit 104 may include a graphics processor (GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The processed image frame can be displayed on the display unit 106. The image frame processed by the graphics processor 1041 can be stored in the memory 109 (or other storage medium) or sent via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 can receive sound (audio data) via the microphone 1042 in a telephone call mode, a recording mode, a voice recognition mode, and other operating modes, and can process such sound into audio data. The processed audio (voice) data can be converted into a format output that can be sent to a mobile communication base station via the radio frequency unit 101 in the case of a telephone call mode. The microphone 1042 can implement various types of noise elimination (or suppression) algorithms to eliminate (or suppress) noise or interference generated in the process of receiving and sending audio signals.

[0072] The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Optionally, the light sensor includes an ambient light sensor and a proximity sensor. Optionally, the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 1061 and / or the backlight when the mobile terminal 100 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors that can be configured on the mobile phone, such as fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be repeated here.

[0073] The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.

[0074] The user input unit 107 can be used to receive input digital or character information, and to generate key signal input related to the user settings and function control of the mobile terminal. Optionally, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 1071 or near the touch panel 1071 using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a pre-set program. The touch panel 1071 may include two parts: a touch detection device and a touch controller. Optionally, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the touch point coordinates, and then sends it to the processor 110, and can receive and execute the command sent by the processor 110. In addition, the touch panel 1071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may further include other input devices 1072. Optionally, the other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, a function key (such as a volume control key, a switch key, etc.), a trackball, a mouse, a joystick, etc., which are not specifically limited here.

[0075] Optionally, the touch panel 1071 may cover the display panel 1061. When the touch panel 1071 detects a touch operation on or near it, it transmits the information to the processor 110 to determine the type of touch event. Then, the processor 110 provides corresponding visual output on the display panel 1061 according to the type of touch event. Figure 1 In the figure, the touch panel 1071 and the display panel 1061 are used as two independent components to implement the input and output functions of the mobile terminal. However, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated to implement the input and output functions of the mobile terminal, which is not limited here.

[0076] The interface unit 108 serves as an interface through which at least one external device can be connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, etc. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and an external device.

[0077] The memory 109 can be used to store software programs and various data. The memory 109 can mainly include a program storage area and a data storage area. Optionally, the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 109 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0078] The processor 110 is the control center of the mobile terminal. It uses various interfaces and lines to connect various parts of the entire mobile terminal. It executes various functions of the mobile terminal and processes data by running or executing software programs and / or modules stored in the memory 109, and calling data stored in the memory 109, so as to monitor the mobile terminal as a whole. The processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor. Optionally, the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 110.

[0079] The mobile terminal 100 may also include a power supply 111 (such as a battery) for supplying power to various components. Preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, thereby implementing functions such as charging, discharging, and power consumption management through the power management system.

[0080] although Figure 1 Not shown, the mobile terminal 100 may further include a Bluetooth module, etc., which will not be described in detail here.

[0081] In order to facilitate understanding of the embodiments of the present application, the communication network system on which the mobile terminal of the present application is based is described below.

[0082] See also Figure 2 , Figure 2 A communication network system architecture diagram is provided for an embodiment of the present application, wherein the communication network system is an LTE system of universal mobile communication technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203 and an operator's IP service 204, which are connected in sequence for communication.

[0083] Optionally, UE201 may be the above-mentioned terminal 100, which will not be described in detail here.

[0084] E-UTRAN 202 includes eNodeB 2021 and other eNodeBs 2022 , etc. Optionally, eNodeB 2021 may be connected to other eNodeBs 2022 via a backhaul (eg, an X2 interface), and eNodeB 2021 is connected to EPC 203 , and eNodeB 2021 may provide UE 201 with access to EPC 203 .

[0085] EPC203 may include MME (Mobility Management Entity) 2031, HSS (Home Subscriber Server) 2032, other MMEs 2033, SGW (Serving Gate Way) 2034, PGW (PDN Gate Way) 2035 and PCRF (Policy and Charging Rules Function) 2036, etc. Optionally, MME 2031 is a control node that processes signaling between UE 201 and EPC 203, and provides bearer and connection management. HSS 2032 is used to provide some registers to manage functions such as home location register (not shown in the figure), and store some user-specific information such as service features and data rates. All user data can be sent through SGW2034, PGW2035 can provide IP address allocation and other functions for UE 201, PCRF2036 is the policy and charging control policy decision point for service data flow and IP bearer resources, which selects and provides available policy and charging control decisions for the policy and charging execution function unit (not shown in the figure).

[0086] The IP service 204 may include the Internet, an intranet, an IMS (IP Multimedia Subsystem) or other IP services.

[0087] Although the above introduction takes the LTE system as an example, those skilled in the art should know that the present application is not only applicable to the LTE system, but also to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, 5G, 6G and future new network systems, etc., without limitation here.

[0088] Based on the above-mentioned mobile terminal hardware structure and communication network system, various embodiments of the present application are proposed.

[0089] First embodiment

[0090] Reference Figure 3 , Figure 3 1 is a flow chart of an audio power amplifier control method according to a first embodiment. The audio power amplifier control method of the embodiment of the present application can be applied to a smart terminal (such as a mobile phone). The method includes the following steps:

[0091] S10: Obtain the resonance frequency of the speaker;

[0092] Optionally, the intelligent terminal includes a speaker and an audio amplifier.

[0093] Reference Figure 4 , Figure 4 FIG. 1 is a schematic diagram of a smart terminal module according to the first embodiment of the present application. Figure 4 As shown, the smart terminal in the embodiment of the present application includes at least one of a speaker, a receiver, a microphone, an earphone, an audio module, a display screen, a camera, a button, a memory, a peripheral interface, a sensor, and a battery. Among them, the audio module includes an audio amplifier.

[0094] Optionally, the audio amplifier is an important component of the audio module, and its main function is to amplify the audio signal and drive the speaker to make sound. Due to the performance differences of the speakers and the influence of the use environment, the effect of the audio amplifier is often limited. Among them, the resonant frequency (Resonant Frequency) of the speaker, also known as F0, is one of the important factors affecting the effect of the audio amplifier. If the output frequency of the audio amplifier does not match the resonant frequency of the speaker, it may cause a decrease in sound quality or even distortion.

[0095] Reference Figure 5 and Figure 6 , Figure 5 The first schematic diagram of the speaker design hardware according to the second embodiment of the present application is shown. Figure 6 The second schematic diagram of the speaker design hardware shown in the second embodiment of the present application, the resonant frequency F0 of the speaker refers to the frequency when the vibration amplitude of the diaphragm of the speaker reaches the maximum at a certain frequency. This frequency is usually related to the physical size and design of the speaker, especially the size and shape of the speaker cabinet. At the F0 frequency, the output efficiency of the speaker is the highest, because the resonance effect of the cabinet and the diaphragm enables the speaker to produce a larger sound pressure level with a smaller input power. However, the F0 frequency may also cause sound distortion because it may cause the diaphragm of the speaker to vibrate excessively, thereby affecting the clarity and quality of the sound.

[0096] Optionally, the audio power amplifier in the embodiment of the present application includes a resonance frequency detection module, which is used to detect the resonance frequency F0 of the speaker in real time, and then adjust the working state of the audio power amplifier according to the resonance frequency F0 detected in real time.

[0097] S20: adjusting the working state of the audio power amplifier according to the resonance frequency of the speaker.

[0098] Optionally, after the resonance frequency F0 of the speaker is acquired, the working state of the audio power amplifier can be adjusted according to the resonance frequency of the speaker.

[0099] Optionally, the method further comprises at least one of the following:

[0100] Receive current audio signal;

[0101] Amplify the received current audio signal;

[0102] outputting the amplified audio signal to a speaker;

[0103] Detect the resonant frequency of the speaker;

[0104] The working state of the amplification module is adjusted according to the resonance frequency of the speaker.

[0105] Optionally, the method further comprises at least one of the following:

[0106] generating an audio signal of a preset frequency;

[0107] receiving a feedback signal generated by a loudspeaker according to an audio signal of a preset frequency;

[0108] The resonant frequency of the loudspeaker is calculated based on the feedback signal.

[0109] Optionally, the audio power amplifier in the embodiment of the present application includes at least one of an input module, an amplification module, an output module, a resonance frequency detection module and a control module.

[0110] Optionally, the control module is used to adjust the working state of the amplification module according to the detection result of the resonance frequency detection module.

[0111] Optionally, the control module includes at least one of a storage unit, a comparison unit and an adjustment unit.

[0112] Optionally, the storage unit is used to store historical resonance frequency data of the speaker, and the preset resonance frequency of the speaker can be determined according to the historical resonance frequency data of the speaker.

[0113] Optionally, the comparison unit may also be referred to as a calculation unit, and is used to compare the difference between the acquired resonance frequency F0 of the speaker and a preset resonance frequency, that is, to determine the offset between the resonance frequency of the speaker and the preset resonance frequency.

[0114] Optionally, the adjustment unit is used to adjust the working state of the amplification module according to the comparison result of the comparison unit, and improve the sound quality by adjusting the output frequency of the audio amplifier. The resonant frequency of the speaker can also be used to determine whether the entire audio hardware path is abnormal, whether the audio amplifier is working normally, whether the speaker material is abnormal, and whether there is air leakage in the back cavity of the speaker.

[0115] Through the technical solution of this embodiment, specifically by obtaining the resonant frequency of the speaker; adjusting the working state of the audio amplifier according to the resonant frequency of the speaker. This application can effectively improve the audio output effect and / or protect the speaker from damage and increase the service life of the speaker by obtaining the resonant frequency of the speaker in real time and adjusting the working state of the audio amplifier according to the resonant frequency of the speaker.

[0116] Second embodiment

[0117] Based on the first embodiment of the present application, a solution of the second embodiment of the present application is proposed. In the second embodiment of the present application, the same or similar contents as those of the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated in the following. Figure 7 , step S10 includes steps S101-S103:

[0118] Step S101: generating an audio signal of a preset frequency;

[0119] Step S102: receiving a feedback signal generated by a speaker according to an audio signal of a preset frequency;

[0120] Step S103: Calculate the resonance frequency of the speaker based on the feedback signal.

[0121] Reference Figure 8 , Figure 8 FIG. 1 is a schematic diagram showing the functional principle according to the second embodiment of the present application. Figure 8 As shown, in the embodiment of the present application, the resonance frequency F0 of the speaker is detected in real time through the resonance frequency detection module.

[0122] Optionally, the resonance frequency detection module includes at least one of a signal generator, a signal receiver and a processor.

[0123] Optionally, the signal generator is used to generate a signal of a preset frequency. Optionally, the preset frequency is a specific frequency determined based on empirical values ​​and / or actual needs.

[0124] Optionally, the signal receiver is used to receive a feedback signal generated by the speaker in response to the signal of a preset frequency generated by the signal generator.

[0125] Optionally, the processor is used to calculate the resonance frequency F0 of the speaker according to the feedback signal received by the signal receiver.

[0126] Reference Fig. 9 and Fig.10 , Fig. 9 A schematic diagram of a speaker structure according to the second embodiment of the present application Figure 1 , Fig.10 A schematic diagram of a speaker structure according to the second embodiment of the present application Figure 2 As shown in the figure, in the embodiment of the present application, the number of speakers included in the smart terminal can be 1 or 2, and can be more than one in other embodiments. The embodiment of the present application does not constitute a specific limitation on the number of speakers.

[0127] Optionally, after the signal generator generates a signal of a preset frequency, one or more speakers can receive the signal of the preset frequency, and then one or more speakers respectively generate feedback signals according to the signal of the preset frequency, and respectively propagate the feedback signals to the signal receiver. After the signal receiver receives the feedback signal generated by one or more speakers in response to the signal of the preset frequency generated by the signal generator, the resonant frequency F0 of the one or more speakers can be further calculated by the processor according to the feedback signal received by the signal receiver. Therefore, in the embodiment of the present application, the resonant frequency F0 of multiple speakers can be detected at the same time, and then the working state of the audio power amplifier can be adjusted according to the detection results to improve the output sound quality of the audio power amplifier.

[0128] Through the technical solution of this embodiment, a signal generator is used to generate an audio signal of a preset frequency; a signal receiver is used to receive a feedback signal generated by a speaker according to the audio signal of the preset frequency; and a processor is used to calculate the resonance frequency of the speaker based on the feedback signal.

[0129] Third embodiment

[0130] Based on the first embodiment and / or the second embodiment of the present application, a solution of the third embodiment of the present application is proposed. In the third embodiment of the present application, the same or similar contents as any of the above embodiments can be referred to the above introduction, and will not be repeated later. Fig.11 , step S20 includes steps S201-S202:

[0131] Step S201: calculating the offset between the resonance frequency of the speaker and the preset resonance frequency;

[0132] Step S202: Select or determine the offset range in which the offset value is located, and adjust the working state of the audio power amplifier according to the offset range in which the offset value is located.

[0133] Optionally, the preset resonance frequency is determined according to historical resonance frequency data of the speaker.

[0134] Optionally, the offset range includes at least one of a first offset range, a second offset range, a third offset range and a fourth offset range.

[0135] Optionally, the working state includes at least one of a normal output state, a compensated output plus state, a compensated output minus state, and an abnormal no-output state.

[0136] Optionally, in the embodiment of the present application, the preset resonance frequency of the resonance frequency F0 is set as an initial value X according to historical resonance frequency data of the speaker, and the initial value X has an amplitude tolerance (eg, X±10%).

[0137] Optionally, the offset of F0 is set to two values ​​of ±5% and ±10%. When the real-time monitored value exceeds the set offset, the output working state of the audio amplifier will be adjusted. In the embodiment of the present application, the first offset range is F0±5%, the second offset range is F0-(5% to 10%), the third offset range is F0+(5% to 10%), and the fourth offset range is F0>±10%.

[0138] Optionally, adjusting the working state of the audio power amplifier according to the offset range of the offset includes:

[0139] If the offset range of the offset is the first offset range, adjusting the working state of the audio power amplifier to a normal output state;

[0140] If the offset range in which the offset value is located is the second offset range, adjusting the working state of the audio power amplifier to a post-compensation output plus state;

[0141] If the offset range in which the offset value is located is the third offset range, adjusting the working state of the audio power amplifier to a post-compensation output minus state;

[0142] If the offset range in which the offset value is located is the fourth offset range, the working state of the audio power amplifier is adjusted to an abnormal non-output state.

[0143] Reference Fig.12 , Fig.12 FIG. 4 is a schematic diagram of the loudspeaker amplitude according to the third embodiment of the present application. Fig.12 As shown, the output of the audio amplifier is mainly voltage, and the voltage output will not exceed the maximum amplitude of the speaker. The frequency corresponding to the maximum amplitude is the F0 value, and the output voltage corresponds to the minimum value. If F0 deviates too much, the actual frequency corresponding to the minimum voltage will be inconsistent, which will cause the amplitude of the frequency to exceed the maximum amplitude requirement. If this continues for a long time, the speaker will have problems or fail. Therefore, an F0 detection mechanism is established in the embodiment of the present application to dynamically adjust the output voltage according to the offset.

[0144] Optionally, when the offset between the resonant frequency of the speaker and the preset resonant frequency is in the first offset range, that is, the preset resonant frequency is the initial value X±5%, the working state of the audio power amplifier is adjusted to the normal output state; when the offset between the resonant frequency of the speaker and the preset resonant frequency is in the second offset range, that is, the preset resonant frequency is the initial value X-5% to X-10%, the working state of the audio power amplifier is adjusted to the output plus state after compensation; when the offset between the resonant frequency of the speaker and the preset resonant frequency is in the third offset range, that is, the preset resonant frequency is the initial value X+5% to X+10%, the working state of the audio power amplifier is adjusted to the output minus state after compensation; when the offset between the resonant frequency of the speaker and the preset resonant frequency is in the fourth offset range, that is, the preset resonant frequency is greater than the initial value X±10%, it means that there is an abnormality at this time. In order to avoid damage to the speaker, the working state of the audio power amplifier needs to be adjusted to the abnormal non-output state.

[0145] Through the above scheme of this embodiment, specifically by calculating the offset between the resonant frequency of the speaker and the preset resonant frequency; selecting or determining the offset range in which the offset is located, and adjusting the working state of the audio power amplifier according to the offset range in which the offset is located, the working state of the audio power amplifier can be adjusted according to the real-time resonant frequency of the speaker, thereby effectively improving the audio output effect, and / or protecting the speaker from damage and increasing the service life of the speaker.

[0146] The present application also provides an audio amplifier control device, please refer to Fig.13 , the audio power amplifier control device comprises:

[0147] An acquisition module, used for acquiring the resonance frequency of the speaker;

[0148] The adjustment module is used to adjust the working state of the audio power amplifier according to the resonance frequency of the speaker.

[0149] The audio power amplifier control device provided in the embodiment of the present application has similar implementation principles and beneficial effects to the technical solutions shown in the above-mentioned corresponding method embodiments, and will not be described in detail here.

[0150] The audio power amplifier control device in the embodiment of the present application can be used in a smart terminal, which includes a speaker and an audio power amplifier.

[0151] Optionally, the audio power amplifier includes at least one of an input module, an amplification module, an output module, a resonance frequency detection module and a control module.

[0152] Optionally, the input module is used to receive a current audio signal, the amplification module is used to amplify the current audio signal received by the input module, the output module is used to output the audio signal amplified by the amplification module to the speaker, the resonance frequency detection module is used to detect the resonance frequency of the speaker, and the control module is used to adjust the working state of the amplification module according to the resonance frequency of the speaker.

[0153] Optionally, the resonant frequency detection module includes at least one of a signal generator, a signal receiver and a processor, the signal generator is used to generate an audio signal of a preset frequency; the signal receiver is used to receive a feedback signal generated by the speaker according to the audio signal of the preset frequency; the processor is used to calculate the resonant frequency of the speaker based on the feedback signal.

[0154] An embodiment of the present application also provides an intelligent terminal, including a memory and a processor, wherein a control program is stored in the memory, and when the control program is executed by the processor, the steps of the audio power amplifier control method in any of the above embodiments are implemented.

[0155] An embodiment of the present application also provides a computer-readable storage medium, on which a control program is stored. When the control program is executed by a processor, the steps of the audio power amplifier control method in any of the above embodiments are implemented.

[0156] In the embodiments of the smart terminal and computer-readable storage medium provided in the present application, all technical features of any of the above-mentioned audio power amplifier control method embodiments may be included, and the expanded and explained contents of the specification are basically the same as those of the above-mentioned method embodiments, and will not be repeated here.

[0157] The embodiment of the present application further provides a computer program product, which includes a computer program code. When the computer program code runs on a computer, the computer executes the methods in the above various possible implementation modes.

[0158] An embodiment of the present application also provides a chip, including a memory and a processor, the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that a device equipped with the chip executes the methods in various possible implementation modes as described above.

[0159] It is understood that the above scenarios are only examples and do not constitute a limitation on the application scenarios of the technical solutions provided in the embodiments of the present application. The technical solutions of the present application can also be applied to other scenarios. For example, it is known to those skilled in the art that with the evolution of the system architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0160] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0161] The steps in the method of the embodiment of the present application can be adjusted in order, combined and deleted according to actual needs.

[0162] The units in the device of the embodiment of the present application can be merged, divided and deleted according to actual needs.

[0163] In the present application, the same or similar terminology concepts, technical solutions and / or application scenario descriptions are generally described in detail only the first time they appear. When they appear again later, they are generally not repeated for the sake of brevity. When understanding the technical solutions and other contents of the present application, for the same or similar terminology concepts, technical solutions and / or application scenario descriptions that are not described in detail later, reference can be made to the previous related detailed descriptions.

[0164] In the present application, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0165] The various technical features of the technical solution of the present application can be arbitrarily combined. In order to make the description concise, not all possible combinations of the various technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of the present application.

[0166] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as above, and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, a controlled terminal, or a network device, etc.) to execute the method of each embodiment of the present application.

[0167] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loading and executing computer program instructions on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. Computer instructions can be stored in a storage medium, or transmitted from one storage medium to another storage medium. For example, computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integration. Available media can be magnetic media, (e.g., floppy disk, storage disk, tape), optical media (e.g., DVD), or semiconductor media (e.g., solid-state storage disk Solid State Disk (SSD)), etc.

[0168] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. An audio power amplifier control method, comprising the following steps: S10: Obtain the resonance frequency of the speaker; S20: adjusting the working state of the audio power amplifier according to the resonance frequency of the speaker.

2. The audio power amplifier control method according to claim 1, characterized in that: Step S10 includes: Determine or generate an audio signal of a preset frequency; receiving a feedback signal generated by a loudspeaker according to an audio signal of a preset frequency; A resonant frequency of the loudspeaker is determined based on the feedback signal.

3. The audio power amplifier control method according to claim 1, characterized in that: Step S20 includes: Obtaining the offset between the resonant frequency of the speaker and the preset resonant frequency; An offset range in which the offset value is located is selected or determined, and a working state of the audio power amplifier is adjusted according to the offset range in which the offset value is located.

4. The audio power amplifier control method as claimed in claim 3, characterized in that: Also includes at least one of the following: The preset resonant frequency is determined or generated based on historical resonant frequency data of the speaker; The offset range includes at least one of a first offset range, a second offset range, a third offset range, and a fourth offset range; The working state includes at least one of a normal output state, a compensated output plus state, a compensated output minus state, and an abnormal non-output state.

5. The audio power amplifier control method as claimed in claim 4, characterized in that: The working state of the audio power amplifier is adjusted according to the offset range of the offset, including: If the offset range of the offset is the first offset range, adjusting the working state of the audio power amplifier to a normal output state; If the offset range in which the offset value is located is the second offset range, adjusting the working state of the audio power amplifier to a post-compensation output plus state; If the offset range in which the offset value is located is the third offset range, adjusting the working state of the audio power amplifier to a post-compensation output minus state; If the offset range in which the offset value is located is the fourth offset range, the working state of the audio power amplifier is adjusted to an abnormal non-output state.

6. The audio power amplifier control method as claimed in claim 2, characterized in that: Also includes at least one of the following: Receive current audio signal; Amplify the received current audio signal; outputting the amplified audio signal to a speaker; Detect the resonant frequency of the speaker; The working state of the amplification module is adjusted according to the resonance frequency of the speaker.

7. The audio power amplifier control method as claimed in claim 6, characterized in that: Also includes at least one of the following: Determine or generate an audio signal of a preset frequency; receiving a feedback signal generated by a loudspeaker according to an audio signal of a preset frequency; A resonant frequency of the loudspeaker is determined based on the feedback signal.

8. An audio power amplifier control device, characterized in that: The audio power amplifier control device comprises: An acquisition module, used for acquiring the resonance frequency of the speaker; The adjustment module is used to adjust the working state of the audio power amplifier according to the resonance frequency of the speaker.

9. An intelligent terminal, characterized in that: include: A memory and a processor, wherein the memory stores an audio power amplifier control program, and when the audio power amplifier control program is executed by the processor, the steps of the audio power amplifier control method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the audio power amplifier control method according to any one of claims 1 to 7 are implemented.