System, method and vehicle for transmitting multiple audio channels
By compressing and merging audio data, and utilizing digital audio interfaces and audio bus transmission systems, the problem of insufficient channel count in SOC chips was solved, enabling the transmission of more audio data and meeting the needs of car audio systems.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GUANGZHOU XIAOPENG MOTORS TECH CO LTD
- Filing Date
- 2023-04-07
- Publication Date
- 2026-06-09
AI Technical Summary
The number of channels supported by the TDM interface of existing SOC chips does not meet the growing usage demands in automotive scenarios.
The control module compresses and merges the audio data to be transmitted, and uses a digital audio interface to transmit multiple audio data frames to a digital signal processing module. After decoding, the digital signal processing module transmits the data to the playback module via the car audio bus.
It breaks through the channel limitations of low-cost SOC chips, enabling the transmission of more audio data and meeting the growing usage needs in automotive scenarios.
Smart Images

Figure CN116580715B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of communication technology, and in particular to a system, method, and vehicle for transmitting multiple audio signals. Background Technology
[0002] With the development of the automotive industry and the increasing demand for superior audio experiences, the number of in-car audio systems is gradually increasing. This necessitates the cockpit domain controller to drive more speakers, requiring the cockpit SOC chip to output a greater volume of audio data. Traditional digital audio interfaces like I2S cannot meet these current needs.
[0003] Compared to the I2S interface, the PCM interface is more flexible. Through Time Division Multiplexing (TDM), the PCM interface supports the simultaneous transmission of up to N (N>8) channels of data, reducing the number of pins. Because there is no unified standard for TDM, different IC manufacturers may apply it slightly differently. These differences manifest in clock polarity, channel configuration trigger conditions, and the handling of idle channels. Some low-cost SoCs in automobiles only support 8 channels with their TDM interfaces, which cannot meet the growing demands of automotive applications.
[0004] The above content is only used to help understand the technical solution of the present invention and does not represent an admission that the above content is prior art. Summary of the Invention
[0005] The main objective of this invention is to provide a system, method, and vehicle for transmitting multiple audio channels, aiming to solve the technical problem that the number of audio channels supported by the TDM interface of existing SOC chips does not meet the growing usage demands in automotive scenarios.
[0006] To achieve the above objectives, the present invention provides a method for transmitting multiple audio streams, wherein the system for transmitting multiple audio streams includes a control module, a digital audio interface, a digital signal processing module, and an automotive audio bus;
[0007] The control module is used to acquire n audio data to be transmitted, compress the n audio data to be transmitted respectively to obtain n target audio data, merge the n target audio data into m data frames, and transmit the m data frames to the digital signal processing module through the digital audio interface, wherein n > m ≥ 1;
[0008] The digital signal processing module is used to receive the m data frames, decode the m data frames to obtain n audio data, and transmit the n audio data to the car audio bus.
[0009] Optionally, the control module is further configured to compress the n audio data to be transmitted according to a preset audio bit depth to obtain n target audio data.
[0010] Optionally, the preset audio bit depth is half the number of bits used by the digital audio interface to transmit a single channel, and correspondingly, n = 2*m.
[0011] Optionally, the control module is further configured to compress the n audio data to be transmitted according to a preset sampling rate to obtain n target audio data.
[0012] Optionally, the control module is further configured to obtain the identification information corresponding to the n audio data to be transmitted respectively, query a preset mapping table according to the identification information of each audio data to be transmitted to obtain the frame data position corresponding to each audio data to be transmitted, and merge the n target audio data according to the queried frame data position to obtain m data frames.
[0013] Optionally, the automotive audio bus includes a master node and k slave nodes, where k ≥ n;
[0014] The digital signal processing module is also used to transmit the n audio data to the master node;
[0015] The master node is used to read the target frame data positions of the n audio data in the digital audio interface, query the preset mapping table according to the target frame data positions, determine the identification information corresponding to each audio data, and transmit the n audio data to the corresponding slave nodes according to the queried identification information.
[0016] Optionally, the control module is further configured to determine whether the number n of the audio data to be transmitted is greater than the total number of transmission channels of the digital audio interface. If so, the control module performs the steps of compressing the n audio data to be transmitted separately to obtain n target audio data, merging the n target audio data into m data frames, and transmitting the m data frames to the digital signal processing module through the digital audio interface.
[0017] Optionally, the system for transmitting multiple audio channels further includes a target data transmission interface, wherein the total number of transmission channels of the target data transmission interface is twice the total number of transmission channels of the digital audio interface;
[0018] The digital signal processing module is also used to transmit the n audio data to the vehicle audio bus through the target data transmission interface.
[0019] Furthermore, to achieve the above objectives, the present invention also proposes a method for transmitting multiple audio channels, characterized in that the method for transmitting multiple audio channels is applied to the system for transmitting multiple audio channels as described above, the system for transmitting multiple audio channels includes a control module, a digital audio interface, a digital signal processing module, and an automotive audio bus;
[0020] The method for transmitting multiple audio streams includes:
[0021] The control module acquires n audio data to be transmitted, compresses each of the n audio data to be transmitted to obtain n target audio data, merges the n target audio data into m data frames, and transmits the m data frames to the digital signal processing module through the digital audio interface, where n > m ≥ 1;
[0022] The digital signal processing module receives the m data frames, decodes the m data frames to obtain n audio data, and transmits the n audio data to the car audio bus.
[0023] In addition, to achieve the above objectives, the present invention also proposes a system for transmitting multiple audio channels, the system for transmitting multiple audio channels including a control module, a digital audio interface, a digital signal processing module, and an automotive audio bus;
[0024] The digital signal processing module is used to acquire n audio data to be transmitted from the car audio bus, compress the n audio data to be transmitted respectively to obtain n target audio data, merge the n target audio data into m data frames, and transmit the m data frames to the control module through the digital audio interface, wherein n > m ≥ 1;
[0025] The control module is used to receive the m data frames, decode the m data frames to obtain n audio data, and transmit the n audio data.
[0026] Furthermore, to achieve the above objectives, the present invention also proposes a method for transmitting multiple audio streams, which is applied to the system for transmitting multiple audio streams as described above. The system for transmitting multiple audio streams includes a control module, a digital audio interface, a digital signal processing module, and an automotive audio bus.
[0027] The method for transmitting multiple audio streams includes:
[0028] The digital signal processing module acquires n audio data to be transmitted from the car audio bus, compresses the n audio data to be transmitted respectively to obtain n target audio data, and merges the n target audio data into m data frames. The m data frames are then transmitted to the control module through the digital audio interface, where n > m ≥ 1.
[0029] The control module receives the m data frames, decodes the m data frames to obtain n audio data, and transmits the n audio data.
[0030] Furthermore, to achieve the above objectives, the present invention also proposes a vehicle equipped with a system for transmitting multiple audio channels as described above and a program for transmitting multiple audio channels running thereon, wherein the program for transmitting multiple audio channels, when executed, implements the method for transmitting multiple audio channels as described above.
[0031] The multi-channel audio transmission system proposed in this invention includes a control module, a digital audio interface, a digital signal processing module, and an automotive audio bus. The control module acquires n audio data to be transmitted, compresses each of the n audio data to obtain n target audio data, and merges the n target audio data into m data frames. These m data frames are then transmitted to the digital signal processing module via the digital audio interface, where n > m ≥ 1. The digital signal processing module receives the m data frames, decodes them to obtain n audio data, and transmits the n audio data to the automotive audio bus. This method utilizes a limited number of digital audio interfaces to transmit more audio data, solving the problem of insufficient audio interfaces and overcoming the channel limitations of low-cost SOC chips. The control module transmits more audio data to the automotive audio bus via the digital audio interface for connection to a power amplifier, making the low-cost SOC chip applicable to more scenarios and meeting the growing usage demands in automotive applications. Attached Figure Description
[0032] Figure 1 This is a structural block diagram of a first embodiment of the system for transmitting multiple audio streams according to the present invention;
[0033] Figure 2 This is a schematic diagram of sampling points in one example of the present invention;
[0034] Figure 3 This is a schematic diagram of the synchronization mode of TDM format in an example of the present invention;
[0035] Figure 4 This is a schematic diagram of a first system in an embodiment of the present invention that uses an 8-channel TDM interface to transmit 16 audio channels;
[0036] Figure 5This is a flowchart illustrating the first embodiment of the method for transmitting multiple audio streams according to the present invention;
[0037] Figure 6 This is a structural block diagram of a second embodiment of the system for transmitting multiple audio streams according to the present invention;
[0038] Figure 7 This is a schematic diagram of a second system in an embodiment of the present invention that uses an 8-channel TDM interface to transmit 16 audio channels;
[0039] Figure 8 This is a flowchart illustrating a second embodiment of the method for transmitting multiple audio streams according to the present invention.
[0040] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0041] It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of the invention.
[0042] This invention provides a system for transmitting multiple audio streams, referring to... Figure 1 , Figure 1 This is a structural block diagram of the first embodiment of the system for transmitting multiple audio channels according to the present invention.
[0043] In this embodiment, the system for transmitting multiple audio channels includes a control module 10, a digital audio interface 20, a digital signal processing module 30, and an automotive audio bus 40.
[0044] The control module 10 is used to acquire n audio data to be transmitted, compress the n audio data to be transmitted respectively to obtain n target audio data, merge the n target audio data into m data frames, and transmit the m data frames to the digital signal processing module 30 through the digital audio interface 20, wherein n > m ≥ 1.
[0045] It is understood that the control module 10 may optionally be a SOC chip, or it may be any other audio management control unit installed in the vehicle. Optionally, the control module 10 is connected to a storage unit that stores a large amount of audio source data, and the control module 10 retrieves the audio data to be transmitted from the storage unit. Optionally, the control module 10 is connected to a network module and retrieves the audio data to be transmitted from the network module.
[0046] It should be noted that the existing low-cost SOC chip's digital audio interface 20TDM supports a limited number of channels, which cannot meet practical needs. This embodiment compresses and merges the audio data to be transmitted, enabling the digital audio interface 20 to transmit more audio data. For example, if the digital audio interface 20 has a total of m transmission channels, and the original digital audio interface 20 can transmit m audio data simultaneously, this embodiment allows the digital audio interface 20 to transmit n audio data simultaneously, where n > m ≥ 1, thus overcoming the channel limitation of the digital audio interface 20.
[0047] The digital signal processing module 30 is used to receive the m data frames, decode the m data frames to obtain n audio data, and transmit the n audio data to the car audio bus 40.
[0048] It should be understood that the digital signal processing module 30 (DSP) reads m data frames from the digital audio interface 20, decodes them according to a pre-agreed strategy, and obtains n audio data. In specific implementation, the decoding process includes segmenting each data frame, converting each data frame into multiple audio data. The automotive audio bus 40A2B connects to multiple playback modules in the vehicle. The control module 10 compresses and merges the multiple audio data streams and transmits them to the digital signal processing module 30 through the channel-limited digital audio interface 20. The digital signal processing module 30 decodes and processes the multiple audio data streams, then transmits them through the automotive audio bus 40 to the corresponding playback modules for playback, thus expanding the audio channel capacity.
[0049] Optionally, the control module 10 is further configured to compress the n audio data to be transmitted according to a preset audio bit depth to obtain n target audio data.
[0050] It should be noted that in digital audio and Pulse Code Modulation (PCM), audio bit depth refers to the number of bits of information stored in each sample; the value directly corresponds to the resolution of each sample. (See reference...) Figure 2 , Figure 2 This is a schematic diagram of sampling points in an example of the present invention, where the curve represents a segment of analog signal, and the points represent sampling points obtained by pulse code modulation (PCM) at 4 bits. Since the bit depth is 4, the resolution is 16 (2). 4 Each sampled amplitude is one of 16 possible values. For example, if a CD uses 16-bit storage sampling, then each sample point can store 65,536 (2^36)^ ... 16 One of the possible amplitude values.
[0051] It should be understood that the preset audio bit depth is a pre-agreed fixed value, such as 16-bit, 8-bit, 4-bit, etc. Each audio data to be transmitted is compressed according to the preset audio bit depth p, so that the audio bit depth of the compressed target audio data is p. In specific implementations, the preset audio bit depth is related to the number of bits used by the digital audio interface 20 to transmit a single channel and the expansion factor. Optionally, the total number of transmission channels of the digital audio interface 20 is m, and the expansion factor is 2 times, that is, 2*m audio data are transmitted through m channels. If the number of bits used by the digital audio interface 20 to transmit a single channel is 32 bits, then the preset audio bit depth is 16 bits; if the number of bits used by the digital audio interface 20 to transmit a single channel is 24 bits, then the preset audio bit depth is 12 bits. Optionally, the digital audio interface 20 has a total of m transmission channels and an expansion factor of 4 times, that is, it transmits 4*m audio data through m channels. If the digital audio interface 20 transmits a single channel with a bit depth of 32 bits, the preset audio bit depth is 8 bits. If the digital audio interface 20 transmits a single channel with a bit depth of 24 bits, the preset audio bit depth is 6 bits.
[0052] Furthermore, the preset audio bit depth is half the number of bits used by the digital audio interface 20 to transmit a single channel, and correspondingly, n = 2*m.
[0053] It should be noted that, referring to Figure 3 , Figure 3 This is a schematic diagram of the synchronization mode of TDM format in an example of the present invention; Figure 3 The digital audio interface 20 has a total of 8 transmission channels, supporting simultaneous transmission of 8 channels, i.e., 8 slots. A slot refers to the number of bits used by the digital audio interface 20 to transmit a single channel, specifically the number of bits of information stored in each channel, for example, 32 bits. In specific implementations, setting the expansion factor higher than 2 may result in a low audio data sampling rate, leading to poor audio data playback quality. Preferably, the expansion factor in this embodiment is 2. For example, using the digital audio interface 20 supporting 8 channels to transmit 16 audio data channels, or using the digital audio interface 20 supporting 6 channels to transmit 12 audio data channels, etc., ensures audio data quality while expanding the transmission channels.
[0054] It should be understood that in this embodiment, the control module 10 compresses each audio data to be transmitted to a preset audio bit depth to obtain n target audio data, merges the n target audio data in pairs to obtain m data frames, and transmits the m data frames simultaneously to the digital signal processing module 30 through the digital audio interface 20. The digital signal processing module 30 decodes each data frame into two audio data, thereby obtaining n audio data, and transmits the n audio data to the car audio bus 40.
[0055] Optionally, the control module 10 is further configured to compress the n audio data to be transmitted according to a preset sampling rate to obtain n target audio data.
[0056] It should be understood that the audio sampling rate refers to the number of times the sound signal is sampled per second. The preset sampling rate is related to the expansion factor of the digital audio interface 20. Optionally, if the expansion factor is 2, the preset sampling rate is half of the original sampling rate, adjusting the sampling rate of the audio data to be transmitted to the preset sampling rate to achieve audio data compression. Optionally, based on the audio data to be transmitted, n audio data to be transmitted are resampled according to the preset sampling rate to achieve audio data compression.
[0057] Furthermore, the control module 10 is also used to obtain the identification information corresponding to the n audio data to be transmitted respectively, query a preset mapping table according to the identification information of each audio data to be transmitted to obtain the frame data position corresponding to each audio data to be transmitted, and merge the n target audio data according to the queried frame data position to obtain m data frames.
[0058] It should be noted that this embodiment defines different frame data positions and pre-sets a preset mapping table, which stores the correspondence between identification information and frame data positions. The identification information is used to distinguish the devices that different audio data are applied to, and the frame data position is used to indicate the location where the audio data is stored in the slot of the digital audio interface 20. The control module 10 queries the preset mapping table based on the identification information to determine the frame data position corresponding to each audio data to be transmitted, thereby determining the location where each target audio data is stored in the slot of the digital audio interface 20. Target audio data in the same slot are merged to obtain m data frames.
[0059] Reference Figure 4 , Figure 4 This is a schematic diagram of a first system for transmitting 16 audio channels using an 8-channel TDM interface, as described in one embodiment of the present invention. The SOC chip fuses two 16-bit audio channels into a single 32-bit audio data set, thus combining the 16 audio channels into 8 frame data sets. These frames are stored in 8 slots of the TDM interface and transmitted to the DSP via the TDM8 interface. The DSP decodes the 32-bit audio data from the 8 slots into 16 audio data sets, which are then connected to the power amplifier via A2B, thereby enabling the transmission of 16 audio channels using the 8-channel TDM interface. In the specific implementation, the power amplifier device used by the data stored in each slot is different. By querying a preset relationship table, the frame data positions corresponding to the 16 audio channels are determined, and the two 16-bit audio channels located in the same slot are fused into a single 32-bit audio data set.
[0060] Furthermore, the automotive audio bus 40 includes a master node and k slave nodes, where k ≥ n;
[0061] The digital signal processing module 30 is also used to transmit the n audio data to the master node;
[0062] The master node is used to read the target frame data positions of the n audio data in the digital audio interface 20, query the preset mapping table according to the target frame data positions, determine the identification information corresponding to each audio data, and transmit the n audio data to the corresponding slave nodes according to the queried identification information.
[0063] It should be understood that the master node of the automotive audio bus 40 is connected to the DSP, and the slave nodes are connected to the various audio devices in the vehicle. The location of the audio data in the digital audio interface 20 is read, a preset mapping table is consulted, and the identification information of each audio data is determined. This identification information is used to distinguish the device (e.g., playback module) that the different audio data are used to access. Based on this identification information, the n audio data are transmitted to their respective slave nodes, and then further transmitted to the playback module for playback. In a specific implementation, the frame data stored in the same slot includes multiple audio data. Assuming the frame data position is represented as Slot x_y, where x indicates the slot where the audio data is stored, and y indicates the order in which the audio data is stored. For example, Slot 1_2 represents the second audio data stored in Slot 1.
[0064] Furthermore, the control module 10 is also used to determine whether the number n of the audio data to be transmitted is greater than the total number of transmission channels of the digital audio interface 20. If so, the control module 10 performs the step of compressing the n audio data to be transmitted separately to obtain n target audio data, merging the n target audio data into m data frames, and transmitting the m data frames to the digital signal processing module 30 through the digital audio interface 20.
[0065] It should be noted that, assuming the total number of transmission channels of the digital audio interface 20 (i.e., the number of channels that the digital audio interface 20 supports for simultaneous transmission) is q, q≥m, we determine whether n>q holds true. If it does, it indicates that the current digital audio interface 20 does not meet the requirements, and the n audio data to be transmitted are compressed and merged so that the digital audio interface 20 can transmit more audio data simultaneously. In the specific implementation, if n>q does not hold true, in order to ensure the playback quality of the audio data, the audio data to be transmitted is not compressed and merged, thus improving the flexibility of the SOC chip.
[0066] Optionally, the system for transmitting multiple audio channels further includes a target data transmission interface, wherein the total number of transmission channels of the target data transmission interface is twice the total number of transmission channels of the digital audio interface 20;
[0067] The digital signal processing module 30 is also used to transmit the n audio data to the vehicle audio bus 40 through the target data transmission interface.
[0068] In its specific implementation, this embodiment provides a transmission path: first, data is transmitted through a digital audio interface 20 with a total of q transmission channels, and then data is transmitted through a target data transmission interface with a total of 2q transmission channels. (Refer to...) Figure 4 First, the data is transmitted to the digital signal processing module 30 via TDM8, which has a total of 8 transmission channels, and then transmitted to the automotive audio bus 40 via TDM16, which has a total of 16 transmission channels.
[0069] The multi-channel audio transmission system proposed in this embodiment includes a control module, a digital audio interface, a digital signal processing module, and an automotive audio bus. The control module acquires n audio data to be transmitted, compresses each of the n audio data to obtain n target audio data, and merges the n target audio data into m data frames. These m data frames are then transmitted to the digital signal processing module via the digital audio interface, where n > m ≥ 1. The digital signal processing module receives the m data frames, decodes them to obtain n audio data, and transmits the n audio data to the automotive audio bus. This method utilizes a limited-channel digital audio interface to transmit more audio data, solving the problem of insufficient audio interfaces and overcoming the channel limitations of low-cost SOC chips. The control module transmits more audio data to the automotive audio bus via the digital audio interface for connection to a power amplifier, making the low-cost SOC chip applicable to more scenarios and meeting the growing usage demands in automotive applications.
[0070] Reference Figure 5 , Figure 5 This is a flowchart illustrating the first embodiment of the method for transmitting multiple audio streams according to the present invention;
[0071] like Figure 5 As shown, the method for transmitting multiple audio channels proposed in this embodiment of the invention is applied to the system for transmitting multiple audio channels as described above. The system for transmitting multiple audio channels includes a control module, a digital audio interface, a digital signal processing module, and an automotive audio bus.
[0072] The method for transmitting multiple audio streams includes:
[0073] Step S10: The control module acquires n audio data to be transmitted, compresses the n audio data to be transmitted respectively to obtain n target audio data, merges the n target audio data into m data frames, and transmits the m data frames to the digital signal processing module through the digital audio interface, where n > m ≥ 1.
[0074] Step S20: The digital signal processing module receives the m data frames, decodes the m data frames to obtain n audio data, and transmits the n audio data to the car audio bus.
[0075] It should be understood that the above are merely illustrative examples and do not constitute any limitation on the technical solutions of the present invention. In specific applications, those skilled in the art can make settings as needed, and the present invention does not impose any restrictions on this.
[0076] The multi-channel audio transmission system proposed in this embodiment includes a control module, a digital audio interface, a digital signal processing module, and an automotive audio bus. The control module acquires n audio data to be transmitted, compresses each of the n audio data to obtain n target audio data, and merges the n target audio data into m data frames. These m data frames are then transmitted to the digital signal processing module via the digital audio interface, where n > m ≥ 1. The digital signal processing module receives the m data frames, decodes them to obtain n audio data, and transmits the n audio data to the automotive audio bus. This method utilizes a limited-channel digital audio interface to transmit more audio data, solving the problem of insufficient audio interfaces and overcoming the channel limitations of low-cost SOC chips. The control module transmits more audio data to the automotive audio bus via the digital audio interface for connection to a power amplifier, making the low-cost SOC chip applicable to more scenarios and meeting the growing usage demands in automotive applications.
[0077] It should be noted that the workflow described above is merely illustrative and does not limit the scope of protection of this invention. In practical applications, those skilled in the art can select some or all of the workflow to achieve the purpose of this embodiment according to actual needs, and no restrictions are imposed here.
[0078] In addition, for technical details not described in detail in this embodiment, please refer to the method provided in the first embodiment of the system for transmitting multiple audio channels of the present invention, which will not be repeated here.
[0079] refer to Figure 6 , Figure 6 This is a structural block diagram of a second embodiment of the system for transmitting multiple audio streams according to the present invention.
[0080] The system for transmitting multiple audio channels in this embodiment includes a control module 10, a digital audio interface 20, a digital signal processing module 30, and an automotive audio bus 40.
[0081] The digital signal processing module 30 is used to acquire n audio data to be transmitted from the car audio bus 40, compress the n audio data to be transmitted respectively to obtain n target audio data, merge the n target audio data into m data frames, and transmit the m data frames to the control module 10 through the digital audio interface 20, wherein n > m ≥ 1.
[0082] It should be understood that the automotive audio bus 40 includes a bidirectional transmission channel. On one hand, it can transmit audio data acquired by the SOC chip to the playback module for playback; on the other hand, it can transmit audio data collected by the microphone to the SOC chip for storage or uploading. For the acquired multi-channel audio data, the digital signal processing module 30 performs compression and merging, enabling the digital audio interface 20 to transmit more audio data, thus overcoming the channel limitations of the digital audio interface 20.
[0083] The control module 10 is used to receive the m data frames, decode the m data frames to obtain n audio data, and transmit the n audio data.
[0084] It should be noted that the control module 10 reads m data frames from the digital audio interface 20, decodes them according to a pre-agreed strategy, and obtains n audio data. In the specific implementation, the decoding process includes segmenting each data frame, converting each data frame into multiple audio data. The control module 10 then transmits the n audio data to a storage unit for storage or to a network module for uploading.
[0085] Optionally, the digital signal processing module 30 is further configured to compress the n audio data to be transmitted according to a preset audio bit depth to obtain n target audio data.
[0086] It should be understood that the preset audio bit depth is a pre-agreed fixed value, such as 16-bit, 8-bit, 4-bit, etc. Each audio data to be transmitted is compressed according to the preset audio bit depth p, so that the audio bit depth of the compressed target audio data is p. In specific implementations, the preset audio bit depth is related to the number of bits used by the digital audio interface 20 to transmit a single channel and the expansion factor. Optionally, the total number of transmission channels of the digital audio interface 20 is m, and the expansion factor is 2 times, that is, 2*m audio data are transmitted through m channels. If the number of bits used by the digital audio interface 20 to transmit a single channel is 32 bits, then the preset audio bit depth is 16 bits; if the number of bits used by the digital audio interface 20 to transmit a single channel is 24 bits, then the preset audio bit depth is 12 bits. Optionally, the digital audio interface 20 has a total of m transmission channels and an expansion factor of 4 times, that is, it transmits 4*m audio data through m channels. If the digital audio interface 20 transmits a single channel with a bit depth of 32 bits, the preset audio bit depth is 8 bits. If the digital audio interface 20 transmits a single channel with a bit depth of 24 bits, the preset audio bit depth is 6 bits.
[0087] Furthermore, the preset audio bit depth is half the number of bits used by the digital audio interface 20 to transmit a single channel, and correspondingly, n = 2*m.
[0088] It should be noted that, referring to Figure 3 , Figure 3 The digital audio interface 20 has a total of 8 transmission channels, supporting simultaneous transmission of 8 channels, i.e., 8 slots. A slot refers to the number of bits used by the digital audio interface 20 to transmit a single channel, specifically the number of bits of information stored in each channel, for example, 32 bits. In specific implementations, setting the expansion factor higher than 2 may result in a low audio data sampling rate, leading to poor audio data playback quality. Preferably, the expansion factor in this embodiment is 2. For example, using the digital audio interface 20 supporting 8 channels to transmit 16 audio data channels, or using the digital audio interface 20 supporting 6 channels to transmit 12 audio data channels, etc., ensures audio data quality while expanding the transmission channels.
[0089] It should be understood that in this embodiment, the digital signal processing module 30 compresses each audio data to be transmitted to a preset audio bit depth to obtain n target audio data, merges the n target audio data in pairs to obtain m data frames, and transmits the m data frames to the control module 10 simultaneously through the digital audio interface 20. The control module 10 decodes each data frame into two audio data, thereby obtaining n audio data, and stores or uploads the n audio data.
[0090] Optionally, the digital signal processing module 30 is further configured to compress the n audio data to be transmitted according to a preset sampling rate to obtain n target audio data.
[0091] It should be understood that the audio sampling rate refers to the number of times the sound signal is sampled per second. The preset sampling rate is related to the expansion factor of the digital audio interface 20. Optionally, if the expansion factor is 2, the preset sampling rate is half of the original sampling rate, adjusting the sampling rate of the audio data to be transmitted to the preset sampling rate to achieve audio data compression. Optionally, based on the audio data to be transmitted, n audio data to be transmitted are resampled according to the preset sampling rate to achieve audio data compression.
[0092] Furthermore, the automotive audio bus 40 includes a master node and k slave nodes, where k ≥ n;
[0093] The digital signal processing module 30 is further configured to obtain the n audio data to be transmitted from the master node, determine the identification information corresponding to the n audio data to be transmitted according to the slave node corresponding to the n audio data to be transmitted, query a preset mapping table according to the identification information of each audio data to be transmitted to obtain the frame data position corresponding to each audio data to be transmitted, and merge the n target audio data according to the queried frame data position to obtain m data frames.
[0094] It should be noted that this embodiment defines different frame data positions and pre-sets a preset mapping table, which stores the correspondence between identification information and frame data positions. The identification information is used to distinguish the devices that different audio data are applied to (e.g., audio acquisition devices), and the frame data position is used to indicate the location where the audio data is stored in the slot of the digital audio interface 20. The master node of the automotive audio bus 40 is connected to the DSP, and the slave nodes are connected to various audio devices on the vehicle. The digital signal processing module 30 determines the slave node from which each audio data to be transmitted comes, thereby determining the identification information. Using the identification information as a condition, it queries the preset mapping table to determine the frame data position corresponding to each audio data to be transmitted, thereby determining the location where each target audio data is stored in the slot of the digital audio interface 20. Target audio data in the same slot are merged to obtain m data frames. The frame data stored in the same slot includes multiple audio data. Assuming the frame data position is represented as Slot x_y, where x indicates the slot where the audio data is stored, and y indicates the order in which the audio data is stored. For example, Slot1_2 represents the second audio data stored in Slot1.
[0095] Reference Figure 7 , Figure 7This is a schematic diagram of a second system for transmitting 16 audio channels using an 8-channel TDM interface, as described in one embodiment of the present invention. The DSP fuses two 16-bit audio data streams acquired from A2B into a single 32-bit audio data set, thus combining the 16 audio streams into eight frame data sets. These frames are stored in eight slots of the TDM interface and transmitted to the SOC chip via the TDM8 interface. The SOC chip decodes the 32-bit audio data from the eight slots into 16 audio data streams, thereby enabling the transmission of 16 audio streams using the 8-channel TDM interface. In the specific implementation, the acquisition device corresponding to the data stored in each slot is different. By querying a preset relationship table, the frame data positions corresponding to the 16 audio streams are determined, and the two 16-bit audio data streams located in the same slot are fused into a single 32-bit audio data set.
[0096] Furthermore, the control module 10 is also used to read the target frame data positions of the n audio data in the digital audio interface 20, query the preset mapping table according to the target frame data positions, determine the identification information corresponding to each audio data, and transmit the n audio data according to the queried identification information.
[0097] Furthermore, the digital signal processing module 30 is also used to determine whether the number n of the audio data to be transmitted is greater than the total number of transmission channels of the digital audio interface 20. If so, the step of compressing the n audio data to be transmitted separately to obtain n target audio data, merging the n target audio data into m data frames, and transmitting the m data frames to the digital signal processing module 30 through the digital audio interface 20 is executed.
[0098] It should be noted that, assuming the total number of transmission channels of the digital audio interface 20 (i.e., the number of channels that the digital audio interface 20 supports for simultaneous transmission) is q, q≥m, we determine whether n>q holds true. If it does, it indicates that the current digital audio interface 20 does not meet the requirements, and the n audio data to be transmitted are compressed and merged so that the digital audio interface 20 can transmit more audio data simultaneously. In the specific implementation, if n>q does not hold true, in order to ensure the playback quality of the audio data, the audio data to be transmitted is not compressed and merged, thus improving the flexibility of the SOC chip.
[0099] Optionally, the system for transmitting multiple audio channels further includes a target data transmission interface, wherein the total number of transmission channels of the target data transmission interface is twice the total number of transmission channels of the digital audio interface 20;
[0100] The digital signal processing module 30 is also used to acquire n audio data to be transmitted from the vehicle audio bus through the target data transmission interface.
[0101] In its specific implementation, this embodiment provides a transmission path: first, data is transmitted through a target data transmission interface with a total of 2q transmission channels, and then data is transmitted through a digital audio interface 20 with a total of q transmission channels. (Refer to...) Figure 7 First, data is transmitted from the car audio bus 40 to the digital signal processing module 30 through TDM16, which has a total of 16 transmission channels. Then, data is transmitted to the control module 10 through TDM8, which has a total of 8 transmission channels.
[0102] The multi-channel audio transmission system proposed in this embodiment includes a control module, a digital audio interface, a digital signal processing module, and an automotive audio bus. The digital signal processing module acquires n audio data points to be transmitted from the automotive audio bus, compresses each of the n audio data points to obtain n target audio data points, and merges the n target audio data points into m data frames. These m data frames are then transmitted to the control module through the digital audio interface, where n > m ≥ 1. The control module receives the m data frames, decodes them to obtain n audio data points, and transmits these n audio data points. This method utilizes a limited-channel digital audio interface to transmit more audio data, solving the problem of insufficient audio interfaces and overcoming the channel limitations of low-cost SOC chips. The digital signal processing module transmits a large amount of audio data collected from the automotive audio bus to the control module through the digital audio interface, improving sound acquisition efficiency and making low-cost SOC chips applicable to more scenarios, meeting the growing usage demands in automotive applications.
[0103] Reference Figure 8 , Figure 8 This is a flowchart illustrating a second embodiment of the method for transmitting multiple audio streams according to the present invention;
[0104] like Figure 8 As shown, the method for transmitting multiple audio channels proposed in this embodiment of the invention is applied to the system for transmitting multiple audio channels as described above. The system for transmitting multiple audio channels includes a control module, a digital audio interface, a digital signal processing module, and an automotive audio bus.
[0105] The method for transmitting multiple audio streams includes:
[0106] Step S01: The digital signal processing module obtains n audio data to be transmitted from the car audio bus, compresses the n audio data to be transmitted respectively to obtain n target audio data, and merges the n target audio data into m data frames, and transmits the m data frames to the control module through the digital audio interface, where n > m ≥ 1.
[0107] Step S02: The control module receives the m data frames, decodes the m data frames to obtain n audio data, and transmits the n audio data.
[0108] It should be understood that the above are merely illustrative examples and do not constitute any limitation on the technical solutions of the present invention. In specific applications, those skilled in the art can make settings as needed, and the present invention does not impose any restrictions on this.
[0109] The multi-channel audio transmission system proposed in this embodiment includes a control module, a digital audio interface, a digital signal processing module, and an automotive audio bus. The digital signal processing module acquires n audio data points to be transmitted from the automotive audio bus, compresses each of the n audio data points to obtain n target audio data points, and merges the n target audio data points into m data frames. These m data frames are then transmitted to the control module through the digital audio interface, where n > m ≥ 1. The control module receives the m data frames, decodes them to obtain n audio data points, and transmits these n audio data points. This method utilizes a limited-channel digital audio interface to transmit more audio data, solving the problem of insufficient audio interfaces and overcoming the channel limitations of low-cost SOC chips. The digital signal processing module transmits a large amount of audio data collected from the automotive audio bus to the control module through the digital audio interface, improving sound acquisition efficiency and making low-cost SOC chips applicable to more scenarios, meeting the growing usage demands in automotive applications.
[0110] It should be noted that the workflow described above is merely illustrative and does not limit the scope of protection of this invention. In practical applications, those skilled in the art can select some or all of the workflow to achieve the purpose of this embodiment according to actual needs, and no restrictions are imposed here.
[0111] In addition, for technical details not described in detail in this embodiment, please refer to the method provided in the second embodiment of the system for transmitting multiple audio channels of the present invention, which will not be repeated here.
[0112] Furthermore, this invention also proposes a vehicle equipped with a system for transmitting multiple audio channels as described above and a program for transmitting multiple audio channels running on the vehicle. When the program for transmitting multiple audio channels is executed, it implements the method for transmitting multiple audio channels as described above.
[0113] Since this vehicle adopts all the technical solutions of all the above embodiments, it has at least all the beneficial effects brought about by the technical solutions of the above embodiments, which will not be repeated here.
[0114] Furthermore, it should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.
[0115] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0116] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as read-only memory (ROM) / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present invention.
[0117] The above are merely preferred embodiments of the present invention and do not limit the scope of the patent. Any equivalent structural or procedural transformations made based on the description and drawings of the present invention, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of the present invention.
Claims
1. A system for transmitting multiple audio signals, characterized in that, The system for transmitting multiple audio channels includes a control module, a digital audio interface, a digital signal processing module, and an automotive audio bus. The control module is used to acquire n audio data to be transmitted, compress the n audio data to be transmitted respectively to obtain n target audio data, merge the n target audio data into m data frames, and transmit the m data frames to the digital signal processing module through the digital audio interface, wherein n > m ≥ 1; The digital signal processing module is used to receive the m data frames, decode the m data frames to obtain n audio data, and transmit the n audio data to the car audio bus; The control module is also used to compress the n audio data to be transmitted according to a preset audio bit depth to obtain n target audio data. The preset audio bit depth is related to the number of bits and the expansion factor occupied by a single channel of the digital audio interface.
2. The system for transmitting multiple audio streams as described in claim 1, characterized in that, The preset audio bit depth is half the number of bits used by a single channel in the digital audio interface, and correspondingly, n=2. m.
3. The system for transmitting multiple audio streams as described in claim 1, characterized in that, The control module is also used to compress the n audio data to be transmitted according to a preset sampling rate to obtain n target audio data.
4. The system for transmitting multiple audio signals as described in claim 1, characterized in that, The control module is further configured to obtain the identification information corresponding to each of the n audio data to be transmitted, query a preset mapping table according to the identification information of each audio data to be transmitted to obtain the frame data position corresponding to each audio data to be transmitted, and merge the n target audio data according to the queried frame data position to obtain m data frames.
5. The system for transmitting multiple audio signals as described in claim 4, characterized in that, The automotive audio bus includes a master node and k slave nodes, where k ≥ n; The digital signal processing module is also used to transmit the n audio data to the master node; The master node is used to read the target frame data positions of the n audio data in the digital audio interface, query the preset mapping table according to the target frame data positions, determine the identification information corresponding to each audio data, and transmit the n audio data to the corresponding slave nodes according to the queried identification information.
6. The system for transmitting multiple audio signals as described in claim 1, characterized in that, The control module is further configured to determine whether the number n of the audio data to be transmitted is greater than the total number of transmission channels of the digital audio interface. If so, the control module performs the following steps: compressing the n audio data to be transmitted separately to obtain n target audio data, merging the n target audio data into m data frames, and transmitting the m data frames to the digital signal processing module through the digital audio interface.
7. The system for transmitting multiple audio signals as described in claim 1, characterized in that, The system for transmitting multiple audio channels also includes a target data transmission interface, wherein the total number of transmission channels of the target data transmission interface is twice the total number of transmission channels of the digital audio interface; The digital signal processing module is also used to transmit the n audio data to the vehicle audio bus through the target data transmission interface.
8. A method for transmitting multiple audio signals, characterized in that, The method for transmitting multiple audio channels is applied to a system for transmitting multiple audio channels as described in any one of claims 1-7, wherein the system for transmitting multiple audio channels includes a control module, a digital audio interface, a digital signal processing module, and an automotive audio bus; The method for transmitting multiple audio streams includes: The control module acquires n audio data to be transmitted, compresses each of the n audio data to be transmitted to obtain n target audio data, merges the n target audio data into m data frames, and transmits the m data frames to the digital signal processing module through the digital audio interface, where n > m ≥ 1; The digital signal processing module receives the m data frames, decodes the m data frames to obtain n audio data, and transmits the n audio data to the car audio bus; The step of compressing the n audio data to be transmitted includes: compressing the n audio data to be transmitted according to a preset audio bit depth to obtain n target audio data. The preset audio bit depth is related to the number of bits and the expansion factor occupied by a single channel of the digital audio interface.
9. A system for transmitting multiple audio signals, characterized in that, The system for transmitting multiple audio channels includes a control module, a digital audio interface, a digital signal processing module, and an automotive audio bus. The digital signal processing module is used to acquire n audio data to be transmitted from the car audio bus, compress the n audio data to be transmitted respectively to obtain n target audio data, merge the n target audio data into m data frames, and transmit the m data frames to the control module through the digital audio interface, wherein n > m ≥ 1; The control module is used to receive the m data frames, decode the m data frames to obtain n audio data, and transmit the n audio data; The control module is also used to compress the n audio data to be transmitted according to a preset audio bit depth to obtain n target audio data. The preset audio bit depth is related to the number of bits and the expansion factor occupied by a single channel of the digital audio interface.
10. A method for transmitting multiple audio signals, characterized in that, The method for transmitting multiple audio channels is applied to the system for transmitting multiple audio channels as described in claim 9, wherein the system for transmitting multiple audio channels includes a control module, a digital audio interface, a digital signal processing module, and an automotive audio bus. The method for transmitting multiple audio streams includes: The digital signal processing module acquires n audio data to be transmitted from the car audio bus, compresses the n audio data to be transmitted respectively to obtain n target audio data, and merges the n target audio data into m data frames. The m data frames are then transmitted to the control module through the digital audio interface, where n > m ≥ 1. The control module receives the m data frames, decodes the m data frames to obtain n audio data, and transmits the n audio data. The step of compressing the n audio data to be transmitted includes: compressing the n audio data to be transmitted according to a preset audio bit depth to obtain n target audio data. The preset audio bit depth is related to the number of bits and the expansion factor occupied by a single channel of the digital audio interface.
11. A vehicle, characterized in that, The vehicle is equipped with a system for transmitting multiple audio streams as described in any one of claims 1-7 and 9, and a program for transmitting multiple audio streams running, wherein when the program for transmitting multiple audio streams is executed, it implements the method for transmitting multiple audio streams as described in claim 8 or 10.