Loudspeaker diagnosis method, system, device, medium, program product and vehicle

Through the hierarchical diagnosis method, the speaker fault frequency is identified and test groups are divided, which solves the problem of low speaker fault diagnosis efficiency in the existing technology and achieves rapid and accurate fault identification and improved diagnosis efficiency.

CN118748772APending Publication Date: 2024-10-08ZHEJIANG GEELY HLDG GRP CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410784492.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-18
Publication Date
2024-10-08

AI Technical Summary

Technical Problem

Existing speaker fault diagnosis methods have low diagnostic efficiency in multi-speaker scenarios and cannot quickly and accurately identify faulty speakers.

Method used

Using a hierarchical diagnosis method, first control all the speakers to be detected to play the detection sound source, identify the fault frequency with abnormal frequency, then divide the speakers corresponding to the fault frequency into test groups, control the speakers in the test group to play the detection sound source at the same time, and determine the frequency abnormality The speaker is a pending speaker, and further testing is performed to determine the faulty speaker.

Benefits of technology

It improves the efficiency of speaker diagnosis, saves detection time, can quickly identify faulty speakers, and improves the accuracy and convenience of diagnosis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118748772A_ABST
    Figure CN118748772A_ABST
Patent Text Reader

Abstract

The invention provides a loudspeaker diagnosis method, system and device, a medium, a program product and a vehicle. The method comprises the following steps: controlling each loudspeaker to be detected to play a detection sound source, controlling pickup equipment to collect sound signals, and identifying a fault frequency with abnormal frequency; dividing the loudspeakers to be detected into a plurality of test groups based on the center frequencies corresponding to the loudspeakers; each test group comprises at least one loudspeaker corresponding to the fault frequency; respectively controlling each test group to play a detection sound source, and controlling pickup equipment to collect sound signals to determine whether frequency abnormity exists; and for the test group with the abnormal frequency, determining the loudspeaker corresponding to the fault frequency in the test group as the to-be-determined loudspeaker, and determining the fault loudspeaker from the to-be-determined loudspeaker. According to the method, the diagnosis efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to speaker diagnosis technology, and more particularly to a speaker diagnosis method, system, device, medium, program product and vehicle. Background Art

[0002] As people's demand for audio systems increases, taking the in-car scenario as an example, the in-car audio system plays an important role in the car's smart cockpit. When the speaker fails, it will affect the use effect and comfort of the vehicle's audio system.

[0003] At present, the fault diagnosis method for speakers is to control each speaker to play sound separately, and detect which speaker emits abnormal sound, that is, the speaker with fault. However, in actual applications, the number of speakers in the audio system is usually large. For example, the number of speakers in the car audio system can even reach the order of ten. Therefore, for multi-speaker scenarios, the above diagnosis method has the problem of low diagnostic efficiency. Summary of the invention

[0004] The present application provides a speaker diagnosis method, system, device, medium, program product and vehicle to solve the problem of low speaker diagnosis efficiency.

[0005] In a first aspect, the present application provides a speaker diagnosis method, comprising: controlling each speaker to be detected to play a detection sound source, and controlling a sound pickup device to collect a sound signal to identify a fault frequency with an abnormal frequency; the detection sound source includes an audio signal of a center frequency corresponding to each speaker to be detected;

[0006] Based on the center frequency corresponding to each speaker, the speakers to be tested are divided into a plurality of test groups; each test group includes at least one speaker corresponding to the fault frequency;

[0007] Control each test group to play the detection sound source respectively, and control the sound pickup device to collect sound signals to determine whether there is a frequency abnormality; for the test group with frequency abnormality, determine that the speaker corresponding to the fault frequency in the test group is a pending speaker, and determine the faulty speaker from the pending speakers.

[0008] Optionally, determining a faulty speaker from the pending speakers comprises:

[0009] When the number of pending speakers in the test group is equal to 1, determining that the pending speaker is a faulty speaker;

[0010] When the number of pending speakers in the test group is greater than 1, the pending speakers in the test group are controlled to play the detection sound source respectively, and the sound pickup device is controlled to collect sound signals to determine that the pending speakers with abnormal frequencies during playback are faulty speakers.

[0011] Optionally, the speakers to be detected are divided into a plurality of test groups based on the center frequency corresponding to each speaker, including: based on the center frequency corresponding to each speaker, speakers to be detected with closer positions are preferentially divided into a group to obtain a plurality of test groups.

[0012] Optionally, the speakers to be tested are divided into multiple test groups based on the center frequencies corresponding to the speakers, including: the speakers to be tested connected to the same power integrated circuit are divided into one test group to obtain multiple test groups; wherein the power amplifier includes at least one power integrated circuit, and the center frequencies corresponding to the speakers under each power integrated circuit include all center frequencies.

[0013] Optionally, controlling each speaker to be detected to play a detection sound source includes:

[0014] In response to the diagnostic instruction, the hardware path state of each speaker to be detected is detected; the hardware path state includes any one of: open circuit, short circuit, and normal;

[0015] When the hardware path state indicates that the loudspeaker hardware path is normal, each loudspeaker to be detected is controlled to play a detection sound source.

[0016] Optionally, each test group includes a woofer, a mid-range speaker, and a tweeter.

[0017] In a second aspect, the present application provides a speaker diagnosis system, including: a detection device and a sound pickup device; the detection device is connected to the sound pickup device and the speaker to be detected, and the detection device includes:

[0018] A control module is used to control each speaker to be detected to play a detection sound source, and to control the sound pickup device to collect sound signals and identify fault frequencies with abnormal frequencies; the detection sound source includes an audio signal of a center frequency corresponding to each speaker to be detected;

[0019] A grouping module, used to divide the speakers to be tested into a plurality of test groups based on the center frequencies corresponding to the speakers; each test group includes at least one speaker corresponding to the fault frequency;

[0020] The control module is used to control each test group to play the detection sound source respectively, and to control the sound pickup device to collect sound signals to determine whether there is a frequency abnormality; the diagnosis module is used to determine that the speaker corresponding to the fault frequency in the test group is a pending speaker for the test group with frequency abnormality, and to determine the faulty speaker from the pending speakers.

[0021] In a third aspect, the present application provides an electronic device, comprising: a processor, and a memory connected to the processor;

[0022] The memory stores computer-executable instructions;

[0023] The processor executes the computer-executable instructions stored in the memory to implement the method as described in any one of the first aspects.

[0024] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the method as described in any one of the first aspects.

[0025] In a fifth aspect, the present application provides a computer program product, including a computer program, which implements the method described in any one of the first aspects when executed by a processor.

[0026] In a sixth aspect, the present application provides a vehicle, comprising the speaker diagnostic system as described in the second aspect.

[0027] The speaker diagnosis method, system, device, medium, program product and vehicle provided in the present application, through a layered diagnosis method, first control all the speakers to be detected to play the detection sound source, identify the fault frequency with abnormal frequency, and then divide the speakers corresponding to the fault frequency into test groups. The test group includes at least one speaker corresponding to the fault frequency. The speakers to be detected in the test group are controlled to play the detection sound source at the same time. Whether the speakers in the test group are normal can be detected at the same time, and then the speakers to be detected in the test group with abnormal frequency can be further detected, while the speakers in the test group with normal frequency will no longer be further tested, which saves detection time and improves diagnosis efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0029] Figure 1 A schematic diagram of the structure of a speaker diagnostic system provided in an embodiment of the present application;

[0030] Figure 2A flowchart of a speaker diagnosis method provided in an embodiment of the present application;

[0031] Figure 3 A schematic diagram of the structure of another speaker diagnostic system provided in an embodiment of the present application;

[0032] Figure 4 A flowchart of another speaker diagnosis method provided in an embodiment of the present application;

[0033] Figure 5 A schematic diagram of the structure of a speaker diagnostic device provided in an embodiment of the present application;

[0034] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0035] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0036] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0037] With the increasing demand for smart cockpit entertainment systems, the vehicle audio system plays an important role in the car's smart cockpit. When the speaker fails, it will affect the use and comfort of the vehicle audio system.

[0038] At present, the fault diagnosis method for vehicle speakers is to use diagnostic trouble codes (DTC) to report the fault status. When a speaker fails, the user needs to drive the vehicle to a vehicle after-sales service station. The staff uses professional diagnostic equipment to read the diagnostic trouble code DTC to inform the specific speaker that has failed. This method is not convenient enough, and the user cannot diagnose which specific speaker has failed by themselves.

[0039] Another method for diagnosing speaker faults is to control each speaker to play sound separately and detect which speaker emits abnormal sound, that is, the faulty speaker. However, in actual applications, the number of speakers in the audio system is usually large. For example, the number of speakers in a car audio system can even reach the order of ten. Therefore, for multi-speaker scenarios, the above diagnosis method has the problem of low diagnostic efficiency.

[0040] In view of this, the present application proposes a speaker diagnosis method. When diagnosing the speaker, a layered diagnosis method is adopted. By first testing all the speakers and then dividing the speakers into sound zones for testing, the diagnosis efficiency of the speakers is improved.

[0041] The speaker diagnosis method proposed in the present application is applicable to the diagnosis of vehicle-mounted speakers, and can also be used in any electronic device that uses a speaker to output sound to perform speaker diagnosis. The present application embodiment is illustrated by taking the diagnosis of a vehicle-mounted speaker as an example.

[0042] The following specific embodiments are used to describe in detail how the present application performs speaker diagnosis. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The following embodiments of the present application will be described in conjunction with the accompanying drawings.

[0043] Figure 1 This is a schematic diagram of the structure of a speaker diagnostic system provided by an embodiment of the present application. Figure 1 As shown, it includes: a detection device and a sound pickup device; the detection device is connected to the sound pickup device and the speaker to be detected.

[0044] The detection device may be, for example, any device that can analyze and detect sound signals. The detection device may be a single device or a device composed of a plurality of devices.

[0045] The sound pickup device may be, for example, any device that can collect sound signals, such as a microphone.

[0046] Figure 2 The flowchart of a speaker diagnosis method provided in an embodiment of the present application is shown in FIG. The execution subject of the method may be, for example, a detection device, such as Figure 2 As shown, the method may include the following steps:

[0047] S201, controlling each speaker to be detected to play a detection sound source, and controlling a sound pickup device to collect sound signals, and identifying a fault frequency with an abnormal frequency.

[0048] The detection sound source includes an audio signal of a center frequency corresponding to each speaker to be detected. The number of speakers to be detected can be multiple. Taking a vehicle speaker system as an example, the speakers to be detected can include each vehicle speaker. For example, the number of vehicle speakers is 2 to 24.

[0049] Among them, the detection equipment can perform spectrum analysis on the sound signal collected by the sound pickup device, so as to identify the fault frequency with abnormal frequency.

[0050] S202: Divide the speakers to be tested into a plurality of test groups based on the center frequencies corresponding to the speakers; each test group includes at least one speaker corresponding to the fault frequency.

[0051] In the vehicle speaker system, multiple speakers can be set, each speaker is responsible for playing the audio signal of its corresponding center frequency, and multiple speakers can play audio signals of at least two center frequencies to achieve better sound effects. As an example, each speaker to be tested can include a woofer, a midrange speaker, and a tweeter. The center frequencies of the bass, midrange, and tweeter here can be determined according to industry specifications.

[0052] In one example, each test group may include at least one speaker corresponding to the fault frequency, so as to facilitate the rapid identification of the faulty speaker in the subsequent diagnosis scheme based on the test group, thereby saving diagnosis time.

[0053] In another example, each test group includes at least one speaker corresponding to the fault frequency and at least one speaker corresponding to at least one center frequency other than the fault frequency. For example, each test group may include a woofer, a midrange speaker, and a tweeter. It should be noted that this is only an example and does not limit the type of speakers to be tested. For example, if the vehicle speaker system also includes speakers with other center frequencies, such as ultra-high frequency speakers, etc., then each test group also includes speakers with these other center frequencies.

[0054] As an example, in a scenario where the speakers to be tested include a mid-range speaker and a tweeter, each test group includes a mid-range speaker and a tweeter.

[0055] Each group of speakers includes speakers of all center frequencies, so that when the speakers in the test group play the test sound source simultaneously, they play sounds composed of different frequencies, thereby making the auditory perception of the test personnel more comfortable.

[0056] Optionally, based on the center frequency corresponding to each speaker, speakers to be tested that are closer in distance may be preferentially grouped into one group to obtain multiple test groups, thereby avoiding the problem of distortion of speaker sounds in the test group collected by the sound pickup device.

[0057] S203, controlling each test group to play the detection sound source respectively, and controlling the sound pickup device to collect the sound signal to determine whether there is a frequency abnormality.

[0058] If yes, then step S204 is executed. If the sound signal of a test group is normal, it can be determined that all the speakers in the test group are normal speakers.

[0059] S204: For the test group with frequency anomalies, determine the speakers corresponding to the faulty frequencies in the test group as pending speakers, and determine the faulty speakers from the pending speakers.

[0060] When the number of pending speakers in the test group is equal to 1, it can be determined that the pending speaker is a faulty speaker.

[0061] When the number of pending speakers in the test group is greater than 1, the pending speakers in the test group can be controlled to play the detection sound source respectively, and the sound pickup device can be controlled to collect sound signals to determine that the pending speakers with abnormal frequencies during playback are faulty speakers.

[0062] To sum up, the speaker diagnosis method provided in the embodiment of the present application, through a hierarchical diagnosis method, first controls all the speakers to be detected to play the detection sound source, identifies the fault frequency with abnormal frequency, and then divides the speakers corresponding to the fault frequency into test groups. The test group includes at least one speaker corresponding to the fault frequency, and controls the speakers to be detected in the test group to play the detection sound source at the same time. It can simultaneously detect whether the speakers in the test group are normal, and then further detect the speakers to be detected in the test group with abnormal frequency, while no further detection is performed on the speakers in the test group with normal frequency, which saves detection time and improves diagnosis efficiency.

[0063] The above content describes how the detection device determines the faulty speaker. Furthermore, the speaker diagnosis method of the embodiment of the present application can also generate diagnostic information of the faulty speaker. The diagnostic information can include any one of: the identification of the faulty speaker, the fault type; the fault type includes any one of: no fault, clipping distortion, excessive background noise, hum, sound coloration, howling, weak high frequency, lack of high frequency, weak low frequency, lack of low frequency, echo, intermittent.

[0064] For example, the detection device can perform spectrum analysis on the sound signal collected by the sound pickup device, and determine the corresponding fault type according to the mapping relationship between the fault type and the spectrum. For how the detection device performs spectrum analysis on the sound signal, please refer to the description of the relevant technology, which will not be repeated in this application.

[0065] The specific fault types can be defined in accordance with industry standards and are not limited in this application.

[0066] Optionally, before performing hierarchical diagnosis to determine the faulty speaker, the detection device may also detect the hardware path status of the speaker in response to the diagnosis instruction.

[0067] For example, the detection device responds to the diagnostic instruction and detects the hardware path status of the speaker to be detected; the hardware path status includes any one of: open circuit, short circuit, and normal.

[0068] For example, the diagnostic instruction can be triggered by setting a diagnostic switch and the user triggering the diagnostic switch to turn on the diagnostic instruction, or it can be automatically triggered by setting a timer in the diagnostic system, or the diagnostic instruction can be triggered when the diagnostic system is powered on, which is not limited to this embodiment of the present application.

[0069] When the hardware path status indicates that the speaker is open or short, the detection device can directly determine that the speaker has a hardware fault. The fault type is any one of: open circuit, short circuit.

[0070] Before performing hierarchical diagnosis, the hardware path status is first detected, and direct hardware detection can be performed for the most likely hardware line fault problem, further improving the efficiency of fault diagnosis.

[0071] Furthermore, the detection device may inform the user of the diagnostic information in any manner, such as by voice playback, or by displaying on a display screen, etc. By generating the diagnostic information and informing the user, the user can obtain the fault information of the speaker more intuitively.

[0072] The following embodiments take the detection device including a control host, a digital signal processor, and a vehicle-mounted power amplifier as an example to illustrate how the detection device performs speaker diagnosis.

[0073] Figure 3 This is a schematic diagram of the structure of another speaker diagnostic system provided in an embodiment of the present application. Figure 3 As shown, the speaker diagnostic system includes: a detection device and a sound pickup device. The detection device includes a control host, a digital signal processor, and a vehicle-mounted power amplifier. The control host is connected to the vehicle-mounted power amplifier through the digital signal processor, and the sound pickup device is also connected to the digital signal processor.

[0074] The control host may be, for example, any host that can send control instructions, such as a vehicle-mounted host.

[0075] The digital signal processor may be, for example, any processor capable of performing spectrum analysis on a digital signal.

[0076] The vehicle-mounted power amplifier may be, for example, any device that can amplify the power of an audio signal.

[0077] The digital signal processor can be part of the vehicle power amplifier or a separate device independent of the vehicle power amplifier. Figure 3 The digital signal processor is taken as an example as a separate device independent of the vehicle-mounted power amplifier for schematic description.

[0078] In a possible implementation, in a scenario where the control host is connected to the vehicle-mounted power amplifier via a digital signal processor, the control host exchanges data with the vehicle-mounted power amplifier via the digital signal processor.

[0079] Another possible implementation method is that in a scenario where the control host is directly connected to the vehicle-mounted power amplifier, the control host can directly exchange data with the vehicle-mounted power amplifier.

[0080] Figure 3 The following embodiments are illustrated by taking the control host connecting to the vehicle-mounted power amplifier through the digital signal processor as an example. The following embodiments are illustrated by taking the control host communicating with the vehicle-mounted power amplifier through the digital signal processor as an example.

[0081] The power amplifier integrates multiple power integrated circuits (Power ICs), and each Power IC provides multiple channels. In one example, each channel is connected to 1 to 2 speakers. In actual applications, the physical positions of several speakers driven by a Power IC are close. For example, the left front and right front bass, mid-range, and tweeter speakers can be driven by the four channels of the same Power IC.

[0082] Figure 3 The vehicle-mounted power amplifier includes four power integrated circuits Power IC1, Power IC2, Power IC3, and Power IC4, and each power integrated circuit includes four channels CH1 to CH4. For example, Power IC 1 is connected to the left front mid-range speaker through CH1, CH2 is connected to the right front mid-range speaker, CH3 is connected to the left front woofer and the left front tweeter, and CH4 is connected to the right front woofer and the right front tweeter as an example for schematic description. The connection method of the remaining power integrated circuits and the speakers to be tested can refer to the connection method of Power IC 1 and the speakers to be tested. Figure 3 Not specifically shown.

[0083] Figure 4 A flowchart of another speaker diagnosis method provided in an embodiment of the present application is shown below. Figure 4 As shown, the method comprises the following steps:

[0084] S401: The detection device responds to the diagnosis instruction and detects whether the hardware path status of each speaker to be detected is normal.

[0085] If yes, then execute step S402; if no, then execute step S407. In one example, when the user needs to perform fault diagnosis on the speaker, the diagnostic switch is controlled to be on. When the diagnostic switch is on, the control host sends a diagnostic instruction to the digital signal processor. As an example, S401 may include the following steps:

[0086] S4011. The control host responds to the diagnostic instruction and sends a hardware diagnostic instruction to the vehicle-mounted power amplifier.

[0087] Accordingly, the onboard power amplifier receives a hardware diagnosis instruction.

[0088] For example, the speaker diagnosis system further includes: a diagnosis switch, the control host is connected to the diagnosis switch, and the user triggers the diagnosis instruction by turning on the diagnosis switch.

[0089] After receiving the diagnostic instruction, the control host can send a hardware diagnostic instruction to the vehicle-mounted power amplifier through the digital signal processor, requesting the vehicle-mounted power amplifier to detect the hardware path status of the speaker to be detected.

[0090] S4012: The vehicle-mounted power amplifier detects the hardware path status of the speaker to be detected, and feeds back the hardware path status to the control host.

[0091] For example, the vehicle-mounted power amplifier can detect the magnitude of the loop current between each channel and the connected speaker to detect the hardware path state. The hardware path state can be any one of: open circuit, short circuit, and normal.

[0092] If the current is greater than the first preset threshold, it can be regarded as the speaker connected to the channel is short-circuited; if the current is less than the second preset threshold, it can be regarded as the speaker connected to the channel is open-circuited; the first preset threshold may be greater than the second preset threshold. If the current is between the first preset threshold and the second preset threshold, it can be regarded as the speaker connected to the channel is normal.

[0093] If a speaker connected to one channel is short-circuited, the hardware path status is considered to be short-circuited; if a speaker connected to one channel is open-circuited, the hardware path status is considered to be open-circuited; if the speakers connected to all channels are normal, the hardware path status is considered to be normal.

[0094] The vehicle-mounted power amplifier feeds back the hardware path status to the control host. When the hardware path status is normal, the vehicle-mounted power amplifier feeds back the hardware path status to the control host; when the hardware path status is short circuit or open circuit, when the vehicle-mounted power amplifier feeds back the hardware path status to the control host, it can also feed back the faulty channel identification and / or speaker identification, as well as the fault type corresponding to the channel identification and / or speaker identification. When the hardware path status is short circuit, the fault type is short circuit; when the hardware path status is open circuit, the fault type is open circuit.

[0095] S402: The detection device controls each speaker to be detected to play a detection sound source, and controls the sound pickup device to collect sound signals to identify a fault frequency with abnormal frequency.

[0096] In one example, when the hardware path states detected in S4012 are all normal, S402 is executed. As an example, S402 may specifically include the following steps:

[0097] S4021. The control host sends a software diagnostic instruction to the digital signal processor.

[0098] Correspondingly, the digital signal processor receives the software diagnosis instruction and generates an electrical signal of a preset center frequency corresponding to the vehicle speaker, which is an electrical signal corresponding to the detection sound source.

[0099] S4022. The digital signal processor sends a detection sound source to the vehicle-mounted power amplifier.

[0100] Correspondingly, the vehicle-mounted power amplifier receives the detected sound source, and the vehicle-mounted power amplifier chip amplifies the electrical signal to drive the vehicle-mounted speaker to emit a sound signal.

[0101] The detection sound source includes an audio signal of a center frequency corresponding to each speaker to be detected. For example, the detection sound source can be stored in a digital signal processor.

[0102] S4023. The vehicle-mounted power amplifier drives each speaker to be tested to play the test sound source.

[0103] For example, the digital signal processor may send a signal representing that each of the speakers to be detected is playing simultaneously to the vehicle power amplifier.

[0104] When receiving the signal, the vehicle-mounted power amplifier amplifies the detection sound source sent by the digital signal processor, and drives the speakers to be detected connected to each channel to play the detection sound source.

[0105] Optionally, the control host may also send a signal to the vehicle-mounted power amplifier indicating that each speaker to be detected is playing simultaneously. The specific setting may be based on actual conditions, and the embodiment of the present application does not limit this.

[0106] S4024: The sound pickup device collects the sound signals emitted by each speaker to be detected and sends them to the digital signal processor.

[0107] In a possible implementation, when a digital signal processor is connected to a sound pickup device, the digital signal processor may control the sound pickup device to collect sound signals emitted by each speaker to be detected by sending a control instruction to the sound pickup device.

[0108] Another possible implementation method is that when both the control host and the digital signal processor are connected to the sound pickup device, the control host can control the sound pickup device to collect the sound signals emitted by each speaker to be detected by sending control instructions to the sound pickup device. The specific settings can be made according to actual conditions. This embodiment is illustrated by taking the connection between the digital signal processor and the sound pickup device as an example.

[0109] S4025. The digital signal processor determines whether each speaker to be detected has a frequency abnormality.

[0110] If yes, then execute step S403; if no, then execute step S407. In one example, the digital signal processor performs Fourier transform on the sound signal to determine the amplitude of the sound signal at a preset center frequency. If the amplitude is greater than a preset threshold, the electrical signal is valid and the speaker is correctly connected. When the vehicle-mounted power amplifier detects that the hardware path is normal, the status of the hardware path can be further confirmed to improve the accuracy of the diagnosis.

[0111] When the hardware path is in a normal state, it is determined whether each speaker to be detected has a frequency abnormality. For example, the digital signal processor can perform spectrum analysis on the sound emitted by each speaker to be detected collected by the sound pickup device to determine whether each speaker to be detected has a frequency abnormality, and when a frequency abnormality occurs, the fault frequency of the frequency abnormality can be identified.

[0112] S403: Based on the center frequency corresponding to each speaker, the detection device divides each speaker to be detected into multiple test groups.

[0113] In a possible implementation, based on the center frequency corresponding to each speaker, speakers to be tested that are closer in distance are preferentially grouped into one group, thereby obtaining multiple test groups.

[0114] Another possible implementation method is to divide the speakers to be tested connected to the same power integrated circuit into a test group to obtain multiple test groups; wherein the power amplifier includes at least one power integrated circuit, and the center frequency corresponding to each speaker under each power integrated circuit includes all center frequencies, that is, the center frequency corresponding to each speaker to be tested. For example, in a scenario where each speaker to be tested includes a midrange speaker and a tweeter, each speaker under each power integrated circuit includes a midrange speaker and a tweeter. Alternatively, in a scenario where each speaker to be tested includes a woofer, a midrange speaker, and a tweeter, each speaker under each power integrated circuit includes a woofer, a midrange speaker, and a tweeter.

[0115] As mentioned above, the actual physical positions of several speakers driven by a power integrated circuit are close. Through the above grouping method, each test group can include a woofer, a mid-range speaker, and a tweeter.

[0116] Continue with Figure 3 For example, the speakers to be tested can be divided into 4 test groups. The speakers to be tested connected to Power IC1 are the first test group, the speakers to be tested connected to Power IC2 are the second test group, the speakers to be tested connected to Power IC3 are the third test group, and the speakers to be tested connected to Power IC4 are the fourth test group.

[0117] S404: The detection device controls each test group to play the detection sound source, and controls the sound pickup device to collect the sound signal to determine whether there is a frequency abnormality. As an example, S404 may include the following steps:

[0118] S4041. The vehicle-mounted power amplifier controls the first test group to play the detection sound source.

[0119] For example, the digital signal processor can send a signal representing the playback of the test group to the on-board power amplifier. The on-board power amplifier can control each test group to play the detection sound source based on the mapping relationship between the signal played by the test group and the test group. For example, when the on-board power amplifier receives a signal representing the playback of the first test group, it controls the speaker to be tested connected to Power IC1 to play the detection sound source. When the on-board power amplifier receives a signal representing the playback of the second test group, it controls the speaker to be tested connected to Power IC2 to play the detection sound source. When the on-board power amplifier receives a signal representing the playback of the third test group, it controls the speaker to be tested connected to Power IC3 to play the detection sound source. When the on-board power amplifier receives a signal representing the playback of the fourth test group, it controls the speaker to be tested connected to Power IC4 to play the detection sound source.

[0120] S4042. The sound pickup device collects the sound signal emitted by the speaker to be tested in the test group and sends it to the digital signal processor.

[0121] S4043. The digital signal processor determines whether the speaker to be detected in the test group has a frequency abnormality.

[0122] Repeat steps S4041-S4043 to complete the detection of the second test group, the third test group and the fourth test group, and determine the test group with abnormal frequency.

[0123] S405: For the test group with frequency anomalies, the detection device determines that the speaker corresponding to the fault frequency in the test group is a pending speaker, and determines the faulty speaker from the pending speakers. As an example, S405 may include the following steps:

[0124] S4051. The digital signal processor determines a pending speaker in the test group whose corresponding center frequency is a fault frequency.

[0125] For example, based on the mapping relationship between the fault frequency and the speaker, the speaker to be determined can be determined. For example, if the fault frequency is a mid-range speaker, the mid-range speaker in the test group can be determined as the speaker to be determined, or if the fault frequency is a bass speaker, the bass speaker in the test group can be determined as the speaker to be determined. Or, if the fault frequency is a treble speaker, the tweeter in the test group can be determined as the speaker to be determined.

[0126] S4052. Determine a faulty speaker from the pending speakers.

[0127] When the number of the pending speakers in the test group is equal to 1, the digital signal processor determines that the pending speaker is a faulty speaker.

[0128] When the number of pending speakers in the test group is greater than 1, the pending speakers in the test group are controlled to play the detection sound source respectively, and the sound pickup device is controlled to collect the sound signal to determine that the pending speakers with abnormal frequencies during playback are faulty speakers.

[0129] The following describes how to determine the faulty speaker from the pending speakers when the number of pending speakers in the test group is greater than 1. Figure 3 In the example, the mid-range speaker in the first test group is taken as the pending speaker for illustration. There are two mid-range speakers in the first test group, namely, the left front mid-range speaker connected to the channel CH1, and the right front mid-range speaker connected to the channel CH2.

[0130] The digital signal processor sends a signal representing the playback of the left front mid-range speaker and a signal representing the playback of the right front mid-range speaker to the on-board power amplifier respectively. The on-board power amplifier controls the left front mid-range speaker and the right front mid-range speaker to play the detection sound source respectively. The digital signal processor controls the sound pickup device to collect the sound signal played by the left front mid-range speaker and the sound signal played by the right front mid-range speaker respectively. The digital signal processor performs spectrum analysis on the two sound signals respectively. If there is a frequency abnormality when the left front mid-range speaker plays, it is determined that the left front mid-range speaker is a faulty speaker. If there is a frequency abnormality when the right front mid-range speaker plays, it is determined that the right front mid-range speaker is a faulty speaker.

[0131] Optionally, the faulty speaker may be identified through secondary grouping and detection. Figure 3 In the example, channel CH3 is connected to the left front woofer and the left front tweeter, and CH4 is connected to the right front woofer and the right front tweeter. The left front midrange speaker can be controlled to play sound while the left front woofer and the left front tweeter can be controlled to play sound at the same time, and the right front woofer and the right front tweeter can be controlled to play sound while the right front midrange speaker is controlled to play sound. Each time the speaker plays sound, it can play sounds composed of low, medium and high frequencies, and the speakers that emit sound at the same time are physically close, so that the auditory perception of the inspector is more comfortable.

[0132] S406: The detection device generates diagnostic information.

[0133] For example, the digital signal processor can perform spectrum analysis on the sound signal collected by the sound pickup device, and determine the corresponding fault type according to the mapping relationship between the fault type and the sound quality of each frequency band. The digital signal processor can send the identification of the faulty speaker and / or the coding information of the fault type to the control host. The control host identifies the fault type according to the mapping relationship between the fault type and the fault code.

[0134] For how a digital signal processor performs spectrum analysis on a sound signal, reference may be made to the description of the prior art, which will not be described in detail in this application.

[0135] S407. The detection device displays diagnostic information on a display screen.

[0136] The speaker diagnostic system may further include: a display screen. The control host is also connected to the display screen. The display screen may be, for example, any screen that can have a display function, including a computer monitor, an LED screen, an LCD screen, and the like. For example, taking a vehicle as an example, the display screen may be a central control screen of the vehicle.

[0137] For example, the control host may send diagnostic information to a display screen for display, and the diagnostic information may include any of: an identification of the faulty speaker, and a fault type.

[0138] By displaying diagnostic information, users can see the status of the vehicle speakers more intuitively.

[0139] For example, when the digital signal processor determines that each speaker to be detected has no frequency abnormality, the control host can display the fault type as no fault on the display screen.

[0140] When the hardware path state is short circuit, the control host can display the fault type as short circuit through the display screen; when the hardware path state is open circuit, the control host can display the fault type as open circuit through the display screen.

[0141] Displaying diagnostic information on the display screen can meet the current users' increasing demand for interactive smart cockpit screen interfaces.

[0142] The specific content displayed on the display screen can be set according to actual conditions, and this application does not limit this.

[0143] It should be understood that the embodiment of the present application is schematically illustrated by taking the example that the vehicle-mounted power amplifier includes 4 power integrated circuits, each power integrated circuit includes 4 channels, and the vehicle-mounted power amplifier can provide 16 channels to the outside, and each channel can be connected to 1 to 2 speakers. In the case where more than 16 channels are needed, the number of channels can be expanded by connecting a new vehicle-mounted power amplifier to the digital signal processor, making the configuration of the vehicle-mounted speakers more flexible. The number of vehicle-mounted power amplifiers included in the speaker diagnostic system, the number of power integrated circuits included in each vehicle-mounted power amplifier, the number of channels included in each power integrated circuit, and the number of speakers to be tested connected to each channel can be set according to actual conditions, and the embodiment of the present application does not limit this.

[0144] The speaker diagnosis method provided in the embodiment of the present application saves detection time and improves detection efficiency by first performing a hardware path status detection on the speaker to be detected, and then using a hierarchical diagnosis method to perform a diagnosis when the hardware path status is normal.

[0145] Figure 5 A schematic diagram of the structure of a speaker diagnostic device provided in an embodiment of the present application. The speaker diagnostic system includes: a detection device, a sound pickup device; the detection device is connected to the sound pickup device and the speaker to be detected. The device is applied to the detection device, and the device may include: a control module 501, a grouping module 502, and a diagnostic module 503.

[0146] The control module 501 is used to control each speaker to be detected to play the detection sound source, and control the sound pickup device to collect sound signals and identify the fault frequency with abnormal frequency; the detection sound source includes the audio signal of the center frequency corresponding to each speaker to be detected;

[0147] A grouping module 502 is used to divide each speaker to be tested into a plurality of test groups based on the center frequency corresponding to each speaker; each test group includes at least one speaker corresponding to the fault frequency;

[0148] The control module 501 is used to control each test group to play the detection sound source respectively, and to control the sound pickup device to collect the sound signal to determine whether there is a frequency abnormality; the diagnosis module 503 is used to determine that the speaker corresponding to the fault frequency in the test group is a pending speaker for the test group with frequency abnormality, and to determine the faulty speaker from the pending speakers.

[0149] In one possible implementation, the diagnostic module 503 is specifically used to determine that the pending speakers are faulty speakers when the number of pending speakers in the test group is equal to 1; when the number of pending speakers in the test group is greater than 1, the control module 501 is also used to control the pending speakers in the test group to play the detection sound source respectively, and control the sound pickup device to collect the sound signal. The diagnostic module 503 is also used to determine that the pending speakers with frequency abnormalities during playback are faulty speakers.

[0150] In a possible implementation, the grouping module 502 is specifically configured to preferentially group the speakers to be tested that are closer in position to each other into one group based on the center frequencies corresponding to the speakers, thereby obtaining a plurality of test groups.

[0151] A possible implementation method is that the grouping module 502 is specifically used to divide the speakers to be tested connected to the same power integrated circuit into a test group to obtain multiple test groups; wherein the power amplifier includes at least one power integrated circuit, and the center frequency corresponding to each speaker under each power integrated circuit includes all center frequencies.

[0152] In a possible implementation, the diagnostic module 503 is further used to respond to the diagnostic instruction and detect the hardware path state of each speaker to be detected; the hardware path state includes any one of: open circuit, short circuit, and normal;

[0153] When the hardware path status indicates that the speaker hardware path is normal, the control module 501 is used to control each speaker to be detected to play the detection sound source.

[0154] In a possible implementation, each test group includes a woofer, a mid-range speaker, and a tweeter.

[0155] The device provided in the embodiment of the present application can execute the actions of the detection device in the above method embodiment. Its implementation principle and technical effects are similar and will not be repeated here.

[0156] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 6 As shown, the electronic device includes: a processor 601 and a memory 602 connected to the processor 601 .

[0157] Memory 602 stores computer executable instructions;

[0158] The processor 601 executes the computer-executable instructions stored in the memory to implement the actions of the detection device in the above method implementation.

[0159] Optionally, the electronic device may further include a communication interface 603. In specific implementation, if the communication interface 603, the memory 602 and the processor 601 are implemented independently, the communication interface 603, the memory 602 and the processor 601 may be interconnected via a bus and communicate with each other.

[0160] Optionally, in a specific implementation, if the communication interface 603, the memory 602 and the processor 601 are integrated on a chip, the communication interface 603, the memory 602 and the processor 601 can communicate through an internal interface.

[0161] The embodiment of the present application also provides a computer-readable storage medium, which may include: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, and other media that can store program codes. Specifically, the computer-readable storage medium stores program instructions, and the program instructions are used to implement the actions of the above-mentioned method implementation method.

[0162] The embodiment of the present application also provides a program product, which includes an execution instruction, which is stored in a readable storage medium. At least one processor of the electronic device can read the execution instruction from the readable storage medium, and at least one processor executes the execution instruction so that the electronic device implements the actions of the above method implementation.

[0163] The embodiment of the present application also provides a speaker diagnosis system, including: a detection device, a sound pickup device; the detection device is connected to the sound pickup device and the speaker to be detected; the detection device is used to execute the actions of the above method embodiment.

[0164] An embodiment of the present application also provides a vehicle, which includes a speaker diagnostic system.

[0165] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.

[0166] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A method for diagnosing a loudspeaker, It is characterized in that include: Controlling each speaker to be detected to play a detection sound source, and controlling a sound pickup device to collect sound signals, and identifying a fault frequency with an abnormal frequency; the detection sound source includes an audio signal of a center frequency corresponding to each speaker to be detected; Based on the center frequency corresponding to each speaker, the speakers to be tested are divided into a plurality of test groups; each test group includes at least one speaker corresponding to the fault frequency; Controlling each test group to play the detection sound source respectively, and controlling the sound pickup device to collect the sound signal to determine whether there is a frequency abnormality; For the test group with frequency anomalies, the loudspeaker corresponding to the fault frequency in the test group is determined as a pending loudspeaker, and the faulty loudspeaker is determined from the pending loudspeakers.

2. The method according to claim 1, It is characterized in that The step of determining a faulty speaker from the pending speakers comprises: When the number of pending speakers in the test group is equal to 1, determining that the pending speaker is a faulty speaker; When the number of pending speakers in the test group is greater than 1, the pending speakers in the test group are controlled to play the detection sound source respectively, and the sound pickup device is controlled to collect sound signals to determine that the pending speakers with abnormal frequencies during playback are faulty speakers.

3. The method according to claim 1, It is characterized in that The method of dividing the speakers to be tested into a plurality of test groups based on the center frequencies corresponding to the speakers comprises: Based on the center frequencies corresponding to the speakers, speakers to be tested that are closer in distance are preferentially grouped into one group, thereby obtaining a plurality of test groups.

4. The method according to claim 1, It is characterized in that The method of dividing the speakers to be tested into a plurality of test groups based on the center frequencies corresponding to the speakers comprises: The speakers to be tested connected to the same power integrated circuit are divided into a test group to obtain multiple test groups; wherein the power amplifier includes at least one power integrated circuit, and the center frequencies corresponding to the speakers under each power integrated circuit include all center frequencies.

5. The method according to claim 1, It is characterized in that The controlling each speaker to be detected to play the detection sound source comprises: In response to the diagnostic instruction, the hardware path state of each speaker to be detected is detected; the hardware path state includes any one of: open circuit, short circuit, and normal; When the hardware path state indicates that the loudspeaker hardware path is normal, each loudspeaker to be detected is controlled to play a detection sound source.

6. The method according to any one of claims 1 to 5, It is characterized in that Each test group includes a woofer, a midrange speaker, and a tweeter.

7. A speaker diagnostic system, It is characterized in that include: Testing equipment, sound pickup equipment; The detection device is connected to the sound pickup device and the speaker to be detected, and the detection device includes: A control module is used to control each speaker to be detected to play a detection sound source, and to control the sound pickup device to collect sound signals and identify fault frequencies with abnormal frequencies; the detection sound source includes an audio signal of a center frequency corresponding to each speaker to be detected; A grouping module, used to divide the speakers to be tested into a plurality of test groups based on the center frequencies corresponding to the speakers; each test group includes at least one speaker corresponding to the fault frequency; The control module is used to control each test group to play the detection sound source respectively, and to control the sound pickup device to collect sound signals to determine whether there is a frequency abnormality; the diagnosis module is used to determine that the speaker corresponding to the fault frequency in the test group is a pending speaker for the test group with frequency abnormality, and to determine the faulty speaker from the pending speakers.

8. An electronic device, It is characterized in that include: A processor, and a memory connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 6.

9. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 6 when executed by a processor.

10. A computer program product, It is characterized in that The invention comprises a computer program, which implements the method according to any one of claims 1 to 6 when being executed by a processor.

11. A vehicle, It is characterized in that The vehicle includes the speaker diagnostic system of claim 7.