Speaker self-detection method and apparatus, speaker device, and storage medium
By installing a displacement sensor on the speaker and collecting diaphragm displacement signals for self-detection, the problem of high-precision speaker detection in microphone-less scenarios is solved, enabling device anomaly identification and handling suggestions.
Patent Information
- Application Number
- CN202310137060.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-16
- Publication Date
- 2025-11-25
- Estimated Expiration
- 2043-02-16
AI Technical Summary
In existing technologies, speakers cannot perform high-precision self-testing in scenarios without a microphone.
Displacement sensors are installed on the centering support, dust cover, and/or cone of the loudspeaker equipment to collect diaphragm displacement signals for self-detection.
It achieves high-precision self-detection of the speaker without a microphone, and can identify device abnormalities and provide corresponding handling suggestions.
Smart Images

Figure CN116095587B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of loudspeakers, in particular to a loudspeaker self-detection method and device, a loudspeaker equipment and a storage medium. BACKGROUND
[0002] A loudspeaker is a very common electronic device, which is commonly used in various sound systems and electronic devices that need to produce sound. The changes in various parameters of the loudspeaker have a great impact on the sound quality of the loudspeaker output. Therefore, the self-detection of the loudspeaker has become a relatively important function of the loudspeaker.
[0003] At present, most of the loudspeakers on the market first output a test signal through the loudspeaker, and then detect the parameters of the loudspeaker according to the signal received by the microphone. However, in some scenes where a loudspeaker is provided but no microphone is provided, the loudspeaker cannot be self-detected by the above method.
[0004] In summary, how the loudspeaker performs high-precision self-detection in a scene without a microphone has become a technical problem to be solved in the field. SUMMARY
[0005] The main purpose of the present application is to provide a loudspeaker self-detection method, device, equipment and storage medium, which aims to enable the loudspeaker to perform high-precision self-detection in a scene where the loudspeaker equipment is not provided with a microphone.
[0006] To achieve the above purpose, the present application provides a loudspeaker self-detection method, which is applied to a loudspeaker equipment, wherein the loudspeaker equipment is provided with one or more displacement sensors at a centering support, a dust cover and / or a cone pot.
[0007] The loudspeaker self-detection method comprises the following steps:
[0008] When the loudspeaker equipment outputs a test signal, the displacement sensor collects a displacement signal at the centering support, the dust cover and / or the cone pot to obtain a diaphragm displacement signal of the loudspeaker equipment.
[0009] The loudspeaker equipment is self-detected according to the diaphragm displacement signal.
[0010] In some feasible embodiments, the step of self-detecting the loudspeaker equipment according to the diaphragm displacement signal comprises the following steps:
[0011] The test signal is compared with an acoustic signal received by a preset reference microphone to obtain a first comparison result;
[0012] A first test parameter is obtained according to the first comparison result.
[0013] comparing the first test parameter with a second test parameter obtained based on the diaphragm displacement signal to obtain a first parameter comparison result;
[0014] determining a device self-detection result of self-detecting the loudspeaker device according to the first parameter comparison result.
[0015] In some possible embodiments, the device self-detection result includes: a device abnormality and a device normality.
[0016] The step of determining the device self-detection result of self-detecting the loudspeaker device according to the first parameter comparison result includes:
[0017] If the comparison result is that a difference value between the first test parameter and the second test parameter is lower than a preset threshold, it is determined that the device self-detection result of self-detecting the loudspeaker device is the device normality.
[0018] If the comparison result is that the difference value between the first test parameter and the second test parameter is higher than the preset threshold, it is determined that the device self-detection result of self-detecting the loudspeaker device is the device abnormality.
[0019] In some possible embodiments, the step of self-detecting the loudspeaker device according to the diaphragm displacement signal further includes:
[0020] comparing a preset standard parameter with a second test parameter obtained based on the diaphragm displacement signal to obtain a second parameter comparison result, the preset standard parameter being a standard parameter set based on the first test parameter;
[0021] determining a device self-detection result of self-detecting the loudspeaker device according to the second parameter comparison result.
[0022] In some possible embodiments, the device self-detection result includes: the second test parameter not meeting the standard parameter.
[0023] After the step of determining the device self-detection result of self-detecting the loudspeaker device according to the second parameter comparison result, the method further includes:
[0024] when the device self-detection result is the device abnormality, differentiating the second test parameter from the standard parameter to obtain a second differentiated comparison result;
[0025] judging an abnormality cause of the loudspeaker device according to the second differentiated comparison result.
[0026] In some possible embodiments, the abnormality cause includes: hardware damage and non-hardware damage.
[0027] After the step of determining the abnormality cause of the loudspeaker device according to the second differential comparison result, the method further includes:
[0028] If the abnormality cause is hardware damage, a self-detection report is output and repair is recommended.
[0029] If the abnormality cause is non-hardware damage, sound quality improvement processing is performed on the loudspeaker device.
[0030] In some possible embodiments, the loudspeaker device has a communication connection established with a cloud.
[0031] After the step of determining the abnormality cause of the loudspeaker device according to the second differential comparison result, the method further includes:
[0032] Detecting whether a self-detection result sharing authorization is obtained.
[0033] When it is detected that the self-detection result sharing authorization is obtained, the self-detection result is uploaded to the cloud.
[0034] In addition, to achieve the above object, the present application also provides a loudspeaker self-detection device, which is applied to a loudspeaker device, and the loudspeaker device is provided with one or more displacement sensors at a centering support sheet, a dust cover and / or a cone pot.
[0035] The loudspeaker self-detection device includes:
[0036] A signal collection module, configured to collect a displacement signal at the centering support sheet, the dust cover and / or the cone pot by the displacement sensor to obtain a diaphragm displacement signal of the loudspeaker device when the loudspeaker device outputs a test signal.
[0037] A self-detection module, configured to perform self-detection on the loudspeaker device according to the diaphragm displacement signal.
[0038] In addition, to achieve the above object, the present application also provides a loudspeaker device, which includes a memory, a processor and a loudspeaker self-detection program stored in the memory and executable on the processor, and the loudspeaker self-detection program implements the steps of the loudspeaker self-detection method as described above when executed by the processor.
[0039] The present application also provides a storage medium, which has a loudspeaker self-detection program stored thereon, and the loudspeaker self-detection program implements the steps of the loudspeaker self-detection method as described above when executed by a processor.
[0040] The application provides a loudspeaker self-detection method and device, a loudspeaker equipment and a storage medium, and is applied to the loudspeaker equipment. The loudspeaker equipment is provided with one or more displacement sensors at a centering support, a dust cover and / or a cone basin. The loudspeaker self-detection method comprises the following steps: when a test signal is output by the loudspeaker equipment, displacement signal collection is performed at the centering support, the dust cover and / or the cone basin by the displacement sensor to obtain a diaphragm displacement signal of the loudspeaker equipment; and the loudspeaker equipment is self-detected according to the diaphragm displacement signal.
[0041] Compared with the traditional loudspeaker self-detection method by receiving a test signal through a microphone, the application is provided with one or more displacement sensors at the centering support, the dust cover and / or the cone basin of the loudspeaker, so that when a test signal is output by the loudspeaker equipment, displacement signal collection is performed at the centering support, the dust cover and / or the cone basin by the displacement sensor to obtain a diaphragm displacement signal of the loudspeaker equipment, and then the loudspeaker equipment is self-detected according to the diaphragm displacement signal.
[0042] Therefore, the application is based on the above-mentioned improvement of the loudspeaker structure and adaptively proposes a loudspeaker self-detection method applied to the loudspeaker equipment. When the loudspeaker equipment is self-detected, the diaphragm displacement signal of the loudspeaker equipment is detected by the displacement sensor installed on the loudspeaker equipment. Based on the diaphragm displacement signal, the loudspeaker equipment can be self-detected with high precision without a microphone. BRIEF DESCRIPTION OF DRAWINGS
[0043] Figure 1 The loudspeaker equipment structure diagram of the hardware running environment of the loudspeaker equipment related to the embodiment scheme of the application;
[0044] Figure 2 The displacement sensor installation position diagram of the loudspeaker self-detection method of one embodiment of the application;
[0045] Figure 3 The implementation flow diagram of the loudspeaker self-detection method of one embodiment of the application;
[0046] Figure 4 The implementation flow diagram of the loudspeaker self-detection method of one embodiment of the application before the loudspeaker equipment is shipped;
[0047] Figure 5 The implementation flow diagram of the loudspeaker self-detection method of one embodiment of the application after the loudspeaker equipment is shipped;
[0048] Figure 6 The function module diagram of the loudspeaker self-detection device of one embodiment of the application.
[0049] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0050] It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to limit this application.
[0051] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0052] This application provides a loudspeaker device.
[0053] like Figure 1 As shown, Figure 1 This is a schematic diagram of the hardware operating environment of the speaker device involved in the embodiments of this application.
[0054] In this embodiment, the speaker device can be a single speaker unit or other type of playback device equipped with a speaker. Furthermore, in this embodiment, as... Figure 2 As shown, Figure 2 This is a schematic diagram of the installation location of a displacement sensor in a loudspeaker device. The loudspeaker device has one or more displacement sensors installed at the centering support, dust cover, and / or cone.
[0055] like Figure 1 As shown, in the hardware operating environment of the speaker device, the speaker device may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. The communication bus 1002 is used to realize communication between these components. The user interface 1003 may include a display screen and an input unit such as a keyboard; optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface). The memory 1005 may be high-speed RAM or stable non-volatile memory, such as a disk storage device. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0056] Those skilled in the art will understand that Figure 1The speaker device structure shown in the figures does not constitute a limitation on the device, and can include more or fewer components than shown, or combine certain components, or different component arrangements.
[0057] As shown in Figure 1 The memory 1005 as a computer storage medium can include an operating system, a network communication module, a user interface module, and a speaker self-detection program.
[0058] In the device shown in Figure 1 In the device shown in the device, the network interface 1004 is mainly used to connect to the background server and communicate data with the background server; the user interface 1003 is mainly used to connect to the client (user end) and communicate data with the client; and the processor 1001 can be used to call the speaker self-detection program stored in the memory 1005 and perform the following operations:
[0059] When the speaker device outputs the test signal, the displacement sensor collects displacement signals at the centering support, the dust cover, and / or the cone basin to obtain the diaphragm displacement signal of the speaker device;
[0060] According to the diaphragm displacement signal, the speaker device is self-detected.
[0061] In some possible embodiments, the processor 1001 can also be used to call the speaker self-detection program stored in the memory 1005 and perform the following operations:
[0062] Differentially compare the test signal with the sound signal received based on the preset reference microphone to obtain a first differential comparison result;
[0063] According to the first differential comparison result, a first test parameter is obtained;
[0064] Compare the first test parameter with a second test parameter obtained based on the diaphragm displacement signal to obtain a first parameter comparison result;
[0065] According to the first parameter comparison result, a device self-detection result of self-detecting the speaker device is determined.
[0066] In some possible embodiments, the device self-detection result includes: device abnormality and device normality; the processor 1001 can also be used to call the speaker self-detection program stored in the memory 1005 and perform the following operations:
[0067] If the comparison result is that the difference value between the first test parameter and the second test parameter is lower than a preset threshold, it is determined that the device self-detection result of self-detecting the speaker device is that the device is normal;
[0068] If the comparison result is that the difference between the first test parameter and the second test parameter is higher than a preset threshold, it is determined that a device self-detection result of self-detecting the loudspeaker device is that the device has an abnormality;
[0069] In some possible embodiments, the processor 1001 can also be configured to invoke a loudspeaker self-detection program stored in the memory 1005, and perform the following operation: performing the step of self-detecting the loudspeaker device according to the diaphragm displacement signal further includes:
[0070] comparing a preset standard parameter and a second test parameter obtained based on the diaphragm displacement signal to obtain a second parameter comparison result, the preset standard parameter being a standard parameter set based on the first test parameter;
[0071] determining a device self-detection result of self-detecting the loudspeaker device according to the second parameter comparison result.
[0072] In some possible embodiments, the device self-detection result includes that the second test parameter does not meet the standard parameter; the processor 1001 can also be configured to invoke the loudspeaker self-detection program stored in the memory 1005, and perform the following operation after performing the step of determining the detection result of self-detecting the loudspeaker device according to the second parameter comparison result:
[0073] when the device self-detection result is that the device has an abnormality, differentiating and comparing the second test parameter and the standard parameter to obtain a second differentiated comparison result;
[0074] judging an abnormality cause of the loudspeaker device according to the second differentiated comparison result;
[0075] In some possible embodiments, the abnormality cause includes hardware damage and non-hardware damage; the processor 1001 can also be configured to invoke the loudspeaker self-detection program stored in the memory 1005, and perform the following operation after performing the step of judging the abnormality cause of the loudspeaker device according to the second differentiated comparison result:
[0076] if the abnormality cause is hardware damage, outputting a self-detection report and suggesting repair;
[0077] if the abnormality cause is non-hardware damage, performing sound quality improvement processing on the loudspeaker device.
[0078] In some possible embodiments, the loudspeaker device is communicatively connected with a cloud; the processor 1001 can further be configured to invoke a loudspeaker self-detection program stored in the memory 1005, after performing the step of determining the abnormal reason of the loudspeaker device according to the second differentiated comparison result, and perform the following operations:
[0079] detecting whether a self-detection result sharing authorization is obtained;
[0080] when it is detected that the self-detection result sharing authorization is obtained, uploading the self-detection result to the cloud.
[0081] Based on the hardware structure described above, the overall idea of each embodiment of the loudspeaker self-detection method is proposed.
[0082] In the embodiments of the present application, a loudspeaker is a very common electronic device, which is commonly used in various sound systems and electronic devices that need to produce sound. The change of each parameter of the loudspeaker greatly affects the output sound quality of the loudspeaker. Therefore, the self-detection of the loudspeaker becomes a relatively important function of the loudspeaker.
[0083] At present, most loudspeakers on the market perform self-detection by first outputting a test signal through the loudspeaker and then detecting the parameters of the loudspeaker according to the signal received by the microphone. However, in some scenarios where a loudspeaker is provided but no microphone is provided, the loudspeaker cannot be self-detected by the above method.
[0084] In summary, how the loudspeaker performs self-detection with high precision in a scenario without a microphone has become a technical problem to be solved in the field.
[0085] To solve the above problems, the present application provides a loudspeaker self-detection method, device, loudspeaker device and storage medium, which are applied to a loudspeaker device. The loudspeaker device is provided with one or more displacement sensors at a centering support piece, a dust cover and / or a cone pot. The loudspeaker self-detection method comprises: when the loudspeaker device outputs a test signal, collecting a displacement signal at the centering support piece, the dust cover and / or the cone pot through the displacement sensor to obtain a diaphragm displacement signal of the loudspeaker device; and performing self-detection on the loudspeaker device according to the diaphragm displacement signal.
[0086] Compared with the traditional way of receiving a test signal through a microphone to perform a loudspeaker self-check, the loudspeaker self-checking method provided by the application comprises the following steps.
[0087] Thus, the loudspeaker self-checking method provided by the application is based on the improved loudspeaker structure and can be applied to the loudspeaker device to perform a self-checking with high accuracy without a microphone.
[0088] Please refer to Figure 3 , Figure 3 FIG. 1 is a flowchart of a first embodiment of the loudspeaker self-checking method provided by the application. It should be noted that although the logical order is shown in the flowchart, in some cases, the steps shown or described can be performed in an order different from that shown.
[0089] In this embodiment, the loudspeaker self-checking method provided by the application is applied to the earphone device described above. It should be understood that, based on different design needs of actual applications, the loudspeaker self-checking method provided by the application can of course be applied to other terminal devices in different feasible embodiments, such as a smart sound box provided with the loudspeaker device described above. For the sake of understanding and description, the loudspeaker device is taken as a direct execution subject to describe the loudspeaker self-checking method provided by the application in this embodiment.
[0090] As shown in Figure 3 , in this embodiment, the loudspeaker self-checking method provided by the application comprises the following steps.
[0091] Step S10: When the loudspeaker device outputs a test signal, displacement signal collection is performed at the centering support, the dust cover and / or the cone cup by the displacement sensor to obtain a diaphragm displacement signal of the loudspeaker device.
[0092] It should be noted that, in this embodiment, the displacement sensor is installed at the centering support, the dust cover and / or the cone cup. It should be understood that, based on different design needs of actual applications, the displacement sensor can of course be installed at other positions of the loudspeaker device, as long as the position can enable the displacement sensor to detect the displacement signal at the position to obtain the diaphragm displacement signal of the loudspeaker device when the loudspeaker device outputs the test signal.
[0093] In the embodiment, after the loudspeaker starts self-detection, the loudspeaker is driven by the integrated chip to make the loudspeaker output a test signal, and then the diaphragm displacement signal of the loudspeaker device is collected by one or more displacement sensors installed at the centering support, the dust cover and / or the cone cup.
[0094] In step S20, the loudspeaker device is self-detected according to the diaphragm displacement signal.
[0095] In the embodiment, the loudspeaker converts the diaphragm displacement signal collected by the displacement sensor into a displacement frequency curve, and relevant parameters for detecting the performance of the loudspeaker are calculated. Then, the relevant parameters are compared with parameters obtained by an external reference microphone or preset standard parameters, and the loudspeaker device is self-detected according to the comparison result.
[0096] In the embodiment, compared with the traditional way of receiving a test signal by a microphone to detect the loudspeaker, the loudspeaker self-detection method is applied to the loudspeaker device. When the loudspeaker device outputs a test signal, the displacement signal is collected at the centering support, the dust cover and / or the cone cup by the displacement sensor to obtain the diaphragm displacement signal of the loudspeaker device, and then the loudspeaker device is self-detected according to the diaphragm displacement signal.
[0097] Therefore, based on the improved loudspeaker structure, the loudspeaker self-detection method is proposed for the loudspeaker device. By the method, the loudspeaker device can be self-detected with high precision without a microphone.
[0098] Further, based on the first embodiment of the loudspeaker self-detection method, the second embodiment of the loudspeaker self-detection method is proposed.
[0099] The step S20 of self-detecting the loudspeaker device according to the diaphragm displacement signal can further include:
[0100] In step S2011, the test signal is compared with an acoustic signal received by a preset reference microphone to obtain a first comparison result.
[0101] In step S2012, a first test parameter is obtained according to the first comparison result.
[0102] It should be noted that in the embodiment, the preset reference microphone is a microphone set by a manufacturer to assist the loudspeaker self-detection.
[0103] In the embodiment, when the loudspeaker device performs self-detection before leaving the factory, after the loudspeaker device sends a test signal, the preset reference microphone receives an acoustic signal, and then compares the acoustic signal with the test signal sent by the loudspeaker device to obtain an impedance curve and other curves that can be used to characterize the performance of the loudspeaker, and then obtains the first test parameter for loudspeaker self-detection according to the impedance curve or other curves.
[0104] Step S2013, comparing the first test parameter with the second test parameter obtained based on the diaphragm displacement signal to obtain a first parameter comparison result.
[0105] Step S2014, determining a device self-detection result of self-detecting the loudspeaker device according to the first parameter comparison result.
[0106] In the embodiment, the diaphragm displacement signal collected by the displacement sensor can be used to obtain a displacement frequency curve of the loudspeaker device, and the second test parameter can be obtained according to the displacement frequency curve. After obtaining the second test parameter, the first test parameter is compared with the second test parameter to obtain a first parameter comparison result after comparison, and the device self-detection result of self-detecting the loudspeaker device can be determined through the first parameter comparison result.
[0107] Optionally, in a possible embodiment, the device self-detection result includes device abnormality and device normality, and based on this, step S2014 of determining the device self-detection result of self-detecting the loudspeaker device according to the first parameter comparison result can include:
[0108] Step A, if the comparison result is that the difference value between the first test parameter and the second test parameter is lower than a preset threshold, it is determined that the device self-detection result of self-detecting the loudspeaker device is that the device is normal.
[0109] Step B, if the comparison result is that the difference value between the first test parameter and the second test parameter is higher than a preset threshold, it is determined that the device self-detection result of self-detecting the loudspeaker device is that the device is abnormal.
[0110] In the embodiment, the first test parameter and the second test parameter are compared to obtain a comparison result of the first parameter after comparison. If the comparison result is that a difference value between the first test parameter and the second test parameter is lower than a preset threshold value, it is determined that a device self-detection result of self-detecting the loudspeaker device is that the device is normal and can be normally used after leaving the factory. If the comparison result is that the difference value between the first test parameter and the second test parameter is higher than the preset threshold value, it is determined that the device self-detection result of self-detecting the loudspeaker device is that the device is abnormal and needs to be repaired or eliminated.
[0111] Exemplarily, as shown in Figure 4 , Figure 4 is a flowchart of an implementation process of a loudspeaker device self-detection before leaving the factory in the second embodiment of the loudspeaker self-detection method. After a loudspeaker device configured with a displacement sensor is designed or produced by a design or production manufacturer, a reference microphone is set for auxiliary testing when the loudspeaker device is tested. After the loudspeaker device starts self-detection, the integrated chip drives the loudspeaker to output a test signal. At this time, the reference microphone receives an acoustic signal, and a difference comparison between the acoustic signal and the test signal can obtain an impedance curve and other curves of parameters that can represent the loudspeaker. According to the impedance curve, a resonance frequency of the loudspeaker device when the diaphragm vibration speed is the fastest can be obtained, and the resonance frequency is f0. At the same time, the displacement sensor also collects a diaphragm displacement signal, and the integrated chip processes the signal to obtain a displacement frequency curve. After a simple transformation, the resonance frequency of the loudspeaker device when the diaphragm vibration speed is the fastest in the diaphragm displacement signal can be obtained, and the resonance frequency is f0'. The f0 and f0' are compared. If a difference value between the f0 and f0' is greater than a threshold value, it indicates that the loudspeaker device is abnormal and needs to be re-inspected or repaired. If the difference value between the f0 and f0' is within the threshold value, it indicates that the loudspeaker device can normally operate, and the loudspeaker parameters obtained from the impedance curve and other curves of parameters that can represent the loudspeaker are used as standard values, or a range set based on the above loudspeaker parameters is used as a standard range.
[0112] It should be noted that in the embodiment, the manufacturer can set standard parameters for self-detection after leaving the factory for all loudspeaker devices of the same model according to loudspeaker parameters of a loudspeaker device that can normally operate, or set standard parameters for self-detection after leaving the factory for each loudspeaker device. The above loudspeaker parameters include, but are not limited to, maximum vibration speed, resonance frequency, displacement frequency curve and other parameters that can be used to represent loudspeaker performance.
[0113] In the embodiment, the manufacturer can set the reference microphone before the loudspeaker is shipped, obtain the comparison result of the test signal and the sound signal received by the reference microphone, compare the comparison result with the diaphragm displacement signal received by the displacement sensor, determine whether the performance of the produced loudspeaker device is abnormal according to the comparison result, set the standard value or standard range for the self-detection of the loudspeaker after the loudspeaker is shipped according to the comparison result of the test signal and the sound signal received by the reference microphone, facilitate the self-detection of the loudspeaker without microphone after the loudspeaker is shipped, and facilitate the consumers to have more accurate understanding of the performance of the loudspeaker.
[0114] Further, based on the first embodiment and / or the second embodiment of the loudspeaker self-detection method of the application, the third embodiment of the loudspeaker self-detection method of the application is proposed.
[0115] The step S20 of self-detecting the loudspeaker device according to the diaphragm displacement signal can further include:
[0116] In step S2021, the preset standard parameter is compared with the second test parameter obtained based on the diaphragm displacement signal to obtain a second parameter comparison result, and the preset standard parameter is a standard parameter set based on the first test parameter.
[0117] In step S2022, the device self-detection result of self-detecting the loudspeaker device is determined according to the second parameter comparison result.
[0118] It should be noted that in the embodiment, the preset standard parameter can be a value or a range.
[0119] In the embodiment, after the loudspeaker is shipped, the consumer self-detects the loudspeaker device, and the loudspeaker device compares the second test parameter obtained based on the diaphragm displacement signal with the preset standard parameter to obtain a second parameter comparison result, and obtains the device self-detection result of the consumer self-detecting the loudspeaker according to the second parameter comparison result.
[0120] Optionally, in a feasible embodiment, the device self-detection result includes that the second test parameter does not conform to the standard parameter, and based on this, after the step S2022 of determining the device self-detection result of self-detecting the loudspeaker device according to the second parameter comparison result, the method can further include:
[0121] In step S2023, when the device self-detection result is that the device has an abnormality, the second test parameter is compared with the standard parameter to obtain a second differential comparison result.
[0122] Step S2024, judging the abnormal reason of the loudspeaker device according to the second differentiated comparison result;
[0123] In the embodiment, after obtaining the device self-detection result of the self-detection of the loudspeaker device by the consumer, if the second test parameter meets the standard parameter, it is judged that the loudspeaker device has no abnormality, and then the self-detection mode is exited; if the second test parameter does not meet the standard parameter, it is judged that the loudspeaker device has an abnormality, and then the second test parameter is differentiated compared with the standard parameter to obtain a second differentiated comparison result.
[0124] Optionally, in a possible embodiment, the abnormal reason includes hardware damage and non-hardware damage; based on this, after the step S2024 of judging the abnormal reason of the loudspeaker device according to the second differentiated comparison result, the loudspeaker self-detection method further includes:
[0125] Step C, if the abnormal reason is hardware damage, outputting a self-detection report and suggesting repair;
[0126] Step D, if the abnormal reason is non-hardware damage, performing sound quality improvement processing on the loudspeaker device.
[0127] It should be noted that, in the embodiment, the method of outputting the self-detection report and suggesting repair includes but is not limited to the following methods: using the loudspeaker to play voice, outputting through the mobile phone software, outputting through the display screen, etc.; and the method of improving the sound quality includes but is not limited to EQ compensation and Smart PA.
[0128] In the embodiment, after the loudspeaker device judges the abnormal reason, if the abnormal reason is hardware damage, the self-detection report is outputted to the user and the user is suggested to repair the loudspeaker device; if the abnormal reason is non-hardware damage, the user can choose whether to improve the sound quality of the loudspeaker device.
[0129] Optionally, in a possible embodiment, after the step S2024 of judging the abnormal reason of the loudspeaker device according to the second differentiated comparison result, the loudspeaker self-detection method further includes:
[0130] Step E, detecting whether the self-detection result sharing authorization is obtained;
[0131] Step F, when it is detected that the self-detection result sharing authorization is obtained, uploading the self-detection result to the cloud.
[0132] In this embodiment, after the speaker device judges the abnormal reason, the speaker device immediately detects whether to obtain the self-detection result sharing authorization, and uploads the speaker self-detection result to the cloud through the network when it is detected that the self-detection result sharing authorization is obtained.
[0133] Exemplarily, as shown in Figure 5 , Figure 5 is a flowchart of the implementation process of the post-factory speaker device self-detection of the third embodiment of the speaker self-detection method. After the factory detection of the speaker, the consumer can make the speaker perform self-detection by starting the speaker self-detection mode. After the speaker device starts self-detection, the integrated chip drives the speaker to output a test signal. At this time, the displacement sensor collects the diaphragm displacement signal. The integrated chip processes the signal to obtain the displacement frequency curve. After a simple transformation, the following test parameters can be obtained: f0, maximum vibration speed and displacement frequency curve. Compare the above test parameters with the standard parameters. If the test parameters meet the standard parameters, it is judged that the speaker device does not exist abnormality, and then the self-detection mode is exited. If the test parameters do not meet the standard parameters, it is judged that the speaker device exists abnormality, and the abnormal reason of the speaker device is judged according to the differential comparison of the test parameters and the standard parameters. After judging the abnormal reason of the speaker device, the sound quality is compensated by EQ compensation and Smart PA. If the abnormal reason is that the speaker device hardware is damaged, the speaker performance cannot be improved by compensating the sound quality, the self-detection report is displayed to the consumer, and the consumer is suggested to send the speaker device back to the manufacturer for repair. At the same time, the speaker device asks the consumer whether to give the self-detection result sharing authorization. After obtaining the self-detection result sharing authorization, the self-detection data is transmitted to the manufacturer through the network. The manufacturer analyzes the test environment parameters and the test results by big data analysis to analyze the market failure mode.
[0134] Alternatively, the manufacturer can perform small-batch function tests on the speaker devices after factory in various places around the world. The product function integrity is detected in various different environmental temperatures and humidities to improve the product for the manufacturer.
[0135] In this embodiment, when the consumer makes the speaker device perform self-detection after the speaker device is factory, the standard parameters and the diaphragm displacement signal received by the displacement sensor are compared. According to the comparison result, it is determined whether the speaker device exists abnormality and the abnormal reason is judged. After the speaker appears abnormality, the sound quality is compensated by EQ compensation and Smart PA. If the speaker hardware is damaged and cannot be compensated, the self-detection report is displayed to the consumer and the consumer is suggested to repair. At the same time, the self-detection data is uploaded to the manufacturer for analysis.
[0136] Thus, the loudspeaker device can perform high-precision self-detection in a scene without a microphone when the loudspeaker device is in the user's hand, and the loudspeaker device with an abnormality can be improved through adaptive EQ compensation and a smart PA. For cases that cannot be improved, the consumer is suggested to send for repair, thereby reducing the repair cost to a certain extent. For the manufacturer side, a large number of market environments and failure modes can be collected, and the influence of the environment on the product and the market failure mode can be further analyzed, thereby reducing the cost of analyzing the failure mode of the product that has been shipped.
[0137] In addition, the application further provides a loudspeaker self-detection device.
[0138] Please refer to Figure 6 The loudspeaker self-detection device comprises:
[0139] The signal acquisition module 10 is configured to acquire a diaphragm displacement signal of the loudspeaker device by means of the displacement sensor at the centering support, the dust cover and / or the cone pot when the loudspeaker device outputs a test signal.
[0140] The self-detection module 20 is configured to perform self-detection on the loudspeaker device according to the diaphragm displacement signal.
[0141] Optionally, the self-detection module 20 comprises:
[0142] The pre-shipment self-detection unit is configured to compare the test signal with an acoustic signal received by a preset reference microphone to obtain a first comparison result, obtain a first test parameter according to the first comparison result, compare the first test parameter with a second test parameter obtained based on the diaphragm displacement signal to obtain a first parameter comparison result, and determine a device self-detection result of self-detection on the loudspeaker device according to the first parameter comparison result.
[0143] Optionally, the pre-shipment self-detection unit comprises:
[0144] The result judgment subunit is configured to determine that the device self-detection result of self-detection on the loudspeaker device is that the device does not have an abnormality if the comparison result is that a difference value between the first test parameter and the second test parameter is lower than a preset threshold, and determine that the device self-detection result of self-detection on the loudspeaker device is that the device has an abnormality if the comparison result is that the difference value between the first test parameter and the second test parameter is higher than the preset threshold.
[0145] Optionally, the self-detection module 20 further comprises:
[0146] The post-factory self-detection unit is configured to compare a preset standard parameter with a second test parameter obtained based on the diaphragm displacement signal to obtain a second parameter comparison result, wherein the preset standard parameter is obtained based on the first test parameter; and determine a device self-detection result of self-detecting the loudspeaker device according to the second parameter comparison result.
[0147] Optionally, the post-factory self-detection unit comprises:
[0148] The abnormality cause judgment sub-unit is configured to, when the device self-detection result indicates that the device has an abnormality, compare the second test parameter with the standard parameter to obtain a second differential comparison result; and determine an abnormality cause of the loudspeaker device according to the second differential comparison result.
[0149] The sound quality improvement sub-unit is configured to, when the abnormality cause is hardware damage, output a self-detection report and suggest repair; and when the abnormality cause is not hardware damage, perform sound quality improvement processing on the loudspeaker device.
[0150] The data sharing sub-unit is configured to detect whether a self-detection result sharing authorization is obtained; and upload the self-detection result to the cloud when it is detected that the self-detection result sharing authorization is obtained.
[0151] The functions of each module of the loudspeaker self-detection device correspond to the steps of the loudspeaker self-detection method, and the functions and implementation processes will not be repeated here.
[0152] In addition, the present application also proposes a loudspeaker device, which comprises a memory, a processor, and a loudspeaker self-detection program stored in the memory and executable on the processor. When the loudspeaker self-detection program of the device is executed by the processor, the steps of the loudspeaker self-detection method according to any one of the above embodiments are implemented.
[0153] The specific embodiments of the device of the present application are basically the same as those of the loudspeaker self-detection method, and will not be repeated here.
[0154] In addition, the present application also proposes a storage medium, which stores a loudspeaker self-detection program. When the loudspeaker self-detection program is executed by a processor, the steps of the loudspeaker self-detection method according to the present application are implemented.
[0155] The specific embodiments of the computer storage medium of the present application are basically the same as those of the loudspeaker self-detection method, and will not be repeated here.
[0156] It should be noted that, in this document, the terms "comprises", "comprising", or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can also include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element preceded by "comprises... a" does not, without more constraints, foreclose the existence of additional identical elements in the process, method, article, or apparatus that comprises the recited element.
[0157] The above-mentioned sequence numbers of embodiments of the present application are only for description, and do not represent advantages or disadvantages of the embodiments.
[0158] From the above description of the embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be realized by means of software and necessary general hardware platforms, and of course can also be realized by hardware, but in many cases the former is a better embodiment. Based on such understanding, the technical solutions of the present application can be embodied in the form of a software product, which is stored in a storage medium (such as a ROM / RAM, a magnetic disk, or an optical disk) and includes a plurality of instructions for causing a speaker device (which can be a mobile phone, a smart speaker, a smart air conditioner, etc.) to execute the methods described in the various embodiments of the present application.
[0159] The above is only a preferred embodiment of the present application, and does not limit the patent scope of the present application, and any equivalent structure or equivalent process transformation using the content of the specification and drawings, or direct or indirect application in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A method of speaker self-detection, the method comprising: The loudspeaker self-detection method is applied to a loudspeaker device, and one or more displacement sensors are installed at a centering support, a dust cover, and / or a cone basin of the loudspeaker device; The loudspeaker self-detection method comprises: When the loudspeaker device outputs a test signal, a diaphragm displacement signal of the loudspeaker device is collected at the centering support, the dust cover, and / or the cone basin by the displacement sensors to obtain a diaphragm displacement signal of the loudspeaker device; The test signal is compared with an acoustic signal received by a preset reference microphone to obtain an impedance curve; A resonance frequency f0 of the loudspeaker device at which the diaphragm vibrates fastest is obtained according to the impedance curve, and the f0 is determined as a first test parameter; The diaphragm displacement signal is processed to obtain a displacement frequency curve; A resonance frequency f0' of the loudspeaker device at which the diaphragm vibrates fastest is obtained according to the displacement frequency curve, and the f0' is determined as a second test parameter; The first test parameter and the second test parameter are compared to obtain a first parameter comparison result; A device self-detection result of self-detection of the loudspeaker device is determined according to the first parameter comparison result.
2. The speaker self-test method of claim 1, wherein, The device self-detection result comprises: device abnormality and device normality; The step of determining the device self-detection result of self-detection of the loudspeaker device according to the first parameter comparison result comprises: If a difference value of the first test parameter and the second test parameter is lower than a preset threshold, it is determined that the device self-detection result of self-detection of the loudspeaker device is the device normality; If the difference value is higher than the preset threshold, it is determined that the device self-detection result is the device abnormality.
3. The speaker self-test method of claim 1, wherein, The step of self-detecting the loudspeaker device according to the diaphragm displacement signal further comprises: A second parameter comparison result is obtained by comparing a preset standard parameter with a second test parameter obtained based on the diaphragm displacement signal, wherein the preset standard parameter is obtained based on the first test parameter; A device self-detection result of self-detection of the loudspeaker device is determined according to the second parameter comparison result.
4. The speaker self-test method of claim 3, wherein, After the step of determining the device self-detection result of self-detection of the loudspeaker device according to the second parameter comparison result, the method further comprises: When the device self-detection result is the device abnormality, a second difference comparison result is obtained by comparing the second test parameter with the standard parameter; An abnormality cause of the loudspeaker device is determined according to the second difference comparison result.
5. The speaker self-test method of claim 4, wherein, The abnormality cause comprises: hardware damage and non-hardware damage; After the step of determining the abnormality cause of the loudspeaker device according to the second difference comparison result, the method further comprises: If the abnormality cause is the hardware damage, a self-detection report is outputted and repair is suggested; If the abnormality cause is the non-hardware damage, sound quality improvement processing is performed on the loudspeaker device.
6. The speaker self-test method of claim 4, wherein, The loudspeaker device is communicatively connected with a cloud. After the step of judging the abnormal reason of the loudspeaker device according to the second differentiated comparison result, the method further comprises: detecting whether a self-detection result sharing authorization is obtained; uploading the self-detection result to the cloud when it is detected that the self-detection result sharing authorization is obtained.
7. A speaker self-test apparatus, characterized by comprising: The device is applied to a loudspeaker device, and the loudspeaker device is provided with one or more displacement sensors at a centering support sheet, a dust cover and / or a cone basin. The loudspeaker self-detection device comprises: a signal acquisition module, configured to acquire a diaphragm displacement signal of the loudspeaker device by the displacement sensor at the centering support sheet, the dust cover and / or the cone basin when the loudspeaker device outputs a test signal; a self-detection module, configured to differentiate and compare the test signal and an acoustic signal received based on a preset reference microphone to obtain an impedance curve; determine a resonance frequency f0 of the loudspeaker device when the diaphragm vibration speed is the fastest according to the impedance curve, and determine the f0 as a first test parameter; process the diaphragm displacement signal to obtain a displacement frequency curve; determine a resonance frequency f0' of the loudspeaker device when the diaphragm vibration speed is the fastest in the diaphragm displacement signal according to the displacement frequency curve, and determine the f0' as a second test parameter; compare the first test parameter and the second test parameter to obtain a first parameter comparison result; determine a device self-detection result of self-detection of the loudspeaker device according to the first parameter comparison result.
8. A speaker device, comprising: The loudspeaker device comprises a memory, a processor and a loudspeaker self-detection program stored on the memory and executable on the processor, and the loudspeaker self-detection program implements the steps of the loudspeaker self-detection method of any one of claims 1 to 6 when executed by the processor.
9. A storage medium, characterized by The storage medium stores a loudspeaker self-detection program, and the loudspeaker self-detection program implements the steps of the loudspeaker self-detection method of any one of claims 1 to 6 when executed by the processor.
Citation Information
Patent Citations
Method and device for automatically detecting loudspeaker and mobile terminal
CN108307284A
Sensor assembly for measuring diaphragm displacement and temperature in a micro speaker
CN108933980A
Automatically tuning an audio compressor to prevent distortion
CN109391877A