Vehicle audio link detection device, detection method and vehicle
By using the audio output control unit and the conversion unit to compare the driving electrical signal with the detection of the audio source electrical signal in the vehicle audio link detection, the problems of external noise and synchronous interference are solved, and more accurate detection results and health protection are achieved.
Patent Information
- Application Number
- CN202410089305.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-22
- Publication Date
- 2025-07-22
AI Technical Summary
In the prior art, vehicle audio link detection is susceptible to external noise interference and homofrequency interference, which affects the accuracy of the detection results, and the large audio playback volume may harm the health of the detector.
The audio output control unit is used to convert the detected audio source electrical signal into a driving electrical signal, and play it through the audio playback unit and collects the driving electrical signal by the audio conversion unit. The audio output control unit compares the detection results of the audio source electrical signal and the driving electrical signal to determine the detection results of the vehicle audio link to avoid direct acquisition of acoustic signals.
It improves the accuracy of vehicle audio link detection, avoids external noise interference and co-frequency interference, and protects the health of detectors.
Smart Images

Figure CN120358445A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of vehicles, and particularly to a vehicle audio link detection device, a detection method and a vehicle. Background Art
[0002] With the development of vehicle technology and the improvement of living standards, consumers' requirements for vehicles are getting higher and higher. An audio link is usually set in a vehicle to play audio such as navigation, music or emergency rescue.
[0003] In the related art, before the vehicle leaves the factory, the vehicle audio link needs to be detected to ensure that the vehicle audio link can be used normally. The detection of the vehicle audio link generally uses an MCU (Micro controller Unit) to drive an external speaker to play audio, and a microphone to collect audio information, and feedback the audio information to the MCU through the vehicle audio bus. Based on the comparison between the input audio information and the standard audio information output by the MCU, it is judged whether the operation of the vehicle audio link is normal. Since the collected audio information is an acoustic signal played by the speaker, it is easy to be doped with external noise during the test, and the excessive volume of the audio will also damage the health of the detection personnel. Moreover, when multiple vehicles are detected for the audio link at the same time, there is a problem of co-frequency interference between different vehicles, which affects the accuracy of the detection results. Summary of the Invention
[0004] In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a vehicle audio link detection device, a detection method and a vehicle, which improve the detection accuracy of the vehicle audio link.
[0005] In a first aspect, the present disclosure provides a vehicle audio link detection device, including: an audio output control unit, an audio playback unit and an audio conversion unit;
[0006] The audio output control unit is electrically connected to the audio playback unit, the audio playback unit is electrically connected to the audio conversion unit, and the audio conversion unit is electrically connected to the audio output control unit;
[0007] The audio output control unit is configured to convert a detection sound source electrical signal into a driving electrical signal to drive the audio playback unit;
[0008] The audio playback unit is configured to play audio information corresponding to the driving electrical signal;
[0009] The audio conversion unit is configured to obtain the driving electrical signal output by the audio playback unit and transmit it to the audio output control unit; wherein, the driving electrical signal output by the audio playback unit is an electrical signal corresponding to the audio information played by the audio playback unit;
[0010] The audio output control unit determines the detection result of the vehicle audio link according to the comparison result between the detected sound source electrical signal and the driving electrical signal output by the audio playback unit.
[0011] Optionally, the audio output control unit includes:
[0012] An audio control subunit and an audio amplification subunit;
[0013] The output end of the audio control subunit is connected to the input end of the audio amplification subunit, and the output end of the audio amplification subunit is connected to the input end of the audio playback unit;
[0014] The audio control subunit is configured to output a detected sound source electrical signal;
[0015] The audio amplification subunit is used to convert the detected sound source electrical signal into a driving electrical signal to drive the audio playback unit.
[0016] Optionally, the audio conversion unit includes:
[0017] The audio conversion unit includes:
[0018] A voltage conversion subunit and an analog-to-digital conversion subunit;
[0019] The voltage conversion subunit is electrically connected to the analog-to-digital conversion subunit;
[0020] The voltage conversion subunit is used to convert the operating voltage of the driving electrical signal output by the audio playback unit into the operating voltage of the audio output control unit;
[0021] The analog-to-digital conversion subunit is used to convert the driving electrical signal output by the audio playback unit from an analog signal to a digital signal.
[0022] Optionally, the vehicle audio link detection device further includes: a vehicle audio bus, and the audio conversion unit and the audio output control unit are electrically connected through the vehicle audio bus.
[0023] In a second aspect, the present disclosure also provides a vehicle audio link detection method, which is applicable to the vehicle audio link detection device as described in the first aspect. The detection method includes:
[0024] Obtain the driving electrical signal output by the audio playback unit; wherein, the driving electrical signal is an electrical signal corresponding to the audio information played by the audio playback unit;
[0025] Determine the detection result of the vehicle audio link based on the comparison result between the detected sound source electrical signal and the driving electrical signal output by the audio playback unit.
[0026] Optionally, determining the detection result of the vehicle audio link according to the comparison result between the detected sound source electrical signal of the audio output control unit and the driving electrical signal output by the audio playback unit includes:
[0027] Based on that the frequency difference between the detected sound source electrical signal of the audio output control unit and the driving electrical signal output by the audio playback unit is greater than a preset difference threshold, determining that the detection result of the vehicle audio link is a vehicle audio link failure.
[0028] Optionally, before determining the detection result of the vehicle audio link according to the comparison result between the detected sound source electrical signal of the audio output control unit and the driving electrical signal output by the audio playback unit, it further includes:
[0029] Obtaining the amplitude of the driving electrical signal output by the audio playback unit;
[0030] Based on that the amplitude is greater than a preset amplitude threshold, performing the operation of determining the detection result of the vehicle audio link according to the comparison result between the detected sound source electrical signal of the audio output control unit and the driving electrical signal output by the audio playback unit.
[0031] Optionally, before determining the detection result of the vehicle audio link according to the comparison result between the detected sound source electrical signal of the audio output control unit and the driving electrical signal output by the audio playback unit, it further includes:
[0032] Obtaining the amplitude of the driving electrical signal output by the audio playback unit;
[0033] Based on that the amplitude is less than or equal to a preset amplitude threshold, determining that the driving electrical signal output by the audio playback unit is a noise signal, and returning to execute the operation of obtaining the driving electrical signal output by the audio playback unit.
[0034] Optionally, after determining the vehicle audio link failure, it includes:
[0035] Outputting a fault prompt message.
[0036] In a third aspect, the present disclosure also provides an electronic device, including a processor and a memory. The processor executes the steps of the method as described in the second aspect by calling a program or instruction stored in the memory.
[0037] In a fourth aspect, the present disclosure also provides a vehicle, including the vehicle audio link detection device as described in the first aspect, or including the electronic device as described in the third aspect.
[0038] The technical solution provided by the present disclosure has the following advantages compared with the prior art:
[0039] The vehicle audio link detection device, detection method and vehicle provided by the present disclosure, the vehicle audio link detection device includes: an audio output control unit, an audio playback unit and an audio conversion unit; the audio output control unit is electrically connected to the audio playback unit, the audio playback unit is electrically connected to the audio conversion unit, and the audio conversion unit is electrically connected to the audio output control unit; the audio output control unit is configured to convert the detected sound source electrical signal into a driving electrical signal to drive the audio playback unit; the audio playback unit is configured to play audio information corresponding to the driving electrical signal; the audio conversion unit is configured to obtain the driving electrical signal output by the audio playback unit and transmit it to the audio output control unit; wherein, the driving electrical signal output by the audio playback unit is an electrical signal corresponding to the audio information played by the audio playback unit; the audio output control unit determines the detection result of the vehicle audio link according to the comparison result between the detected sound source electrical signal and the driving electrical signal output by the audio playback unit. Thus, by setting the audio output control unit to compare the driving electrical signal output by the audio playback unit with the detected sound source electrical signal output by the audio output control unit, the detection result of the vehicle audio link is determined, and it is not necessary to collect the audio signal output by the audio playback unit, that is, the acoustic signal, avoiding the problems that the acoustic signal is easily interfered by external environmental noise and the co-frequency interference of other vehicles being detected at the same time, improving the detection accuracy, and also avoiding the problem that the audio volume played by the audio playback unit is too large and damages the health of the detection personnel. Description of the Drawings
[0040] The drawings here are incorporated into the specification and form a part of this specification, showing embodiments consistent with the present disclosure, and are used together with the specification to explain the principles of the present disclosure.
[0041] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure 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.
[0042] Figure 1 Schematic structural diagram of a vehicle audio link detection device provided by an embodiment of the present disclosure;
[0043] Figure 2 Schematic structural diagram of another vehicle audio link detection device provided by an embodiment of the present disclosure;
[0044] Figure 3 Schematic structural diagram of another vehicle audio link detection device provided by an embodiment of the present disclosure;
[0045] Figure 4 Schematic flow diagram of a vehicle audio link detection method provided by an embodiment of the present disclosure;
[0046] Figure 5 It is a schematic flowchart of a vehicle audio link detection method provided by an embodiment of the present disclosure;
[0047] Figure 6 It is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.
[0048] Among them, the corresponding relationship between the reference numerals and the structural names: 1. Audio output control unit; 2. Audio playback unit; 3. Audio conversion unit; 4. Vehicle audio bus; 11. Audio control sub-unit; 12. Audio amplification sub-unit; 31. Voltage conversion sub-unit; 32. Analog-to-digital conversion sub-unit. Detailed implementation manners
[0049] In order to more clearly understand the above objects, features and advantages of the present disclosure, the solutions of the present disclosure will be further described below. It should be noted that, without conflict, the embodiments of the present disclosure and the features in the embodiments may be combined with each other.
[0050] Many specific details are set forth in the following description in order to fully understand the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only a part of the embodiments of the present disclosure, rather than all the embodiments.
[0051] An embodiment of the present disclosure provides a vehicle audio link detection device. Figure 1 It is a schematic structural diagram of a vehicle audio link detection device provided by an embodiment of the present disclosure. As Figure 1 shown, the vehicle audio link detection device includes: an audio output control unit 1, an audio playback unit 2, and an audio conversion unit 3; the audio output control unit 1 is electrically connected to the audio playback unit 2, the audio playback unit 2 is electrically connected to the audio conversion unit 3, and the audio conversion unit 3 is electrically connected to the audio output control unit 1; the audio output control unit 1 is configured to convert the detected sound source electrical signal into a driving electrical signal to drive the audio playback unit 2; the audio conversion unit 3 is configured to obtain the driving electrical signal output by the audio playback unit 2 and transmit it to the audio output control unit 1; the audio output control unit 1 determines the detection result of the vehicle audio link according to the comparison result between the detected sound source electrical signal and the driving electrical signal output by the audio playback unit 2.
[0052] Specifically, as Figure 1As shown, the audio output control unit 1 outputs a detected sound source electrical signal, converts the detected sound source electrical signal into a driving electrical signal, and outputs the driving electrical signal to the audio playback unit 2 for driving the audio playback unit 2 to play. The audio conversion unit 3 collects the driving electrical signal output by the audio playback unit 2. For example, the voltage across the audio playback unit 2 can be collected to obtain the driving electrical signal output by the audio playback unit 2. And transmits the collected driving electrical signal output by the audio playback unit 2 to the audio output control unit 1. The audio output control unit 1 compares the detected sound source electrical signal with the driving electrical signal output by the audio playback unit 2. Exemplarily, when the difference between the frequency of the detected sound source electrical signal and the frequency of the driving electrical signal output by the audio playback unit 2 is less than or equal to the preset frequency difference range, it indicates that the driving electrical signal output by the audio playback unit 2 has not changed significantly during transmission, and it is determined that the vehicle audio link is operating normally. When the difference between the frequency of the detected sound source electrical signal and the frequency of the driving electrical signal output by the audio playback unit 2 is greater than the preset frequency difference range, it indicates that the driving electrical signal has changed significantly during transmission through the audio output control unit 1, the audio playback unit 2, and the audio conversion unit 3. It is determined that a fault has occurred in the vehicle audio link, resulting in a large deviation of the driving electrical signal output by the audio playback unit 2 compared to the detected sound source signal. Subsequently, the user can be prompted to troubleshoot the fault of the vehicle audio link.
[0053] In the embodiment of the present disclosure, by setting the audio output control unit 1 to compare the driving electrical signal output by the audio playback unit 2 with the detected sound source electrical signal output by the audio output control unit 1, the detection result of the vehicle audio link is determined. It is not necessary to collect the audio signal output by the audio playback unit 2, that is, the acoustic signal, avoiding the problems of being easily interfered by external environmental noise and being interfered by the same frequency of other vehicles being detected simultaneously during the collection of the acoustic signal, improving the detection accuracy, and also avoiding the problem of damaging the health of the detection personnel due to the excessive volume of the audio played by the audio playback unit 2.
[0054] Figure 2 It is a schematic structural diagram of another vehicle audio link detection device provided by the embodiment of the present disclosure. Optionally, as Figure 2 shown, the audio output control unit 1 includes: an audio control subunit 11 and an audio amplification subunit 12; the output end of the audio control subunit 11 is connected to the input end of the audio amplification subunit 12, and the output end of the audio amplification subunit 12 is connected to the input end of the audio playback unit 2; the audio control subunit 11 is configured to output a detected sound source electrical signal; the audio amplification subunit 12 is used to convert the detected sound source electrical signal into a driving electrical signal to drive the audio playback unit 2.
[0055] Specifically, as Figure 2As shown, the audio control subunit 11 can be, for example, an MCU. The output end of the audio control subunit 11 outputs a detected sound source signal to the audio amplification subunit 12. The detected sound source signal is, for example, a 1kHz standard sine wave. The audio amplification subunit 12 can be, for example, a power amplifier (Amplifie, AMP). The audio amplification subunit 12 is used to amplify the power of the detected sound source signal, convert the sine wave signal into a PWM (Pulse width modulation) signal and then use it as a driving electrical signal, and output the driving electrical signal to the audio playback unit 2 for driving the audio playback unit 2 to play audio. The audio conversion unit 3 transmits the obtained driving electrical signal output by the audio playback unit 2 to the audio control subunit 11. The audio control subunit 11 determines the detection result of the vehicle audio link according to the comparison result between the detected sound source electrical signal and the driving electrical signal output by the audio playback unit 2.
[0056] The E-call function refers to road life rescue, which is a general term for an in-vehicle alarm system and offline first aid service. In the vehicle audio link with the E-CALL function, its audio playback unit 2 is used to play audio information such as alarms. Exemplarily, the audio output control unit 1 outputs a detected sound source electrical signal, converts the detected sound source electrical signal into a driving electrical signal and outputs it to the audio playback unit 2 for driving the audio playback unit 2 to play E-call information, and transmits the collected driving electrical signal output by the audio playback unit 2 to the audio output control unit 1. The audio output control unit 1 compares the detected sound source electrical signal and the driving electrical signal output by the audio playback unit 2 to determine the detection result of the vehicle audio link. The specific detection method can refer to the above embodiments and will not be elaborated here. Thus, it can be determined that the vehicle audio link can play E-call information, improving the safety of the vehicle.
[0057] Figure 3 This is a schematic structural diagram of another vehicle audio link detection device provided by an embodiment of the present disclosure. Optionally, as Figure 3 shown, the audio conversion unit 3 includes: a voltage conversion subunit 31 and an analog-to-digital conversion subunit 32; the voltage conversion subunit 31 is electrically connected to the analog-to-digital conversion subunit 32; the voltage conversion subunit 31 is used to convert the working voltage of the driving electrical signal output by the audio playback unit 2 into the working voltage of the audio output control unit 1; the analog-to-digital conversion subunit 32 is used to convert the driving electrical signal output by the audio playback unit 2 from an analog signal into a digital signal.
[0058] Specifically, as Figure 3As shown, the voltage conversion subunit 31 can be, for example, a transformer. The voltage conversion subunit 31 obtains the driving electrical signal output by the audio playback unit 2. The voltage conversion subunit 31 can, for example, collect the voltage across the audio playback unit 2 to obtain the driving electrical signal output by the audio playback unit 2. Since the voltage of the driving electrical signal output by the audio playback unit 2 is higher than the operating voltage of the audio output control unit 1, the voltage conversion subunit 31 is required to reduce the voltage of the driving electrical signal output by the audio playback unit 2 to the operating voltage of the audio output control unit 1 to ensure that the audio output control unit 1 can perform subsequent operations normally.
[0059] The driving electrical signal output by the audio playback unit 2 is a PWM signal, that is, an analog signal. The audio output control unit 1 needs to process the digital signal to obtain the frequency information of the driving electrical signal output by the frequency playback unit. Therefore, it is set that the audio conversion unit 3 further includes an analog-to-digital conversion subunit 32. The analog-to-digital conversion subunit 32 can be, for example, an ADC (Analog to Digital Converter). The analog-to-digital conversion subunit 32 is used to convert the driving electrical signal output by the audio playback unit 2 from an analog signal to a digital signal and transmit the driving electrical signal output by the audio playback unit 2 in digital signal form to the audio playback control unit. The audio output control unit 1 performs FFT (Fast Fourier Transform) processing on the driving electrical signal output by the audio playback unit 2 in digital signal form to extract the frequency information in the driving electrical signal output by the audio playback unit 2, and compares the frequency information in the driving electrical signal output by the audio playback unit 2 with the frequency information in the detected sound source signal to determine the detection result of the vehicle audio link.
[0060] It should be noted that the specific processing method of the fast Fourier transform is well-known to those skilled in the art, and the embodiments of the present disclosure do not limit this.
[0061] Optionally, as Figure 3 shown, the vehicle audio link detection device further includes: a vehicle audio bus 4 (Automotive Audio Bus, A2B). The audio conversion unit 3 and the audio output control unit 1 are electrically connected through the vehicle audio bus 4.
[0062] Specifically, as Figure 3As shown, the vehicle audio bus 4 electrically connects the audio conversion unit 3 and the audio output control unit 1. The vehicle audio bus 4 includes, for example, a first end and a second end. The first end is, for example, the slave node of the vehicle audio bus 4, and the second end is, for example, the master node. The first end of the vehicle audio bus 4 is electrically connected to the output end of the audio conversion unit 3, and the second end is electrically connected to the input end of the audio output control unit 1. After the audio conversion unit 3 converts the drive electrical signal output by the audio playback unit 2 from an analog signal to a digital signal, the first end receives the digital signal output by the audio conversion unit 3, and the second end receives the digital signal transmitted by the first end and transmits the digital signal to the audio output control unit 1.
[0063] Exemplarily, in a vehicle audio link with an E-call function, the vehicle audio bus 4 is used to connect each audio unit in the vehicle audio link. For example, in the embodiments of the present disclosure, the vehicle audio bus 4 electrically connects the audio conversion unit 3 and the audio output control unit 1. When the vehicle audio bus 4 fails, the E-call function cannot be realized normally, affecting the safety of the vehicle. The digital signal output by the audio conversion unit 3 is transmitted to the audio output control unit 1 through the vehicle audio bus 4. The audio output control unit 1 compares the detected sound source electrical signal and the drive electrical signal output by the audio playback unit 2 to determine the normal operation of the vehicle audio link and also determine the normal operation of the vehicle audio bus 4.
[0064] Thus, the automatic detection of the vehicle audio link with the E-call function is realized, the reliability of the E-call function is improved, and further the running safety of the vehicle is enhanced.
[0065] The vehicle audio link detection device provided by the embodiments of the present disclosure determines the detection result of the vehicle audio link by setting the audio output control unit 1 to compare the drive electrical signal output by the audio playback unit 2 with the detected sound source electrical signal output by the audio output control unit 1, without collecting the audio signal (i.e., the acoustic signal) output by the audio playback unit 2. This avoids the problems of being easily interfered by external environmental noise and being interfered by other vehicles being detected simultaneously at the same frequency during the collection of the acoustic signal, improves the detection accuracy, and also avoids the problem of damaging the health of the detection personnel due to the excessive volume of the audio played by the audio playback unit 2. Moreover, the vehicle audio link detection device can detect the vehicle audio link with the E-call function, improve the reliability of the E-call function, and further enhance the running safety of the vehicle.
[0066] The embodiments of the present disclosure also provide a vehicle audio link detection method. This method is applied to scenarios where the vehicle audio link needs to be detected, and the vehicle audio link detection method can be implemented in software and / or hardware. Figure 4Schematic flowchart of a vehicle audio link detection method provided by an embodiment of the present disclosure. The vehicle audio link detection method is applicable to the vehicle audio link detection device described in the above embodiment, and the detection method can be executed by an audio output control unit in the vehicle audio link detection device. For example, Figure 4 As shown, the vehicle audio link detection method includes:
[0067] S101. Obtain a drive electrical signal output by an audio playback unit.
[0068] Among them, the drive electrical signal is an electrical signal corresponding to the audio information played by the audio playback unit.
[0069] Specifically, in order to avoid the acoustic signal output by the audio playback unit being easily affected by external noise when detecting whether the vehicle audio link is operating normally, and to avoid the problem of co-frequency interference between vehicles when multiple vehicles simultaneously perform vehicle audio link detection, the drive electrical signal output by the audio playback unit can be obtained. The drive electrical signal output by the audio playback unit is not affected by external noise and is not affected by the co-frequency interference of other vehicles being tested simultaneously. The drive electrical signal output by the audio playback unit is an electrical signal corresponding to the audio information played by the audio playback unit, and the audio conversion unit can determine the drive electrical signal output by the audio playback unit by collecting the voltage across the audio playback unit.
[0070] S102. Determine the detection result of the vehicle audio link according to the comparison result between the detected sound source electrical signal of the audio output control unit and the drive electrical signal output by the audio playback unit.
[0071] For example, when the audio playback unit fails, the frequency of the drive electrical signal output by the audio playback unit will change compared to the detected sound source signal. When the audio playback unit is operating normally, the difference in frequency between the drive electrical signal output by the audio playback unit and the detected sound source signal is less than or equal to a preset difference threshold.
[0072] And when the vehicle audio bus, audio conversion unit, etc. in the vehicle audio link are operating normally, the difference in frequency between the drive electrical signal output by the audio playback unit transmitted by them and the detected sound source signal is less than or equal to the preset difference threshold. Therefore, the drive electrical signal output by the audio playback unit can be obtained to determine that the vehicle audio link is operating normally.
[0073] Optionally, determining the detection result of the vehicle audio link according to the comparison result between the detected sound source electrical signal of the audio output control unit and the drive electrical signal output by the audio playback unit includes:
[0074] Based on the frequency difference between the detected sound source electrical signal of the audio output control unit and the driving electrical signal output by the audio playback unit being greater than the preset difference threshold, it is determined that the detection result of the vehicle audio link is a vehicle audio link failure.
[0075] Specifically, the frequency value of the detected sound source electrical signal can be pre-stored. After obtaining the driving electrical signal output by the audio playback unit, perform FFT processing on the driving electrical signal output by the audio playback unit to extract the frequency information in the driving electrical signal output by the audio playback unit. Obtain the frequency difference between the detected sound source electrical signal of the audio output control unit and the driving electrical signal output by the audio playback unit. When the frequency difference is greater than the preset difference threshold, it indicates that there is a large deviation in the transmission process of the driving electrical signal converted from the detected sound source electrical signal in the vehicle audio link, and the vehicle audio link has failed. When the frequency difference is less than or equal to the preset difference threshold, it indicates that the vehicle audio link normally transmits the driving electrical signal converted from the detected sound source electrical signal, determines that the vehicle audio link is operating normally, and repeatedly executes the operation of determining the detection result of the vehicle audio link according to the comparison result between the detected sound source electrical signal of the audio output control unit and the driving electrical signal output by the audio playback unit until the loop count preset by the tester is reached.
[0076] Optionally, before determining the detection result of the vehicle audio link according to the comparison result between the detected sound source electrical signal of the audio output control unit and the driving electrical signal output by the audio playback unit, it further includes:
[0077] Obtain the amplitude of the driving electrical signal output by the audio playback unit;
[0078] Based on the amplitude being greater than the preset amplitude threshold, perform the operation of determining the detection result of the vehicle audio link according to the comparison result between the detected sound source electrical signal of the audio output control unit and the driving electrical signal output by the audio playback unit.
[0079] Specifically, in order to exclude the influence of background noise such as current in the vehicle audio link, the amplitude of the driving electrical signal output by the audio playback unit can be obtained first before comparing the detected sound source electrical signal of the audio output control unit and the driving electrical signal output by the audio playback unit. When the amplitude is greater than the preset amplitude threshold, it is determined that the collected driving electrical signal output by the audio playback unit is not generated by background noise such as current, so the operation of determining the detection result of the vehicle audio link according to the comparison result between the detected sound source electrical signal of the audio output control unit and the driving electrical signal output by the audio playback unit can be continued.
[0080] Optionally, before determining the detection result of the vehicle audio link according to the comparison result between the detected sound source electrical signal of the audio output control unit and the driving electrical signal output by the audio playback unit, it further includes:
[0081] Obtain the amplitude of the drive electrical signal output by the audio playback unit;
[0082] Based on the amplitude being less than or equal to a preset amplitude threshold, determine that the drive electrical signal output by the audio playback unit is a noise signal, and return to perform the operation of obtaining the drive electrical signal output by the audio playback unit.
[0083] Specifically, when the amplitude of the drive electrical signal output by the audio playback unit is less than or equal to the preset amplitude threshold, it is determined that the drive electrical signal output by the audio playback unit is the drive electrical signal generated by the equal bottom noise of the current. This signal cannot be used to determine whether the vehicle audio link is operating normally. Therefore, it is necessary to return to perform the operation of obtaining the drive electrical signal output by the audio playback unit to improve the accuracy of the detection result and avoid the influence of the noise signal on the detection result.
[0084] Optionally, after determining a vehicle audio link failure, it includes: outputting a failure prompt message.
[0085] Specifically, after determining a vehicle audio link failure, a failure prompt message can be output to the user to prompt the user to repair the vehicle audio link in a timely manner. The form of the prompt message can include, for example, sound, light, or image. Exemplarily, a light can be emitted, such as a flashing light or a continuous light, to prompt that there is a failure in the vehicle audio link; a picture can also be displayed, and the content of the picture can include a prompt text for the abnormality of the vehicle audio link and other content with a prompting effect. The embodiments of the present disclosure are not limited thereto; a sound reminder can also be performed, such as emitting a sentence like "Vehicle audio link failure" or other sentences with a similar semantics, or a buzzer alarm can be set. When there is a vehicle audio link failure, the buzzer alarm emits a sound for alarm, and other alarm devices that can emit a sound alarm can also be set. The embodiments of the present disclosure do not make any limitations thereto.
[0086] Figure 5 This is a specific process schematic diagram of a vehicle audio link detection method provided by an embodiment of the present disclosure. As Figure 5 shown, the vehicle audio link detection method includes:
[0087] S201. The audio control subunit transmits the detection sound source signal to the audio amplification subunit.
[0088] S202. The audio amplification subunit converts the detection sound source electrical signal into a drive electrical signal to drive the audio playback unit.
[0089] S203. The audio conversion unit collects the drive electrical signal corresponding to the audio information played by the audio playback unit and converts the drive electrical signal from an analog signal to a digital signal.
[0090] S204. The audio conversion unit feeds back the digital signal to the audio control subunit through the vehicle audio bus.
[0091] S205. The audio control subunit performs FFT processing on the digital signal and compares it with the detected sound source signal.
[0092] S206. Based on that the frequency difference between the detected sound source electrical signal of the audio output control unit and the driving electrical signal output by the audio playback unit is less than or equal to a preset difference threshold, it is determined that the detection result of the vehicle audio link is normal operation.
[0093] The embodiments of the present disclosure also provide an electronic device, which may include a processor and a memory. Figure 6 It is a schematic structural diagram of an electronic device provided by the embodiments of the present disclosure. As Figure 6 shown, the electronic device includes a processor 601 and a memory 602. The processor 601 executes the steps of the vehicle audio link detection method in the above embodiments by calling the programs or instructions stored in the memory 602, and thus has the beneficial effects of the above embodiments, which will not be elaborated here.
[0094] Specifically, as Figure 6 shown, it can be set that the electronic device includes at least one processor 601, at least one memory 602 and at least one communication interface 603. Each component in the electronic device is coupled together through a bus system 604. The communication interface 603 is used for information transmission with external devices. It can be understood that the bus system 604 is used to realize the connection and communication between these components. The bus system 604 includes, in addition to the data bus, a power bus, a control bus and a status signal bus. However, for the sake of clear illustration, in Figure 6 all kinds of buses are labeled as the bus system 604.
[0095] It can be understood that the memory 602 in this embodiment can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. In some embodiments, the memory 602 stores the following elements: executable units or data structures, or subsets thereof, or extended sets thereof, an operating system and applications. In the embodiments of the present disclosure, the processor 601 executes the steps of the vehicle audio link detection method provided by the embodiments of the present disclosure by calling the programs or instructions stored in the memory 602.
[0096] The vehicle audio link detection method provided by the embodiments of the present disclosure can be applied to or implemented by the processor 601. The processor 601 can be an integrated circuit chip with signal processing capabilities. In the implementation process, the steps of the above method can be completed by the integrated logic circuit in the hardware of the processor 601 or the instructions in the form of software. The above-mentioned processor 601 can be a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc.
[0097] The steps of the vehicle audio link detection method provided by the embodiments of the present disclosure can be directly embodied as being executed and completed by the hardware decoding processor, or executed and completed by the combination of the hardware and software units in the decoding processor. The software unit can be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. This storage medium is located in the memory 602, and the processor 601 reads the information in the memory 602 and combines its hardware to complete the steps of the method.
[0098] The electronic device may further include one or more physical components to execute the instructions generated when the processor 601 executes the vehicle audio link detection method provided by the embodiments of the present application. Different physical components can be set inside or outside the electronic device, such as a cloud server, etc. Each physical component cooperates with the processor 601 and the memory 602 to realize the functions of the electronic device in this embodiment.
[0099] The embodiments of the present disclosure also provide a vehicle, which may include the vehicle audio link detection device as described in the above embodiments, or include the electronic device as described in the above embodiments. Therefore, the vehicle provided by the embodiments of the present disclosure has the beneficial effects described in the above embodiments. In addition, the vehicle described in the embodiments of the present disclosure can be an autonomous vehicle, a pure electric vehicle or a hybrid electric vehicle, etc. The embodiments of the present disclosure do not make specific limitations on this.
[0100] The embodiments of the present disclosure also provide a vehicle, which includes the vehicle audio link detection device as described in the above embodiments. Therefore, the vehicle provided by the embodiments of the present disclosure has the beneficial effects described in the above embodiments.
[0101] In addition, the vehicle described in the embodiments of the present disclosure may be a fuel vehicle, a pure electric vehicle, a hybrid electric vehicle, etc., and the embodiments of the present disclosure do not make specific limitations thereto.
[0102] From the above description of the embodiments, those skilled in the art can clearly understand that this application can be implemented by means of software and necessary general-purpose hardware. Of course, it can also be implemented by hardware, but in many cases the former is a better implementation. Based on such an understanding, the technical solution of this application, in essence, or the part that contributes to the prior art can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as a floppy disk, a read-only memory (ROM), a random access memory (RAM), a flash memory (FLASH), a hard disk, or an optical disc of a computer, etc., and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods of the various embodiments of the present disclosure.
[0103] It should be noted that in this document, 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 terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "including a..." does not exclude the existence of additional identical elements in the process, method, article or device including the said element.
[0104] The above are only specific embodiments of the present disclosure, enabling those skilled in the art to understand or implement the present disclosure. 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 the present disclosure. Therefore, the present disclosure will not be limited to these embodiments described herein, but will be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A vehicle audio link detection device, characterized in that, Including: An audio output control unit, an audio playback unit, and an audio conversion unit; The audio output control unit is electrically connected to the audio playback unit, the audio playback unit is electrically connected to the audio conversion unit, and the audio conversion unit is electrically connected to the audio output control unit; The audio output control unit is configured to convert a detected sound source electrical signal into a driving electrical signal to drive the audio playback unit; The audio playback unit is configured to play audio information corresponding to the driving electrical signal; The audio conversion unit is configured to obtain the driving electrical signal output by the audio playback unit and transmit it to the audio output control unit; wherein, the driving electrical signal output by the audio playback unit is an electrical signal corresponding to the audio information played by the audio playback unit; The audio output control unit determines the detection result of the vehicle audio link according to the comparison result between the detected sound source electrical signal and the driving electrical signal output by the audio playback unit.
2. The vehicle audio link detection device according to claim 1, wherein The audio output control unit includes: An audio control subunit and an audio amplification subunit; The output end of the audio control subunit is connected to the input end of the audio amplification subunit, and the output end of the audio amplification subunit is connected to the input end of the audio playback unit; The audio control subunit is configured to output a detected sound source electrical signal; The audio amplification subunit is used to convert the detected sound source electrical signal into a driving electrical signal to drive the audio playback unit.
3. The vehicle audio link detection device according to claim 1, wherein The audio conversion unit includes: A voltage conversion subunit and an analog-to-digital conversion subunit; The voltage conversion subunit is electrically connected to the analog-to-digital conversion subunit; The voltage conversion subunit is used to convert the operating voltage of the driving electrical signal output by the audio playback unit into the operating voltage of the audio output control unit; The analog-to-digital conversion subunit is used to convert the driving electrical signal output by the audio playback unit from an analog signal to a digital signal.
4. The vehicle audio link detection device according to claim 1, wherein It further includes: a vehicle audio bus, and the audio conversion unit and the audio output control unit are electrically connected through the vehicle audio bus.
5. A method for detecting a vehicle audio link, characterized in that, The detection method includes: Obtaining the driving electrical signal output by the audio playback unit; wherein, the driving electrical signal is an electrical signal corresponding to the audio information played by the audio playback unit; Determining the detection result of the vehicle audio link based on the comparison result between the detected sound source electrical signal and the driving electrical signal output by the audio playback unit.
6. The vehicle audio link detection method according to claim 5, wherein, The determining the detection result of the vehicle audio link according to the comparison result between the detected sound source electrical signal of the audio output control unit and the driving electrical signal output by the audio playback unit includes: Based on the frequency difference between the detected sound source electrical signal of the audio output control unit and the driving electrical signal output by the audio playback unit being greater than a preset difference threshold, determining that the detection result of the vehicle audio link is a vehicle audio link failure.
7. The vehicle audio link detection method according to claim 5, wherein Before determining the detection result of the vehicle audio link according to the comparison result between the detected sound source electrical signal of the audio output control unit and the driving electrical signal output by the audio playback unit, it further includes: Obtaining the amplitude of the driving electrical signal output by the audio playback unit; Based on the amplitude being greater than a preset amplitude threshold, perform the operation of determining the detection result of the vehicle audio link according to the comparison result between the detected sound source electrical signal of the audio output control unit and the driving electrical signal output by the audio playback unit.
8. The vehicle audio link detection method according to claim 5, wherein, Before determining the detection result of the vehicle audio link according to the comparison result between the detected sound source electrical signal of the audio output control unit and the driving electrical signal output by the audio playback unit, it further includes: Obtain the amplitude of the driving electrical signal output by the audio playback unit; Based on the amplitude being less than or equal to the preset amplitude threshold, determine that the driving electrical signal output by the audio playback unit is a noise signal, and return to execute the operation of obtaining the driving electrical signal output by the audio playback unit.
9. The vehicle audio link detection method according to claim 6, wherein, After determining that the vehicle audio link fails, it includes: Output a fault prompt message.
10. An electronic device, characterized in that, It includes a processor and a memory, and the processor executes the steps of the method according to any one of claims 5-9 by calling the programs or instructions stored in the memory.
11. A vehicle, characterized in that, It includes the vehicle audio link detection device according to any one of claims 1-4, or includes the electronic device according to claim 10.