Loopback test system and test method for automobile audio bus
By designing a loopback test system for automotive audio buses, using loopback tests between A2B chips and system-level chip analysis functions, the problem that the existing technology cannot automatically test the audio data performance of A2B buses is solved, and efficient and low-cost testing results are achieved.
Patent Information
- Application Number
- CN202411965027.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2025-04-25
AI Technical Summary
The prior art cannot realize the performance of automatically testing the A2B bus receiving and sending audio data, resulting in low testing efficiency and high cost.
A loopback test system for the automotive audio bus is designed, including an in-car infotainment system, a test module and a host computer. Through loopback test between the first and second automotive audio bus (A2B) chips, the system-level chip (SOC) analyzes the frequency, amplitude and slope distortion of the audio data, and sends the test results to the host computer over Ethernet.
It realizes the performance of automatic testing of the A2B bus receiving and sending audio data, reducing the demand for equipment investment and personnel monitoring, and improving testing efficiency and cost-effectiveness.
Smart Images

Figure CN119893413A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of vehicle testing, and in particular, relates to a loopback testing system and a testing method for an automobile audio bus. Background Art
[0002] At this stage, users in the market have increasingly higher requirements for the sound quality of vehicle audio systems. There are many speakers in the whole vehicle, and an external amplifier is needed to assist the car computer in driving the speakers. In addition, the whole vehicle voice system has developed from the original two sound zones to 5 sound zones or even more. Therefore, the A2B bus not only needs to transmit the audio data transmitted by the car computer to the amplifier, but also needs to transmit the audio data collected by the microphone to the car computer. Whether it is the bench test in the R&D stage or the production line test in the later mass production, it requires a lot of equipment and manpower.
[0003] Patent CN219777821U discloses a vehicle computer test system, wherein the vehicle computer test system includes: an execution module, a monitoring module and a test module; the execution module is connected to the vehicle computer and the monitoring module respectively, and the monitoring module is also connected to the test module; the execution module is used to execute corresponding functional actions according to the main control instruction sent by the vehicle computer, generate a feedback signal and send it to the monitoring module; the monitoring module is used to generate a monitoring signal according to the feedback signal and send it to the test module; the test module is used to detect the abnormality of the vehicle computer function corresponding to the main control instruction according to the monitoring signal.
[0004] However, the technology disclosed in the above patent cannot realize automatic testing of the performance of the A2B bus in receiving and sending audio data. Summary of the invention
[0005] The technical problem to be solved by the present invention is to provide a loopback test system and a test method for an automobile audio bus in view of the deficiencies in the prior art, so as to achieve the purpose of automatically testing the performance of an A2B bus in receiving and sending audio data.
[0006] In order to achieve the above object, the technical solution adopted by the present invention is:
[0007] The invention provides a loopback test system for an automobile audio bus, comprising an in-vehicle infotainment system, a test module and a host computer, wherein the in-vehicle infotainment system is connected to the test module; the in-vehicle infotainment system is connected to the host computer via Ethernet.
[0008] Furthermore, the in-vehicle infotainment system includes a system-on-chip (SOC) and a first automotive audio bus (A2B) chip; the system-on-chip (SOC) is connected to the first automotive audio bus (A2B) chip; and the system-on-chip (SOC) is connected to a host computer via Ethernet.
[0009] Furthermore, the test module includes a second automobile audio bus (A2B) chip; the second automobile audio bus (A2B) chip is connected to the first automobile audio bus (A2B) chip via a automobile audio (A2B) bus.
[0010] Further, the first car audio bus (A2B) chip sends the audio data to the car audio (A2B) bus.
[0011] Further, the second car audio bus (A2B) chip receives the audio data and sends the audio data back to the car audio (A2B) bus.
[0012] Further, the first car audio bus (A2B) chip receives audio data sent back to the car audio (A2B) bus by the second car audio bus (A2B) chip, and the first car audio bus (A2B) chip sends the received audio data sent back to the car audio (A2B) bus by the second car audio bus (A2B) chip to the system-on-chip (SOC).
[0013] Further, the system-on-chip (SOC) analyzes the frequency, amplitude and slope distortion of the audio data sent from the first automotive audio bus (A2B) chip to the system-on-chip (SOC).
[0014] Furthermore, when the frequency error of the audio data parsed by the system-on-chip (SOC) exceeds the frequency error threshold, or the amplitude error exceeds the amplitude error threshold, or the slope distortion error exceeds the slope distortion error threshold, the system-on-chip (SOC) sends information that the car audio bus (A2B) self-test has failed to the host computer.
[0015] The present invention also provides a method for testing an automobile audio bus, the method comprising the following steps:
[0016] S1: The first car audio bus (A2B) chip sends audio data to the car audio (A2B) bus;
[0017] S2: The second car audio bus (A2B) chip receives the audio data and sends the audio data back to the car audio (A2B) bus;
[0018] S3: The first car audio bus (A2B) chip receives the audio data sent back to the car audio (A2B) bus by the second car audio bus (A2B) chip, and sends the received audio data sent back to the car audio (A2B) bus by the second car audio bus (A2B) chip to the system-on-chip (SOC);
[0019] S4: The system-on-chip (SOC) analyzes the frequency, amplitude and slope distortion of the audio data sent from the first automotive audio bus (A2B) chip to the system-on-chip (SOC);
[0020] S5: The system-on-chip (SOC) determines whether the frequency error of the parsed audio data exceeds the frequency error threshold. If not, the process proceeds to S6. If yes, the process proceeds to S9.
[0021] S6: The system-on-chip (SOC) determines whether the amplitude error of the analyzed audio data exceeds the amplitude error threshold, if not, then enters S7, if yes, then enters S9;
[0022] S7: The system-on-chip (SOC) determines whether the slope distortion error of the analyzed audio data exceeds the slope distortion error threshold, if not, then enters S8, if yes, then enters S9;
[0023] S8: The system-on-chip (SOC) sends the information that the car audio bus (A2B) self-test has passed to the host computer; enter S10;
[0024] S9: The system-on-chip (SOC) sends the information that the car audio bus (A2B) self-test failed to the host computer;
[0025] S10: End.
[0026] The loopback test system and test method of the present invention have the following advantages:
[0027] (1) The loopback test system and test method of the present invention can automatically test the performance of the A2B bus in receiving and sending audio data.
[0028] (2) When the performance of receiving and sending audio data of the A2B bus is automatically tested by the loopback test system and the test method of the present invention, no equipment investment is required, the cost is low and the efficiency is high.
[0029] (3) When the performance of the A2B bus in receiving and sending audio data is automatically tested by the loopback test system and test method of the present invention, the test results can be directly known without the need for human monitoring and judgment, which is convenient and efficient. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] This specification includes the following drawings, which show the following contents:
[0031] Figure 1 It is a logical structure block diagram of a loopback test system of an automobile audio bus of the present invention;
[0032] Figure 2 The present invention is a flow chart of a method for testing a car audio bus.
[0033] Explanation of the accompanying drawings: 1. In-vehicle infotainment system; 2. Test module; 3. Host computer; 11. System-on-chip (SOC); 12. First automotive audio bus (A2B) chip; 21. Second automotive audio bus (A2B) chip. DETAILED DESCRIPTION
[0034] The specific implementation methods of the present invention are further explained in detail below by describing the embodiments with reference to the accompanying drawings, with the aim of helping those skilled in the art to have a more complete, accurate and in-depth understanding of the concept and technical solution of the present invention and facilitating its implementation.
[0035] Figure 1 It is a logical structure block diagram of a loopback test system of a car audio bus of the present invention, including an in-vehicle infotainment system 1, a test module 2 and a host computer 3, wherein the in-vehicle infotainment system 1 is connected to the test module 2; the in-vehicle infotainment system 1 is connected to the host computer 3 via Ethernet. Among them, the in-vehicle infotainment system 1 includes a system-on-chip (SOC) 11 and a first car audio bus (A2B) chip 12; the system-on-chip (SOC) 11 is connected to the first car audio bus (A2B) chip 12; the system-on-chip (SOC) 12 is connected to the host computer 3 via Ethernet. In addition, the test module 2 includes a second car audio bus (A2B) chip 21; the second car audio bus (A2B) chip 21 is connected to the first car audio bus (A2B) chip 11 via a car audio (A2B) bus.
[0036] Combine the following Figure 1 The working principle of the loopback test system of the automobile audio bus of the present invention is as follows:
[0037] During the operation of the loopback test system of the automobile audio bus of the present invention, a multi-channel standard audio file is played through the system-on-chip (SOC) 11, and then the standard audio file is transmitted to the first automobile audio bus (A2B) chip 12 through the PCM protocol. After the first automobile audio bus (A2B) chip 12 converts the standard audio file into audio data, the first automobile audio bus (A2B) chip 12 sends the audio data to the automobile audio (A2B) bus. After the first car audio bus (A2B) chip 12 sends audio data to the car audio (A2B) bus, the second car audio bus (A2B) chip 21 receives the audio data and sends the audio data back to the car audio (A2B) bus. Specifically, after the first car audio bus (A2B) chip 12 sends audio data to the car audio (A2B) bus, the second car audio bus (A2B) chip 21 receives the audio data transmitted from the car audio (A2B), and sends the audio data received by the second car audio bus (A2B) chip 21 back to the car audio (A2B) bus by short-circuiting the DTX0 pin and the DRX0 pin of the second car audio bus (A2B) chip 21 and short-circuiting the DTX1 pin and the DRX1 pin. The first car audio bus (A2B) chip 12 receives audio data sent back to the car audio (A2B) bus by the second car audio bus (A2B) chip 21, and the first car audio bus (A2B) chip 12 sends the received audio data sent back to the car audio (A2B) bus by the second car audio bus (A2B) chip 21 to the system-on-chip (SOC) 11. The system-level chip (SOC) 11 parses the frequency, amplitude and slope distortion of the audio data sent to the system-level chip (SOC) 11 by the first automobile audio bus (A2B) chip 12. When the frequency error of the audio data parsed by the system-level chip (SOC) 11 exceeds the frequency error threshold, or the amplitude error exceeds the amplitude error threshold, or the slope distortion error exceeds the slope distortion error threshold, the system-level chip (SOC) 11 sends the information that the automobile audio bus (A2B) self-test fails to pass to the host computer 3 through the Ethernet port. When the frequency error of the audio data parsed by the system-level chip (SOC) 11 does not exceed the frequency error threshold, the amplitude error does not exceed the amplitude error threshold, and the slope distortion error does not exceed the slope distortion error threshold, the system-level chip (SOC) 11 sends the information that the automobile audio bus (A2B) self-test passes to the host computer 3 through the Ethernet port. That is, through the present invention, the performance of receiving and sending audio data of the automobile audio bus (A2B) can be automatically tested. At the same time, the test results can be directly known without equipment investment, personnel monitoring and judgment, which is low-cost and high-efficiency, convenient and efficient.
[0038] Figure 2 It is a flow chart of a method for testing a car audio bus of the present invention, the method comprising the following steps:
[0039] S1: The first car audio bus (A2B) chip sends audio data to the car audio (A2B) bus; that is, the corresponding Figure 2 Specifically, during the operation of the loopback test system of the car audio bus of the present invention, a multi-channel standard audio file is played through the system-on-chip (SOC) 11, and then the standard audio file is transmitted to the first car audio bus (A2B) chip 12 through the PCM protocol. After the first car audio bus (A2B) chip 12 converts the standard audio file into audio data, the first car audio bus (A2B) chip 12 sends the audio data to the car audio (A2B) bus.
[0040] S2: The second car audio bus (A2B) chip receives the audio data and sends the audio data back to the car audio (A2B) bus; that is, the corresponding Figure 2 Specifically, after the first car audio bus (A2B) chip 12 sends audio data to the car audio (A2B) bus, the second car audio bus (A2B) chip 21 receives the audio data transmitted from the car audio (A2B), and sends the audio data received by the second car audio bus (A2B) chip 21 back to the car audio (A2B) bus by short-circuiting the DTX0 pin and the DRX0 pin of the second car audio bus (A2B) chip 21 and short-circuiting the DTX1 pin and the DRX1 pin.
[0041] S3: The first car audio bus (A2B) chip receives the audio data sent back to the car audio (A2B) bus by the second car audio bus (A2B) chip, and sends the received audio data sent back to the car audio (A2B) bus by the second car audio bus (A2B) chip to the system-on-chip (SOC); that is, the corresponding Figure 2 S3 in.
[0042] S4: The system-level chip (SOC) analyzes the frequency, amplitude and slope distortion of the audio data sent from the first automotive audio bus (A2B) chip to the system-level chip (SOC); that is, the corresponding Figure 2 S4 in.
[0043] S5: The system-on-chip (SOC) determines whether the frequency error of the parsed audio data exceeds the frequency error threshold. If not, it enters S6. If yes, it enters S9. Figure 2 S5 in.
[0044] S6: The system-on-chip (SOC) determines whether the amplitude error of the parsed audio data exceeds the amplitude error threshold. If not, it enters S7. If yes, it enters S9. Figure 2 S6 in.
[0045] S7: The system-on-chip (SOC) determines whether the slope distortion error of the analyzed audio data exceeds the slope distortion error threshold. If not, it enters S8. If yes, it enters S9. Figure 2 S7 in.
[0046] S8: The system-level chip (SOC) sends the information that the car audio bus (A2B) self-test has passed to the host computer; enter S10; that is, the corresponding Figure 2 Specifically, the system-on-chip (SOC) 11 sends the information that the car audio bus (A2B) self-test has passed to the host computer 3 through the Ethernet port.
[0047] S9: The system-level chip (SOC) sends the information that the car audio bus (A2B) self-test failed to the host computer; that is, the corresponding Figure 2 Specifically, the system-on-chip (SOC) 11 sends the information that the car audio bus (A2B) self-test fails to the host computer 3 through the Ethernet port.
[0048] S10: End; corresponding Figure 2 The S10 in.
[0049] In this specific implementation, the host computer 3 is a PC host computer; the frequency error threshold is 5HZ; the amplitude error threshold is 5%; and the slope distortion error threshold is 8%.
[0050] Functions and Effects of the Embodiments
[0051] During the operation of the loopback test system of the automobile audio bus of the present invention, a multi-channel standard audio file is played through the system-on-chip (SOC) 11, and then the standard audio file is transmitted to the first automobile audio bus (A2B) chip 12 through the PCM protocol. After the first automobile audio bus (A2B) chip 12 converts the standard audio file into audio data, the first automobile audio bus (A2B) chip 12 sends the audio data to the automobile audio (A2B) bus. After the first car audio bus (A2B) chip 12 sends audio data to the car audio (A2B) bus, the second car audio bus (A2B) chip 21 receives the audio data and sends the audio data back to the car audio (A2B) bus. Specifically, after the first car audio bus (A2B) chip 12 sends audio data to the car audio (A2B) bus, the second car audio bus (A2B) chip 21 receives the audio data transmitted from the car audio (A2B), and sends the audio data received by the second car audio bus (A2B) chip 21 back to the car audio (A2B) bus by short-circuiting the DTX0 pin and the DRX0 pin of the second car audio bus (A2B) chip 21 and short-circuiting the DTX1 pin and the DRX1 pin.
[0052] The first car audio bus (A2B) chip 12 receives audio data sent back to the car audio (A2B) bus by the second car audio bus (A2B) chip 21, and the first car audio bus (A2B) chip 12 sends the received audio data sent back to the car audio (A2B) bus by the second car audio bus (A2B) chip 21 to the system-on-chip (SOC) 11. The system-level chip (SOC) 11 parses the frequency, amplitude and slope distortion of the audio data sent to the system-level chip (SOC) 11 by the first automobile audio bus (A2B) chip 12. When the frequency error of the audio data parsed by the system-level chip (SOC) 11 exceeds the frequency error threshold, or the amplitude error exceeds the amplitude error threshold, or the slope distortion error exceeds the slope distortion error threshold, the system-level chip (SOC) 11 sends the information that the automobile audio bus (A2B) self-test fails to pass to the host computer 3 through the Ethernet port. When the frequency error of the audio data parsed by the system-level chip (SOC) 11 does not exceed the frequency error threshold, the amplitude error does not exceed the amplitude error threshold, and the slope distortion error does not exceed the slope distortion error threshold, the system-level chip (SOC) 11 sends the information that the automobile audio bus (A2B) self-test passes to the host computer 3 through the Ethernet port. That is, through the present invention, the performance of receiving and sending audio data of the automobile audio bus (A2B) can be automatically tested. At the same time, the test results can be directly known without equipment investment, personnel monitoring and judgment, which is low-cost and high-efficiency, convenient and efficient.
[0053] The present invention is described above by way of example in conjunction with the accompanying drawings. Obviously, the specific implementation of the present invention is not limited to the above-mentioned methods. As long as various non-substantial improvements are made using the method concept and technical solution of the present invention; or the above-mentioned concept and technical solution of the present invention are directly applied to other occasions without improvement, they are all within the protection scope of the present invention.
Claims
1. A loopback test system for an automotive audio bus, characterized in that: It includes an in-vehicle infotainment system, a test module and a host computer. The in-vehicle infotainment system is connected to the test module; the in-vehicle infotainment system is connected to the host computer via Ethernet.
2. A loopback test system for an automotive audio bus as claimed in claim 1, characterized in that: The in-vehicle infotainment system includes a system-on-chip (SOC) and a first automotive audio bus (A2B) chip; the system-on-chip (SOC) is connected to the first automotive audio bus (A2B) chip; the system-on-chip (SOC) is connected to the host computer via Ethernet.
3. A loopback test system for an automotive audio bus as claimed in claim 2, characterized in that: The test module includes a second automobile audio bus (A2B) chip; the second automobile audio bus (A2B) chip is connected to the first automobile audio bus (A2B) chip via a automobile audio (A2B) bus.
4. A loopback test system for an automotive audio bus as claimed in claim 3, characterized in that: The first car audio bus (A2B) chip sends audio data to a car audio (A2B) bus.
5. A loopback test system for an automotive audio bus as claimed in claim 4, characterized in that: The second car audio bus (A2B) chip receives the audio data and sends the audio data back to the car audio (A2B) bus.
6. A loopback test system for an automobile audio bus as claimed in claim 5, characterized in that: The first car audio bus (A2B) chip receives audio data sent back to the car audio (A2B) bus by the second car audio bus (A2B) chip, and the first car audio bus (A2B) chip sends the received audio data sent back to the car audio (A2B) bus by the second car audio bus (A2B) chip to the system-on-chip (SOC).
7. A loopback test system for an automobile audio bus as claimed in claim 6, characterized in that: The system-on-chip (SOC) analyzes the frequency, amplitude and slope distortion of the audio data sent to the system-on-chip (SOC) by the first automobile audio bus (A2B) chip.
8. A loopback test system for an automobile audio bus as claimed in claim 7, characterized in that: When the frequency error of the audio data parsed by the system-on-chip (SOC) exceeds a frequency error threshold, or the amplitude error exceeds an amplitude error threshold, or the slope distortion error exceeds a slope distortion error threshold, the system-on-chip (SOC) sends information that the car audio bus (A2B) self-test has failed to the host computer.
9. A method for testing a car audio bus according to any one of claims 1 to 8, characterized in that: The method comprises the following steps: S1: The first car audio bus (A2B) chip sends audio data to the car audio (A2B) bus; S2: The second car audio bus (A2B) chip receives the audio data and sends the audio data back to the car audio (A2B) bus; S3: The first car audio bus (A2B) chip receives the audio data sent back to the car audio (A2B) bus by the second car audio bus (A2B) chip, and sends the received audio data sent back to the car audio (A2B) bus by the second car audio bus (A2B) chip to the system-on-chip (SOC); S4: The system-on-chip (SOC) analyzes the frequency, amplitude and slope distortion of the audio data sent from the first automotive audio bus (A2B) chip to the system-on-chip (SOC); S5: The system-on-chip (SOC) determines whether the frequency error of the parsed audio data exceeds the frequency error threshold. If not, the process proceeds to S6. If yes, the process proceeds to S9. S6: The system-on-chip (SOC) determines whether the amplitude error of the analyzed audio data exceeds the amplitude error threshold, if not, then enters S7, if yes, then enters S9; S7: The system-on-chip (SOC) determines whether the slope distortion error of the analyzed audio data exceeds the slope distortion error threshold, if not, then enters S8, if yes, then enters S9; S8: The system-on-chip (SOC) sends the information that the car audio bus (A2B) self-test has passed to the host computer; enter S10; S9: The system-on-chip (SOC) sends the information that the car audio bus (A2B) self-test failed to the host computer; S10: End.