Search

CN-122002203-A - Method and device for positioning faults of vehicle-mounted sound system

CN122002203ACN 122002203 ACN122002203 ACN 122002203ACN-122002203-A

Abstract

The application provides a method and a device for positioning faults of a vehicle-mounted sound system. The method comprises the steps of sequentially transmitting sound source data to each target functional module through target audio channels in a vehicle-mounted sound system to perform corresponding functional processing, obtaining each piece of audio data to be detected, which are fed back after the processing of each target functional module, performing fault analysis based on the audio data to be detected of each target functional module, and determining fault information of the target audio channels. And comprehensively analyzing the audio data to be detected fed back by each target functional module in the processing and propagation paths through the sound source data, and positioning fault information in the propagation paths. The embedded point is not required to be tested in the program, so that the professionals of log analysis and embedded point are avoided, and the test threshold is lowered. Is suitable for common field workers to remove faults in time.

Inventors

  • HUANG ZHAOHUI
  • TAO WENKE
  • WANG ZHE
  • HUANG GUIRONG
  • LIU CHUNYUAN
  • LIU HOUYI

Assignees

  • 上汽通用五菱汽车股份有限公司

Dates

Publication Date
20260508
Application Date
20251219

Claims (10)

  1. 1. A method for locating a vehicle audio system fault, comprising: acquiring sound source data of a target audio channel in a vehicle-mounted sound system; Sequentially transmitting the sound source data to each target functional module through the target audio channel, and respectively performing corresponding functional processing; acquiring each audio data to be tested which is fed back after being processed by each target functional module; And performing fault analysis based on the audio data to be detected of each target functional module, and determining fault information of the target audio channel.
  2. 2. The method of claim 1, wherein the determining the failure information of the target audio channel based on the failure analysis of the audio data to be tested of each target functional module comprises: performing data loss analysis on audio data to be detected of each target functional module, determining fault information of each target functional module and the target audio channel, and And carrying out audio quality analysis based on the audio data to be detected of each target functional module, and determining fault information of each target functional module and the target audio channel.
  3. 3. The method according to claim 2, wherein the performing data loss analysis on the audio data to be tested of each target functional module to determine fault information of each target functional module and the target audio channel includes: Comparing the data quantity of the audio data to be detected of each target functional module with a preset normal data quantity threshold value of the corresponding target functional module to obtain the data loss quantity of the corresponding target functional module; and when the data loss amount of any target functional module is larger than the data loss amount threshold value of the corresponding target functional module, determining that the data of the target functional module of the target audio channel is lost.
  4. 4. The method of claim 2, wherein the step of determining the position of the substrate comprises, Each target functional module comprises a digital audio processing module, a power amplification module and a recording module which are sequentially arranged based on the generation sequence of audio data to be detected, wherein the digital audio processing module is in communication connection with the power amplification module; The audio quality analysis is performed based on the audio data to be detected of each target functional module, and determining fault information of each target functional module and the target audio channel includes: Performing audio amplitude analysis on audio rendering data of the power amplifier module based on output audio data of the digital audio processing module, determining fault information of the digital audio processing module and the target audio channel, and Performing audio amplitude analysis based on audio recording data extracted by the recording module, determining fault information of the recording module and the target audio channel, and And performing audio frequency spectrum analysis based on the audio rendering data and the audio recording data, and determining fault information of the recording module and the target audio channel.
  5. 5. The method of claim 4, wherein the performing audio amplitude analysis on the audio rendering data of the power amplifier module based on the output audio data of the digital audio processing module, determining fault information of the digital audio processing module and the target audio channel, comprises: Extracting a plurality of audio data segments of each of the output audio data and the audio rendering data from the output audio data and the audio rendering data, respectively, based on a plurality of preset relative time periods; respectively acquiring respective maximum audio amplitudes based on a first audio data segment in the output audio data and a second audio data segment in the audio rendering data within any preset relative time period; when the maximum audio amplitude of the first audio data segment and the maximum audio amplitude of the second audio data segment are in the same relative time point range and the difference value of the two maximum audio amplitudes exceeds a preset normal amplitude range, determining that the output of the digital audio processing module and the volume of the target audio channel are abnormal; And when the maximum audio amplitude of the first audio data segment and the maximum audio amplitude of the second audio data segment are not in the same relative time point range, determining that the output of the digital audio processing module and the volume of the target audio channel are abnormal.
  6. 6. The method of claim 4, wherein the determining fault information for the recording module and the target audio channel based on the audio recording data retrieved by the recording module for audio amplitude analysis comprises: And when the maximum amplitude of the audio recording data is larger than the maximum amplitude of the preset environment, determining that the volume of the recording module stoping and the target audio channel is abnormal.
  7. 7. The method of claim 4, wherein the determining fault information for the recording module and the target audio channel based on the audio rendering data and the audio recording data for audio spectral analysis comprises: calculating the ratio of the peak value of the audio recording data to the peak value of the audio rendering data to obtain a peak value holding value; And when the peak value is smaller than a preset normal peak value retention threshold, determining that the sound effects of the recording module and the power amplification module of the target audio channel are abnormal.
  8. 8. The method of claim 4, wherein the obtaining each piece of audio data to be tested that is fed back after being processed by each target function module includes: obtaining output audio data fed back by the digital audio processing module, audio rendering data fed back by the power amplification module and through a standby audio channel And extracting audio recording data through a recording module.
  9. 9. The method of claim 4, further comprising, prior to the acquiring the audio source data of the target audio channel in the vehicle audio system: the gateway module sends a self-checking instruction to trigger the power amplification module to perform self-checking on the loudspeaker of the target audio channel; And acquiring a self-checking result fed back by the power amplifier module based on the self-checking instruction through the gateway module.
  10. 10. A vehicle audio system fault locating device, comprising: The sound source acquisition unit is used for acquiring sound source data of a target audio channel in the vehicle-mounted sound system; The data processing unit is used for sequentially transmitting the sound source data to each target functional module through the target audio channel and respectively carrying out corresponding functional processing; the data feedback unit is used for acquiring the audio data to be detected, which are fed back respectively after being processed by each target functional module; the fault determining unit is used for performing fault analysis based on the audio data to be detected of each target functional module and determining fault information of the target audio channel.

Description

Method and device for positioning faults of vehicle-mounted sound system Technical Field The application relates to the technical field of vehicle testing, in particular to a method, a device, a medium and electronic equipment for positioning faults of a vehicle-mounted sound system. Background The car audio system provides high-quality music enjoyment to the customer. The vehicle-mounted audio system at least comprises three independent modules of a vehicle machine, a power amplifier and a loudspeaker, and part of system control also needs gateway transfer. And when the audio channel is seen, different vehicle software applications are needed to participate according to the division of each audio source, and the audio signals are output to the power amplifier through the interface of the middle layer, the bottom layer and the hardware to be subjected to audio processing and frequency division and then are supplied to each loudspeaker in the vehicle. Various problems may occur in the use of car audio systems, such as silence in audio playback. The safety alarm sound and the vehicle state prompt sound are not generated, and the running safety of the vehicle is affected. At present, the test of the silent problem of the vehicle-mounted audio system mainly searches for error reporting information by analyzing logs. The log generation is mainly to embed a record item in the software, and when the software runs, the track of the software running is recorded into the log through the record item. But if the log does not leave an error trace, the difficulty of analysis increases. In a word, the professional requirement of the whole log analysis process is very high, and the fault analysis method is relatively single. Therefore, the application provides a method for positioning the fault of the vehicle-mounted sound system, so as to solve the technical problems. Disclosure of Invention The application aims to provide a method, a device, a medium and electronic equipment for positioning a vehicle-mounted sound system fault, which can solve at least one technical problem. The specific scheme is as follows: according to a first aspect of the present application, there is provided a method for locating a vehicle audio system fault, including: acquiring sound source data of a target audio channel in a vehicle-mounted sound system; Sequentially transmitting the sound source data to each target functional module through the target audio channel, and respectively performing corresponding functional processing; acquiring each audio data to be tested which is fed back after being processed by each target functional module; And performing fault analysis based on the audio data to be detected of each target functional module, and determining fault information of the target audio channel. Optionally, the performing fault analysis based on the audio data to be tested of each target functional module, and determining the fault information of the target audio channel includes: performing data loss analysis on audio data to be detected of each target functional module, determining fault information of each target functional module and the target audio channel, and And carrying out audio quality analysis based on the audio data to be detected of each target functional module, and determining fault information of each target functional module and the target audio channel. Optionally, the performing data loss analysis on the audio data to be tested of each target functional module, determining fault information of each target functional module and the target audio channel, includes: Comparing the data quantity of the audio data to be detected of each target functional module with a preset normal data quantity threshold value of the corresponding target functional module to obtain the data loss quantity of the corresponding target functional module; and when the data loss amount of any target functional module is larger than the data loss amount threshold value of the corresponding target functional module, determining that the data of the target functional module of the target audio channel is lost. Optionally, each target functional module comprises a digital audio processing module, a power amplification module and a recording module which are sequentially arranged based on the generation sequence of the audio data to be detected, wherein the digital audio processing module is in communication connection with the power amplification module; The audio quality analysis is performed based on the audio data to be detected of each target functional module, and determining fault information of each target functional module and the target audio channel includes: Performing audio amplitude analysis on audio rendering data of the power amplifier module based on output audio data of the digital audio processing module, determining fault information of the digital audio processing module and the target audio channel, and Performing audio amplit