Terminal device and speaker driving method
By connecting speakers in parallel in the terminal device and obtaining current signals to select the target speaker, and using a parameter information library to drive the speaker, the problem that battery output cannot meet the needs of multiple speakers is solved, and the cost and power supply requirements are reduced.
Patent Information
- Application Number
- CN202211611403.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-14
- Publication Date
- 2026-01-27
- Estimated Expiration
- 2042-12-14
AI Technical Summary
As the number of speakers increases, the battery output capacity of the terminal device can hardly meet the current requirements of the smart power amplifier chip. This leads to the need to configure multiple smart power amplifier chips in multi-speaker scenarios, which increases the audio development cost and power supply requirements of the terminal device.
By connecting two speakers in parallel to the audio output interface of the smart amplifier chip, their respective current signals are acquired, the current magnitudes are compared, the target speaker is selected, and the corresponding algorithm parameters are obtained from the preset parameter information library to drive the speaker, thereby reducing the number of smart amplifier chips.
This invention enables a single intelligent power amplifier chip to drive two speakers, reducing the audio development cost and power supply requirements of multi-speaker terminals while ensuring the effectiveness of temperature and amplitude protection.
Smart Images

Figure CN115942195B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of electronic technology, and more particularly to a terminal device and a speaker driving method. Background Technology
[0002] With the development of electronic technology, users have increasingly higher requirements for the sound quality of terminal devices. To obtain better sound effects, multiple speakers need to be configured in the terminal device. However, each speaker requires a matching smart amplifier chip for driving; for example, four speakers require four smart amplifier chips, and eight speakers require eight smart amplifier chips. But, as the number of speakers increases, the limited battery output capacity of the terminal device can no longer meet the current requirements of the smart amplifier chips. Summary of the Invention
[0003] This disclosure provides a terminal device and a speaker driving method.
[0004] In a first aspect, embodiments of this disclosure provide a terminal device, including: a main chip and at least one audio output circuit, the audio output circuit including: a smart power amplifier chip, a first speaker and a second speaker, wherein the first speaker and the second speaker are connected in parallel to the audio output interface of the smart power amplifier chip;
[0005] The main chip is connected to the intelligent power amplifier chip and is configured to: acquire a first current signal from the first speaker and a second current signal from the second speaker; select a target speaker from the first speaker and the second speaker by comparing the first current signal and the second current signal; acquire the algorithm parameters corresponding to the target speaker from a preset parameter information library; and send the algorithm parameters corresponding to the target speaker to the intelligent power amplifier chip so that the intelligent power amplifier chip drives the first speaker and the second speaker based on the algorithm parameters corresponding to the target speaker. The parameter information library stores the algorithm parameters corresponding to the first speaker and the second speaker in the audio output circuit.
[0006] Furthermore, the main chip is configured such that: if the current value corresponding to the first current signal is greater than or equal to the current value corresponding to the second current signal, the first speaker is determined as the target speaker; if the current value corresponding to the first current signal is less than the current value corresponding to the second current signal, the second speaker is determined as the target speaker.
[0007] Furthermore, the intelligent power amplifier chip is configured to: collect the first current signal of the first speaker and the second current signal of the second speaker respectively, and transmit the collected first current signal and second current signal to the main chip.
[0008] Furthermore, the intelligent power amplifier chip is provided with a first detection sub-circuit and a second detection sub-circuit. The first detection sub-circuit is connected to the first speaker and configured to collect the first current signal of the first speaker. The second detection sub-circuit is connected to the second speaker and configured to collect the second current signal of the second speaker.
[0009] Furthermore, the intelligent power amplifier chip includes: a first pin, a second pin, a third pin, and a fourth pin, wherein the positive terminal of the first speaker is connected to the first pin and the third pin respectively, the positive terminal of the second speaker is connected to the first pin and the fourth pin respectively, and the negative terminals of the first speaker and the second speaker are connected to the second pin.
[0010] The third pin is connected to the input terminal of the first detection sub-circuit, and the fourth pin is connected to the input terminal of the second detection sub-circuit.
[0011] Furthermore, in the same audio output circuit, the first speaker and the second speaker have the same model and the same or symmetrical cavity structure.
[0012] Furthermore, there are multiple audio output circuits, which are divided into a first audio output circuit and a second audio output circuit. The first speaker and the second speaker in the first audio output circuit are high-frequency speakers, and the first speaker and the second speaker in the second audio output circuit are full-range speakers or low-frequency speakers.
[0013] Furthermore, there are four audio output circuits, including two first audio output circuits and two second audio output circuits.
[0014] Furthermore, the first speaker and the second speaker in one of the first audio output circuits, and the first speaker and the second speaker in one of the second audio output circuits are arranged on the first side of the terminal device, and the first speaker and the second speaker in another of the first audio output circuits, and the first speaker and the second speaker in another of the second audio output circuits are arranged on the second side of the terminal device, the second side being the side opposite to the first side.
[0015] Furthermore, the first speaker and the second speaker in each of the first audio output circuits and the second audio output circuits are arranged symmetrically with respect to the same axis.
[0016] Secondly, this disclosure provides a speaker driving method applied to a terminal device, the terminal device including: at least one audio output circuit, the audio output circuit including: a smart power amplifier chip, a first speaker and a second speaker, wherein the first speaker and the second speaker are connected in parallel to the audio output interface of the smart power amplifier chip, the method including:
[0017] Acquire the first current signal of the first speaker and the second current signal of the second speaker;
[0018] The target speaker is selected from the first speaker and the second speaker by comparing the first current signal and the second current signal;
[0019] The algorithm parameters corresponding to the target speaker are obtained from a preset parameter information library, wherein the parameter information library stores the algorithm parameters corresponding to the first speaker and the algorithm parameters corresponding to the second speaker;
[0020] Based on the algorithm parameters corresponding to the target loudspeaker, the first loudspeaker and the second loudspeaker are driven.
[0021] Further, selecting a target loudspeaker from the first loudspeaker and the second loudspeaker by comparing the first current signal and the second current signal includes:
[0022] If the current value corresponding to the first current signal is greater than or equal to the current value corresponding to the second current signal, then the first speaker is determined to be the target speaker;
[0023] If the current value corresponding to the first current signal is less than the current value corresponding to the second current signal, then the second speaker is determined to be the target speaker.
[0024] The technical solutions provided in this disclosure have at least the following technical effects or advantages:
[0025] In the terminal device provided in this embodiment, two speakers are connected in parallel to the audio output interface of a smart amplifier chip. The current signals of the two speakers are acquired and compared. One of the two speakers is selected as the target speaker. The algorithm parameters corresponding to the target speaker are obtained from a preset parameter information library and sent to the smart amplifier chip. The smart amplifier chip drives the two connected speakers based on the algorithm parameters corresponding to the target speaker. This effectively realizes that one smart amplifier chip drives two parallel speakers, reducing the number of smart amplifier chips that need to be configured in multi-speaker scenarios, and effectively reducing the audio development cost of multi-speaker terminals and the requirements for terminal power supply capabilities.
[0026] The above description is merely an overview of the technical solutions of the embodiments of this disclosure. In order to better understand the technical means of the embodiments of this disclosure and to implement them in accordance with the contents of the specification, and to make the above and other objects, features and advantages of the embodiments of this disclosure more apparent and understandable, specific implementation methods of the embodiments of this disclosure are described below. Attached Figure Description
[0027] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the scope of the embodiments disclosed herein. Furthermore, the same reference numerals denote the same parts throughout the drawings. In the drawings:
[0028] Figure 1 A schematic diagram of the structure of a terminal device provided in this embodiment of the disclosure. Figure 1 ;
[0029] Figure 2 A schematic diagram of the structure of a terminal device provided in this embodiment of the disclosure. Figure 2 ;
[0030] Figure 3 A schematic diagram of the structure of a terminal device provided in this embodiment of the disclosure. Figure 3 ;
[0031] Figure 4 This is a schematic diagram of an exemplary speaker arrangement provided in an embodiment of the present disclosure;
[0032] Figure 5 This is a flowchart of a speaker driving method provided in an embodiment of the present disclosure. Detailed Implementation
[0033] The combination of a smart power amplifier (Smart PA) chip and a speaker can effectively improve a range of performance characteristics of the external audio output of a terminal device, including loudness and sound quality. The characteristics of a speaker are related to its frequency / impedance curve. The smart PA chip can measure its output voltage and current in real time, thereby calculating the speaker's frequency / impedance curve. Smart PA chips, such as the 88270 digital amplifier, can calculate the speaker's current amplitude and temperature based on preset algorithm parameters and drive algorithms (with IV temperature protection and amplitude protection). By calculating the input signal, it can also predict the speaker's amplitude, thereby effectively adjusting the speaker's sound performance, such as increasing volume, improving sound quality, and controlling temperature.
[0034] The intelligent amplifier chip's adjustment of the speaker, including IV temperature protection and amplitude protection, relies on pre-configured algorithm parameters. To ensure the intelligent amplifier chip can accurately control the speaker's real-time output for optimal performance, it needs to be repeatedly tuned based on the performance parameters of the speaker to be driven. Only then can the algorithm parameters be determined and pre-configured in the corresponding intelligent amplifier chip. The intelligent amplifier chip then uses these algorithm parameters to drive the corresponding speaker, allowing it to achieve its maximum sound performance.
[0035] Different speakers will have slightly different performance parameters. Even speakers of the same model from the same supplier may have slightly different impedances due to the winding precision during manufacturing. Therefore, different speakers require different algorithm parameters. The algorithm parameters configured in the smart amplifier chip are uniquely matched to a single speaker and cannot be applied to other speakers.
[0036] Therefore, a single intelligent power amplifier chip can only drive one speaker. I / V feedback is added to the spectrum signal output interface, and the matched speaker is used as the modeling and protection object. The speaker is detected in real time, and temperature protection and amplitude protection are performed on it, thereby maximizing the sound performance of the speaker.
[0037] However, as users' demands for sound quality in terminal devices increase, the number of speakers in these devices is also increasing, for example, from 2 to 4, and then to 8. The limited battery output capacity of these terminal devices is no longer sufficient to meet the current requirements of intelligent power amplifier chips.
[0038] Taking a mobile terminal as an example, the battery output capability of a mobile terminal is generally 10A / 2m under normal debugging. The peak current of each smart power amplifier chip is 2.5A. Therefore, 4 smart power amplifier chips need an output capability of 10A. However, if there are more than 4 smart power amplifier chips, appropriate current limiting is required to ensure that the whole system does not crash and to ensure normal operation of the system.
[0039] Therefore, this disclosure provides a technical solution that enables one smart amplifier chip to drive two speakers, ensuring that the protection algorithms in the smart amplifier chip, such as temperature protection and amplitude protection, can take effect, realizing the function of the smart amplifier, thereby reducing the number of smart amplifier chips that need to be configured in multi-speaker scenarios, reducing the audio development cost of multi-speaker terminals and the requirements for terminal power supply capabilities.
[0040] Exemplary embodiments of the present disclosure will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
[0041] like Figure 1 As shown, the terminal device 10 provided in this embodiment includes: a main chip 100 and at least one audio output circuit 110. The audio output circuit 110 includes: a smart power amplifier chip 111, a first speaker 112, and a second speaker 113. It should be noted that... Figure 1 Only one audio output circuit 110 is shown as an example, and the number of audio output circuits 110 included in the terminal device 10 is not limited. The specific number is determined according to the number of speakers required by the terminal device 10.
[0042] In this embodiment, the audio output circuit 110 refers to a circuit that includes at least two speakers. For example, the audio output circuit 110 may include a dual-speaker circuit, i.e., two speakers are driven by a single intelligent power amplifier chip 111. Alternatively, in other examples, the audio output circuit 110 may also include more than two speakers, i.e., three or more speakers connected in parallel are driven by a single intelligent power amplifier chip 111. This embodiment does not impose any limitations on this. This embodiment mainly uses a dual-speaker circuit as an example for illustration.
[0043] It should be noted that in some examples, in addition to the audio output circuit 110 described above, the terminal device 10 may also include a single speaker circuit. A single speaker circuit refers to a circuit in which a power amplifier chip drives a single speaker. This power amplifier chip has pre-configured algorithm parameters specifically for the speaker; for example, an 88270 digital power amplifier can be used. The specific circuit structure and driving principle of the single speaker circuit can be found in relevant technologies and will not be detailed here.
[0044] For example, when terminal device 10 needs to set an even number (greater than zero) of speakers, the terminal device can use only the above-described audio output circuit 110; when terminal device 10 needs to set an odd number (greater than 1) of speakers, the terminal device can include both the above-described audio output circuit 110 and a single speaker circuit. Figure 1 (Not shown in the image).
[0045] For example, when the audio output circuit 110 is a dual-speaker circuit, if the terminal device 10 needs the sound effect of two speakers, then one audio output circuit 110 can be set up; if the sound effect of three speakers is needed, then one audio output circuit 110 and one single-speaker circuit can be set up; if the sound effect of four speakers is needed, then two audio output circuits 110 can be set up; if the sound effect of five speakers is needed, then two audio output circuits 110 and one single-speaker circuit can be set up; if the sound effect of eight speakers is needed, then four audio output circuits 110 can be set up. This embodiment does not impose any restrictions on this.
[0046] In the aforementioned audio output circuit 110, the first speaker 112 and the second speaker 113 are connected in parallel to the same audio output interface of the intelligent power amplifier chip 111. For example, the intelligent power amplifier chip 111 includes a first pin a and a second pin b. The first pin a and the second pin b are one audio output interface of the intelligent power amplifier chip 111. The first speaker 112 and the second speaker 113 are connected in parallel between the first pin a and the second pin b, that is, the positive terminals of the first speaker 112 and the second speaker 113 are connected to the first pin a, and the negative terminals of the second speaker 113 are connected to the second pin b.
[0047] Considering that the first speaker 112 and the second speaker 113 in the same audio output circuit 110 are driven by the same intelligent power amplifier chip 111, in some examples, the first speaker 112 and the second speaker 113 are of the same model, and the cavity structure (including shape and size) of the sound cavity is the same or symmetrical. This results in a small impedance difference between the two speakers, usually due to differences in winding precision, allowing both speakers to achieve maximum sound performance. It should be noted that although the impedance difference is small, it still leads to different algorithm parameters. If the algorithm parameters for the speaker with higher impedance are used, the speaker with lower impedance may be damaged due to overpowering. Therefore, to ensure that the algorithm parameters used by the intelligent power amplifier chip 111 are effective for both speakers, appropriate algorithm parameters need to be selected. Furthermore, this embodiment does not limit the specific model and size of the speaker; for example, an 8-ohm miniature speaker of 16*20*2.3mm or 12*17*2.05mm can be used.
[0048] The main chip 100 is connected to the intelligent power amplifier chip 111 and is configured to: acquire the first current signal of the first speaker 112 and the second current signal of the second speaker 113 for the audio output circuit 110; select a target speaker from the first speaker 112 and the second speaker 113 by comparing the first current signal and the second current signal; obtain the corresponding algorithm parameters of the target speaker from a preset parameter information library; and send the corresponding algorithm parameters of the target speaker to the intelligent power amplifier chip 111 so that the intelligent power amplifier chip 111 drives the first speaker 112 and the second speaker 113 based on the corresponding algorithm parameters of the target speaker. The parameter information library stores the corresponding algorithm parameters of the first speaker 112 and the second speaker 113 in the audio output circuit 110. For example, the main chip 100 may be an application processor (AP).
[0049] In some examples, the intelligent power amplifier chip 111 can collect the first current signal of the first speaker 112 and the second current signal of the second speaker 113, and transmit the collected first and second current signals to the main chip 100. It should be noted that in related technologies, the intelligent power amplifier chip only adds I / V feedback to the audio output interface. This means the collected current is the total current of the two speakers connected in parallel, and it cannot collect the current of each speaker individually. That is, the obtained impedance is not the true impedance of the speaker, which will cause temperature protection and amplitude protection to fail, thus preventing the intelligent power amplifier from functioning. This embodiment of the present disclosure, by collecting the current of the first speaker 112 and the second speaker 113 respectively, can obtain the true impedance of the two speakers. Furthermore, by comparing the magnitudes of the currents, i.e., the impedances, the selected algorithm parameters can be determined. This ensures that the temperature protection and amplitude protection of the intelligent power amplifier chip 111 are effective when driving two speakers connected in parallel, thus realizing the intelligent power amplifier function.
[0050] For example, the intelligent power amplifier chip 111 includes a first detection sub-circuit and a second detection sub-circuit. The first detection sub-circuit is connected to the first speaker 112 and configured to acquire and transmit the first current signal of the first speaker 112. The second detection sub-circuit is connected to the second speaker 113 and configured to acquire the second current signal of the second speaker 113, thereby realizing current feedback for the two parallel speaker branches. It should be noted that the specific circuit structures of the first and second detection sub-circuits can refer to the relevant current detection circuit structures. For example, by connecting a resistor with a small resistance value in series and detecting the voltage drop across the resistor, the current passing through the corresponding speaker can be obtained.
[0051] For example, the intelligent power amplifier chip 111 also includes a third pin c and a fourth pin d. The positive terminal of the first speaker 112 is connected to both the first pin a and the third pin c. The positive terminal of the second speaker 113 is connected to both the first pin a and the fourth pin d. The third pin c is connected to the input terminal of the first detection sub-circuit, and the fourth pin d is connected to the input terminal of the second detection sub-circuit, thereby feeding back the operating current of the first speaker 112 and the second speaker 113 to the intelligent power amplifier chip 111 through the third pin c and the fourth pin d, respectively.
[0052] In specific implementation, for each audio output circuit 110, the performance parameters of the first speaker 112 and the second speaker 113 are pre-extracted. The first speaker 112 is used as the modeling and protection object for debugging to obtain the corresponding algorithm parameters, and the second speaker 113 is used as the modeling and protection object for debugging to obtain the corresponding algorithm parameters. Subsequently, the terminal device 10 stores the corresponding algorithm parameters of the first speaker 112 and the second speaker 113 of each audio output circuit 110, thus obtaining a parameter information library. For example, the terminal device 10 also includes a memory, which can store these algorithm parameters to obtain the parameter information library.
[0053] The terminal device 10 can be equipped with one or more of the aforementioned audio output circuits 110, configured according to the specific needs of the product. For example, in one application scenario, if the terminal device 10 uses a two-speaker solution, then one audio output circuit 110 can be configured to enable one intelligent power amplifier chip to drive two speakers, such as... Figure 1 As shown. In another application scenario, if the terminal device 10 uses a 4-speaker solution, then 2 audio output circuits 110 can be configured to enable 2 smart power amplifier chips to drive 4 speakers. For example... Figure 2 As shown, the intelligent power amplifier chip 111a drives the first speaker 112a and the second speaker 113a; the intelligent power amplifier chip 111b drives the first speaker 112b and the second speaker 113b.
[0054] In another application scenario, if the terminal device 10 adopts an 8-speaker solution, then four audio output circuits 110 can be configured to drive the eight speakers using four intelligent power amplifier chips. For example... Figure 3As shown, audio output circuit A1 includes: a smart power amplifier chip 111a and a first speaker 112a and a second speaker 113a driven by it; audio output circuit A2 includes: a smart power amplifier chip 111b and a first speaker 112b and a second speaker 113b driven by it; audio output circuit A3 includes: a smart power amplifier chip 111c and a first speaker 112c and a second speaker 113c driven by it; audio output circuit A4 includes: a smart power amplifier chip 111d and a first speaker 112d and a second speaker 113d driven by it.
[0055] It should be noted that, Figure 2 and Figure 3 The connections between the various intelligent power amplifier chips and the corresponding first and second speakers are for illustrative purposes only; please refer to the specific connection methods. Figure 1 As shown.
[0056] Taking an 8-speaker configuration as an example, the parameter information library stores the algorithm parameters corresponding to the first speakers 112a-112d and the second speakers 113a-113d. Taking the audio output circuit A1 as an example, the main chip compares the current magnitudes of the first speaker 112a and the second speaker 113a, selecting one of them as the target speaker for the intelligent power amplifier chip 111a. This target speaker is the modeling protection object for IV temperature protection and amplitude protection performed by the intelligent power amplifier chip 111a. The algorithm parameters for this target speaker are obtained from the parameter information library, and the driving algorithm of the intelligent power amplifier chip 111a is calibrated to drive the first speakers 112a and 113a. The driving process of audio output circuits A2-A4 is similar to that of audio output circuit A1 and will not be described further here.
[0057] In some examples, the speaker with the relatively larger current (i.e., the relatively smaller impedance) among two parallel speakers driven by a single smart amplifier chip is designated as the target speaker. That is, for each audio output circuit, if the current value corresponding to the first current signal is greater than or equal to the current value corresponding to the second current signal, then the first speaker is identified as the target speaker. If the current value corresponding to the first current signal is less than the current value corresponding to the second current signal, then the second speaker is identified as the target speaker.
[0058] It's important to note that since the two speakers are connected in parallel to the same audio output interface of the intelligent amplifier chip, the voltage across both speakers is equal. The relationship between power P, voltage U, and impedance R is: P = U² / R. The smaller the impedance R, the greater the power P. Therefore, the speaker with the smaller impedance R is more easily damaged by overpower. Furthermore, according to the relationship between current I, voltage U, and impedance R: I = U / R, the smaller the speaker's impedance R, the greater the current I. Therefore, if only the speaker with the relatively larger current is protected, the speaker with the relatively smaller current will naturally be protected and will not be overpowered.
[0059] When two speakers are of the same model and have identical cavity structure shape and size, the only factor affecting impedance is the winding precision during speaker manufacturing, resulting in a slight difference in impedance between the two. Based on this, the speaker with relatively higher current is used as the modeling protection target, and the algorithm parameters of this speaker are used to calibrate the driving algorithm of the intelligent power amplifier chip. This achieves both temperature and amplitude protection for the two speakers, while also maximizing their performance.
[0060] Considering that the speakers in the terminal device 10 are usually positioned on the side, resulting in high-frequency loss, in some examples, when there are multiple audio output circuits, these circuits can be further divided into a first audio output circuit and a second audio output circuit. The first and second speakers in the first audio output circuit are high-frequency speakers. The first and second speakers in the second audio output circuit are full-range speakers or low-frequency speakers. Through this crossover design, the high and low frequency drives can widen the sound field of the terminal device 10, maximizing sound performance.
[0061] It should be noted that the audio ranges of high-frequency speakers, full-range speakers, and low-frequency speakers in this article can be referenced from relevant technologies. For example, the audio range of some high-frequency speakers is 2kHz-22kHz, the audio range of full-range speakers is 20Hz-22kHz, and the audio range of low-frequency speakers is 20Hz-200Hz. The specific range depends on the actual product used.
[0062] For example, when terminal device 10 adopts a 4-speaker scheme, that is, including two audio output circuits, one of them can be a first audio output circuit and the other can be a second audio output circuit. That is to say, the first and second speakers in one audio output circuit are high-frequency speakers, while the first and second speakers in the other audio output circuit are full-range speakers or low-frequency speakers.
[0063] For example, when terminal device 10 uses an 8-speaker configuration, i.e., including four audio output circuits, two of them can be first audio output circuits, and the other two can be second audio output circuits. In some examples, the first and second speakers in one of the first audio output circuits, and the first and second speakers in one of the second audio output circuits, can be positioned on the first side of terminal device 10, while the first and second speakers in another first audio output circuit, and the first and second speakers in another second audio output circuit, can be positioned on the second side of terminal device 10, which is the side opposite to the first side. This helps to balance the spatial sound field and achieve better sound effects.
[0064] For example, in the above example, audio output circuits A1 and A2 are first audio output circuits, audio output circuits A3 and A4 are first audio output circuits, first speakers 112a and 112b and second speakers 113a and 113b are full-range speakers, and first speakers 112c and 112d and second speakers 113c and 113d are high-frequency speakers. Therefore, first speakers 112a, second speakers 113a, first speakers 112c, and second speakers 113c can be arranged on the first side of terminal device 10, and first speakers 112b, second speakers 113b, first speakers 112d, and second speakers 113d can be arranged on the second side of terminal device 10.
[0065] In some examples, such as Figure 4 As shown, to further optimize the spatial audio distribution, the first and second speakers in each of the first and second audio output circuits are arranged symmetrically with respect to the same axis. For example, the first speaker 112a and the second speaker 113a, the first speaker 112b and the second speaker 113b, the first speaker 112c and the second speaker 113c, and the first speaker 112d and the second speaker 113d are arranged symmetrically with respect to the same axis 400.
[0066] To better understand the technical solutions provided by the embodiments of this disclosure, the exemplary workflow of the terminal device 10 is described below.
[0067] After the terminal device 10 is started, the intelligent power amplifier chip 111 in each audio output circuit reads the current signals of the corresponding first speaker 112 and second speaker 123 through the third pin c and the fourth pin d, respectively, and transmits the read first current signal and second current signal to the main chip 100 through the interface between the intelligent power amplifier chip 111 and the main chip 100.
[0068] For each audio output circuit, the main chip 100 compares the current values of the first current signal and the second current signal, selects the speaker with the relatively larger current value as the target speaker of the audio output circuit, and calls the corresponding algorithm parameters of the target speaker from the parameter information library.
[0069] The main chip 100 sends the called algorithm parameters to the corresponding smart power amplifier chip 111. The smart power amplifier chip 111 drives the connected first speaker 112 and second speaker 113 according to the algorithm parameters and the preset driving algorithm.
[0070] The terminal device 10 provided in this embodiment effectively realizes one intelligent power amplifier chip driving two parallel speakers, reducing the number of intelligent power amplifier chips that need to be configured in multi-speaker scenarios, and effectively reducing the audio development cost of multi-speaker terminals and the requirements for terminal power supply capabilities.
[0071] It should be noted that the terminal device 10 described in the various technical solutions provided in this disclosure can be various terminals with audio and video playback functions, such as mobile phones, wearable devices, smart sound devices (such as smart speakers), tablet computers, and laptop computers, etc.
[0072] In addition, this disclosure also provides a speaker driving method applied to a terminal device. The terminal device includes at least one audio output circuit, each audio output circuit including a smart power amplifier chip, a first speaker, and a second speaker. In each audio output circuit, the first speaker and the second speaker are connected in parallel to the audio output interface of the smart power amplifier chip. The specific circuit structure can be referred to the relevant description above. Figure 5 As shown, the method may include at least the following steps S501-S504.
[0073] Step S501: Obtain the first current signal of the first speaker and the second current signal of the second speaker;
[0074] Step S502: Select the target speaker from the first speaker and the second speaker by comparing the first current signal and the second current signal;
[0075] Step S503: Obtain the algorithm parameters corresponding to the target speaker from the preset parameter information library, wherein the parameter information library stores the algorithm parameters corresponding to the first speaker and the algorithm parameters corresponding to the second speaker.
[0076] Step S504: Drive the first speaker and the second speaker based on the algorithm parameters corresponding to the target speaker.
[0077] In some examples, the terminal device also includes a main chip, such as an application processor. The speaker driving method described above can be executed in the main chip. In this case, the main chip needs to execute steps S501-S504 for each audio output circuit separately. The parameter information database stores the algorithm parameters corresponding to the first speaker and the second speaker in each audio output circuit. Furthermore, step S504 specifically includes: the main chip sending the algorithm parameters corresponding to the target speaker to the corresponding intelligent power amplifier chip, which then drives the first and second speakers according to the algorithm parameters and a preset driving method.
[0078] Of course, in other examples, this speaker driving method can also be executed by a smart power amplifier chip, and this embodiment does not limit this.
[0079] In some examples, the above method of selecting a target speaker from a first speaker and a second speaker by comparing a first current signal and a second current signal may include: if the current value corresponding to the first current signal is greater than or equal to the current value corresponding to the second current signal, then the first speaker is determined as the target speaker; if the current value corresponding to the first current signal is less than the current value corresponding to the second current signal, then the second speaker is determined as the target speaker.
[0080] Numerous specific details are set forth in the specification provided herein. However, it will be understood that embodiments of this disclosure may be practiced without these specific details. In some instances, well-known methods, structures, and techniques have not been shown in detail so as not to obscure the understanding of this specification.
[0081] The apparatus and methods disclosed in this disclosure can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. The mutual coupling or direct coupling or communication connection shown or discussed herein may be through some interface, or the indirect coupling or communication connection of apparatus or units may be electrical, mechanical, or other forms. The term "multiple" means two or more.
[0082] The method embodiments described herein can be executed by one processing unit or by two or more processing units. The above method embodiments can be implemented in hardware or a combination of hardware and software. Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.
[0083] Furthermore, those skilled in the art will understand that combinations of features from different embodiments herein are within the scope of this disclosure and form different embodiments. The above embodiments are illustrative of this disclosure and not intended to limit it; alternative embodiments can be devised by those skilled in the art without departing from the scope of the appended claims.
Claims
1. A terminal device, characterized in that, include: The main chip and at least one audio output circuit, the audio output circuit including: a smart power amplifier chip, a first speaker and a second speaker, wherein the first speaker and the second speaker are connected in parallel to the audio output interface of the smart power amplifier chip; The main chip is connected to the intelligent power amplifier chip and is configured to: acquire a first current signal from the first speaker and a second current signal from the second speaker; select a target speaker from the first speaker and the second speaker by comparing the first current signal and the second current signal; acquire the algorithm parameters corresponding to the target speaker from a preset parameter information library; and send the algorithm parameters corresponding to the target speaker to the intelligent power amplifier chip so that the intelligent power amplifier chip drives the first speaker and the second speaker based on the algorithm parameters corresponding to the target speaker. The parameter information library stores the algorithm parameters corresponding to the first speaker and the second speaker in the audio output circuit.
2. The terminal device according to claim 1, characterized in that, The main chip is configured such that: if the current value corresponding to the first current signal is greater than or equal to the current value corresponding to the second current signal, the first speaker is determined as the target speaker; if the current value corresponding to the first current signal is less than the current value corresponding to the second current signal, the second speaker is determined as the target speaker.
3. The terminal device according to claim 1, characterized in that, The intelligent power amplifier chip is configured to: collect the first current signal of the first speaker and the second current signal of the second speaker respectively, and transmit the collected first current signal and second current signal to the main chip.
4. The terminal device according to claim 3, characterized in that, The intelligent power amplifier chip is provided with a first detection sub-circuit and a second detection sub-circuit. The first detection sub-circuit is connected to the first speaker and is configured to collect the first current signal of the first speaker. The second detection sub-circuit is connected to the second speaker and is configured to collect the second current signal of the second speaker.
5. The terminal device according to claim 4, characterized in that, The intelligent power amplifier chip includes: a first pin, a second pin, a third pin, and a fourth pin. The positive terminal of the first speaker is connected to the first pin and the third pin, respectively. The positive terminal of the second speaker is connected to the first pin and the fourth pin, respectively. The negative terminals of the first speaker and the second speaker are connected to the second pin. The third pin is connected to the input terminal of the first detection sub-circuit, and the fourth pin is connected to the input terminal of the second detection sub-circuit.
6. The terminal device according to claim 1, characterized in that, In the same audio output circuit, the first speaker and the second speaker have the same model and the same or symmetrical cavity structure.
7. The terminal device according to claim 1, characterized in that, The audio output circuit has multiple components, which are divided into a first audio output circuit and a second audio output circuit. The first speaker and the second speaker in the first audio output circuit are high-frequency speakers, and the first speaker and the second speaker in the second audio output circuit are full-range speakers or low-frequency speakers.
8. The terminal device according to claim 7, characterized in that, The audio output circuit has four components, including two first audio output circuits and two second audio output circuits.
9. The terminal device according to claim 8, characterized in that, One of the first audio output circuits, a first speaker and a second speaker, and one of the second audio output circuits, are arranged on the first side of the terminal device. Another first audio output circuit, a first speaker and a second speaker, and another of the second audio output circuits, are arranged on the second side of the terminal device, the second side being the side opposite to the first side.
10. The terminal device according to claim 9, characterized in that, The first speaker and the second speaker in each of the first audio output circuits and the second audio output circuits are arranged symmetrically with respect to the same axis.
11. A loudspeaker driving method, characterized in that, The method is applied to a terminal device, the terminal device comprising: at least one audio output circuit, the audio output circuit comprising: a smart power amplifier chip, a first speaker, and a second speaker, wherein the first speaker and the second speaker are connected in parallel to the audio output interface of the smart power amplifier chip, the method comprising: Acquire the first current signal of the first speaker and the second current signal of the second speaker; The target speaker is selected from the first speaker and the second speaker by comparing the first current signal and the second current signal; The algorithm parameters corresponding to the target speaker are obtained from a preset parameter information library, wherein the parameter information library stores the algorithm parameters corresponding to the first speaker and the algorithm parameters corresponding to the second speaker; Based on the algorithm parameters corresponding to the target loudspeaker, the first loudspeaker and the second loudspeaker are driven.
12. The method according to claim 11, characterized in that, Selecting a target loudspeaker from the first loudspeaker and the second loudspeaker by comparing the first current signal and the second current signal includes: If the current value corresponding to the first current signal is greater than or equal to the current value corresponding to the second current signal, then the first speaker is determined to be the target speaker; If the current value corresponding to the first current signal is less than the current value corresponding to the second current signal, then the second speaker is determined to be the target speaker.
Citation Information
Patent Citations
Audio playing equipment and audio control method
CN106162007A
Sound production method and device, electronic device and storage medium
CN108769871A