Audio link detection device, system and method, related equipment and vehicle
By receiving and converting an audio link detection device to a digital signal on the vehicle audio bus, the problem of external environment interference during the A2B microphone collection process is solved, and more accurate and efficient audio link detection is achieved.
Patent Information
- Application Number
- CN202410116903.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-26
- Publication Date
- 2025-07-29
AI Technical Summary
In the prior art, the A2B microphone is easily interfered by external ambient sounds during the process of collecting the sounds played by the speaker, resulting in misjudgment of the audio link detection results and affecting accuracy.
The analog driving signal sent by the vehicle machine is received through the on-board audio bus, and the audio link detection device is used to convert it into a digital audio signal, and the digital audio signal is sent to the vehicle machine for detection, eliminating the speaker sounding and microphone collection links to avoid interference from external environment.
It improves the accuracy of audio link detection results, avoids interference from external ambient sound, supports multi-path cascaded parallel testing, and improves testing efficiency.
Smart Images

Figure CN120390184A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of signal detection, and particularly to an audio link detection device, system, method, related equipment and vehicle. Background Art
[0002] With the industrial technology breakthrough brought by artificial intelligence (AI) voice and the demand for active noise reduction, the in-vehicle audio architecture and audio link composed of automotive audio bus (A2B) have become more complex than ever before, thus posing more requirements for the detection and testing of audio links.
[0003] Currently, the in-vehicle head unit can control the speaker to emit a sound signal, and the A2B microphone can collect the sound signal emitted by the speaker, and then convert the sound signal into a digital audio signal and send it to the inside of the in-vehicle head unit through the automotive audio bus for audio link detection.
[0004] However, in the process of the A2B microphone collecting the sound actually played by the speaker, this method is easily interfered by the external environment sound, coupled with the external environment sound, causing misjudgment of the test result, and thus affecting the accuracy of the audio link detection result. Summary of the Invention
[0005] In view of this, this application provides an audio link detection device, system, method, related equipment and vehicle, mainly aiming to improve the technical problem that in the process of the A2B microphone collecting the sound actually played by the speaker in the current existing technology, it is easily interfered by the external environment sound, coupled with the external environment sound, causing misjudgment of the test result, and thus affecting the accuracy of the audio link detection result.
[0006] In the first aspect, this application provides an audio link detection device, and the audio link detection device is communicatively connected to the in-vehicle head unit through the automotive audio bus;
[0007] The audio link detection device is configured to receive an analog drive signal sent by the in-vehicle head unit through the automotive audio bus, convert the analog drive signal into a digital audio signal, and send the digital audio signal to the in-vehicle head unit.
[0008] Optionally, the audio link detection device includes: a first input terminal, a second input terminal, a first capacitor, a second capacitor, a first voltage dividing network, a second voltage dividing network and an analog-to-digital conversion chip;
[0009] The first capacitor is connected to the analog-to-digital conversion chip through the first voltage-dividing network. The first capacitor is used to filter the DC voltage of the analog drive signal received at the first input terminal, and the first voltage-dividing network is used to adjust the first AC voltage of the analog drive signal received at the first input terminal after being filtered by the first capacitor, so that the first AC voltage decays to a first target range;
[0010] The second capacitor is connected to the analog-to-digital conversion chip through the second voltage-dividing network. The second capacitor is used to filter the DC voltage of the analog drive signal received at the second input terminal, and the second voltage-dividing network is used to adjust the second AC voltage of the analog drive signal received at the second input terminal after being filtered by the second capacitor, so that the second AC voltage decays to a second target range;
[0011] The analog-to-digital conversion chip is used to convert the analog drive signal into the digital audio signal.
[0012] Optionally, the first voltage-dividing network includes: a first resistor and a second resistor. The first end of the first resistor is connected to the first capacitor, the second end of the first resistor is connected to the analog-to-digital conversion chip, the second end of the first resistor is also connected to the first end of the second resistor, and the second end of the second resistor is grounded;
[0013] The second voltage-dividing network includes a third resistor and a fourth resistor. The first end of the third resistor is connected to the second capacitor, the second end of the third resistor is connected to the analog-to-digital conversion chip, the second end of the third resistor is also connected to the first end of the fourth resistor, and the second end of the fourth resistor is grounded.
[0014] Optionally, the audio link detection device further includes: a vehicle audio chip;
[0015] The vehicle audio chip is connected to the analog-to-digital conversion chip;
[0016] The vehicle audio chip is used to provide a clock signal for the analog-to-digital conversion chip, so that the analog-to-digital conversion chip converts the analog drive signal into a target digital audio signal based on the clock signal.
[0017] Optionally, the vehicle audio chip is further used for:
[0018] Embedding the digital audio signal into the data frame of the vehicle audio bus to send the digital audio signal to the car head unit.
[0019] Optionally, the audio link detection device further includes: output peripheral devices;
[0020] The output peripheral device is connected to the vehicle audio chip, and the output peripheral device is also connected to the vehicle audio bus;
[0021] The output peripheral device is configured to perform filtering processing on the target digital audio signal.
[0022] In a second aspect, the present application provides an audio link detection system, which includes a vehicle head unit and at least one audio link detection device. The vehicle head unit is connected to the audio link detection device through the vehicle audio bus. The vehicle head unit is configured to perform audio link detection of the vehicle audio bus based on the analog drive signal and the digital audio signal.
[0023] Optionally, the system includes a plurality of the audio link detection devices having a cascading relationship, and different audio link detection devices are configured to receive different analog drive signals;
[0024] A first audio link detection device among the plurality of audio link detection devices is configured to receive, through the vehicle audio bus, a first data frame embedded in the vehicle audio bus by a second audio link detection device at the previous cascading position of the first audio link detection device, and embed the digital audio signal obtained by converting the first audio link detection device into the first data frame to obtain a second data frame, and send the second data frame through the vehicle audio bus to a third audio link detection device at the next cascading position of the first audio link detection device.
[0025] In a third aspect, the present application provides an audio link detection method, which is applied to an audio link detection device. The method includes:
[0026] Receiving, through the vehicle audio bus, an analog drive signal sent by the vehicle head unit;
[0027] Converting the analog drive signal into a digital audio signal, and sending the digital audio signal to the vehicle head unit, where the vehicle head unit is configured to perform audio link detection of the vehicle audio bus based on the analog drive signal and the digital audio signal.
[0028] In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the audio link detection method described in the third aspect is implemented.
[0029] In a fifth aspect, the present application provides an electronic device, which includes a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor. When the processor executes the computer program, the audio link detection method described in the third aspect is implemented.
[0030] In a sixth aspect, the present application provides a vehicle, including the device described in the first aspect or the electronic device described in the fifth aspect.
[0031] By means of the above technical solution, the present application provides an audio link detection device, system, method, related equipment and vehicle. The audio link detection device is communicatively connected to the vehicle head unit through an in-vehicle audio bus. The audio link detection device is configured to receive an analog drive signal sent by the vehicle head unit through the in-vehicle audio bus, convert the analog drive signal into a digital audio signal, and send the digital audio signal to the vehicle head unit. Compared with the current existing technologies, the present application can omit the links of actual speaker sound generation and microphone acquisition, avoid being interfered by external environmental sounds, and improve the accuracy of the audio link detection result.
[0032] The above description is only an overview of the technical solution of the present application. In order to be able to understand the technical means of the present application more clearly, it can be implemented according to the content of the description. And in order to make the above and other purposes, features and advantages of the present application more obvious and understandable, the following specifically illustrates the specific embodiments of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] The accompanying drawings herein are incorporated into the description and constitute a part of this description, showing embodiments consistent with the present application and used together with the description to explain the principles of the present application.
[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0035] Figure 1 Shows a schematic structural diagram of a prior art provided by an embodiment of the present application;
[0036] Figure 2 Shows a schematic structural diagram of a prior art provided by an embodiment of the present application;
[0037] Figure 3 Shows a schematic structural diagram of an audio link detection device provided by an embodiment of the present application;
[0038] Figure 4 Shows a schematic structural diagram of an audio link detection device provided by an embodiment of the present application;
[0039] Figure 5 Shows a schematic structural diagram of an audio link detection system provided by an embodiment of the present application;
[0040] Figure 6The flowchart of an audio link detection method provided by an embodiment of the present application is shown. Detailed implementation manners
[0041] In order to more clearly understand the above objects, features, and advantages of the present application, the solutions of the present application will be further described below. It should be noted that, without conflict, the embodiments of the present application and the features in the embodiments may be combined with each other.
[0042] In the prior art, as Figure 1 and Figure 2 shown, an audio test link and a test scheme are presented. For the application scenarios involved by the A2B microphone in the vehicle (such as phone calls, AI voice assistants, active noise cancellation, etc.), first, the car head unit can send a sound source to the power amplifier, then the power amplifier outputs an analog audio signal to drive the speaker to emit a sound signal, and finally the A2B microphone collects the sound signal and converts it into a digital audio signal for verification inside the car head unit 11, forming a complete closed-loop audio link. Among them, the power amplifier can be a module inside the car head unit 11 or an external independent device; the number of speakers and microphones can be multiple, and the power amplifier and the microphone can be on an A2B bus or the power amplifier uses a separate audio data transmission line, not limited to the A2B bus. However, the current test scheme has the following disadvantages:
[0043] 1. The A2B microphone needs to collect the sound actually played by the speaker, and it is easily interfered by the external environment sound, coupling the external environment sound, which may cause misjudgment of the test results.
[0044] 2. The high-frequency (such as 1KHz) sine wave sound emitted by the speaker is relatively harsh and may cause discomfort to the testers.
[0045] 3. When testing multiple devices simultaneously, the simultaneous sound emission of multiple speakers will interfere with each other.
[0046] 4. Different speaker models will affect the test results. If the speaker needs to be replaced, only the same model can be used.
[0047] 5. The distance and position between the speaker and the microphone also have a certain impact on the test results. The distortion degree of the speaker body may change after long-term use, affecting the test results, and ultimately resulting in deviations in the consistency and repeatability of the test results after long-term testing.
[0048] In order to improve the technical problem in the prior art that in the process of the A2B microphone collecting the sound actually played by the speaker, it is easily interfered by the external environment sound, coupling the external environment sound, causing misjudgment of the test results, and further affecting the accuracy of the audio link detection results. This embodiment provides an audio link detection device 12, asFigure 3 As shown, the device is communicatively connected to the vehicle head unit 11 via an in-vehicle audio bus; the audio link detection device 12 is configured to receive the analog drive signal sent by the vehicle head unit 11 via the in-vehicle audio bus, convert the analog drive signal into a digital audio signal, and send the digital audio signal to the vehicle head unit 11.
[0049] Among them, the audio link detection device 12 may include an A2B conversion board 12. Specifically, the analog drive signal can be output by the digital audio chip inside the vehicle head unit 11. The A2B conversion board 12 can directly receive the analog drive signal sent by the vehicle head unit 11 through its communication connection with the vehicle head unit 11, then convert the analog drive signal into a digital audio signal, and embed the digital audio signal into the data frame of the in-vehicle audio bus (A2B bus). The digital audio signal is uploaded to the digital audio processing chip inside the vehicle head unit 11 via the A2B bus for link detection, and it can be widely applied to various application scenarios of A2B microphone testing, including product reliability testing, electromagnetic compatibility testing, factory automation function testing, etc. Among them, the software configuration of the A2B conversion board 12 can be matched with the software configuration of the actual A2B microphone, thereby reducing the adaptation work of software development and helping to improve the reliability of test results. In this way, the links of actual speaker sound production and microphone acquisition can be omitted, avoiding interference caused by external environmental sounds or simultaneous sound production of multiple speakers, and at the same time avoiding the discomfort of testers caused by high-frequency test audio. There is no need to consider the influence caused by changing the speaker model, adjusting the distance and position between the speaker and the microphone, and the change of speaker distortion, improving the accuracy of audio link detection results.
[0050] For this embodiment, the vehicle head unit 11 can be used to perform audio link detection of the in-vehicle audio bus based on the analog drive signal and the digital audio signal. For example, the vehicle head unit 11 can use algorithms such as Fourier transform to analyze the analog drive signal and the digital audio signal, extract the amplitude or frequency of the signal for comparison, calculate the amplitude difference or frequency difference. If the calculated amplitude difference or frequency difference is within the preset difference range, it can be determined that the function of the audio link is normal and the test passes.
[0051] Optionally, the audio link detection device 12 may include: a first input terminal, a second input terminal, a first capacitor, a second capacitor, a first voltage dividing network, a second voltage dividing network, and an analog-to-digital conversion chip 121.
[0052] Among them, the first capacitor is connected to the analog-to-digital conversion chip 121 through the first voltage division network. The first capacitor is used to filter the DC voltage of the analog drive signal received at the first input terminal, and the first voltage division network is used to adjust the first AC voltage of the analog drive signal received at the first input terminal after being filtered by the first capacitor, so that the first AC voltage decays to the first target range; the second capacitor is connected to the analog-to-digital conversion chip 121 through the second voltage division network. The second capacitor is used to filter the DC voltage of the analog drive signal received at the second input terminal, and the second voltage division network is used to adjust the second AC voltage of the analog drive signal received at the second input terminal after being filtered by the second capacitor, so that the second AC voltage decays to the second target range; the analog-to-digital conversion chip 121 is used to convert the analog drive signal into a digital audio signal.
[0053] Among them, the first input terminal can be used to receive the positive terminal signal of the analog drive signal, the second input terminal can be used to receive the negative terminal signal of the analog drive signal, the first AC voltage can be the AC voltage obtained after filtering the DC voltage of the positive terminal signal of the analog drive signal, the first target range can be the AC voltage range of the positive terminal signal of the analog drive signal that the analog-to-digital conversion chip 121 can receive, the second AC voltage can be the AC voltage obtained after filtering the DC voltage of the negative terminal signal of the analog drive signal, and the second target range can be the AC voltage range of the negative terminal signal of the analog drive signal that the analog-to-digital conversion chip 121 can receive.
[0054] In this embodiment, the DC voltage of the analog drive signal can be filtered by the DC-blocking capacitor to reduce interference during signal transmission, and then the voltage division network is used to adjust the AC voltage after filtering the analog drive signal, so that the AC voltage decays to within the range of the analog-to-digital conversion chip 121, thereby protecting the analog-to-digital conversion chip 121 inside the A2B conversion board 12 from being burned out.
[0055] Exemplarily, as Figure 4 shown, the analog drive signal (analog signal) can be a differential analog signal. The differential analog signal can provide an analog signal positive terminal signal and an analog signal negative terminal signal with equal amplitude but opposite phases, which is output by the amplifier chip inside the vehicle head unit 11 and has a DC voltage of about half of the common-mode component of its own power supply. The first capacitor C1 and the second capacitor C2 can be used to remove the common-mode components at both the positive and negative ends of the analog signal, that is, filter the DC voltage and reduce interference during signal transmission. Among them, C1 and C2 can be DC-blocking capacitors of the same model.
[0056] Further optionally, the first voltage dividing network may include: a first resistor and a second resistor. The first end of the first resistor is connected to the first capacitor, the second end of the first resistor is connected to the analog-to-digital conversion chip 121, the second end of the first resistor is further connected to the first end of the second resistor, and the second end of the second resistor is grounded; the second voltage dividing network includes a third resistor and a fourth resistor. The first end of the third resistor is connected to the second capacitor, the second end of the third resistor is connected to the analog-to-digital conversion chip 121, the second end of the third resistor is further connected to the first end of the fourth resistor, and the second end of the fourth resistor is grounded.
[0057] Exemplarily, the first resistor R1 and the second resistor R2 may form the first voltage dividing network. The voltage dividing ratio is calculated according to the numerical relationship between R1 and R2, so as to adjust the magnitude of the differential mode component output after being filtered by C1, so that the magnitude of the positive end of the analog signal input to the analog-to-digital conversion chip 121 meets the range of the analog-to-digital conversion chip 121, avoiding damage to the analog-to-digital conversion chip 121. Among them, the voltage dividing ratio of the first voltage dividing network is R2 / (R1+R2), and the differential mode component may be the amplitude of the differential analog signal. Correspondingly, the third resistor R3 and the fourth resistor R4 may form the second voltage dividing network. The voltage dividing ratio is calculated according to the numerical relationship between R3 and R4, so as to adjust the magnitude of the differential mode component output after being filtered by C2, so that the magnitude of the negative end of the analog signal input to the analog-to-digital conversion chip 121 meets the range of the analog-to-digital conversion chip 121. Among them, the voltage dividing ratio of the second voltage dividing network is R4 / (R3+R4), and R1 and R3, R2 and R4 may be resistors of the same model respectively.
[0058] Optionally, the audio link detection device 12 may further include: a vehicle-mounted audio chip 122; the vehicle-mounted audio chip 122 is connected to the analog-to-digital conversion chip 121; the vehicle-mounted audio chip 122 is used to provide a clock signal for the analog-to-digital conversion chip 121, so that the analog-to-digital conversion chip 121 converts the analog drive signal into a target digital audio signal based on the clock signal.
[0059] Among them, the clock signal may include a Pulse Density Modulation (PDM) clock signal, the target digital audio signal may include a PDM digital audio signal, and the PDM digital audio signal includes a clock line and a data line. Exemplarily, the analog-to-digital conversion chip 121 may receive the PDM clock signal provided by the vehicle-mounted audio chip (A2B chip) 122, convert the analog differential signal into a digital PDM digital audio signal based on the clock beats of the PDM clock signal, and then send the PDM digital audio signal to the A2B chip 122 through the PDM data line.
[0060] Optionally, the vehicle-mounted audio chip 122 may further be used to: embed the digital audio signal into the data frame of the vehicle-mounted audio bus to send the digital audio signal to the vehicle head unit 11.
[0061] In this embodiment, the A2B conversion board 12 can embed digital audio signals into a fixed bandwidth ratio or bit interval of the in-vehicle audio bus to form data frames, and then send the digital audio signals to the vehicle head unit 11 through the in-vehicle audio bus. The vehicle head unit 11 can use algorithms such as Fourier transform to analyze the analog drive signal and the digital audio signal, extract the amplitude or frequency of the signal for comparison, and determine the link detection result according to the comparison result, so as to share the in-vehicle audio bus and support parallel testing of multiple audio test links, improving the test efficiency.
[0062] Optionally, the audio link detection device 12 may further include: an output peripheral device 123; the output peripheral device 123 is connected to the in-vehicle audio chip 122, and the output peripheral device 123 is also connected to the in-vehicle audio bus; the output peripheral device 123 is used to filter the target digital audio signal.
[0063] Exemplarily, the output peripheral device 123 may be connected to the A2B chip 122, receive the PDM digital audio signal, filter the PDM digital audio signal, and send it to the A2B conversion board 12 at the next cascaded position through the in-vehicle audio bus. Among them, the output peripheral device 123 may include two ports, namely a receive data port (port A) and a transmit data port (port B). The port A specifically includes a positive terminal of port A (AP) and a negative terminal of port A (AN), and the port B specifically includes a positive terminal of port B (BP) and a negative terminal of port B (BN). The output peripheral device 123 may be a device such as a DC-blocking capacitor.
[0064] Exemplarily, during the process of connecting multiple A2B conversion boards 12 through the in-vehicle audio bus, they can be cascaded in the form of a daisy chain. The A2B conversion board 12 can connect the B port of the output peripheral device 123 to the A port of the output peripheral device 123 of the A2B conversion board 12 at the next cascaded position, and send the signal to the A2B conversion board 12 at the next cascaded position.
[0065] Compared with the current existing technologies, in this embodiment, it communicates with the vehicle head unit 11 through the in-vehicle audio bus; the audio link detection device 12 is used to receive the analog drive signal sent by the vehicle head unit 11 through the in-vehicle audio bus, convert the analog drive signal into a digital audio signal, and send the digital audio signal to the vehicle head unit 11. By applying the technical solution of this embodiment, the links of actual speaker sound generation and microphone collection can be omitted, avoiding interference from external environmental sounds and improving the accuracy of the audio link detection result.
[0066] Further, to illustrate the specific usage process of this system, this embodiment provides an audio link detection system, as Figure 5As shown in the figure, the system includes a vehicle head unit 11 and at least one audio link detection device 12. The vehicle head unit 11 is connected to the audio link detection device 12 through an in-vehicle audio bus. The vehicle head unit 11 is used to detect the audio link of the in-vehicle audio bus based on an analog drive signal and a digital audio signal.
[0067] In this embodiment, the audio link detection device 12 can receive the analog drive signal sent by the vehicle head unit 11 through a communication connection, convert the analog drive signal into a digital audio signal, and then embed the digital audio signal into the data frame of the in-vehicle audio bus to send the digital audio signal to the vehicle head unit 11.
[0068] Optionally, the system may have multiple audio link detection devices 12 in a cascaded relationship. Different audio link detection devices 12 are used to receive different analog drive signals. The first audio link detection device 12 among the multiple audio link detection devices 12 is used to receive, through the in-vehicle audio bus, the first data frame embedded in the in-vehicle audio bus by the second audio link detection device 12 at the previous cascaded position of the first audio link detection device 12, embed the digital audio signal converted by the first audio link detection device 12 into the first data frame to obtain a second data frame, and send the second data frame through the in-vehicle audio bus to the third audio link detection device 12 at the next cascaded position of the first audio link detection device 12.
[0069] Exemplarily, the vehicle head unit 11 can allocate a fixed bandwidth ratio or bit interval for each audio link detection device 12, so that the audio link detection device 12 receives and uploads digital audio signals according to the allocated bandwidth ratio or bit interval, embeds its own digital audio signal into the in-vehicle audio bus, realizes sharing of the in-vehicle audio bus, supports parallel testing of multiple audio test links, and improves the test efficiency. Among them, the first data frame may include the data frame formed by the second audio link detection device 12 embedding the converted digital audio signal; the second data frame may be the data frame formed after the first audio link detection device 12 embeds its own converted digital audio signal into the first data frame.
[0070] Compared with the current existing technologies, in this embodiment, the vehicle head unit 11 can be connected to the audio link detection device 12 through an in-vehicle audio bus. The vehicle head unit 11 is used to detect the audio link of the in-vehicle audio bus based on an analog drive signal and a digital audio signal. By applying the technical solution of this embodiment, the links of actual speaker sound production and microphone collection can be omitted, interference from external environment sounds can be avoided, the accuracy of the audio link detection result can be improved, and in addition, multi-channel cascaded parallel testing is supported, improving the test efficiency.
[0071] Furthermore, to illustrate the specific usage process of this system, such as Figure 6As shown in the figure, this embodiment provides an audio link detection method, which includes:
[0072] Step 301: Receive the analog drive signal sent by the in-vehicle head unit through the in-vehicle audio bus.
[0073] In this embodiment, first, the in-vehicle head unit can be used as the master node in the audio link, and the A2B conversion board can be used as the slave node. Then, a communication connection between the A2B conversion board and the in-vehicle head unit is established through the in-vehicle audio bus, enabling the A2B conversion board to directly receive the analog drive signal sent by the in-vehicle head unit, eliminating the actual speaker sound generation and microphone acquisition links, avoiding interference from external environmental sounds, and improving the accuracy of the audio link detection result. Among them, the analog drive signal can be an analog differential signal obtained by amplifying the sound source signal output by the in-vehicle head unit through a power amplifier. Using the analog differential signal can improve the anti-interference ability during signal transmission.
[0074] Step 302: Convert the analog drive signal into a digital audio signal and send the digital audio signal to the in-vehicle head unit, which is used to perform audio link detection of the in-vehicle audio bus based on the analog drive signal and the digital audio signal.
[0075] Among them, the digital audio signal can include, but is not limited to, PDM digital audio signals. In this embodiment, the analog-to-digital conversion chip inside the A2B conversion board can receive the PDM clock provided by the A2B chip, and then convert the analog differential signal into a PDM digital audio signal in digital format based on the PDM clock.
[0076] Optionally, sending the digital audio signal to the in-vehicle head unit may include: embedding the digital audio signal into the data frame of the in-vehicle audio bus to send the digital audio signal to the in-vehicle head unit.
[0077] In this embodiment, the A2B conversion board can embed the digital audio signal into a fixed bandwidth ratio or bit interval of the in-vehicle audio bus to form a data frame, and then send the digital audio signal to the in-vehicle head unit through the in-vehicle audio bus. The in-vehicle head unit can then use algorithms such as Fourier transform to analyze the analog drive signal and the digital audio signal, extract the amplitude or frequency of the signal for comparison, and determine the link detection result based on the comparison result, realizing sharing of the in-vehicle audio bus, supporting parallel testing of multiple audio test links, and improving the testing efficiency.
[0078] Optionally, before converting the analog drive signal into a digital audio signal, it may further include: filtering the DC voltage of the analog drive signal; adjusting the AC voltage after filtering the analog drive signal to attenuate the AC voltage to the target range.
[0079] In this embodiment, a DC-blocking capacitor can be used to filter the DC voltage of the analog drive signal, reduce interference during signal transmission, and then use a voltage-dividing network to adjust the AC voltage after filtering the analog drive signal to attenuate the AC voltage to the target range, thereby protecting the analog-to-digital conversion chip inside the A2B conversion board from being burned out.
[0080] Compared with the current existing technologies, in this embodiment, an analog drive signal sent by the car radio can be received through the in-vehicle audio bus; then the analog drive signal is converted into a digital audio signal, and the digital audio signal is sent to the car radio, which is used to perform audio link detection of the in-vehicle audio bus based on the analog drive signal and the digital audio signal. By applying the technical solution of this embodiment, the links of actual speaker sound production and microphone collection can be omitted, avoiding interference from external environmental sounds, and improving the accuracy of audio link detection results.
[0081] Based on the above as Figure 6 shown method, correspondingly, this embodiment also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the above as Figure 6 shown method is implemented.
[0082] Based on such an understanding, the technical solution of this application can be embodied in the form of a software product, and the software product can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), including several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of various implementation scenarios of this application.
[0083] Based on the above as Figure 6 shown method, to achieve the above object, an electronic device is further provided in an embodiment of this application, which can be configured on the vehicle (such as a new energy vehicle) side or the server side, etc. The device includes a storage medium and a processor; the storage medium is used to store a computer program; the processor is used to execute the computer program to implement the above as Figure 6 shown method.
[0084] Optionally, the above-mentioned physical device may further include a user interface, a network interface, a camera, a radio frequency (RF) circuit, sensors, an audio circuit, a WI-FI module, etc. The user interface may include a display screen (Display), an input unit such as a keyboard (Keyboard), etc., and optionally the user interface may further include a USB interface, a card reader interface, etc. The network interface may optionally include a standard wired interface, a wireless interface (such as a WI-FI interface), etc.
[0085] Those skilled in the art can understand that the above-mentioned physical device structure provided in this embodiment does not constitute a limitation on the physical device, and may include more or fewer components, or combine some components, or have different component arrangements.
[0086] The storage medium may further include an operating system and a network communication module. The operating system is a program that manages the hardware and software resources of the above-mentioned physical device, and supports the operation of information processing programs and other software and / or programs. The network communication module is used to implement communication between components inside the storage medium, as well as communication with other hardware and software in the information processing physical device.
[0087] Further, based on the method as Figure 6 shown above, and the above-mentioned electronic device embodiment, this embodiment further provides a vehicle, such as Figure 5 the audio link detection system shown, or the above-mentioned electronic device.
[0088] Through the description of the above embodiments, those skilled in the art can clearly understand that this application can be implemented by means of software plus a necessary general hardware platform, or can also be implemented by hardware. Compared with the current existing technologies, by applying the technical solution of this embodiment, the links of actual speaker sound generation and microphone collection can be omitted, the interference of external environment sounds can be avoided, the accuracy of audio link detection results can be improved, and in addition, multi-channel cascaded parallel testing is supported, improving the testing efficiency.
[0089] It should be noted that in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements not only includes those elements, but also includes other elements not expressly listed, or also includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "comprising one..." does not exclude the existence of additional identical elements in the process, method, article or device comprising the element.
[0090] The above are only specific embodiments of this application, enabling those skilled in the art to understand or implement this application. Various modifications to these embodiments will be obvious to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application will not be limited to these embodiments described herein, but will conform to the widest scope consistent with the principles and novel features claimed herein.
Claims
1. An audio link detection device, characterized in that, The audio link detection device is communicatively connected to the vehicle head unit via the in-vehicle audio bus; The audio link detection device is configured to receive an analog drive signal sent by the vehicle head unit via the in-vehicle audio bus, convert the analog drive signal into a digital audio signal, and send the digital audio signal to the vehicle head unit.
2. The device according to claim 1, characterized in that, The audio link detection device includes: a first input terminal, a second input terminal, a first capacitor, a second capacitor, a first voltage dividing network, a second voltage dividing network, and an analog-to-digital conversion chip; The first capacitor is connected to the analog-to-digital conversion chip through the first voltage dividing network. The first capacitor is used to filter the DC voltage of the analog drive signal received at the first input terminal. The first voltage dividing network is used to adjust the first AC voltage of the analog drive signal received at the first input terminal after being filtered by the first capacitor, so that the first AC voltage decays to a first target range; The second capacitor is connected to the analog-to-digital conversion chip through the second voltage dividing network. The second capacitor is used to filter the DC voltage of the analog drive signal received at the second input terminal. The second voltage dividing network is used to adjust the second AC voltage of the analog drive signal received at the second input terminal after being filtered by the second capacitor, so that the second AC voltage decays to a second target range; The analog-to-digital conversion chip is used to convert the analog drive signal into the digital audio signal.
3. The device according to claim 2, wherein The first voltage dividing network includes: a first resistor and a second resistor. The first end of the first resistor is connected to the first capacitor, the second end of the first resistor is connected to the analog-to-digital conversion chip, the second end of the first resistor is also connected to the first end of the second resistor, and the second end of the second resistor is grounded; The second voltage dividing network includes a third resistor and a fourth resistor. The first end of the third resistor is connected to the second capacitor, the second end of the third resistor is connected to the analog-to-digital conversion chip, the second end of the third resistor is also connected to the first end of the fourth resistor, and the second end of the fourth resistor is grounded.
4. The device according to claim 2, characterized in that The audio link detection device further includes: an in-vehicle audio chip; The in-vehicle audio chip is connected to the analog-to-digital conversion chip; The in-vehicle audio chip is used to provide a clock signal for the analog-to-digital conversion chip, so that the analog-to-digital conversion chip converts the analog drive signal into a target digital audio signal based on the clock signal.
5. The device according to claim 4, characterized in that, The in-vehicle audio chip is further used for: Embedding the digital audio signal into the data frame of the in-vehicle audio bus to send the digital audio signal to the vehicle head unit.
6. The device according to claim 4, wherein The audio link detection device further includes: output peripheral devices; The output peripheral devices are connected to the in-vehicle audio chip, and the output peripheral devices are also connected to the in-vehicle audio bus; The output peripheral devices are used to perform filtering processing on the target digital audio signal.
7. An audio link detection system, characterized in that, Including a vehicle head unit and at least one audio link detection device as described in any one of claims 1 to 6. The vehicle head unit is connected to the audio link detection device via the in-vehicle audio bus. The vehicle head unit is used to perform audio link detection of the in-vehicle audio bus based on the analog drive signal and the digital audio signal.
8. The system according to claim 7, wherein Including a plurality of the audio link detection devices having a cascading relationship, different ones of the audio link detection devices are used to receive different analog drive signals; A first audio link detection device among the plurality of the audio link detection devices is configured to receive, via the in-vehicle audio bus, a first data frame embedded in the in-vehicle audio bus by a second audio link detection device at the previous cascading position of the first audio link detection device, embed a digital audio signal obtained by conversion by the first audio link detection device into the first data frame to obtain a second data frame, and send the second data frame via the in-vehicle audio bus to a third audio link detection device at the next cascading position of the first audio link detection device.
9. An audio link detection method, characterized in that Comprising: Receiving, via the in-vehicle audio bus, an analog drive signal sent by the vehicle head unit; Converting the analog drive signal into a digital audio signal and sending the digital audio signal to the vehicle head unit, and the vehicle head unit is configured to perform audio link detection of the in-vehicle audio bus based on the analog drive signal and the digital audio signal.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, the method according to claim 9 is implemented.
11. An electronic device, comprising a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, wherein, When the processor executes the computer program, the method according to claim 9 is implemented.
12. A vehicle, characterized in that, Comprising: The system according to claim 7 or 8, or the electronic device according to claim 11.