CN112911483B - Interception method, device and storage medium for effective data starting point of feedback signal - Google Patents

Interception method, device and storage medium for effective data starting point of feedback signal Download PDF

Info

Publication number
CN112911483B
CN112911483B CN202110085500.XA CN202110085500A CN112911483B CN 112911483 B CN112911483 B CN 112911483B CN 202110085500 A CN202110085500 A CN 202110085500A CN 112911483 B CN112911483 B CN 112911483B
Authority
CN
China
Prior art keywords
data
feedback signal
amplitude
interval
amplitude difference
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110085500.XA
Other languages
Chinese (zh)
Other versions
CN112911483A (en
Inventor
陈怡诺
张午
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou HYC Technology Co Ltd
Original Assignee
Suzhou HYC Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou HYC Technology Co Ltd filed Critical Suzhou HYC Technology Co Ltd
Priority to CN202110085500.XA priority Critical patent/CN112911483B/en
Publication of CN112911483A publication Critical patent/CN112911483A/en
Application granted granted Critical
Publication of CN112911483B publication Critical patent/CN112911483B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R29/00Monitoring arrangements; Testing arrangements
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Otolaryngology (AREA)
  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Complex Calculations (AREA)
  • Tests Of Electronic Circuits (AREA)

Abstract

The invention provides a method, a device and a storage medium for intercepting a feedback signal effective data starting point, wherein the method comprises the following steps: selecting a first data interception interval from a feedback signal formed in a preset time delay, and acquiring a difference value between a maximum amplitude and a minimum amplitude as a first amplitude difference; starting from the end point of the first data interception interval, sequentially dividing the feedback signal into a plurality of data subsections with the same length, and acquiring the difference value of the maximum amplitude and the minimum amplitude of each data subsection as a second amplitude difference; corresponding to each test device, selecting a data subsection according to the magnitude relation of the first magnitude difference and the second magnitude difference, and taking the selected data subsection as a second data intercepting interval; and corresponding to each test device, selecting a point at the same position of the second data interception interval section as a starting point of effective data. The invention can accurately calculate the effective data starting point, has high reliability and improves the reliability of the result.

Description

Interception method, device and storage medium for effective data starting point of feedback signal
Technical Field
The invention relates to the technical field of parameter detection of electroacoustic products, in particular to a method and equipment for intercepting a starting point of effective data of a feedback signal and a storage medium.
Background
The analysis and calculation of the frequency sweep signal in the acoustic related items are common technical means, such as: microphone test items.
As shown in fig. 1, the microphone test comprises the following main steps: 1) controlling a reference microphone (Ref Mic), a product to be tested microphone (DUT Mic) and a power Amplifier (Amplifier) by using a PC (personal computer) to connect a Sound Card (Sound Card); 2) calibrating equipment; 3) starting Ref Mic and DUT Mic, playing frequency sweeping signals after preset time delay (0.1s), and simultaneously receiving data by the two Mics; 4) respectively calculating the received feedback signals and correspondingly obtaining 2 groups of THD (Total Harmonic Distortion) curves and 2 groups of FR (frequency response) curves; 5) and comparing the same type of curves to obtain the test result of the DUT Mic.
In the test process, a problem exists, and due to factors such as a computer system reason and a distance existing in a physical environment, a delay phenomenon occurs when a sweep frequency signal is sent out, so that the position of a start point of a real effective data part in the received sweep frequency signal is difficult to judge.
As shown in fig. 2, in order to play the frequency sweep signal after starting the recording for 0.1s, the starting part of the Ref Mic acquiring the feedback signal is composed of noise and effective signal connection, the sampling frequency FS is 44100Hz, the framed area is unknown noise, and about 950 data points; if the frame selection data is not processed and is used as a valid signal for calculation, the test result is seriously influenced, so that invalid noise parts must be deleted as accurately as possible for the accuracy of the calculation result.
In the prior art, three ways are used to remove noise.
Scheme 1: the effective signal starting point is identified by manual assistance, however, the identification mode has certain limitation and is not suitable for mass production and automatic production.
Scheme 2: methods for averaging using multiple experiments, such as: the former FS 0.1+950 5360 data are deleted as invalid data each time to obtain valid data, however, experiments prove that the result of the scheme is unreliable due to certain randomness and variability of the time delay of the system and the influence of the physical environment.
Scheme 3: a threshold method, a threshold value is configured, and the effective data part is considered to enter when the threshold value is exceeded; however, this method has a difficulty, and it is first shown by a lot of experiments that the selection of the threshold value must be flexibly selected according to the data characteristics of each noise part, because the invalid data part is noise, and the noise is uncontrollable in the actual production environment and may have various forms; thus, a single, fixed threshold cannot meet the algorithm requirements.
Disclosure of Invention
In order to solve the above technical problem, an object of the present invention is to provide a method, an apparatus, and a storage medium for intercepting a start point of effective data of a feedback signal.
In order to achieve one of the above objects, an embodiment of the present invention provides a method for intercepting a start point of valid data of a feedback signal, where the method includes: after each test device is powered on, starting to record a received feedback signal, wherein the feedback signal is formed by test signal feedback, and the test signal comprises: the method comprises the steps that a sweep frequency signal is transmitted after the test equipment is started, and an interference signal is formed in a preset delay period formed between the test equipment is powered on and the test equipment is started; the number of the test devices is at least 2;
selecting a first data interception interval from a feedback signal formed in a preset time delay, and acquiring a difference value between a maximum amplitude and a minimum amplitude as a first amplitude difference;
starting from the end point of the first data interception interval, sequentially dividing the feedback signal into a plurality of data subsections with the same length, and acquiring the difference value of the maximum amplitude and the minimum amplitude of each data subsection as a second amplitude difference;
corresponding to each test device, selecting a data subsection according to the magnitude relation of the first magnitude difference and the second magnitude difference, and taking the selected data subsection as a second data intercepting interval;
and corresponding to each test device, selecting a point at the same position of the second data interception interval section as a starting point of effective data.
As a further improvement of an embodiment of the present invention, selecting the first data truncation interval from the feedback signal formed within the preset delay includes: corresponding to each test device, determining a first data starting point of a first data interception interval corresponding to the feedback signal according to a preset delay, wherein the first data starting point is at M1 times of the preset delay, and M1 belongs to [0,1 ];
determining a first data end point according to the first data starting point and the playing frequency FS of the sweep frequency signal, wherein the first data end point is L data points which are extended from the first data starting point; l ═ N × step;
Figure BDA0002910595270000031
N>1,FS≥18000Hz,Pram∈(1,1000]the first data interception end point is before a position M2, and the position M2 is at the product of a playing frequency FS and a preset delay;
intercepting data between the first data start point and the first data end point on the feedback signal as a first data interception interval of each test device.
As a further improvement of an embodiment of the present invention, the length of the data sub-section is configured to be smaller than the length of the first data truncation section.
As a further improvement of an embodiment of the present invention, selecting, for each test device, a data sub-segment according to a magnitude relationship between the first magnitude difference and the second magnitude difference, and using the selected data sub-segment as the second data capture segment includes:
s31, sequentially acquiring a second amplitude difference of each data subsection from the first data end point;
and if the second amplitude difference of the current data subsegment is not less than A1 times of the first amplitude difference, stopping the calculation of the second amplitude difference of the next data subsegment, and taking the current data subsegment as a second data interception interval, wherein A1 belongs to [1.5, 3 ].
As a further improvement of an embodiment of the present invention, after step S31, the method further includes:
s32, sequentially dividing the feedback signal into at least 2 data segments with the same length from the start point of the second data interception interval to the end point of the second data interception interval, and acquiring the difference value between the maximum amplitude and the minimum amplitude of each data segment as a third amplitude difference;
if the third amplitude difference of the current data segment is not less than A2 times of the first amplitude difference, stopping the calculation of the third amplitude difference of the next data segment, and replacing the second data interception interval with the current data segment;
wherein, the configuration A2 is less than A1, or the configuration A2 is (A1-1)/2+1, and A2 belongs to [1.5, 3 ].
As a further improvement of an embodiment of the present invention, the method further comprises: configuration a2 ═ (a1-1)/2+ 1.
As a further improvement of an embodiment of the present invention, after step S31, the method further includes:
s32, averagely dividing the feedback signal into 2 data segments from the start point of the second data interception interval to the end point of the second data interception interval, and acquiring the difference value between the maximum amplitude and the minimum amplitude of the previous data segment as a third amplitude difference;
if the third amplitude difference of the previous data segment is not less than A2 times of the first amplitude difference, stopping the calculation of the third amplitude difference of the next data segment, and replacing the second data interception interval with the current data segment;
if the third amplitude difference of the previous data segment is smaller than A2 times of the first amplitude difference, stopping the calculation of the third amplitude difference of the next data segment, and replacing the second data interception interval with the next data segment;
wherein, the configuration A2 is less than A1, or the configuration A2 is (A1-1)/2+1, and A2 belongs to [1.5, 3 ].
As a further improvement of an embodiment of the present invention, selecting, for each test device, a point at the same position of the second data capture block section as a valid data start point includes:
and taking the starting point of the second data interception block section as the starting point of the effective data.
As a further improvement of an embodiment of the present invention, the method further comprises: configuring an iteration time threshold Q; q is a positive integer belonging to [1,3 ];
the step S32 is executed in Q cycles, and each time the step S32 is executed,
the value of configuration A2 is less than the value of A2 at the last iteration;
or configuration a2 ═ (A3-1)/2+1, and A3 is the value of a2 last time step S32 was performed.
In order to solve one of the above objects, an embodiment of the present invention provides an electronic device, which includes a memory and a processor, wherein the memory stores a computer program operable on the processor, and the processor executes the computer program to implement the steps in the method for intercepting the effective data start point of the feedback signal as described above.
In order to solve one of the above objects, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the steps in the method for intercepting the start point of the effective data of the feedback signal as described above.
Compared with the prior art, the invention has the beneficial effects that: the interception method, the equipment and the storage medium for the effective data starting point of the feedback signal accurately calculate the effective data starting point, have high reliability, can realize mass production, improve the efficiency and improve the reliability of the result.
Drawings
Fig. 1 is a schematic structural diagram of a microphone testing device according to the background art;
FIG. 2 is a diagram illustrating the feedback signal results involved in the background art;
fig. 3 is a schematic flow chart of a method for intercepting a start point of effective data of a feedback signal according to an embodiment of the present invention;
FIGS. 4 to 7 are schematic flow charts illustrating a preferred embodiment of one of the steps in FIG. 3;
fig. 8 to 15 are schematic structural diagrams of a specific example of the present invention, respectively.
Detailed Description
The present invention will be described in detail below with reference to specific embodiments shown in the drawings. These embodiments are not intended to limit the present invention, and structural, methodological, or functional changes made by those skilled in the art according to these embodiments are included in the scope of the present invention.
The method is mainly applied to testing the performance of the microphone in an acoustic test project; specifically, after each testing device is turned on, the testing device is a microphone, and the number of the testing devices is at least 2, for example: the test equipment is a reference microphone and a product microphone to be tested, and can receive feedback signals of a plurality of reference microphones and the product microphone to be tested simultaneously in the same test process, which is not described herein again.
In the testing process, after a preset delay after each testing device is powered on, the testing device is started, and a received feedback signal starts to be recorded immediately after the testing device is powered on, wherein the feedback signal is formed by the feedback of a testing signal, and the testing signal comprises: the test device comprises a sweep frequency signal emitted after the test device is started and an interference signal formed in a preset delay period formed between the test device is powered on and the test device is started.
As shown in fig. 3, a first embodiment of the present invention provides a method for intercepting a start point of valid data of a feedback signal, where the method includes:
s1, selecting a first data interception interval from a feedback signal formed in a preset time delay, and acquiring a difference value between a maximum amplitude and a minimum amplitude as a first amplitude difference;
s2, starting from the end point of the first data intercepting interval, sequentially dividing the feedback signal into a plurality of data subsegments with the same length, wherein the length of each data subsegment is smaller than that of the first data intercepting interval, and acquiring the difference value between the maximum amplitude and the minimum amplitude of each data subsegment as a second amplitude difference;
s3, corresponding to each test device, selecting a data subsection according to the size relation of the first amplitude difference and the second amplitude difference, and taking the selected data subsection as a second data intercepting interval;
and S4, selecting a point corresponding to each test device at the same position of the second data interception interval section as a starting point of effective data.
Referring to fig. 4, regarding step S1, a preferred embodiment of the present invention includes: corresponding to each test device, determining a first data starting point of a first data interception interval corresponding to the feedback signal according to a preset delay, wherein the first data starting point is at M1 times of the preset delay, and M1 belongs to [0,1 ];
determining a first data end point according to the first data starting point and the playing frequency FS of the sweep frequency signal, wherein the first data end point is L data points which are extended from the first data starting point; l ═ N × step;
Figure BDA0002910595270000061
N>1,FS≥18000Hz,Pram∈(1,1000]the first data interception end point is before a position M2, and the position M2 is at the product of a playing frequency FS and a preset delay;
intercepting data between the first data start point and the first data end point on the feedback signal as a first data interception interval of each test device.
In a specific example of the present invention, the configuration M1 is 0.9, Pram is 1000, N is 5, and FS is 44100 Hz.
The preset delay can be specifically set as required, the preset delay is represented by a parameter time, the value of the time is set to 0.1s, correspondingly, the first data starting point is the position of time M1 after the test equipment is powered on, namely the first data starting point is the position of data points of time M1 FS; here, if the result of time M1 FS is not an integer, a rounding rule is set for it in advance, for example: the result is rounded up or rounded down.
Further, the first data end point is the time M1 FS + L data points.
Here, the size of L affects the length of the first data capture interval, the larger the length, the larger the calculation amount, and the higher the calculation accuracy, here, L is calculated by two parameters N and step, so as to facilitate the following description about obtaining a more accurate effective data starting point by an iterative algorithm, which will be further described below.
For step S2, the length of the data sub-segment represents the accuracy of the calculation result, which will be described further below.
Referring to fig. 5, regarding step S3, in the first preferred embodiment of the present invention, step S3 includes: s31, sequentially acquiring a second amplitude difference of each data subsection from the first data end point;
if the second amplitude difference of the current data subsegment is not less than A1 times of the first amplitude difference, stopping the calculation of the second amplitude difference of the next data subsegment, and taking the current data subsegment as a second data interception interval, wherein A1 belongs to [1.5, 3 ].
In a preferred embodiment of the present invention, the length of each data sub-segment is configured to be step, that is, the precision of the starting point of the valid data obtained by calculation is step data points.
In a specific example of the present invention, a1 ═ 2; for example: if the second amplitude difference of the first data subsegment formed by step data points is larger than or equal to 2 times of the first amplitude difference from the first data end point, taking the current data subsegment as a second data intercepting interval; if the second amplitude difference of the first data subsegment is smaller than 2 times of the first amplitude difference, continuing the judgment of the next data subsegment until the second amplitude difference corresponding to the data subsegment is found to be larger than or equal to 2 times of the first amplitude difference, finishing the searching and calculating of the next data subsegment, and taking the data subsegment which currently meets the conditions as a second data interception interval.
Further, in order to improve the accuracy, the present invention employs an iterative algorithm to reduce the length of the second data truncation interval based on the first preferred embodiment of implementing step S3.
With reference to fig. 6, specifically, in the second preferred embodiment of the present invention, regarding step S3, based on the implementation of step S31, the method further includes: s32, sequentially dividing the feedback signal into at least 2 data segments with the same length from the start point of the second data interception interval to the end point of the second data interception interval, and acquiring the difference value between the maximum amplitude and the minimum amplitude of each data segment as a third amplitude difference;
if the third amplitude difference of the current data segment is not less than A2 times the first amplitude difference, stopping the calculation of the third amplitude difference of the next data segment and replacing the second data capture segment with the current data segment, A2 < A1, A2 ∈ [1.5, 3 ].
In a preferred embodiment of the present invention, a2 ═ 2+1 (a1-1), in this particular example a2 ═ 1.5 (2-1)/2+ 1.
It is to be understood that, in step S32, if the number of divided data segments is 2, the length of the data segment in step S32 is step/2; if the number of divided data segments is 4, the length of the data segment in step S32 is step/4; it can be understood that, if the length of the data sub-segment cannot be equally divided by the determined number of the data segments, the length of the current data sub-segment may be appropriately extended, or the length of one of the data segments is kept smaller than the length of the other data segments, which is not further described herein.
Further, in order to improve the accuracy and reduce the calculation amount, the present invention employs an iterative algorithm to reduce the length of the second data truncation section based on the first preferred embodiment of step S3.
Specifically, referring to fig. 7, in the third preferred embodiment of the present invention, regarding step S3, based on the implementation of step S31, the method further includes: s32, averagely dividing the feedback signal into 2 data segments from the start point of the second data interception interval to the end point of the second data interception interval, and acquiring the difference value between the maximum amplitude and the minimum amplitude of the previous data segment as a third amplitude difference;
if the third amplitude difference of the previous data segment is not less than A2 times of the first amplitude difference, stopping the calculation of the third amplitude difference of the next data segment, and replacing the second data interception interval with the current data segment;
if the third amplitude difference of the previous data segment is smaller than A2 times of the first amplitude difference, stopping the calculation of the third amplitude difference of the next data segment, and replacing the second data interception interval with the next data segment;
A2<A1,A2∈[1.5,3]。
in a preferred embodiment of the present invention, a2 ═ (a1-1)/2+ 1.
In this example, the number of data segments is 2, the length of the data segment is half of the length of the data subsegment, where, if the length of the data subsegment is step, the length of the data segment is step/2; because of the particularity of the number of data segments, a valid data start point exists in one of the previous data segment and the next data segment; correspondingly, only the previous data segment needs to be judged, whether the previous data segment contains an effective data starting point is judged, if yes, the previous data segment is reserved and replaces the second data intercepting interval, if not, the effective data starting point is always located in the next data segment, at the moment, no further calculation is carried out, the second data intercepting interval is directly replaced by the next data segment, and the calculation amount is reduced.
Further, in order to improve the accuracy, the present invention implements the fourth preferred embodiment of step S3, and further reduces the length of the second data truncation interval by using an iterative algorithm based on the second preferred embodiment or the third preferred embodiment of step S3. Specifically, the method for implementing the fourth preferred embodiment of step S3 further includes: configuring an iteration time threshold Q; q is a positive integer, Q is equal to [1,3], after the step S32, executing the step S32 in Q loops, and configuring the value of A2 to be smaller than the value of A2 in the last iteration each time the step S32 is executed.
Preferably, configuration a2 is (A3-1)/2+1, and A3 is the value of a2 last time step S32 was performed.
For step S4, preferably, for each test device, the same rule is used to select any data point in the second data capture interval before the data point with the largest amplitude as the starting point of valid data;
the same rule is for example: for each test device, selecting a data point with equal length before the maximum amplitude data point, and selecting a midpoint between the maximum amplitude data point and the second data interception interval as an effective data starting point; of course, the middle point, the end point, etc. of the second data interception interval can be selected as the calculation basis.
In a preferred embodiment of the present invention, the start point of the second data capture interval is used as the start point of the valid data.
Further, an embodiment of the present invention provides an electronic device, which includes a memory and a processor, where the memory stores a computer program executable on the processor, and the processor executes the program to implement the steps in the method for intercepting the start point of the effective data of the feedback signal as described above.
Further, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps in the method for intercepting the start point of the effective data of the feedback signal as described above.
In addition, the above-described effective data start point extraction method is selected for any feedback signal, and the effective data start point is acquired.
In a specific example of the present invention, Ref Mic and horn are calibrated; configuration: FS is 44100Hz, the frequency sweep range is 20Hz to 20000Hz, and the frequency sweep rule is as follows: r40, minimum time: 15ms, minimum cycle number: 12 periods; accordingly, the played frequency sweep signal is shown in fig. 8, the received feedback signal is shown in fig. 9, the left side of fig. 9 is the feedback signal corresponding to Ref Mic, and the right side of fig. 9 is the feedback signal corresponding to DUT Mic.
Further, for Ref Mic and Dut Mic, the same parameters are configured, specifically, configuration N is 5, Pram is 1000, Q is 1, a1 is 1.5, when step S32 is executed, a2 is (a1-1)/2+1 is 1.25, and when S32 is executed in 1 iteration, a2 is 1.125.
Referring to fig. 10 and fig. 11, the left side of fig. 10 is an enlarged schematic diagram of the front part of the Ref Mic feedback signal corresponding to fig. 9; fig. 10 is an enlarged schematic diagram of a part of signals of the left signal of fig. 10 on the right side; fig. 11 is a schematic diagram of an enlarged structure of a front portion signal corresponding to the DUT Mic feedback signal of fig. 9 on the left side; fig. 11 is an enlarged schematic diagram of a part of signals of the left signal of fig. 11 on the right side; after the above interception method of the effective data starting point of the feedback signal is used for calculation, the effective data starting point of the Ref Mic is the 5333 th data point from the starting point of the feedback signal, and the effective data starting point of the DUT Mic is the 18940 th data point from the starting point of the feedback signal.
Referring to fig. 12, the left side of fig. 12 shows the valid feedback signals corresponding to Ref Mic after being truncated from the start of valid data, and the right side of fig. 12 shows the valid feedback signals corresponding to DUT Mic after being truncated from the start of valid data.
With reference to fig. 13 and 14, the effective feedback signal shown in fig. 12 is calculated by the prior art to form a THD graph and an FR graph; the left side of fig. 13 is the THD graph corresponding to Ref Mic, the right side of fig. 13 is the FR graph corresponding to Ref Mic, the left side of fig. 14 is the THD graph corresponding to DUT Mic, and the right side of fig. 14 is the FR graph corresponding to DUT Mic.
With reference to fig. 15, a graph of the difference result formed by comparing the THD curves of the Ref Mic and the DUT Mic is shown on the left side of fig. 15, and a graph of the difference result formed by comparing the FR curves of the Ref Mic and the DUT Mic is shown on the right side of fig. 15, which is verified to be: the difference result display graph meets the expectation and meets the user requirements.
In summary, the interception method, the device and the storage medium for the effective data starting point of the feedback signal accurately calculate the effective data starting point, and the method has high reliability, can realize mass production, improves efficiency and improves result reliability.
It should be understood that although the present description refers to embodiments, not every embodiment contains only a single technical solution, and such description is for clarity only, and those skilled in the art should make the description as a whole, and the technical solutions in the embodiments can also be combined appropriately to form other embodiments understood by those skilled in the art.
The above-listed detailed description is merely a detailed description of possible embodiments of the present invention, and it is not intended to limit the scope of the invention, and equivalent embodiments or modifications made without departing from the technical spirit of the present invention are intended to be included within the scope of the present invention.

Claims (10)

1. A method for intercepting a start point of valid data of a feedback signal, the method comprising: after each test device is powered on, starting to record a received feedback signal, wherein the feedback signal is formed by test signal feedback, and the test signal comprises: the method comprises the steps that a sweep frequency signal is transmitted after the test equipment is started, and an interference signal is formed in a preset delay period formed between the test equipment is powered on and the test equipment is started; the number of the test devices is at least 2;
characterized in that the method further comprises:
selecting a first data interception interval from a feedback signal formed in a preset time delay, and acquiring a difference value between a maximum amplitude and a minimum amplitude as a first amplitude difference;
starting from the end point of the first data interception interval, sequentially dividing the feedback signal into a plurality of data subsections with the same length, and acquiring the difference value of the maximum amplitude and the minimum amplitude of each data subsection as a second amplitude difference;
corresponding to each test device, selecting a data subsection according to the magnitude relation of the first magnitude difference and the second magnitude difference, and taking the selected data subsection as a second data intercepting interval;
corresponding to each test device, selecting a point at the same position of the second data interception interval section as an effective data starting point;
wherein selecting a first data capture interval from the feedback signal formed within the predetermined delay comprises: corresponding to each test device, determining a first data starting point of a first data interception block section corresponding to the feedback signal according to the preset delay, wherein the first data starting point is at M1 multiple of the preset delay, and M1 belongs to [0,1 ]);
determining a first data end point according to the first data starting point and the playing frequency FS of the sweep frequency signal, wherein the first data end point is L data points which are extended from the first data starting point;
l represents the length of the first data interception interval, and the length is positively correlated with the calculated amount and the calculated precision.
2. A method for intercepting a valid data start point of a feedback signal according to claim 1,
L=N*step;
Figure 794094DEST_PATH_IMAGE001
;N>1,FS≥18000Hz,Pram∈(1,1000]the first data interception end point is before a position M2, and the position M2 is at the product of a playing frequency FS and a preset delay;
intercepting data between the first data start point and the first data end point on the feedback signal as a first data interception interval of each test device.
3. A method for intercepting a valid data start point of a feedback signal according to claim 1, wherein the method further comprises:
configuring the length of the data subsegment to be less than the length of the first data truncation interval.
4. The method as claimed in claim 1, wherein selecting a data sub-segment according to a magnitude relationship between the first amplitude difference and the second amplitude difference for each test device, and using the selected data sub-segment as the second data capturing interval comprises:
s31, sequentially acquiring a second amplitude difference of each data subsection from the first data end point;
and if the second amplitude difference of the current data subsegment is not less than A1 times of the first amplitude difference, stopping the calculation of the second amplitude difference of the next data subsegment, and taking the current data subsegment as a second data interception interval, wherein A1 belongs to [1.5, 3 ].
5. A method as claimed in claim 4, wherein after step S31, the method further comprises:
s32, sequentially dividing the feedback signal into at least 2 data segments with the same length from the start point of the second data interception interval to the end point of the second data interception interval, and acquiring the difference value between the maximum amplitude and the minimum amplitude of each data segment as a third amplitude difference;
if the third amplitude difference of the current data segment is not less than A2 times of the first amplitude difference, stopping the calculation of the third amplitude difference of the next data segment, and replacing the second data interception interval with the current data segment;
wherein, configuration A2 < A1, or configuration A2= (A1-1)/2+1, and A2 ∈ [1.5, 3 ].
6. A method as claimed in claim 4, wherein after step S31, the method further comprises:
s32, averagely dividing the feedback signal into 2 data segments from the start point of the second data interception interval to the end point of the second data interception interval, and acquiring the difference value between the maximum amplitude and the minimum amplitude of the previous data segment as a third amplitude difference;
if the third amplitude difference of the previous data segment is not less than A2 times of the first amplitude difference, stopping the calculation of the third amplitude difference of the next data segment, and replacing the second data interception interval with the current data segment;
if the third amplitude difference of the previous data segment is smaller than A2 times of the first amplitude difference, stopping the calculation of the third amplitude difference of the next data segment, and replacing the second data interception interval with the next data segment;
wherein, configuration A2 < A1, or configuration A2= (A1-1)/2+1, and A2 ∈ [1.5, 3 ].
7. A method as claimed in any one of claims 4 to 6, wherein selecting a point at the same position in the second data capture interval as the valid data start point for each test apparatus comprises:
and taking the starting point of the second data interception block section as the starting point of the effective data.
8. The method for intercepting the start of effective data of a feedback signal according to claim 5 or 6, further comprising: configuring an iteration time threshold Q; q is a positive integer belonging to [1,3 ];
the step S32 is executed in Q cycles, and each time the step S32 is executed,
the value of configuration A2 is less than the value of A2 at the last iteration;
or configuration a2= (A3-1)/2+1, A3 is the value of a2 last time step S32 was performed.
9. An electronic device comprising a memory and a processor, wherein the memory stores a computer program operable on the processor, and wherein the processor executes the program to implement the steps of the method for intercepting a start of valid data of a feedback signal according to any one of claims 1 to 8.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method for intercepting a start of useful data of a feedback signal as claimed in any one of claims 1 to 8.
CN202110085500.XA 2021-01-22 2021-01-22 Interception method, device and storage medium for effective data starting point of feedback signal Active CN112911483B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110085500.XA CN112911483B (en) 2021-01-22 2021-01-22 Interception method, device and storage medium for effective data starting point of feedback signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110085500.XA CN112911483B (en) 2021-01-22 2021-01-22 Interception method, device and storage medium for effective data starting point of feedback signal

Publications (2)

Publication Number Publication Date
CN112911483A CN112911483A (en) 2021-06-04
CN112911483B true CN112911483B (en) 2022-08-09

Family

ID=76117595

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110085500.XA Active CN112911483B (en) 2021-01-22 2021-01-22 Interception method, device and storage medium for effective data starting point of feedback signal

Country Status (1)

Country Link
CN (1) CN112911483B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6104946A (en) * 1996-10-03 2000-08-15 Technology Research Association Of Medical And Welfare Apparatus Measuring method and apparatus of absorption information of scattering medium
US9973849B1 (en) * 2017-09-20 2018-05-15 Amazon Technologies, Inc. Signal quality beam selection
CN108523877A (en) * 2018-03-23 2018-09-14 南京中医药大学 A kind of electrocardiosignal quality discrimination method and its ecg analysis method
CN108718438A (en) * 2018-05-16 2018-10-30 桂林电子科技大学 A kind of judgment method of the response signal start time of electro-acoustic product detecting system
CN110503069A (en) * 2019-08-28 2019-11-26 中广核研究院有限公司 Current waveform fluctuates starting point recognition methods and electronic equipment, readable storage medium storing program for executing
CN110549240A (en) * 2019-09-18 2019-12-10 清华大学 End point detection method and chemical mechanical polishing device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100571452C (en) * 2006-04-07 2009-12-16 清华大学 Loudspeaker simple tone detecting method
CN101866423B (en) * 2010-05-12 2012-07-25 重庆大学 Method for dividing arterial pressure signal beat by beat
US8886524B1 (en) * 2012-05-01 2014-11-11 Amazon Technologies, Inc. Signal processing based on audio context

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6104946A (en) * 1996-10-03 2000-08-15 Technology Research Association Of Medical And Welfare Apparatus Measuring method and apparatus of absorption information of scattering medium
US9973849B1 (en) * 2017-09-20 2018-05-15 Amazon Technologies, Inc. Signal quality beam selection
CN108523877A (en) * 2018-03-23 2018-09-14 南京中医药大学 A kind of electrocardiosignal quality discrimination method and its ecg analysis method
CN108718438A (en) * 2018-05-16 2018-10-30 桂林电子科技大学 A kind of judgment method of the response signal start time of electro-acoustic product detecting system
CN110503069A (en) * 2019-08-28 2019-11-26 中广核研究院有限公司 Current waveform fluctuates starting point recognition methods and electronic equipment, readable storage medium storing program for executing
CN110549240A (en) * 2019-09-18 2019-12-10 清华大学 End point detection method and chemical mechanical polishing device

Also Published As

Publication number Publication date
CN112911483A (en) 2021-06-04

Similar Documents

Publication Publication Date Title
US9909863B2 (en) Determination of a room dimension estimate
CN102680860B (en) Automatic fault-point locating method for traveling-wave based fault location of high-voltage electric power lines
WO2016206056A1 (en) Circuit breaker detection method, device and system
WO2018040430A1 (en) Method and apparatus for determining echo delay, and intelligent conference device
CN101411213A (en) Calibration method and device in an audio system
CN108571997B (en) Method and device for detecting stable contact of probe with measured point
CN104363554B (en) A kind of loudspeaker abnormal sound detection method
CN112911483B (en) Interception method, device and storage medium for effective data starting point of feedback signal
CN110290453B (en) Delay testing method and system of wireless playing device
CN113259832B (en) Microphone array detection method and device, electronic equipment and storage medium
JP2007081455A (en) Sound source position/sound reception position estimating method, apparatus thereof, program thereof and recording medium thereof
CN109862503B (en) Method and equipment for automatically adjusting loudspeaker delay
CN112652290A (en) Method for generating reverberation audio signal and training method of audio processing model
EP3182731A1 (en) A method for diagnosing sealing properties of microphone and/or loudspeaker seals in an electronic device
WO2022134237A1 (en) Method and apparatus for measuring parameters of motor model, electronic device, and medium
CN112672265B (en) Method and system for detecting microphone consistency and computer readable storage medium
WO2021036641A1 (en) Coupling mismatch detection method and related device
CN112420077B (en) Sound positioning method and device, testing method and system, equipment and storage medium
CN114071343B (en) Audio equipment testing method, testing device and computer equipment
CN113257247A (en) Test method and system
CN112887892B (en) Response characteristic measuring method, device, equipment and medium
CN112804043A (en) Clock asynchronism detection method, device and equipment
CN105721769A (en) Shooting setting method and shooting setting device
JP2016119635A (en) Time difference calculator and terminal device
WO2021135235A1 (en) Automatic debugging method and system for loudspeaker

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant