An audio system and a terminal device
By introducing a dual-audio amplifier design into the audio system of the terminal device, combined with dynamic crossover and voltage optimization technology, the problems of poor sound quality and insufficient battery life are solved, achieving improved sound quality and extended battery life.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-04
- Publication Date
- 2026-03-27
AI Technical Summary
The audio systems of existing terminal devices have poor sound quality and insufficient battery life.
It adopts a dual-audio amplifier design, in which the output power of the second audio amplifier is greater than that of the first audio amplifier. The audio stream crossover point is dynamically adjusted by volume level, battery power and temperature, and the voltage power supply is optimized by combining the boost module and the switching module to dynamically adjust the input voltage of the audio amplifier.
It improves the sound quality of the audio system and extends the device's battery life.
Smart Images

Figure CN119545250B_ABST
Abstract
Description
[0001] This application claims priority to Chinese Patent Application No. 202311103334.7, filed on August 29, 2023, entitled "An Audio System and Terminal Device", the entire contents of which are incorporated herein by reference. Technical Field
[0002] This application relates to the field of audio technology, and in particular to an audio system and terminal device. Background Technology
[0003] Terminal devices can output audio through an audio system to meet user needs. Currently, in the audio system of one terminal device, the audio amplifier can be powered by a 4.2V battery. After receiving an electrical signal, the audio amplifier can amplify the signal to drive the speaker to produce sound.
[0004] However, during use, it was found that the sound quality of the terminal device was poor when the terminal device output audio based on this audio system. Summary of the Invention
[0005] This application provides an audio system and terminal device to solve the problem of poor sound quality in existing terminal devices.
[0006] In a first aspect, this application provides an audio system. The audio system includes an audio processor, a first audio amplifier, a second audio amplifier, a first speaker, a second speaker, and a step-down module. A first output terminal of the audio processor is connected to a first input terminal of the first audio amplifier, and a second output terminal of the audio processor is connected to a first input terminal of the second audio amplifier. The output terminal of the first audio amplifier is connected to the input terminal of the first speaker, and the output terminal of the second audio amplifier is connected to the input terminal of the second speaker. The audio system is powered by a battery. The input terminal of the step-down module is connected to the battery, and the output terminal of the step-down module is connected to a second input terminal of the first audio amplifier. The power consumption of the second audio amplifier is greater than that of the first audio amplifier.
[0007] The audio processor is used for:
[0008] The system acquires audio information of the audio stream to be played, including the volume level of the audio stream; acquires the status information of the battery, including the remaining power of the battery and / or the temperature of the battery; determines the treble audio stream and the bass audio stream in the audio stream to be played based on the audio information and the status information; outputs the treble audio stream to the first input terminal of the first audio amplifier; and outputs the bass audio stream to the first input terminal of the second audio amplifier.
[0009] In this system, the output power of the second audio amplifier is greater than that of the first audio amplifier. Based on the second audio amplifier, the driving capability of the second speaker can be improved, thereby improving the sound effect of the second speaker.
[0010] In addition, the treble and bass audio streams can be dynamically adjusted based on volume level, battery level, and battery temperature, which improves the sound quality of the terminal device while also increasing its battery life.
[0011] In some possible designs, when the audio processor determines the high-frequency and low-frequency audio streams in the audio stream to be played based on the audio information and the status information, the audio processor is specifically configured to: determine a first crossover point based on the audio information and the status information, wherein the first crossover point is higher when the remaining battery power is lower, higher when the battery temperature is higher, and higher when the volume level of the audio stream to be played is lower; determine audio streams in the audio stream to be played with frequencies higher than the first crossover point as high-frequency audio streams; determine a second crossover point based on the audio information and the status information, wherein the second crossover point is lower when the remaining battery power is lower, lower when the battery temperature is higher, and lower when the volume level of the audio stream to be played is lower; and determine audio streams in the audio stream to be played with frequencies lower than the second crossover point as low-frequency audio streams.
[0012] In this system, the higher the first crossover point, the fewer audio streams with frequencies higher than the first crossover point will be in the audio stream to be played. In other words, the fewer high-frequency audio streams will be input to the first audio amplifier, and the lower the power consumption of the first audio amplifier will be. This will help reduce the power consumption of the battery and improve the battery's battery life.
[0013] The lower the second crossover point, the fewer audio streams with frequencies lower than the second crossover point will be in the audio stream to be played. In other words, there will be less bass audio stream input to the second audio amplifier, and the power consumption of the second audio amplifier will be lower. This will help reduce battery power consumption and improve battery life.
[0014] In some possible designs, the system also includes a boost module, the first input of which is connected to the battery, and the output of which is connected to the second input of the second audio amplifier.
[0015] In this system, the input voltage of the second audio amplifier can be increased through the boost module, thereby increasing the output power of the second audio amplifier, which is beneficial to further improving the sound effect of the second speaker.
[0016] In some possible designs, the system also includes a switch module, the first input of which is connected to the battery, the second input of which is connected to the output of the boost module, the output of which is connected to the second input of the second audio amplifier, and the third input of which is connected to the third output of the audio processor.
[0017] The audio processor is also used for:
[0018] Based on the audio information and the status information, control the switch switching module to output the voltage of the electrical signal input to the first input terminal of the switch switching module, or control the switch switching module to output the voltage of the electrical signal input to the second input terminal of the switch switching module.
[0019] In this system, the input voltage of the second audio amplifier can be switched through a switching module, so as to dynamically adjust the input voltage of the second audio amplifier, which helps to improve the battery life of the terminal device.
[0020] In some possible designs, when the audio processor controls the switch switching module to output the voltage of the electrical signal input to the first input terminal of the switch switching module or controls the switch switching module to output the voltage of the electrical signal input to the second input terminal of the switch switching module based on the audio information and the status information, the audio processor is specifically used for:
[0021] When the volume level of the audio stream to be played is less than a preset volume level, or the remaining battery power is less than a preset power threshold, or the battery temperature is greater than a preset temperature threshold, the switch switching module is controlled to output the voltage of the electrical signal input to the first input terminal of the switch switching module; when the volume level of the audio stream to be played is greater than or equal to the preset volume level, the remaining battery power is greater than or equal to the preset power threshold, and the battery temperature is less than or equal to the preset temperature threshold, the switch switching module is controlled to output the voltage of the electrical signal input to the second input terminal of the switch switching module.
[0022] In this system, the voltage of the electrical signal input to the first input terminal of the switch module can be equal to the battery voltage, and the voltage of the electrical signal input to the second input terminal of the switch module can be the voltage after boosting the battery voltage. The voltage of the electrical signal input to the first input terminal of the switch module is less than the voltage of the electrical signal input to the second input terminal of the switch module. When the volume level of the audio stream to be played is low, the remaining battery power is low, or the battery temperature is high, the battery voltage can be transmitted to the second audio amplifier through the switch module, thereby reducing the power consumption of the second audio amplifier. When the volume level of the audio stream to be played is high, the remaining battery power is high, and the battery temperature is low, the boosted voltage can be transmitted to the second audio amplifier through the switch module, so that while ensuring the battery life of the terminal device, the output power of the second audio amplifier can be further increased, that is, the driving capability of the second speaker can be further improved.
[0023] In some possible designs, the system also includes a pulse width modulation (PWM) control module, the input of which is connected to the fourth output of the audio processor, and the output of which is connected to the second input of the boost module.
[0024] The audio processor is also used for:
[0025] Acquire PWM information, which includes the correspondence between multiple volume levels and multiple PWM duty cycles; determine the target PWM duty cycle corresponding to the volume level of the audio stream to be played based on the PWM information and the volume level of the audio stream to be played; control the PWM control module to update the PWM duty cycle to the target PWM duty cycle.
[0026] In this system, the PWM duty cycle can be adjusted via the PWM control module. When the boost module supplies power to the second audio amplifier, the output voltage of the boost module can be dynamically adjusted. In other words, dynamically adjusting the input voltage of the second audio amplifier helps improve the battery life of the terminal equipment.
[0027] Secondly, this application provides a terminal device. The terminal device includes a battery and an audio system. The audio system includes an audio processor, a first audio amplifier, a second audio amplifier, a first speaker, a second speaker, and a step-down module. A first output terminal of the audio processor is connected to a first input terminal of the first audio amplifier, and a second output terminal of the audio processor is connected to a first input terminal of the second audio amplifier. The output terminal of the first audio amplifier is connected to the input terminal of the first speaker, and the output terminal of the second audio amplifier is connected to the input terminal of the second speaker. The audio system is powered by the battery. The input terminal of the step-down module is connected to the battery, and the output terminal of the step-down module is connected to a second input terminal of the first audio amplifier. The power consumption of the second audio amplifier is greater than that of the first audio amplifier.
[0028] The audio processor is used for:
[0029] The system acquires audio information of the audio stream to be played, including the volume level of the audio stream; acquires the status information of the battery, including the remaining power of the battery and / or the temperature of the battery; determines the treble audio stream and the bass audio stream in the audio stream to be played based on the audio information and the status information; outputs the treble audio stream to the input of the first audio amplifier; and outputs the bass audio stream to the input of the second audio amplifier.
[0030] In some possible designs, when the audio processor determines the high-frequency and low-frequency audio streams in the audio stream to be played based on the audio information and the status information, the audio processor is specifically configured to: determine a first crossover point based on the audio information and the status information, wherein the first crossover point is higher when the remaining battery power is lower, higher when the battery temperature is higher, and higher when the volume level of the audio stream to be played is lower; determine audio streams in the audio stream to be played with frequencies higher than the first crossover point as high-frequency audio streams; determine a second crossover point based on the audio information and the status information, wherein the second crossover point is lower when the remaining battery power is lower, lower when the battery temperature is higher, and lower when the volume level of the audio stream to be played is lower; and determine audio streams in the audio stream to be played with frequencies lower than the second crossover point as low-frequency audio streams.
[0031] In some possible designs, the system also includes a boost module, the first input of which is connected to the battery, and the output of which is connected to the second input of the second audio amplifier.
[0032] In some possible designs, the system also includes a switch module, the first input of which is connected to the battery, the second input of which is connected to the output of the boost module, the output of which is connected to the second input of the second audio amplifier, and the third input of which is connected to the third output of the audio processor.
[0033] The audio processor is also used for:
[0034] Based on the audio information and the status information, control the switch switching module to output the voltage of the electrical signal input to the first input terminal of the switch switching module, or control the switch switching module to output the voltage of the electrical signal input to the second input terminal of the switch switching module.
[0035] In some possible designs, when the audio processor controls the switch switching module to output the voltage of the electrical signal input to the first input terminal of the switch switching module or controls the switch switching module to output the voltage of the electrical signal input to the second input terminal of the switch switching module based on the audio information and the status information, the audio processor is specifically used for:
[0036] When the volume level of the audio stream to be played is less than a preset volume level, or the remaining battery power is less than a preset power threshold, or the battery temperature is greater than a preset temperature threshold, the switch switching module is controlled to output the voltage of the electrical signal input to the first input terminal of the switch switching module; when the volume level of the audio stream to be played is greater than or equal to the preset volume level, the remaining battery power is greater than or equal to the preset power threshold, and the battery temperature is less than or equal to the preset temperature threshold, the switch switching module is controlled to output the voltage of the electrical signal input to the second input terminal of the switch switching module.
[0037] In some possible designs, the system further includes a pulse width modulation (PWM) control module, the input of which is connected to the fourth output of the audio processor, and the output of which is connected to the second input of the boost module.
[0038] The audio processor is also used for:
[0039] Acquire PWM information, which includes the correspondence between multiple volume levels and multiple PWM duty cycles; determine the target PWM duty cycle corresponding to the volume level of the audio stream to be played based on the PWM information and the volume level of the audio stream to be played; control the PWM control module to update the PWM duty cycle to the target PWM duty cycle.
[0040] It is understandable that the effects achievable in the second aspect can be referred to the description in the first aspect, and will not be repeated here. Attached Figure Description
[0041] Figure 1 This is a schematic diagram of the structure of a terminal device provided in an embodiment of this application;
[0042] Figure 2 This is a software structure block diagram of a terminal device to which this application embodiment applies;
[0043] Figure 3 A schematic diagram of an existing terminal device's audio system;
[0044] Figure 4 This is a schematic diagram of an audio system 400 provided in one embodiment of this application;
[0045] Figure 5 This is a schematic diagram of an audio stream provided in one embodiment of this application;
[0046] Figure 6 A schematic diagram of an audio system 400 provided in another embodiment of this application;
[0047] Figure 7 A schematic diagram of an audio system 400 provided in yet another embodiment of this application;
[0048] Figure 8 A schematic diagram of an audio system 400 provided in yet another embodiment of this application;
[0049] Figure 9 This is a schematic diagram of a terminal device provided in this application. Detailed Implementation
[0050] The technical solutions in the embodiments of this application will now be described with reference to the accompanying drawings.
[0051] To facilitate a clear description of the technical solutions in the embodiments of this application, the terms "first" and "second" are used in the embodiments of this application to distinguish identical or similar items with essentially the same function and effect. For example, "first information" and "second information" are only used to distinguish different information and do not limit their order. Those skilled in the art will understand that the terms "first" and "second" do not limit the quantity or execution order, and the terms "first" and "second" are not necessarily different.
[0052] In this application embodiment, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c; a and b; a and c; b and c; or a and b and c. Here, a, b, and c can be single or multiple.
[0053] The terminal devices in the embodiments of this application can be wearable terminal devices such as mobile phones, tablets, personal computers (PCs), smart screens, in-vehicle systems, and smartwatches. They can also be various teaching aids (such as learning machines and early education machines), smart toys, portable robots, personal digital assistants (PDAs), augmented reality (AR) devices, virtual reality (VR) devices, etc. Furthermore, they can be devices with mobile office functions, smart home functions, audio-visual entertainment functions, or devices supporting smart travel. It should be understood that the embodiments of this application do not limit the specific technology or device form used in the terminal devices.
[0054] To better understand the embodiments of this application, the hardware structure of the terminal device of the embodiments of this application will be described below. For example, Figure 1 This is a schematic diagram of the structure of a terminal device provided in an embodiment of this application.
[0055] The terminal device may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, a sensor module 180, buttons 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.
[0056] Optionally, the sensor module 180 may include a pressure sensor 180A and a touch sensor 180B, etc.
[0057] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the terminal device. In other embodiments of this application, the terminal device may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0058] Processor 110 may include one or more processing units. For example, processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, etc. Different processing units may be independent devices or integrated into one or more processors. Processor 110 may also include memory for storing instructions and data.
[0059] USB port 130 is a USB standard compliant interface, which can be a Mini USB port, Micro USB port, USB Type-C port, etc. USB port 130 can be used to connect a charger to charge terminal devices, and can also be used for data transfer between terminal devices and peripheral devices. It can also be used to connect headphones for audio playback. This interface can also be used to connect other terminal devices, such as AR devices.
[0060] The charging management module 140 receives charging input from a charger, which can be a wireless charger or a wired charger. While charging the battery 142, the charging management module 140 can also charge the terminal device via the power management module 141.
[0061] The power management module 141 connects the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140 to power the processor 110, internal memory 121, external memory, camera 193, display screen 194, audio module 170, and wireless communication module 160, etc. In some embodiments, the power management module 141 may also be located within the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be located in the same device.
[0062] Optionally, in some embodiments, the power management module 141 may also be referred to as a battery management unit (PMU). The PMU can be used to obtain the status information of the battery 142, such as the remaining power and temperature of the battery 142.
[0063] The wireless communication function of the terminal device can be implemented through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor, and baseband processor.
[0064] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Antennas in terminal equipment can be used to cover one or more communication frequency bands. Different antennas can also be reused to improve antenna utilization.
[0065] The mobile communication module 150 can provide solutions for wireless communication applications including 2G / 3G / 4G / 5G on terminal devices. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1.
[0066] The wireless communication module 160 can provide solutions for wireless communication applications on terminal devices, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), and other wireless communication technologies. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 110. The wireless communication module 160 can also receive signals to be transmitted from processor 110, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.
[0067] In some embodiments, antenna 1 of the terminal device is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, enabling the mobile phone to communicate with the network and other devices through wireless communication technology.
[0068] Camera 193 is used to capture still images or videos. In some embodiments, the terminal device may include one or N cameras 193, where N is a positive integer greater than 1.
[0069] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. In some embodiments, the terminal device may include one or N display screens 194, where N is a positive integer greater than 1.
[0070] In this embodiment, the display screen 194 can display the interface of a preset application, a volume bar interface, etc. The interface of the preset application may include video frame images and video duration, etc. When the display screen 194 displays video frame images, the volume bar displayed on the display screen 194 can indicate the current volume value.
[0071] In some embodiments of this application, the preset application may include, but is not limited to, video playback applications, audio playback applications, game applications, shopping applications, and social applications, etc., that can play audio. The audio stream of the preset application may include, but is not limited to, a relatively complete audio segment, i.e., the currently buffered audio segment, or an audio segment of several minutes or more, such as the audio from a song or a video.
[0072] Terminal devices can implement display functions through graphics processing units (GPUs), displays (194), and application processors. A GPU is a microprocessor for image processing, connecting the display (194) and the application processor. GPUs are used to perform mathematical and geometric calculations and for graphics rendering. GPUs can also be called display cores, visual processors, and display chips.
[0073] Terminal devices can achieve shooting functions through ISP, camera 193, video codec, GPU, display 194 and application processor.
[0074] Video codecs are used to compress or decompress digital video. Terminal devices can support one or more video codecs. This allows the terminal device to play or record video in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, and MPEG4. Furthermore, the terminal device can encapsulate and play audio and video data as well as screen recording data.
[0075] The external storage interface 120 can be used to connect an external storage card, such as a Micro SD card, to expand the storage capacity of the terminal device. The external storage card communicates with the processor 110 through the external storage interface 120 to perform data storage functions. For example, music, video, and other files can be saved on the external storage card.
[0076] Internal memory 121 can be used to store executable program code, including instructions. Internal memory 121 may include a program storage area and a data storage area. The program storage area can store application programs required for at least one function of the operating system (such as sound playback, image playback, etc.). The data storage area can store data created during the use of the terminal device (such as audio data, phonebook, etc.).
[0077] The terminal device can implement audio functions such as music playback and recording through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, and an application processor.
[0078] Audio module 170 is used to convert digital audio information into analog audio signal output, and also to convert analog audio input into digital audio signal. Speaker 170A, also called a "loudspeaker," is used to convert audio electrical signals into sound signals. Terminal devices can listen to music or make hands-free calls through speaker 170A. Receiver 170B, also called a "handpiece," is used to convert audio electrical signals into sound signals. When the terminal device answers a phone call or voice message, it can listen to the voice by bringing the receiver 170B close to the user's ear. Microphone 170C, also called a "microphone" or "voice transducer," is used to convert sound signals into electrical signals. Headphone jack 170D is used to connect wired headphones.
[0079] Pressure sensor 180A is used to sense pressure signals and convert them into electrical signals. In some embodiments, pressure sensor 180A may be disposed on display screen 194. When a touch operation is applied to display screen 194, the terminal device can detect the intensity of the touch operation based on pressure sensor 180A. The terminal device can also calculate the touch position based on the detection signal from pressure sensor 180A. Touch sensor 180B may be disposed on display screen 194, and the touch sensor 180B and display screen 194 together form a touch screen, also known as a "touchscreen". Touch sensor 180B is used to detect touch operations applied to or near it. Touch sensor 180B can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through display screen 194. In other embodiments, touch sensor 180B may also be disposed on the surface of the mobile phone, in a different location than display screen 194.
[0080] Buttons 190 include a power button, volume buttons, etc. Buttons 190 can be mechanical buttons or touch buttons. The terminal device can receive button input and generate key signal inputs related to user settings and function control. Motor 391 can generate vibration alerts. Indicator 192 can be an indicator light, used to indicate charging status, battery level changes, messages, missed calls, notifications, etc. Timer 196 can be used to record time information. For example, when the terminal device is recording video, it can record the start and end times of the video, as well as the duration of the recorded video.
[0081] In the embodiments of this application, as examples, the software system of the terminal device may adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. The layered architecture may use the Android system, the Apple iOS system, or other operating systems; this application embodiment does not limit this. The following uses the layered Android system as an example to exemplify the software structure of the terminal device.
[0082] Figure 2 This is a software architecture block diagram of a terminal device applicable to embodiments of this application. The layered architecture divides the terminal device's software system into several layers, each with a clear role and function. Layers communicate with each other through software interfaces. In some embodiments, the system may include an application layer, an application framework layer, an Android runtime and system libraries, a hardware abstraction layer (HAL), and a kernel layer.
[0083] The application layer can include a series of application packages. The application layer runs applications by calling the application programming interface (API) provided by the application framework layer.
[0084] For example, the application package may include applications such as camera, gallery, calendar, call, map, navigation, wireless local area networks (WLAN), Bluetooth, music, video, SMS, and lock screen applications. Of course, the application layer may also include third-party application packages, such as social applications, third-party music applications, third-party video applications, payment applications, shopping applications, banking applications, chat applications, or financial management applications, etc., which are not limited in this application.
[0085] The social application can have the function of playing video and audio. In response to the user's operation of playing video, the terminal device can play video frames and their corresponding audio. In one possible design of this application, the social application can respond to the user's operation of playing video by calling the media playback interface to launch one or more of the system's players.
[0086] In some embodiments of this application, during audio playback on the terminal device, the terminal device can set the audio volume level in response to user operation. When the terminal device automatically plays video, it can play the audio corresponding to the video based on the set volume level.
[0087] The application framework layer provides application programming interfaces (APIs) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions. These may include, for example, an activity manager, a window manager, a content provider, a view system, a resource manager, and an audio service, etc., but this application embodiment does not impose any limitations on them.
[0088] The audio service can be started during the power-on phase of the terminal device, and it can be used to transmit and save relevant audio data information of the audio module.
[0089] The Android runtime consists of the core libraries, the virtual machine, and the virtual machine monitor. The Android runtime is responsible for scheduling and managing the Android system. The core libraries comprise two parts: one part contains the functionalities that Java calls, and the other part consists of the Android core libraries. The application layer and application framework layer run in the virtual machine. The virtual machine executes the Java files of the application layer and application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.
[0090] The system library can contain modules with multiple functions, such as: surface manager, media library, 3D graphics processing library, and recognition algorithm module.
[0091] The Surface Manager manages the display subsystem and provides fusion of 2D and 3D layers for multiple applications. The Media Library supports playback and recording of various common audio and video formats, as well as still image files. It supports multiple audio and video encoding formats, such as JPG and PNG. The 3D Graphics Processing Library implements 3D graphics drawing, image rendering, compositing, and layer processing. The Recognition Algorithm Module can be used for sign language recognition, speech recognition, and text semantic recognition. Sign language recognition refers to recognizing speech or text as sign language; speech recognition refers to recognizing sign language or text as speech; and text semantic recognition refers to recognizing sign language or speech as text.
[0092] The HAL layer is a wrapper around Linux kernel drivers, providing interfaces to the upper layers and shielding them from the implementation details of the lower-level hardware.
[0093] The HAL layer can include Wi-Fi HAL, audio HAL, and camera HAL, etc.
[0094] In this embodiment, the audio HAL is the core software framework of the audio module. The audio HAL may include an audio stream control module, a whitelist recognition module, a volume monitoring module, an audio data stream monitoring module, and a virtual write operation module. The audio stream control module can manage an actual audio stream, such as starting or stopping the audio stream.
[0095] The kernel layer is the layer between hardware and software. It drives the hardware, enabling it to function. The kernel layer includes at least display drivers, camera drivers, audio drivers, and sensor drivers. Among these, the audio driver is the driver layer for audio-related devices (such as speakers), primarily responsible for interacting with the hardware.
[0096] In this embodiment of the application, the audio driver may include a driver for the speaker, a driver for the receiver, and a driver for the microphone.
[0097] The hardware layer includes displays, cameras, speakers, receivers, and microphones.
[0098] Understandable, Figure 2 The software structure of the terminal device in the illustrated embodiment is only a simple example and does not limit the scope of this application.
[0099] Terminal devices can output audio through an audio system to meet user needs. Figure 3 This is a schematic diagram of an existing terminal device's audio system, such as... Figure 3As shown, the audio system includes an audio amplifier and a speaker. The audio amplifier can be powered by a 4.2V battery. After receiving an electrical signal, the audio amplifier can amplify the electrical signal to drive the speaker to emit sound.
[0100] However, during use, it was found that the sound quality of the terminal device was poor when the terminal device output audio based on this audio system.
[0101] Therefore, this application can provide an audio system that can be applied to terminal devices to solve the problem of poor sound quality in terminal devices.
[0102] In the audio system of this application, a high-power audio amplifier is added to the existing audio amplifier. The existing audio amplifier can be referred to as the first audio amplifier, which can be connected to the first speaker. The high-power audio amplifier can be referred to as the second audio amplifier, which can be connected to the second speaker. This audio system can be powered by a battery.
[0103] In this system, the output power of the second audio amplifier is greater than that of the first audio amplifier, and the driving capability of the second speaker can be improved based on the second audio amplifier.
[0104] In this system, the first audio amplifier and the second audio amplifier can be used to receive high-frequency audio streams and low-frequency audio streams, respectively.
[0105] In this application, an audio stream with a frequency greater than the first crossover point can be identified as a high-frequency audio stream, and an audio stream with a frequency less than the second crossover point can be identified as a low-frequency audio stream.
[0106] The first crossover point can be dynamically adjusted based on volume level, battery level, and battery temperature. For example, the lower the remaining battery power, the higher the first crossover point; the higher the battery temperature, the higher the first crossover point; and the lower the volume level of the audio stream to be played, the higher the first crossover point.
[0107] The second crossover point can also be dynamically adjusted based on volume level, battery level, and battery temperature. For example, the lower the remaining battery power, the lower the second crossover point; the higher the battery temperature, the lower the second crossover point; and the lower the volume level of the audio stream to be played, the lower the second crossover point.
[0108] In other words, the high-frequency and low-frequency audio streams can be dynamically adjusted based on volume level, battery level, and battery temperature, which improves the sound quality of the terminal device while also increasing its battery life.
[0109] Furthermore, the audio system may also include a boost module, which can boost the battery voltage to increase the input voltage of the second audio amplifier. This helps to increase the output power of the second audio amplifier and further improve the sound effect of the second speaker.
[0110] Furthermore, the audio system may also include a switch module, which can switch the input voltage of the second audio amplifier to the voltage output by the battery or the voltage after boosting the battery voltage.
[0111] As an example, when the volume level of the audio stream is lower than the preset volume level, or the remaining battery power is lower than the preset power threshold, or the battery temperature is higher than the preset temperature threshold, the switching module can switch the input voltage of the second audio amplifier to the voltage output by the battery.
[0112] As another example, when the volume level of the audio stream is greater than or equal to a preset volume level, the remaining battery power is greater than or equal to a preset power threshold, and the battery temperature is less than or equal to a preset temperature threshold, the input voltage of the second audio amplifier can be switched to the voltage after boosting the battery voltage through the switching module.
[0113] The input voltage of the second audio amplifier can be dynamically adjusted by the switching module, which helps to improve the battery life of the terminal device.
[0114] Furthermore, the audio system may also include a pulse width modulation (PWM) control module. This PWM control module can adjust the PWM duty cycle, dynamically adjusting the output voltage of the boost module when it supplies power to the second audio amplifier. In other words, dynamically adjusting the input voltage of the second audio amplifier helps improve the battery life of the terminal device.
[0115] Next, this application will combine Figures 4 to 9 This application provides a detailed description of its proposed solution.
[0116] Figure 4 This is a schematic diagram of an audio system 400 provided in an embodiment of this application. Figure 4 As shown, the audio system 400 may include an audio processor 401, a first audio amplifier 402, a second audio amplifier 403, a first speaker 404, and a second speaker 405. The audio system 400 can be applied in terminal devices.
[0117] The first output terminal 401-1 of the audio processor 401 can be connected to the first input terminal 402-1 of the first audio amplifier 402, and the second output terminal 401-2 of the audio processor 401 can be connected to the first input terminal 403-1 of the second audio amplifier 403.
[0118] The output terminal 402-2 of the first audio amplifier 402 can be connected to the input terminal 404-1 of the first speaker 404, and the output terminal 403-2 of the second audio amplifier 403 can be connected to the input terminal 405-1 of the second speaker 405.
[0119] The audio system 400 can be powered by a battery, which can be used to power the first audio power supply 402 and the second audio power amplifier 403.
[0120] In this system, the battery output voltage can be 8.4V. In some embodiments, the battery can be composed of two 4.2V batteries connected in series.
[0121] In this system, the power consumption of the first speaker 404 can be greater than that of the second speaker 405. For example, the power consumption of the first speaker 404 can be 4W, and the power consumption of the second speaker can be 9W.
[0122] Optionally, the number of first audio amplifiers 402 can be at least one. The number of first speakers 404 connected to each first audio amplifier 402 can also be at least one.
[0123] Optionally, the number of second audio amplifiers 403 may be at least one. Each second audio amplifier 403 may also be connected to at least one second speaker 405.
[0124] In this system, the output power of the second audio amplifier 403 can be greater than the output power of the first audio amplifier 402. Based on the second audio amplifier 403, the driving capability of the second speaker 405 can be improved, thereby improving the sound effect of the second speaker 405.
[0125] Optionally, the system may also include a step-down module 406.
[0126] The input terminal 406-1 of the step-down module 406 can be used to connect to a battery, and the output terminal 406-2 of the step-down module 406 can be connected to the second input terminal 402-3 of the first audio amplifier 402.
[0127] The step-down module 406 can receive a first electrical signal from the battery, step down the voltage of the first electrical signal to obtain a second electrical signal, and output the second electrical signal to the first audio power amplifier 402. The voltage of the first electrical signal can be 8.4V, and the voltage of the second electrical signal is less than the voltage of the first electrical signal. As an example, the voltage of the second electrical signal can be 4.2V.
[0128] In this system, the power consumption of the first audio amplifier 402 is less than that of the second audio amplifier 403. As an example, the first audio amplifier 402 can be an audio amplifier in an existing audio system, and the second audio amplifier 403 can be a high-power audio amplifier.
[0129] In this system, the audio processor 401 can be used to: acquire audio information of the audio stream to be played, including the volume level of the audio stream to be played; acquire battery status information, including the remaining battery power and / or battery temperature; determine the treble audio stream and bass audio stream in the audio stream to be played based on the audio information and status information; output the treble audio stream to the first input terminal 402-1 of the first audio amplifier 402; and output the bass audio stream to the first input terminal 403-1 of the second audio amplifier 403.
[0130] In some possible implementations, the audio processor 401 can obtain the audio information of the audio stream to be played based on the operating system of the terminal device.
[0131] As an example, the terminal device can determine the audio information of the audio stream to be played based on the application framework layer and send the audio information to the hardware abstraction layer. After receiving the audio information, the hardware abstraction layer can send the audio information to the audio processor 401. Accordingly, the audio processor 401 receives the audio information.
[0132] Optionally, the audio information may also include the audio type of the audio stream to be played.
[0133] In this application, the audio system may include multiple audio streams, and the audio stream to be played may be any one of these multiple audio streams.
[0134] like Figure 5 As shown, assuming there are 11 audio streams, each with its own corresponding audio type, audio value, and audio name. Each audio stream also has its own corresponding volume levels, and different audio streams may have the same number of volume levels. In some embodiments, each audio stream may correspond to 16 volume levels.
[0135] Optionally, after a user inputs a volume control command on the terminal device, the terminal device can also obtain the user's volume control command through the application framework layer and determine the current volume level based on the user's volume control command. For example, the volume control command may include increasing the volume and decreasing the volume.
[0136] Optionally, each audio stream has its own corresponding mode or input source. When the application framework layer sends the audio type of the audio stream to be played to the hardware abstraction layer, it can first convert the audio type of the audio stream to be played into the mode or input source of the audio stream to be played, and then send the mode or input source of the audio stream to be played to the hardware abstraction layer. In this way, the hardware abstraction layer can determine the audio type corresponding to the mode or input source based on the mode or input source.
[0137] In some possible implementations, the audio processor 401 can obtain battery status information based on the terminal device's operating system.
[0138] As an example, the kernel layer of the terminal device can obtain battery status information from the PMU and send the battery status information to the hardware abstraction layer. Correspondingly, after receiving the battery status information, the hardware abstraction layer can send the battery status information to the audio processor 401. The audio processor 401 then receives the battery status information.
[0139] Optionally, when the audio processor 401 determines the high-frequency audio stream and the low-frequency audio stream in the audio stream to be played based on the audio information and the status information, it can specifically be used to: determine a first crossover point based on the audio information and the battery status information, and determine the audio stream with a frequency greater than the first crossover point in the audio stream to be played as the high-frequency audio stream; and determine a second crossover point based on the audio information and the status information, and determine the audio stream with a frequency less than the second crossover point in the audio stream to be played as the low-frequency audio stream.
[0140] The first crossover point can be dynamically adjusted based on audio information and battery status information. For example, the lower the remaining battery power, the higher the first crossover point; the higher the battery temperature, the higher the first crossover point; and the lower the volume level of the audio stream to be played, the higher the first crossover point.
[0141] The second crossover point can also be dynamically adjusted based on audio information and battery status information. For example, the lower the remaining battery power, the lower the second crossover point; the higher the battery temperature, the lower the second crossover point; and the lower the volume level of the audio stream to be played, the lower the second crossover point.
[0142] The higher the first crossover point, the fewer audio streams with frequencies higher than the first crossover point will be in the audio stream to be played. In other words, there will be fewer high-frequency audio streams input to the first audio amplifier, and the lower the power consumption of the first audio amplifier will be. This will help reduce the power consumption of the battery and improve the battery's battery life.
[0143] The lower the second crossover point, the fewer audio streams with frequencies lower than the second crossover point will be in the audio stream to be played. In other words, there will be less bass audio stream input to the second audio amplifier, and the power consumption of the second audio amplifier will be lower. This will help reduce battery power consumption and improve battery life.
[0144] Furthermore, the audio system 400 may also include a boost module 407. For example... Figure 6 As shown, the first input terminal 407-1 of the boost module 407 can be used to connect a battery, and the output terminal 407-2 of the boost module 407 can be connected to the second input terminal 403-3 of the second audio amplifier 403.
[0145] The boost module 407 can receive a first electrical signal from the battery, boost the first electrical signal to obtain a third electrical signal, and output the third electrical signal to the second audio power amplifier 403. The voltage of the first electrical signal can be 8.4V, and the voltage of the third electrical signal is greater than the voltage of the first electrical signal. For example, the voltage range of the third electrical signal can be 10V-12V.
[0146] In this system, the input voltage of the second audio amplifier 403 can be increased by the boost module 407, thereby increasing the output power of the second audio amplifier 403, which is beneficial to further improve the sound effect of the second speaker 405.
[0147] Furthermore, the audio system 400 may also include a switch module 408. For example... Figure 7 As shown, the first input terminal 408-1 of the switch switching module 408 is used to connect to the battery, the second input terminal 408-2 of the switch switching module 408 is connected to the output terminal 407-2 of the boost module 407, the output terminal 408-3 of the switch switching module 408 is connected to the second input terminal 403-3 of the second audio amplifier 403, and the third input terminal 408-4 of the switch switching module 408 is connected to the third output terminal 401-3 of the audio processor 401.
[0148] The switch module 408 can be used to receive a first electrical signal from the battery or a third electrical signal from the boost module 407, and transmit the first electrical signal or the third electrical signal to the second audio amplifier 403.
[0149] In this system, the audio processor 401 can also be used to: control the voltage of the electrical signal input to the first input terminal 408-1 of the switch switching module 408 based on audio information and battery status information, or control the voltage of the electrical signal input to the second input terminal 408-2 of the switch switching module 408.
[0150] The electrical signal input to the first input terminal 408-1 of the switch switching module 408 can be a first electrical signal, and the electrical signal input to the second input terminal 408-2 of the switch switching module 408 can be a third electrical signal.
[0151] In some possible implementations, the audio processor 401 can control the voltage of the electrical signal input to the first input terminal 408-1 of the switch switching module 408 or control the voltage of the electrical signal input to the second input terminal 408-2 of the switch switching module 408, based on the operating system of the terminal device.
[0152] In this system, the input voltage of the second audio amplifier 403 can be switched by the switch switching module 408, so as to dynamically adjust the input voltage of the second audio amplifier 403, which is beneficial to improving the battery life of the terminal device.
[0153] In some possible implementations, when the audio processor 401 controls the switch switching module 408 to output the voltage of the electrical signal input to the first input terminal 408-1 or the voltage of the electrical signal input to the second input terminal 408-2 based on the audio information and battery status information, it can be specifically used to: control the switch switching module 408 to output the voltage of the electrical signal input to the first input terminal 408-1 when the volume level of the audio stream to be played is less than a preset volume level, or the remaining battery power is less than a preset power threshold, or the battery temperature is greater than a preset temperature threshold; and control the switch switching module 408 to output the voltage of the electrical signal input to the second input terminal 408-2 when the volume level of the audio stream to be played is greater than or equal to a preset volume level, the remaining battery power is greater than or equal to a preset power threshold, and the battery temperature is less than or equal to a preset temperature threshold.
[0154] The preset volume level can be a pre-set volume level. For example, the preset volume level can be 13 levels.
[0155] The preset battery threshold can also be a pre-set battery threshold. For example, the preset battery threshold can be 70%.
[0156] The preset temperature threshold can also be a pre-set temperature threshold. For example, the preset temperature threshold can be 40℃.
[0157] In some possible implementations, the audio processor 401 can control the voltage of the electrical signal input to the first input terminal 408-1 of the switch switching module 408 or control the voltage of the electrical signal input to the second input terminal 408-2 of the switch switching module 408, based on the operating system of the terminal device.
[0158] For example, when the volume level of the audio stream to be played is lower than a preset volume level, or the remaining battery power is lower than a preset power threshold, or the battery temperature is higher than a preset temperature threshold, the audio processor 401 can send a first indication message to the HAL layer of the terminal device. This first indication message is used to instruct the control switch switching module 408 to output the voltage of the electrical signal input to the first input terminal 408-1 of the switch switching module 408. Accordingly, after receiving the first indication message, the HAL layer of the terminal device can send the first indication message to the kernel layer of the terminal device. After receiving the first indication message, the kernel layer of the terminal device drives the switch switching module 408 to output the voltage of the electrical signal input to the first input terminal 408-1 of the switch switching module 408.
[0159] For example, when the volume level of the audio stream to be played is greater than or equal to a preset volume level, the remaining battery power is greater than or equal to a preset power threshold, and the battery temperature is less than or equal to a preset temperature threshold, the audio processor 401 can send a second indication message to the HAL layer of the terminal device. This second indication message is used to instruct the control switch switching module 408 to output the voltage of the electrical signal input to the second input terminal 408-2 of the switch switching module 408. Accordingly, after receiving the second indication message, the HAL layer of the terminal device can send the second indication message to the kernel layer of the terminal device. After receiving the second indication message, the kernel layer of the terminal device drives the switch switching module 408 to output the voltage of the electrical signal input to the second input terminal 408-2 of the switch switching module 408.
[0160] In this system, the electrical signal input to the first input terminal 408-1 of the switch module 408 can be a first electrical signal, and the electrical signal input to the second input terminal 408-2 of the switch module 408 can be a third electrical signal. The voltage of the first electrical signal is lower than the voltage of the third electrical signal. When the volume level of the audio stream to be played is low, the remaining battery power is low, or the battery temperature is high, the voltage of the first electrical signal can be transmitted to the second audio amplifier 403 through the switch module 408, thereby reducing the power consumption of the second audio amplifier 403. When the volume level of the audio stream to be played is high, the remaining battery power is high, and the battery temperature is low, the voltage of the third electrical signal can be transmitted to the second audio amplifier 403 through the switch module 408. This allows the output power of the second audio amplifier 403 to be further increased while ensuring the battery life of the terminal device, that is, the driving capability of the second speaker 405 can be further improved.
[0161] Furthermore, the audio system 400 may also include a PWM control module 409. For example... Figure 8 As shown, the input terminal 409-1 of the PWM control module 409 is connected to the fourth output terminal 401-4 of the audio processor 401, and the output terminal 409-2 of the PWM control module 409 is connected to the second input terminal 407-3 of the boost module 407.
[0162] The PWM control module 409 can be used to adjust the PWM duty cycle, thereby dynamically adjusting the output voltage of the boost module 407, which helps to improve the battery life of the terminal device.
[0163] In this system, the audio processor 401 can also be used to: acquire PWM information, which includes the correspondence between multiple volume levels and multiple PWM duty cycles; determine the target PWM duty cycle corresponding to the volume level of the audio to be played based on the PWM information and the volume level of the audio stream to be played; and control the PWM control module 409 to update the PWM duty cycle to the target PWM duty cycle.
[0164] In some possible implementations, the audio processor 401 can obtain PWM information from the operating system of the terminal device.
[0165] As an example, PWM information can be pre-configured in the hardware abstraction layer of the terminal device. The hardware abstraction layer of the terminal device can send the PWM information to the audio processor 401, and the audio processor 401 receives the PWM information accordingly.
[0166] In some possible implementations, the audio processor 401 can use the terminal device's operating system to control the PWM control module 409 to update the PWM duty cycle to the target PWM duty cycle.
[0167] For example, after the audio processor 401 determines the target PWM duty cycle corresponding to the volume level of the audio stream to be played based on the PWM information and the volume level of the audio stream to be played, it can send third indication information to the HAL layer of the terminal device. This third indication information is used to instruct the PWM control module 409 to update the PWM duty cycle to the target PWM duty cycle. Correspondingly, after receiving the third indication information, the HAL layer of the terminal device can send the third indication information to the kernel layer of the terminal device. After receiving the third indication information, the kernel layer of the terminal device drives the PWM control module 409 to update the PWM duty cycle to the target PWM duty cycle.
[0168] Alternatively, the target duty cycle can also be determined by the HAL layer of the terminal device.
[0169] For example, the audio processor 401 can send a second instruction to the HAL layer of the terminal device. After receiving the second instruction, the HAL layer of the terminal device can determine, based on the second instruction, the voltage of the electrical signal input to the second input terminal 408-2 of the switch switching module 408 that needs to be controlled. Then, the HAL layer of the terminal device can determine the target PWM duty cycle corresponding to the volume level of the audio to be played based on the PWM information, and send a third instruction to the kernel layer of the terminal device. This third instruction is used to instruct the PWM control module 409 to update the PWM duty cycle to the target PWM duty cycle. Correspondingly, after receiving the third instruction, the kernel layer of the terminal device drives the PWM control module 409 to update the PWM duty cycle to the target PWM duty cycle.
[0170] Figure 9 This application provides a schematic diagram of a terminal device, which may include a battery and an audio system. The audio system includes an audio processor, a first audio amplifier, a second audio amplifier, a first speaker, a second speaker, and a step-down module. The first output terminal of the audio processor is connected to the first input terminal of the first audio amplifier, and the second output terminal of the audio processor is connected to the first input terminal of the second audio amplifier. The output terminal of the first audio amplifier is connected to the input terminal of the first speaker, and the output terminal of the second audio amplifier is connected to the input terminal of the second speaker. The audio system is powered by a battery. The input terminal of the step-down module is connected to the battery, and the output terminal of the step-down module is connected to the second input terminal of the first audio amplifier. The power consumption of the second audio amplifier is greater than that of the first audio amplifier.
[0171] The audio processor can be used to: acquire audio information of an audio stream to be played, including the volume level of the audio stream; acquire battery status information, including the remaining battery power and / or battery temperature; determine the treble and bass audio streams in the audio stream to be played based on the audio information and status information; output the treble audio stream to the input of a first audio amplifier; and output the bass audio stream to the input of a second audio amplifier.
[0172] The structure and function of the audio system in this terminal device can be referred to the audio system 400 in the aforementioned embodiment, and will not be repeated here.
[0173] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instructions are loaded and executed on a computer, the processes or functions described in the embodiments of this application are performed entirely or partially. The computer can be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user equipment, or other programmable device. The computer program or instructions can be stored in a computer-readable storage medium or transferred from one computer-readable storage medium to another. For example, the computer program or instructions can be transferred from one website, computer, server, or data center to another website, computer, server, or data center via wired or wireless means. The computer-readable 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 integrates one or more available media. The available medium can be a magnetic medium, such as a floppy disk, hard disk, or magnetic tape; it can also be an optical medium, such as a digital video optical disc; or it can be a semiconductor medium, such as a solid-state drive.
[0174] In the various embodiments of this application, unless otherwise specified or in case of logical conflict, the terminology and / or descriptions of different embodiments are consistent and can be referenced by each other. The technical features of different embodiments can be combined to form new embodiments according to their inherent logical relationship.
[0175] It is understood that the various numerical designations used in the embodiments of this application are merely for descriptive convenience and are not intended to limit the scope of the embodiments of this application. The order of the process numbers described above does not imply the order of execution; the execution order of each process should be determined by its function and internal logic.
Claims
1. An audio system, characterized by The audio system comprises an audio processor, a first audio power amplifier, a second audio power amplifier, a first loudspeaker, a second loudspeaker and a voltage reduction module, a first output end of the audio processor is connected with a first input end of the first audio power amplifier, a second output end of the audio processor is connected with a first input end of the second audio power amplifier, an output end of the first audio power amplifier is connected with an input end of the first loudspeaker, an output end of the second audio power amplifier is connected with an input end of the second loudspeaker, the audio system is powered by a battery, an input end of the voltage reduction module is used for connecting the battery, an output end of the voltage reduction module is connected with a second input end of the first audio power amplifier, and a power consumption of the second audio power amplifier is greater than that of the first audio power amplifier; The audio processor is used for: obtaining audio information of a to-be-played audio stream, the audio information comprising a volume level of the to-be-played audio stream; obtaining state information of the battery, the state information comprising a remaining capacity of the battery and / or a temperature of the battery; determining high-pitch audio stream and low-pitch audio stream in the to-be-played audio stream based on the audio information and the state information; outputting the high-pitch audio stream to the first input end of the first audio power amplifier; outputting the low-pitch audio stream to the first input end of the second audio power amplifier; When the audio processor determines the high-pitch audio stream and the low-pitch audio stream in the to-be-played audio stream based on the audio information and the state information, the audio processor is specifically used for: determining a first frequency division point based on the audio information and the state information, wherein the first frequency division point is higher when the remaining capacity of the battery is lower, the first frequency division point is higher when the temperature of the battery is higher, and the first frequency division point is higher when the volume level of the to-be-played audio stream is lower; determining the high-pitch audio stream as audio stream with a frequency greater than the first frequency division point in the to-be-played audio stream; determining a second frequency division point based on the audio information and the state information, wherein the second frequency division point is lower when the remaining capacity of the battery is lower, the second frequency division point is lower when the temperature of the battery is higher, and the second frequency division point is lower when the volume level of the to-be-played audio stream is lower; determining the low-pitch audio stream as audio stream with a frequency less than the second frequency division point in the to-be-played audio stream.
2. The system of claim 1, wherein, The system further comprises a voltage increasing module, a first input end of the voltage increasing module is used for connecting the battery, and an output end of the voltage increasing module is connected with a second input end of the second audio power amplifier.
3. The system of claim 2, wherein, The system further comprises a switch switching module, a first input end of the switch switching module is used for connecting the battery, a second input end of the switch switching module is connected with an output end of the voltage increasing module, an output end of the switch switching module is connected with the second input end of the second audio power amplifier, and a third input end of the switch switching module is connected with a third output end of the audio processor. The audio processor is further used for: The audio processor controls the switch switching module to output a voltage of an electrical signal input by a first input terminal of the switch switching module or to output a voltage of an electrical signal input by a second input terminal of the switch switching module based on the audio information and the state information.
4. The system of claim 3, wherein, When the audio processor controls the switch switching module to output the voltage of the electrical signal input by the first input terminal of the switch switching module or to output the voltage of the electrical signal input by the second input terminal of the switch switching module based on the audio information and the state information, the audio processor is specifically configured to: control the switch switching module to output the voltage of the electrical signal input by the first input terminal of the switch switching module when a volume level of the audio stream to be played is less than a preset volume level, or a remaining capacity of the battery is less than a preset capacity threshold, or a temperature of the battery is greater than a preset temperature threshold; and control the switch switching module to output the voltage of the electrical signal input by the second input terminal of the switch switching module when the volume level of the audio stream to be played is greater than or equal to the preset volume level, the remaining capacity of the battery is greater than or equal to the preset capacity threshold, and the temperature of the battery is less than or equal to the preset temperature threshold.
5. The system of claim 4, wherein, The system further includes a pulse width modulation (PWM) control module, an input terminal of the PWM control module is connected with a fourth output terminal of the audio processor, and an output terminal of the PWM control module is connected with a second input terminal of the boost module. The audio processor is further configured to: obtain PWM information, the PWM information including a correspondence between a plurality of volume levels and a plurality of PWM duty cycles; determine a target PWM duty cycle corresponding to the volume level of the audio stream to be played based on the PWM information and the volume level of the audio stream to be played; and control the PWM control module to update the PWM duty cycle to the target PWM duty cycle.
6. A terminal device, characterized by comprising: The terminal device includes a battery and an audio system, the audio system including an audio processor, a first audio power amplifier, a second audio power amplifier, a first loudspeaker, a second loudspeaker, and a step-down module, a first output terminal of the audio processor being connected with a first input terminal of the first audio power amplifier, a second output terminal of the audio processor being connected with a first input terminal of the second audio power amplifier, an output terminal of the first audio power amplifier being connected with an input terminal of the first loudspeaker, an output terminal of the second audio power amplifier being connected with an input terminal of the second loudspeaker, the audio system being powered by the battery, an input terminal of the step-down module being configured to be connected with the battery, an output terminal of the step-down module being connected with a second input terminal of the first audio power amplifier, and a power consumption of the second audio power amplifier being greater than that of the first audio power amplifier. The audio processor is configured to: obtain audio information of an audio stream to be played, the audio information including a volume level of the audio stream to be played; and obtain state information of the battery, the state information including a remaining capacity of the battery and / or a temperature of the battery. determine a high-pitched audio stream and a low-pitched audio stream in the audio stream to be played based on the audio information and the state information; output the high-pitched audio stream to an input end of the first audio power amplifier; output the low-pitched audio stream to an input end of the second audio power amplifier; when the audio processor determines the high-pitched audio stream and the low-pitched audio stream in the audio stream to be played based on the audio information and the state information, the audio processor is specifically configured to: determine a first frequency division point based on the audio information and the state information, wherein the first frequency division point is higher when the remaining power of the battery is lower, the first frequency division point is higher when the temperature of the battery is higher, and the first frequency division point is higher when the volume level of the audio stream to be played is lower; determine the high-pitched audio stream in the audio stream to be played as an audio stream with a frequency higher than the first frequency division point; determine a second frequency division point based on the audio information and the state information, wherein the second frequency division point is lower when the remaining power of the battery is lower, the second frequency division point is lower when the temperature of the battery is higher, and the second frequency division point is lower when the volume level of the audio stream to be played is lower; determine the low-pitched audio stream in the audio stream to be played as an audio stream with a frequency lower than the second frequency division point.
7. The terminal device according to claim 6, characterized by The system further comprises a boost module, a first input end of the boost module being configured to be connected to the battery, and an output end of the boost module being connected to a second input end of the second audio power amplifier.
8. The terminal device according to claim 7, characterized by The system further comprises a switch switching module, a first input end of the switch switching module being configured to be connected to the battery, a second input end of the switch switching module being connected to the output end of the boost module, an output end of the switch switching module being connected to the second input end of the second audio power amplifier, and a third input end of the switch switching module being connected to a third output end of the audio processor. The audio processor is further configured to: control the switch switching module to output a voltage of an electrical signal input by the first input end of the switch switching module or control the switch switching module to output a voltage of an electrical signal input by the second input end of the switch switching module based on the audio information and the state information.
9. The terminal device according to claim 8, characterized by When the audio processor controls the switch switching module to output a voltage of an electrical signal input by the first input end of the switch switching module or controls the switch switching module to output a voltage of an electrical signal input by the second input end of the switch switching module based on the audio information and the state information, the audio processor is specifically configured to: control the switch switching module to output a voltage of an electrical signal input by the first input end of the switch switching module when the volume level of the audio stream to be played is less than a preset volume level, or the remaining power of the battery is less than a preset power threshold, or the temperature of the battery is greater than a preset temperature threshold. When the volume level of the audio stream to be played is greater than or equal to the preset volume level, the remaining power of the battery is greater than or equal to the preset power threshold, and the temperature of the battery is less than or equal to the preset temperature threshold, the switch switching module is controlled to output a voltage of an electrical signal input by a second input terminal of the switch switching module.
10. The terminal device according to claim 9, characterized by The system further comprises a pulse width modulation (PWM) control module, an input terminal of the PWM control module is connected with a fourth output terminal of the audio processor, and an output terminal of the PWM control module is connected with a second input terminal of the voltage boosting module. The audio processor is further configured to: obtain PWM information, the PWM information comprising a correspondence between a plurality of volume levels and a plurality of PWM duty cycles; determine a target PWM duty cycle corresponding to the volume level of the audio stream to be played based on the PWM information and the volume level of the audio stream to be played; and control the PWM control module to update the PWM duty cycle to the target PWM duty cycle.
Citation Information
Patent Citations
Power supply apparatus, power amplifier system and audio equipment
CN106878867A
Audio power amplifier mode switching method and device, terminal equipment and storage medium
CN115373622A