Audio system and control method thereof

By introducing bandwidth monitoring and negative feedback mechanisms into the audio system, flexible switching and gain adjustment of audio signals are achieved, which solves the problems of inflexible configuration and poor performance of traditional audio DSP chips, and improves the flexibility and sound quality of the audio system.

CN119012082APending Publication Date: 2024-11-22CHONGQING SELIS PHOENIX INTELLIGENT INNOVATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410748149.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-11
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

In the traditional single-audio DSP chip design, the input and output relationship of the channel is fixed, resulting in inflexible configuration and the inability to effectively control and manage the audio signals.

Method used

Design an audio system, including an audio input interface, transmission control module, routing switching module and digital signal processing module, calculate signal bandwidth information through bandwidth monitoring strategies, generate transmission path control instructions, and realize flexible switching and signal conversion of audio signals. The negative feedback network adjusts the amplified gain of the gain control module.

Benefits of technology

It realizes flexible configuration of audio signals and dynamic path switching, improves the flexibility and performance of the audio system, and solves the problems of unstable gain and large nonlinear distortion of traditional audio DSP chips.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119012082A_ABST
    Figure CN119012082A_ABST
Patent Text Reader

Abstract

The invention provides an audio system and a control method thereof, and the system comprises a plurality of audio input interfaces which are used for inputting an initial audio signal, and a transmission control module which is used for transmitting the initial audio signal to the audio input interfaces if an obtained routing control strategy is a bandwidth monitoring strategy. If yes, performing bandwidth occupation calculation on each initial audio signal according to the audio input type of each initial audio signal to obtain signal bandwidth information, and generating a transmission path control instruction of each initial audio signal according to the signal bandwidth information or an obtained current allocation setting strategy; the route switching module is used for switching an audio input interface and an audio output interface corresponding to each initial audio signal according to a preset path control signal or a transmission path control instruction, and the digital signal processing module is used for performing signal conversion on each initial audio signal to obtain each target audio signal; the audio output interfaces are used for outputting target audio signals, and the number of the audio output interfaces is multiple; according to the invention, a transmission path switching function is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of audio technology, and in particular to an audio system and a control method of the audio system. Background Art

[0002] The technical background of audio digital signal processing (DSP) chips can be traced back to the 1960s. With the rapid development of computers and information technology, digital signal processing technology came into being and developed rapidly. Before the emergence of DSP chips, digital signal processing could only be completed by microprocessors, but due to the low processing speed of microprocessors, it was impossible to meet the high-speed and real-time requirements of information volume. The DSP chip uses a Harvard structure with separate programs and data, and has a dedicated hardware multiplier that can be used to quickly implement various digital signal processing algorithms. In today's digital era, DSP chips have become basic devices in the fields of communications, computers, automotive electronics, etc.

[0003] However, the traditional solution of relying on audio DSP chips to realize complex and high-quality audio systems has the following obvious shortcomings: in the existing single-audio DSP chip design, the input and output relationship of the channel is fixed, resulting in inflexible configuration and limited application scenarios; and the existing single-audio DSP chip cannot control and manage audio signals. Summary of the invention

[0004] The present application provides an audio system and a control method for the audio system to solve the above-mentioned technical problem that the input and output relationship of the channel is fixed, resulting in inflexible configuration and inability to control and manage the audio signal.

[0005] In one embodiment of the present application, the present application provides an audio system, comprising: an audio input interface for inputting an initial audio signal, wherein the number of the audio input interfaces is multiple; a transmission control module for, if the acquired routing control strategy is a bandwidth monitoring strategy, calculating the bandwidth occupancy of each of the initial audio signals according to the audio input type of each of the initial audio signals to obtain signal bandwidth information, and generating a transmission path control instruction for each of the initial audio signals according to the signal bandwidth information or the acquired current allocation setting strategy; a routing switching module for switching the audio input interface and the audio output interface corresponding to each of the initial audio signals according to a preset path control signal or the transmission path control instruction; a digital signal processing module for performing signal conversion on each of the initial audio signals to obtain each target audio signal; an audio output interface for outputting a target audio signal, wherein the number of the audio output interfaces is multiple; the transmission control module is respectively connected to the routing switching module and the digital signal processing module for communication, and the routing switching module is also respectively connected to the digital signal processing module, each of the audio input interfaces, and each of the audio output interfaces.

[0006] In one embodiment of the present application, the routing switching module includes: an input routing unit, which is used to switch the audio input interface corresponding to each of the initial audio signals according to an input control instruction or an input control signal, obtain the target input interface corresponding to each of the initial audio signals, and transmit each of the initial audio signals to the digital signal processing module through each of the target input interfaces; an output routing unit, which switches the audio output interface corresponding to each of the initial audio signals according to an output control instruction or an output control signal, obtains the target output interface corresponding to each of the initial audio signals, and outputs each of the target audio signals through each of the target output interfaces; the transmission path control instruction includes the input control instruction and the output control instruction, the preset path control signal includes the input control signal and the output control signal, the transmission control module is respectively communicated with the input routing unit and the output routing unit, the input routing unit is also respectively connected to the digital signal processing module and each of the audio input interfaces, and the output routing unit is also respectively connected to the digital signal processing module and each of the audio output interfaces.

[0007] In one embodiment of the present application, the input routing unit includes: a first signal input unit, used to receive the initial audio signal transmitted by each of the audio input interfaces; a first path control unit, used to receive the input control instruction or generate an input control signal; and a first path switching circuit, used to switch the input path of each of the initial audio signals according to the input control instruction or the input control signal to obtain a target input interface corresponding to each of the initial audio signals.

[0008] In one embodiment of the present application, the output routing module includes: a second signal input unit, used to receive each of the target audio signals; a second path control unit, used to receive the output control instruction or generate an output control signal; a second path switching circuit, used to switch the output path of each of the target audio signals according to the output control instruction or the output control signal, obtain the target output interface of each of the target audio signals, and transmit each of the target audio signals to each of the target input interfaces.

[0009] In one embodiment of the present application, there are multiple digital signal processing modules; the input routing unit is also used to transmit each of the initial audio signals to the digital signal processing module corresponding to the initial audio signal according to the input control instruction; each of the digital signal processing modules is respectively connected to the input routing unit and the output routing unit.

[0010] In one embodiment of the present application, the system also includes: a feedback network, which is used to transmit the target audio signal output by each of the audio output interfaces as multiple feedback signals to the corresponding audio input interface; the transmission control module is also used to adjust the amplification gain of the gain control module according to the signal comparison result, and the signal comparison result is obtained based on the comparison of the audio signal to be amplified and each of the feedback signals, and the audio signal to be amplified is used to characterize the new initial audio signal corresponding to each of the feedback signals; the gain control module includes a gain adjustment circuit for adjusting the amplification gain, and an amplifier for amplifying the audio signal to be amplified according to the adjusted amplification gain; the gain control module is respectively connected to the input routing unit and the digital signal processing module, and the feedback network is respectively connected to each of the audio input interface and each of the audio output interfaces.

[0011] In one embodiment of the present application, the transmission control module includes a microcontroller, and the communication connection includes a high-level peripheral bus.

[0012] In one embodiment of the present application, the present application provides a control method for an audio system, the method comprising: obtaining a routing control strategy and initial audio signals of multiple audio input interfaces, the routing control strategy comprising a bandwidth monitoring strategy or a current allocation setting strategy; if the routing control strategy is a bandwidth monitoring strategy, performing bandwidth occupancy calculation on each of the initial audio signals according to the audio input type of each of the initial audio signals to obtain signal bandwidth information; generating a transmission path control instruction for each of the initial audio signals according to the signal bandwidth information or the current allocation setting strategy; and transmitting and converting each of the initial audio signals according to a preset path control signal or the transmission path control instruction.

[0013] In one embodiment of the present application, each of the initial audio signals is transmitted and converted according to a preset path control signal or the transmission path control instruction, including: switching the audio input interface corresponding to each of the initial audio signals according to an input control instruction or an input control signal to obtain a target input interface corresponding to each of the initial audio signals, and transmitting each of the initial audio signals to a digital signal processing module through each of the target input interfaces; performing signal conversion on each of the initial audio signals through the digital signal processing module to obtain a plurality of target audio signals; switching the audio output interface corresponding to each of the initial audio signals according to an output control instruction or an output control signal to obtain a target output interface corresponding to each of the initial audio signals; and outputting each of the target audio signals through each of the target output interfaces; wherein the transmission path control instruction includes the input control instruction and the output control instruction, and the preset path control signal includes the input control signal and the output control signal.

[0014] In one embodiment of the present application, after each of the target audio signals is output through each of the target output interfaces, the method further includes: inputting each of the target audio signals as multiple feedback signals into the corresponding audio input interface, and obtaining a new initial audio signal of each of the audio input interfaces; using a new initial audio signal corresponding to each of the feedback signals as an audio signal to be amplified; comparing the audio signal to be amplified with each of the feedback signals to obtain a signal comparison result, and adjusting the amplification gain of the gain control module according to the signal comparison result; and amplifying the audio signal to be amplified according to the adjusted amplification gain.

[0015] Beneficial effects of the embodiments of the present application: The present application provides an audio system and a control method for the audio system. The embodiments of the present application perform bandwidth occupancy calculations through a transmission control module if the routing control strategy is a bandwidth monitoring strategy, and generate transmission path control instructions based on signal bandwidth information or a current allocation setting strategy. The routing switching module is controlled by a preset path control signal or a transmission path control instruction, thereby switching the audio input interface and the audio output interface corresponding to each initial audio signal, thereby realizing the function of flexibly and dynamically switching the transmission path.

[0016] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0018] Figure 1 A schematic diagram showing an exemplary system architecture to which the technical solution of the embodiments of the present application can be applied;

[0019] Figure 2 A schematic diagram showing path modification of an input audio source according to an embodiment of the present application is shown;

[0020] Figure 3 A schematic diagram of signal negative feedback according to an embodiment of the present application is shown;

[0021] Figure 4 A schematic diagram of the architecture of an audio system according to an embodiment of the present application is shown;

[0022] Figure 5 A schematic flow chart of a method for controlling an audio system according to an embodiment of the present application is shown;

[0023] Figure 6 A schematic diagram of a working process of an audio system according to an embodiment of the present application is shown;

[0024] Figure 7 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present application is shown. DETAILED DESCRIPTION

[0025] The following describes the embodiments of the present application through specific examples, and those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. The present application can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.

[0026] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present application, and thus the drawings only show components related to the present application rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed at will, and the component layout may also be more complicated.

[0027] In the following description, a large number of details are discussed to provide a more thorough explanation of the embodiments of the present application. However, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details. In other embodiments, well-known structures and devices are shown in the form of block diagrams rather than in detail to avoid making the embodiments of the present application difficult to understand.

[0028] First of all, it should be explained that the traditional audio DSP chip only performs audio signal processing, audio encoding and decoding, and sound effect algorithms, which results in the audio DSP chip being able to only sample, quantize, encode, and synthesize audio effects for audio signals. In addition, the existing single-audio DSP chip does not have the function of sampling and feedback, which results in the unstable gain of the audio DSP, large nonlinear distortion, and low fidelity. Based on the current audio DSP chip technology, the audio system with routing control and negative feedback provided by this application can perfectly solve the many shortcomings of the existing single-audio DSP chip solution, and in practice will bring more flexible configuration, simpler control, and more superior performance.

[0029] In order to solve the above technical problems, the present application provides an audio system and a control method of the audio system. The implementation details of the technical solution of the embodiment of the present application are elaborated in detail below.

[0030] See also Figure 1 , Figure 1 A schematic diagram of an exemplary system architecture to which the technical solution of the embodiment of the present application can be applied is shown. Figure 1 As shown, the system architecture may include an audio input interface 101 , a transmission control module 102 , a routing switching module 103 , a digital signal processing module 104 and an audio output interface 105 . Among them, the audio input interface 101 is used to input the initial audio signal, and the number of the audio input interfaces is multiple; the transmission control module 102 is used to calculate the bandwidth occupancy of each initial audio signal according to the audio input type of each initial audio signal if the acquired routing control strategy is a bandwidth monitoring strategy, obtain the signal bandwidth information, and generate the transmission path control instruction of each initial audio signal according to the signal bandwidth information or the acquired current allocation setting strategy; the routing switching module 103 is used to switch the audio input interface and the audio output interface corresponding to each initial audio signal according to the preset path control signal or the transmission path control instruction; the digital signal processing module 104 is used to perform signal conversion on each initial audio signal to obtain each target audio signal; the audio output interface 105 is used to output the target audio signal, and the number of the audio output interfaces is multiple; the transmission control module 102 is respectively connected to the routing switching module 103 and the digital signal processing module 104, and the routing switching module 103 is also respectively connected to the digital signal processing module 104, each audio input interface 101, and each audio output interface 105.

[0031] In one embodiment of the present application, the transmission control module includes a microcontroller, and the communication connection includes an advanced peripheral bus.

[0032] In one embodiment of the present application, the digital signal processing module includes an audio digital signal processing (DSP) chip.

[0033] In one embodiment of the present application, the audio DSP chip is used to perform signal conversion on the initial audio signal, and the signal conversion includes at least one of sound enhancement, dynamic range control, speech recognition and synthesis, voiceprint recognition, and sound field control.

[0034] In one embodiment of the present application, the routing switching module includes: an input routing unit, which is used to switch the audio input interface corresponding to each initial audio signal according to an input control instruction or an input control signal, and obtain the target input interface corresponding to each initial audio signal, so as to transmit each initial audio signal to the digital signal processing module through each target input interface; an output routing unit, which switches the audio output interface corresponding to each initial audio signal according to an output control instruction or an output control signal, and obtains the target output interface corresponding to each initial audio signal, so as to output each target audio signal through each target output interface; the transmission path control instruction includes an input control instruction and an output control instruction, the preset path control signal includes an input control signal and an output control signal, the transmission control module is respectively communicated with the input routing unit and the output routing unit, the input routing unit is also respectively connected to the digital signal processing module and each audio input interface, and the output routing unit is also respectively connected to the digital signal processing module and each audio output interface.

[0035] In one embodiment of the present application, the audio DSP chip, the input routing unit, and the output routing unit are precisely controlled and managed by a microcontroller, and the communication connection is an Advanced Peripheral Bus (APB).

[0036] In one embodiment of the present application, it is not necessary to strictly correspond each audio input interface (Din_x) to the function of different audio input types.

[0037] In one embodiment of the present application, Din_x is composed of an upper tube PMOS and a lower tube NMOS, a pull-up power supply (VCC) and a pull-down ground level to respond to the logic high level and logic low level input by the pin. The source of the upper tube PMOS is connected to the pull-up power supply, the drain of the upper tube PMOS is connected to the drain of the lower tube NMOS, and the gate of the upper tube PMOS and the gate of the lower tube NMOS are respectively connected to the pin.

[0038] In one embodiment of the present application, if the pin is at a logic high level, the upper PMOS transistor is turned on and the lower NMOS transistor is turned off, allowing the current of the pull-up power supply (VCC) to flow from the source of the upper PMOS transistor to the drain of the upper PMOS transistor in response to the logic high level input of the pin; if the pin is at a logic low level, the upper PMOS transistor will be turned off and the lower NMOS transistor will be turned on, allowing the current of the pull-down ground level to flow from the source of the lower NMOS transistor to the drain of the lower NMOS transistor in response to the logic low level input of the pin.

[0039] In one embodiment of the present application, the input routing unit includes: a first signal input unit, used to receive the initial audio signal transmitted by each audio input interface; a first path control unit, used to receive an input control instruction or generate an input control signal; a first path switching circuit, used to switch the input path of each initial audio signal according to the input control instruction or the input control signal, to obtain the target input interface corresponding to each initial audio signal.

[0040] In one embodiment of the present application, the input and output ports are flexibly allocated according to the actual bandwidth resources corresponding to the signal bandwidth information through the control and management of the microcontroller. Figure 2 , Figure 2 FIG. 1 is a schematic diagram showing the path modification of the input audio source according to an embodiment of the present application. Figure 2 As shown, for example, the car audio bus (A2B) transceiver is connected to the serial data input (Serial Data Input, SDIN) 2, the radio input is connected to SDIN1, the video audio source input is connected to SDIN4, and the microphone input is connected to SDIN3. This is only an example and does not impose any restrictions on the connection of the various audio signals of this application. If the microphone interface is equipped with multiple microphones, and the channel bandwidth of SDIN3 is low, while the channel bandwidth of SDIN1 is high, the microphone input can be modified to SDIN1 through the input routing unit, that is, the audio input interface corresponding to the initial audio signal of the microphone input is modified from SDIN3 to SDIN1, that is, the target input interface is SDIN3.

[0041] In one embodiment of the present application, the output routing module includes: a second signal input unit, used to receive each target audio signal; a second path control unit, used to receive an output control instruction or generate an output control signal; a second path switching circuit, used to switch the output path of each target audio signal according to the output control instruction or the output control signal, obtain the target output interface of each target audio signal, and transmit each target audio signal to each target input interface.

[0042] In one embodiment of the present application, the routing switching module is mainly used for path selection. According to the set rules or strategies, the appropriate transmission path is dynamically selected for each initial audio signal through the control of the microcontroller, and the optimal resources are allocated to achieve maximum bandwidth utilization.

[0043] In one embodiment of the present application, the routing switching module is implemented by a digital logic circuit and a control circuit.

[0044] In one embodiment of the present application, the first path switching circuit and the second path switching circuit perform an actual path switching operation to guide the initial audio signal to the selected path, ie, the target input interface and the target output interface.

[0045] In one embodiment of the present application, the first path control unit and the second path control unit receive a transmission path control instruction from a microcontroller or generate a preset path control signal according to a predetermined logic to control path selection and switching.

[0046] In one embodiment of the present application, the preset path control signal is used to represent the control signal of the initial transmission path.

[0047] In one embodiment of the present application, the transmission path control instruction is used to perform path allocation on the initial transmission path to achieve path selection and switching.

[0048] In one embodiment of the present application, the path allocation algorithm can be based on multiple factors, such as the shortest path factor, load balancing factor, priority factor, etc., and can adapt to different scenarios and needs through real-time monitoring and dynamic adjustment of the path.

[0049] In one embodiment of the present application, the routing control policy includes one of a shortest path policy, a priority policy, and a bandwidth monitoring policy.

[0050] In one embodiment of the present application, the bandwidth monitoring strategy is implemented through a load balancing strategy.

[0051] In one embodiment of the present application, the shortest path strategy is used for time-critical requirements such as low latency, to find the closest audio output interface among the audio input types, and to perform a path switching operation to guide the initial audio signal to the target path, where the target path includes a target input interface and a target output interface.

[0052] In one embodiment of the present application, a load balancing strategy is used when there are many audio input types in the same time period, which may cause the audio output interface corresponding to one audio input type to be overloaded. Therefore, it is necessary to choose whether to occupy an audio output interface alone or share the same audio output interface with other audio input types based on the input bandwidth of the audio input interface of different sound source input types and the size of the data packet after signal conversion through encoding to achieve load balancing of the audio output interface.

[0053] In one embodiment of the present application, the priority strategy is used to set the priority of different audio source input types according to user functional requirements. For example, when a user is using a video and audio line, he needs to use the microphone function. At this time, the microphone audio has a higher priority, so the output of the video and audio needs to be interrupted to obtain the input and output of the microphone.

[0054] In one embodiment of the present application, there are multiple digital signal processing modules; the input routing unit is also used to transmit each initial audio signal to the digital signal processing module corresponding to the initial audio signal according to the input control instruction; each digital signal processing module is respectively connected to the input routing unit and the output routing unit.

[0055] In one embodiment of the present application, the system also includes: a feedback network, which is used to transmit the target audio signal output by each audio output interface as multiple feedback signals to the corresponding audio input interface; the transmission control module is also used to adjust the amplification gain of the gain control module according to the signal comparison result, and the signal comparison result is obtained based on the comparison of the audio signal to be amplified and each feedback signal, and the audio signal to be amplified is used to characterize the new initial audio signal corresponding to each feedback signal; the gain control module includes a gain adjustment circuit for adjusting the amplification gain, and an amplifier for amplifying the audio signal to be amplified according to the adjusted amplification gain; the gain control module is respectively connected to the input routing unit and the digital signal processing module, and the feedback network is respectively connected to each audio input interface and each audio output interface.

[0056] In one embodiment of the present application, the gain control module is used to adjust the strength of the initial audio signal, adjust the dynamic range, compensate for attenuation, and optimize audio performance.

[0057] In one embodiment of the present application, the negative feedback function is mainly used to adjust the dynamic range, compensate for attenuation, optimize performance, make the amplifier work more stably, reduce distortion, and adjust the frequency characteristics of the initial audio signal to make the sound more balanced.

[0058] In one embodiment of the present application, a plurality of target audio signals at the sampling points are transmitted back to each audio input interface as each feedback signal through a negative feedback module.

[0059] In one embodiment of the present application, the gain control module adjusts the amplification gain of the amplifier in real time by sampling and comparing the output target audio signal, thereby dynamically compensating the audio output.

[0060] In one embodiment of the present application, the output target audio signal is sent back to the audio input interface through a feedback network and compared with the input new initial audio signal, so that the microcontroller adjusts the amplification gain of the gain control module in real time according to the signal comparison result, and adjusts and compensates the new initial audio signal according to the adjusted amplification gain for output.

[0061] In one embodiment of the present application, the gain control module is implemented by a basic amplification circuit.

[0062] In one embodiment of the present application, the working principle of the negative feedback regulation of the audio capture is to adjust and stabilize the circuit performance by feeding back the output signal to the input signal. Figure 3 , Figure 3 FIG. 2 shows a schematic diagram of signal negative feedback according to an embodiment of the present application. Figure 3 As shown, the initial audio signal generated by the microphone as a signal source is input to the basic amplifier circuit as an input quantity, amplified and then output to the speaker. A part of the output target audio signal is used as feedback quantity through the sampling point, and is transmitted back to the input end through the feedback network. The feedback signal is superimposed with the new input quantity to obtain the net input quantity, thereby adjusting the input signal of the basic amplifier circuit. Through the appropriate feedback quantity and the corresponding feedback phase, the control of the amplification gain, frequency response and stability is achieved. The sampling point is located in the line before the speaker outputs the sound.

[0063] In one embodiment of the present application, the feedback network and the gain control module can make the amplifier gain more stable, reduce the gain fluctuation caused by factors such as changes in component parameters, adjust the bandwidth and frequency characteristics of the circuit, and make the transmission of the initial audio signal smoother; reduce the possibility of self-oscillation in the circuit, and enhance the reliability of the circuit. The feedback network takes into account factors such as the size and phase of the feedback amount to ensure the effect and stability of the negative feedback.

[0064] In one embodiment of the present application, see Figure 4 , Figure 4 FIG. 1 shows a schematic diagram of the architecture of an audio system according to an embodiment of the present application. Figure 4As shown, the audio system includes a microcontroller, an input routing unit, a gain control module, an audio DSP chip, an output routing unit, an output routing unit, a feedback network, a plurality of audio input interfaces and a plurality of audio output interfaces; wherein, the number of the audio input interfaces is 8, namely Din01, Din02, Din03, Din04, Din05, Din06, Din07 and Din08, and are respectively connected to the input routing unit, and the number of the audio transmission interfaces is 8, namely Dout01, Dout02, Dout03, Dout04, Dout ... t05, Dout06, Dout07 and Dout08, and are respectively connected to the output routing unit; the output end of the microcontroller is respectively connected to the input end of the input routing unit, the input end of the audio DSP chip, and the input end of the output routing unit through APB; the output end of the input routing unit is connected to the input end of the gain control module, the output end of the gain control module is connected to the input end of the audio DSP chip, and the output end of the audio DSP chip is connected to the input end of the input routing unit; the feedback network is used to respectively connect the input end of each audio input interface and the output end of each audio output interface.

[0065] See also Figure 5 , Figure 5 FIG. 1 is a flow chart showing a method for controlling an audio system according to an embodiment of the present application. Figure 5 As shown, in an exemplary embodiment, the control method of the audio system includes at least steps S510 to S540, which are described in detail as follows:

[0066] Step S510: Acquire a routing control strategy and initial audio signals of multiple audio input interfaces.

[0067] The routing control strategy includes a bandwidth monitoring strategy or a current allocation setting strategy.

[0068] In one embodiment of the present application, the current allocation setting strategy includes a shortest path strategy and a priority strategy.

[0069] Step S520: If the routing control strategy is a bandwidth monitoring strategy, bandwidth occupancy calculation is performed on each initial audio signal according to the audio input type of each initial audio signal to obtain signal bandwidth information.

[0070] In one embodiment of the present application, the signal bandwidth information includes the input bandwidth of the audio input interface of different audio source input types and the size of the data packet converted by encoding.

[0071] Step S530: Generate a transmission path control instruction for each initial audio signal according to the signal bandwidth information or the current allocation setting strategy.

[0072] Step S540: Transmit and convert each initial audio signal according to a preset path control signal or a transmission path control instruction.

[0073] In one embodiment of the present application, each initial audio signal is transmitted and converted according to a preset path control signal or a transmission path control instruction, including: switching the audio input interface corresponding to each initial audio signal according to an input control instruction or an input control signal to obtain a target input interface corresponding to each initial audio signal, and transmitting each initial audio signal to a digital signal processing module through each target input interface; performing signal conversion on each initial audio signal through the digital signal processing module to obtain multiple target audio signals; switching the audio output interface corresponding to each initial audio signal according to an output control instruction or an output control signal to obtain a target output interface corresponding to each initial audio signal; and outputting each target audio signal through each target output interface; wherein the transmission path control instruction includes an input control instruction and an output control instruction, and the preset path control signal includes an input control signal and an output control signal.

[0074] In one embodiment of the present application, after outputting each target audio signal through each target output interface, the method also includes: inputting each target audio signal as multiple feedback signals into the corresponding audio input interface, and obtaining a new initial audio signal of each audio input interface; using the new initial audio signal corresponding to each feedback signal as the audio signal to be amplified; comparing the audio signal to be amplified with each feedback signal to obtain a signal comparison result, and adjusting the amplification gain of the gain control module according to the signal comparison result; and amplifying the audio signal to be amplified according to the adjusted amplification gain.

[0075] In one embodiment of the present application, see Figure 6 , Figure 6 FIG. 2 shows a schematic diagram of the working process of an audio system according to an embodiment of the present application. Figure 6 As shown, the hardware input and output interface definition: the audio input type and the initial transmission path are respectively allocated to each audio input interface and each audio output interface; the user configures the routing through the microcontroller: the routing control strategy is determined by the microcontroller, and the transmission path control instruction is generated according to the routing control strategy; signal input: the initial audio signal is input through the audio input interface to obtain the input signal; the feedback signal is transmitted through the signal feedback network; superposition: the input signal and the feedback signal are superimposed to obtain the actual signal to be amplified; the actual signal to be amplified is amplified by the signal amplifier to obtain the amplified signal; signal output: the target audio signal is output through the audio output interface, and the target audio signal is fed back through the feedback network.

[0076] In one embodiment of the present application, the routing control of the audio system with routing control and negative feedback includes: through reasonable path allocation, the initial audio signal can be accurately transmitted to each processing module to switch the transmission path and mix the signal to achieve different audio effects; through the negative feedback mechanism to stabilize the performance of the audio circuit, reduce distortion and noise, and improve the audio quality. Signal conversion is performed through the signal processing technology of the audio DSP chip, such as filtering, equalization, gain control, etc., and different audio output requirements are met by processing the initial audio signal; multiple audio DSP chips can also be connected through the audio input interface to better adapt to different application scenarios; through high-quality components and reliable circuit design, the reliability and stability of the audio system under various working conditions are ensured.

[0077] In one embodiment of the present application, the microcontroller can schedule and control various peripherals in the audio system to work according to the logic set by the user, and has the advantages of flexible configuration and rich functions.

[0078] In one embodiment of the present application, an audio system with routing control solves the current situation in which the input and output ports of traditional audio DSP chips are absolutely fixed, and can flexibly and dynamically switch input signals, transmission paths and output signal sources according to user needs. On the basis of fixed hardware ports, audio paths can be flexibly configured, achieving multi-functions without revisions and freely defining multiple paths.

[0079] In one embodiment of the present application, an audio system with negative feedback can collect the output signal corresponding to the speaker in real time, and feed it back to the input end for comparison, and dynamically adjust the gain controller in real time according to the comparison result to control and compensate the output so that the output reaches an ideal state, reduces the change of the amplification gain with factors such as temperature, makes the amplification gain more stable, and reduces the impact of external interference on the circuit corresponding to the audio system, thereby improving the stability of the circuit corresponding to the audio system.

[0080] An embodiment of the present application also provides an electronic device, comprising: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by one or more processors, the electronic device implements the audio system control method provided in the above-mentioned embodiments.

[0081] See also Figure 7 , Figure 7 The structure diagram of the computer system suitable for implementing the electronic device of the embodiment of the present application is shown. It should be noted that: Figure 7 The computer system 700 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0082] like Figure 7 As shown, the computer system 700 includes a central processing unit (CPU) 701, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 702 or the program loaded from the storage part 708 to the random access memory (RAM) 703, such as executing the method in the above embodiment. In the RAM 703, various programs and data required for system operation are also stored. The CPU 701, the ROM 702 and the RAM 703 are connected to each other through the bus 704. The input / output (I / O) interface 705 is also connected to the bus 704.

[0083] The following components are connected to the I / O interface 705: an input section 706 including a keyboard, a mouse, etc.; an output section 707 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 708 including a hard disk, etc.; and a communication section 709 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the I / O interface 705 as needed. A removable medium 711, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 710 as needed so that a computer program read therefrom is installed into the storage section 708 as needed.

[0084] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication section 709, and / or installed from a removable medium 711. When the computer program is executed by a central processing unit (CPU) 701, various functions defined in the system of the present application are executed.

[0085] It should be noted that the computer-readable medium shown in the embodiment of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a computer-readable computer program is carried. This propagated data signal can take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. A computer program contained on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0086] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0087] The units involved in the embodiments described in the present application can be implemented by software or by hardware, and the units described can also be set in a processor. Among them, the names of these units do not constitute a limitation on the units themselves under certain circumstances. Therefore, the technical solution according to the implementation mode of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including a number of instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the implementation mode of the present application.

[0088] Another aspect of the present application further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor of a computer, the computer executes the control method of the audio system provided in the above-mentioned embodiments. The computer-readable storage medium may be included in the electronic device described in the above-mentioned embodiments, or may exist independently without being assembled into the electronic device.

[0089] In the above embodiments, unless otherwise specified, by using serial numbers such as "first" and "second" to describe common objects, it only means that they refer to different instances of the same object, rather than indicating that the objects being described must adopt a given order, whether in time, space, sorting or any other way.

[0090] The above embodiments are merely illustrative of the principles and effects of the present application, and are not intended to limit the present application. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present application. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed in the present application shall still be covered by the claims of the present application.

Claims

1. An audio system, characterized in that: The system comprises: An audio input interface, used for inputting an initial audio signal, wherein the number of the audio input interfaces is multiple; A transmission control module, configured to, if the acquired routing control strategy is a bandwidth monitoring strategy, calculate the bandwidth occupancy of each of the initial audio signals according to the audio input type of each of the initial audio signals to obtain signal bandwidth information, and generate a transmission path control instruction for each of the initial audio signals according to the signal bandwidth information or the acquired current allocation setting strategy; A routing switching module, used for switching the audio input interface and the audio output interface corresponding to each of the initial audio signals according to a preset path control signal or the transmission path control instruction; A digital signal processing module, used for performing signal conversion on each of the initial audio signals to obtain each target audio signal; An audio output interface, used to output a target audio signal, wherein the number of the audio output interfaces is multiple; The transmission control module is respectively connected to the routing switching module and the digital signal processing module in communication, and the routing switching module is also respectively connected to the digital signal processing module, each of the audio input interfaces, and each of the audio output interfaces.

2. The audio system according to claim 1, characterized in that The routing switching module includes: An input routing unit, configured to switch the audio input interface corresponding to each of the initial audio signals according to an input control instruction or an input control signal, obtain a target input interface corresponding to each of the initial audio signals, and transmit each of the initial audio signals to the digital signal processing module through each of the target input interfaces; an output routing unit, which switches the audio output interface corresponding to each of the initial audio signals according to the output control instruction or the output control signal, obtains the target output interface corresponding to each of the initial audio signals, and outputs each of the target audio signals through each of the target output interfaces; The transmission path control instruction includes the input control instruction and the output control instruction, the preset path control signal includes the input control signal and the output control signal, the transmission control module is communicatively connected with the input routing unit and the output routing unit respectively, the input routing unit is also respectively connected with the digital signal processing module and each of the audio input interfaces, and the output routing unit is also respectively connected with the digital signal processing module and each of the audio output interfaces.

3. The audio system according to claim 2, characterized in that The input routing unit comprises: A first signal input unit, used for receiving an initial audio signal transmitted by each of the audio input interfaces; A first path control unit, used to receive the input control instruction or generate an input control signal; The first path switching circuit is used to switch the input path of each of the initial audio signals according to the input control instruction or the input control signal to obtain a target input interface corresponding to each of the initial audio signals.

4. The audio system according to claim 2, characterized in that The output routing module comprises: A second signal input unit, used for receiving each of the target audio signals; A second path control unit, used to receive the output control instruction or generate an output control signal; The second path switching circuit is used to switch the output path of each of the target audio signals according to the output control instruction or the output control signal, obtain the target output interface of each of the target audio signals, and transmit each of the target audio signals to each of the target input interfaces.

5. The audio system according to claim 2, characterized in that The number of the digital signal processing modules is multiple; The input routing unit is further used to transmit each of the initial audio signals to the digital signal processing module corresponding to the initial audio signal according to the input control instruction; Each of the digital signal processing modules is connected to the input routing unit and the output routing unit respectively.

6. The audio system according to any one of claims 2 to 5, characterized in that: The system further comprises: A feedback network, used for transmitting the target audio signals output by each of the audio output interfaces to the corresponding audio input interfaces as multiple feedback signals; The transmission control module is further used to adjust the amplification gain of the gain control module according to the signal comparison result, wherein the signal comparison result is obtained based on the comparison between the audio signal to be amplified and each of the feedback signals, and the audio signal to be amplified is used to represent a new initial audio signal corresponding to each of the feedback signals; The gain control module includes a gain adjustment circuit for adjusting the amplification gain, and an amplifier for amplifying the audio signal to be amplified according to the adjusted amplification gain; The gain control module is connected to the input routing unit and the digital signal processing module respectively, and the feedback network is connected to each of the audio input interfaces and each of the audio output interfaces respectively.

7. The audio system according to any one of claims 1 to 5, characterized in that: The transmission control module includes a microcontroller and the communication connection includes an advanced peripheral bus.

8. A method for controlling an audio system, characterized in that: The method comprises: Acquire a routing control strategy and initial audio signals of a plurality of audio input interfaces, wherein the routing control strategy includes a bandwidth monitoring strategy or a current allocation setting strategy; If the routing control strategy is a bandwidth monitoring strategy, then bandwidth occupancy calculation is performed on each of the initial audio signals according to the audio input type of each of the initial audio signals to obtain signal bandwidth information; Generate a transmission path control instruction for each of the initial audio signals according to the signal bandwidth information or the current allocation setting strategy; The initial audio signals are transmitted and converted according to a preset path control signal or the transmission path control instruction.

9. The method for controlling an audio system according to claim 8, characterized in that: Transmitting and converting each of the initial audio signals according to the preset path control signal or the transmission path control instruction includes: Switch the audio input interface corresponding to each of the initial audio signals according to the input control instruction or the input control signal to obtain the target input interface corresponding to each of the initial audio signals, and transmit each of the initial audio signals to the digital signal processing module through each of the target input interfaces; Performing signal conversion on each of the initial audio signals by the digital signal processing module to obtain a plurality of target audio signals; Switch the audio output interface corresponding to each of the initial audio signals according to the output control instruction or the output control signal to obtain the target output interface corresponding to each of the initial audio signals; Outputting each of the target audio signals through each of the target output interfaces; The transmission path control instruction includes the input control instruction and the output control instruction, and the preset path control signal includes the input control signal and the output control signal.

10. The method for controlling an audio system according to claim 9, characterized in that: After outputting each of the target audio signals through each of the target output interfaces, the method further includes: Inputting each of the target audio signals as a plurality of feedback signals into a corresponding audio input interface, and acquiring a new initial audio signal of each of the audio input interfaces; Using new initial audio signals corresponding to the feedback signals as audio signals to be amplified; Comparing the audio signal to be amplified with each of the feedback signals to obtain a signal comparison result, and adjusting the amplification gain of the gain control module according to the signal comparison result; The audio signal to be amplified is amplified according to the adjusted amplification gain.