This disclosure relates to a diagnostic tool for evaluating a vehicle active noise cancellation system.
An active noise cancellation system for a vehicle may generate noise that cancels noise within a passenger compartment of a vehicle. The active noise cancellation system may sense noise within a passenger compartment of a vehicle by way of one or more microphones. The active noise cancellation system may respond to the sensed noise by generating noise via one or more speakers that cancels the noise that is sensed via the one or more microphones. The result is for vehicle passengers to hear substantially less noise in the passenger compartment of the vehicle. More sophisticated active noise cancellation systems may include a plurality of microphones, a plurality of speakers, and a plurality of accelerometers to lower perceived noise within a vehicle passenger compartment.
An active noise cancellation system may include a plurality of components that when operating as desired may provide a significant level of noise reduction for a vehicle passenger compartment. However, it may be possible for degradation of one or more of the active noise cancellation system components to occur during vehicle manufacturing. For example, polarity of wires connected to a speaker may be reversed or a vehicle component may block a microphone or speaker. If one of the active noise cancellation system components experiences degradation, it may be difficult to determine which component is degraded at the time that the vehicle is manufactured or while the vehicle is in use because the active noise cancellation system may remain partially active and because some forms of component degradation may be less noticeable to some vehicle occupants. Further, because of the variation between active noise cancellation system components and vehicle interior construction, an active noise cancellation system of one vehicle may respond slightly different than an active noise cancellation system of a second vehicle. Further still, it may be desirable for an active noise cancellation system diagnostic that is performed at an end of a vehicle assembly line to be reliable (e.g., fewer false positive or false negative indications of active noise cancellation system degradation) and quickly performed since inaccurate diagnostic evaluations and diagnostics that take large amounts of time to perform may have outsized issues that may include, but are not limited to, generating large rework cues and slowing the vehicle assembly line.
The inventors herein have recognized that it may be difficult to provide a reliable operational assessment of a multi-input-multi-output system applying time based signal processing techniques. In particular, manufacturing tolerances and slight deviations in cabin acoustics between vehicles may make it difficult to establish metrics (e.g., performance thresholds) that may suitable for a large number of units under test. Therefore, it may be desirable to provide a way of diagnosing an active noise cancellation system that more reliably indicates a presence or absence of active noise cancelling system degradation.
By applying cross-correlation between a reference impulse response and an impulse response of a particular active noise cancellation system, it may be possible to generate thresholds that make evaluation of an active noise cancellation more reliable. Alternatively, or in addition, a correlation coefficient may be generated from the reference impulse response and the impulse response of a particular vehicle to determine whether or not the active noise cancelling system of the particular vehicle is operating as may be desired. Further, a cross-correlation technique may be performed rapidly to a system that includes a plurality of inputs and outputs. The present disclosure provides for a diagnostic tool for an active noise cancelling system, comprising: a controller including executable instructions stored in non-transitory memory that cause the controller to initiate an impulse response diagnostic for the active noise cancelling system, where the impulse response diagnostic includes performing a cross-correlation between a reference impulse response and an impulse response of the active noise cancelling system.
In a first example, the diagnostic tool includes where the impulse response diagnostic includes supplying a broadband signal to one or more speakers of the active noise cancelling system and generating sound via the one or more speakers in response to the broadband signal. In a second example that may include the first example, the sound is sensed via one or more microphones of the active noise cancelling system. In a third example that may include one or both of the first and second examples, the diagnostic tool further comprises generating a correlation coefficient based on the reference impulse response and the impulse response of the active noise cancelling system. In a fourth example that may include one or more of the first through third examples, the reference impulse response is based on a plurality of impulse responses determined from an output device and an input device. In a fifth example that may include one or more of the first through fourth examples, the output device is a speaker and where the input device is a microphone or an accelerometer. In a sixth example that may include one or more of the first through fifth examples, the diagnostic tool further comprises generating an indication of degradation of the active noise cancelling system according to a value of the correlation coefficient. In a seventh example that may include one or more of the first through sixth examples, the indication of degradation is an indication of a speaker wired with an inverse electric polarity.
An assessment of an active noise cancelling system may be made by driving a vehicle and observing whether or not a passenger cabin is quiet. However, such assessments may be subjective and they may consume a significant amount of time. Further, it may be difficult for such assessments to ascertain whether noise in a passenger cabin of one vehicle is less or greater than noise in a passenger cabin of a similar vehicle. The present disclosure overcomes the limitations of methods that may be more subjective and assesses operation of a system under test relative to one or more reference vehicles so that a group of vehicles may perform similarly.
As one example, the present disclosure provides for an active noise cancelling system diagnostic method, comprising: supplying a broadband signal to a speaker of an active noise cancelling system; sensing audible output of the speaker responding to the broadband signal via a microphone; and performing cross-correlation analysis on an impulse response generated from a signal output from the microphone sensing the audible output of the speaker. In this way, a crossover frequency of the boost circuit may be adjusted during boost circuit conditions where the frequency of the zero changes so that boost circuit response may be improved.
In a first example, the impulse response is generated by dividing the signal output from the microphone by the broadband signal, and where the active noise cancelling system is performed at an end of a vehicle assembly line after the speaker and the microphone have been installed in the vehicle. In a second example that may include the first example, the method also includes where performing the cross-correlation analysis includes performing a cross-correlation based on a reference impulse response and the impulse response generated from the signal output from the microphone. In a third example that may include one or both of the first and second examples, the method further comprises generating a correlation coefficient based on the reference impulse response and the impulse response generated from the signal output from the microphone. In a fourth example that may include one or more of the first through third examples, the method includes where the reference impulse response is an average impulse response of a plurality of active noise canceling systems of a plurality of vehicles. In a fifth example that may include one or more of the first through fourth examples, the method further comprises displaying the correlation coefficient via a human/machine interface. In a sixth example that may include one or more of the first through fifth examples, the method further comprises displaying the correlation coefficient with a plurality of other correlation coefficients from speakers other than the speaker in a polygon shape via the human/machine interface.
Components of an active noise cancelling system may be tested before assembly; however, testing of an active noise cancellation system in a vehicle may provide actual proof of operation of the entire system and its individual components. Even so, evaluating an active noise cancellation system at an end of an assembly line may have time limitations and the testing environment may act to confound the evaluation. The present disclosure provides for a system that may perform a comprehensive evaluation of an active noise cancellation system including all of its sensors and actuators in a short time frame. Further, the approach may utilize single threshold values so that time consuming interpolations and searches for generating degradation/no-degradation classifications may be reduced or avoided. As a result, the system and method of the present disclosure may meet criteria for end of line testing.
In one or more examples, the present description provides for an end of an assembly line diagnostic tool for an active noise cancelling system, comprising: a controller including executable instructions stored in non-transitory memory of a vehicle being assembled on the assembly line that cause the controller to initiate an impulse response diagnostic for the active noise cancelling system while the vehicle is positioned at the end of the assembly line, where the impulse response diagnostic includes generating correlation coefficients for a plurality of microphones and generating an output on a display (e.g., a vehicle display or a remote display) in response to the generated correlation coefficients.
In a first example, the end of assembly line diagnostic tool includes where the correlation coefficients for the plurality of microphones include a correlation coefficient for each microphone-speaker pair. In a second example that may include the first example, the end of assembly line diagnostic tool includes where the impulse response diagnostic includes performing cross-correlation analysis that includes performing a cross-correlation between an average impulse response of a plurality of active noise cancelling systems of a plurality of vehicles and an impulse response of the active noise cancelling system. In a third example that may include one or both of the first and second examples, the end of assembly line diagnostic tool further comprises determining a minimum cross-correlation between impulse responses of the plurality of active noise cancelling systems of the plurality of vehicles and adding a margin to the minimum cross-correlation between impulse responses of the plurality of active noise cancelling systems. In a fourth example that may include one or more of the first through third examples, the end of assembly line diagnostic tool further comprises indicating degradation of the active noise cancelling system in response to the cross-correlation of average impulse response of the plurality of active noise cancelling systems and the impulse response of the active noise cancelling system being less than the margin plus the minimum cross-correlation between impulse responses of the plurality of active noise cancelling systems.
The present disclosure also provides for an active noise cancelling system diagnostic method, comprising: supplying a broadband signal to a speaker of an active noise cancelling system; sensing vibration output of the speaker responding to the broadband signal via an accelerometer; and performing cross-correlation analysis on an impulse response generated from a signal output from the accelerometer sensing the vibration output of the speaker.
The disclosure may be better understood from reading the following description of non-limiting embodiments, with reference to the attached drawings, wherein below:
The disclosure provides for systems and methods that address the above-described issues that may arise when assembling an active noise cancellation system for a vehicle. The methods and systems described herein may be implemented in a hand held tool (e.g., a lap-top computer, note pad, pendent, etc.) or within an active noise cancellation system. In one example, the approach may stimulate output from a speaker in a passenger cabin of a vehicle and microphones within the passenger cabin may respond to output of the speaker. Each speaker of the active noise cancellation system may be stimulated with a broadband impulse signal to ascertain how the active noise cancellation system responds to the stimulus. The response of the active noise cancellation system may be evaluated against evaluations of similar systems to determine whether or not the active noise cancellation system that is presently being evaluated meets operational specifications.
Referring now to
The plot on the upper left side of
It may be observed that the none of the impulse responses are identical. In particular, the traces include amplitude variation and some phase variation. The variation may make it difficult to determine degradation or no-degradation operation for particular speaker-microphone pairs apply applying time-domain analysis with thresholds (e.g., amplitude thresholds). The impulse response plots may be generated by dividing output of a particular microphone by input to a particular speaker over a defined time frame during which the speaker input and the microphone output are sampled, measured, and stored to memory. The speaker input may be a broadband impulse as shown in
Referring now to
Referring now to
The plot on the upper left side of
The frequency domain impulse response plots may be generated by supplying a broadband impulse signal to a speaker and applying a Fourier transform (e.g., a fast Fourier transform) to a result of dividing output of a particular microphone by input to a particular speaker over a defined time frame during which the speaker input and the microphone output are sampled, measured, and stored to memory. In one example, the discrete Fourier transform (DFT) may be expressed as:
where F is a series of complex numbers that are a function of imaginary number j, ω is angular velocity, f is the function or vector being transformed into the frequency domain, e is Euler's number, k is sample number, and T is sample period. The DFT may be modified to generate a fast Fourier transform that reduces computational time for the active noise cancellation system signals.
Referring now to
The plot on the upper left side of
The frequency domain impulse response plots may be generated by supplying a broadband impulse signal to a speaker and applying a Fourier transform (e.g., a fast Fourier transform) to a result of dividing output of a particular microphone by input to a particular speaker over a defined time frame during which the speaker input and the microphone output are sampled, measured, and stored to memory.
The minimum amplitude curves or values may be generated by selecting the minimum amplitude valve for each frequency from each of the speaker-microphone amplitude-frequency pair. For example, if there are three reference vehicles and an amplitude for vehicle #1 at 100 Hertz (Hz) is −10 dB, an amplitude for vehicle #2 at 100 Hz is −11 dB, and an amplitude for vehicle #3 is −9 dB, the value for the minimum amplitude is −11 dB at 100 Hz because −11 is the smallest value at 100 Hz for the three vehicles. If the amplitude for vehicle #1 at 150 Hertz (Hz) is 0 dB, an amplitude for vehicle #2 at 150 Hz is −1 dB, and an amplitude for vehicle #3 is −3 dB, the value for the minimum amplitude is −3 dB at 150 Hz because −3 is the smallest value at 150 Hz for the three vehicles. The values for the minimum amplitude curve at all frequencies may be determined in a similar way.
The maximum amplitude curves or values may be generated by selecting the maximum amplitude valve for each frequency from each of the speaker-microphone amplitude-frequency pair. For example, if there are three reference vehicles and an amplitude for vehicle #1 at 100 Hertz (Hz) is −10 dB, an amplitude for vehicle #2 at 100 Hz is −11 dB, and an amplitude for vehicle #3 is −9 dB, the value for the maximum amplitude curve is −9 dB at 100 Hz because −9 dB is the largest value at 100 Hz for the three vehicles. If the amplitude for vehicle #1 at 150 Hertz (Hz) is 0 dB, an amplitude for vehicle #2 at 150 Hz is −1 dB, and an amplitude for vehicle #3 is −3 dB, the value for the maximum amplitude is 0 dB at 150 Hz because 0 dB is the largest value at 150 Hz for the three vehicles. The values for the maximum amplitude curve at all frequencies may be determined in a similar way.
The threshold curves for determining whether or not the impulse response of a present vehicle under test may be determined via adding a positive margin (e.g., 0.5 dB) to values of the maximum curve and adding a negative margin value to values in the minimum curve (e.g., −0.5 dB). Thus, as shown in
An impulse response in the frequency domain for a present active noise cancellation system speaker-microphone pair may be compared to the threshold minimum curve and the threshold maximum curve generated from the reference vehicles for the same speaker-microphone pair. If all values in the impulse response in the frequency domain for the present active noise cancellation system speaker-microphone pair (e.g., speaker #1, microphone #2) lie between the threshold maximum curve and threshold minimum curve, the speaker-microphone pair for the present system may be determined to not be degraded. If one or more values in the impulse response in the frequency domain for the present active noise cancellation system speaker-microphone pair (e.g., speaker #1, microphone #2) lie outside of the threshold maximum curve and threshold minimum curve, the speaker-microphone pair for the present system may be determined to be degraded.
Referring now to
The plot on the upper left side of
The frequency domain impulse response plots may be generated by supplying a broadband impulse signal to a speaker and applying a Fourier transform (e.g., a fast Fourier transform) to a result of dividing output of a particular microphone by input to a particular speaker over a defined time frame during which the speaker input and the microphone output are sampled, measured, and stored to memory.
The mean amplitude curve or values may be generated by determining a mean amplitude valve for each frequency from each of the speaker-microphone amplitude-frequency pairs. For example, if there are three reference vehicles and an amplitude for vehicle #1 at 100 Hertz (Hz) is −10 dB, an amplitude for vehicle #2 at 100 Hz is −11 dB, and an amplitude for vehicle #3 is −9 dB, the value for the mean amplitude is −10 dB at 100 Hz because −10 is the mean value at 100 Hz for the three vehicles. If the amplitude for vehicle #1 at 150 Hertz (Hz) is 0 dB, an amplitude for vehicle #2 at 150 Hz is −1 dB, and an amplitude for vehicle #3 is −3 dB, the value for the mean amplitude is −1.3 dB at 150 Hz because −1.3 dB is the smallest value at 150 Hz for the three vehicles. The values for the minimum amplitude curve at all frequencies may be determined in a similar way.
The threshold curves for determining whether or not the impulse response of a present vehicle under test may be determined via adding a positive margin (e.g., 0.5 dB) to values of the mean curve to generate a maximum threshold curve and adding a negative margin value to values in the mean curve (e.g., −0.5 dB) to generate a minimum threshold curve. Thus, as shown in
An impulse response in the frequency domain for a present active noise cancellation system speaker-microphone pair may be compared to the threshold minimum curve and the threshold maximum curve generated from the reference vehicles for the same speaker-microphone pair. If all values in the impulse response in the frequency domain for the present active noise cancellation system speaker-microphone pair (e.g., speaker #1, microphone #2) lie between the threshold maximum curve and threshold minimum curve, the speaker-microphone pair for the present system may be determined to not be degraded. If one or more values in the impulse response in the frequency domain for the present active noise cancellation system speaker-microphone pair (e.g., speaker #1, microphone #2) lie outside of the threshold maximum curve and threshold minimum curve, the speaker-microphone pair for the present system may be determined to be degraded.
Turning now to
Discrete cross-correlation may be expressed as:
where k is the sample number, x(k) is the reference speaker-microphone pair impulse response data vector, y(k) is the present speaker-microphone pair being evaluated impulse response data vector, and N is the total number of data points in the two data vectors. The cross-correlation may be performed to determine similarity between the reference impulse response of a speaker-microphone pair or a speaker-accelerometer pair and the impulse response of a speaker-microphone pair or a speaker-accelerometer pair of the present active noise cancellation system under test. Alternatively, or in addition, a correlation coefficient may be determined to indicate similarity between the reference impulse response of a speaker-microphone pair and a speaker-microphone pair of the present active noise cancellation system under test. The correlation coefficient may be expressed as:
where x is a data vector, y is a data vector, and cxy is the correlation coefficient. If the impulse response of the presently evaluated speaker-microphone pair is an exact match with the reference impulse response, the correlation coefficient value is 1. If the impulse response of the presently evaluated speaker-microphone pair is inverted from the referenced impulse response, the correlation coefficient value is −1. If the impulse response of the presently evaluated speaker-microphone pair is delayed from the referenced impulse response, the correlation coefficient value is less than 1. A correlation coefficient of −1 may be indicative of a speaker or microphone that has improper polarity of their electrical connections.
Referring now to
Moving on to
In a second step, a correlation coefficient is determined according to the speaker-microphone pair (e.g., speaker #1/microphone #2) averaged impulse response data vector for the plurality of vehicles and the speaker-microphone pair (e.g., speaker #1/microphone #2) impulse response for the present vehicle under test or being evaluated. This correlation coefficient may be compared to a minimum correlation coefficient minus an offset for the reference vehicles that were used to generate the average impulse response vector for the reference vehicles in the above described step. For example, if the correlation coefficient for the speaker-microphone pair of speaker #1/microphone #2 for the present vehicle under test or being evaluated is 0.7, the correlation coefficient for the speaker-microphone pair of speaker #1/microphone #2 for a first reference vehicle is 0.82, the correlation coefficient for the speaker-microphone pair of speaker #1/microphone #2 for a second reference vehicle is 0.85, the correlation coefficient for the speaker-microphone pair of speaker #1/microphone #2 for a third reference vehicle is 0.9, the offset is 0.02, then the speaker-microphone pair speaker #1/microphone #2 may be determined to be degraded because 0.82 (minimum correlation coefficient for the three reference vehicles) minus 0.02 (offset/margin value) is 0.8, which is greater than 0.7 (the correlation coefficient of the present vehicle under test).
Referring now to
Referring now to
Referring now to
Referring now to
At 1702, an embedded controller of an active noise cancellation system is installed into a vehicle on an assembly line. The installation includes fastening the embedded controller to the vehicle. Method 1700 proceeds to 1704.
At 1704, speakers of an active noise cancellation system are installed into a vehicle on an assembly line. The installation includes fastening the speakers to the vehicle and electrically connecting the speakers to the embedded controller. Method 1700 proceeds to 1706.
At 1706, microphones of an active noise cancellation system are installed into a vehicle on an assembly line. The installation includes fastening the microphones to the vehicle and electrically connecting the microphones to the embedded controller. Method 1700 proceeds to 1708.
At 1708, accelerometers of an active noise cancellation system are installed into a vehicle on an assembly line. The installation includes fastening the accelerometers to the vehicle and electrically connecting the accelerometers to the embedded controller. Method 1700 proceeds to 1710.
At 1710, a broadband impulse signal is delivered to each speaker of the active noise cancellation system. Each speaker is provided with the broadband impulse signal at a different time than the other speakers of the system so that output of one speaker does not interfere with the output of a different speaker. Method 1700 also captures output from each microphone and accelerometer while during time windows when each speaker is driven by the broadband impulse signal. The microphone output may be stored as data in controller memory. Method 1700 proceeds to 1712.
At 1712, method 1700 computes an impulse response for each speaker-microphone combination and speaker-accelerometer combination. The impulse response may be computed by dividing a data vector from a microphone by data that represents input to the speaker, the speaker with output that is being sensed by the microphone. In other words, for a speaker-microphone pair, data representing output of the microphone is divided by data representing input to the speaker. Thus, for speaker-microphone pair speaker #1/microphone #2, data representing the output of microphone #1 is divided by the data representing input to speaker #1. Method 1700 proceeds to 1714.
At 1714, method 1700 computes frequency spectrums for the impulse responses determined in step 1712. The frequency response may be computed via a Fourier transform as discussed earlier. Alternatively, method 1700 may compute a correlation coefficient between a reference impulse response and the impulse response determined at step 1712. In still other examples, method 1700 may compute a cross-correlation between the reference impulse response and the impulse response determined at step 1712. Method 1700 proceeds to 1716.
At 1716, for frequency domain analysis, method 170 judges whether or not the amplitude in the frequency domain of the impulse responses determined at step 1712 is outside of a threshold range between two boundaries. Alternatively, method 170 judges whether or not the amplitude in the frequency domain of the impulse response determined at step 1712 exceeds a threshold boundary. The amplitude thresholds may be determined via one of the methods described herein.
For correlation coefficient analysis, method 1700 may judge if the correlation coefficient value generated at step 1714 is less than a threshold correlation coefficient value.
If an amplitude is outside of a boundary or exceeds a boundary for frequency domain analysis, or if a correlation coefficient is less than a correlation coefficient generated at step 1714, for one of the speaker-microphone pairs, the answer is yes and method 1700 proceeds to 1718. Otherwise, the answer is no and method 1700 proceeds to 1720.
If method 1700 performs a cross-correlation between the reference impulse response and the impulse response of the present unit under test, method 1700 may proceed to 1718 if results of the cross-correlation are less than a threshold boundary.
At 1718, method 1700 displays the frequency domain analysis or the cross-correlation analysis data and provides an indication of sensor or actuator degradation. Method 1700 proceeds to exit.
At 1720, method 1700 displays the frequency domain analysis or the cross-correlation analysis data and indicates no sensor or actuator degradation. Method 1700 proceeds to exit.
The description of embodiments has been presented for purposes of illustration and description. Suitable modifications and variations to the embodiments may be performed in light of the above description or may be acquired from practicing the methods. For example, unless otherwise noted, one or more of the described methods may be performed by a suitable device and/or combination of devices, such as the circuitry shown in
As used in this application, an element or step recited in the singular and proceeded with the word “a” or “an” should be understood as not excluding plural of said elements or steps, unless such exclusion is stated. Furthermore, references to “one embodiment” or “one example” of the present disclosure are not intended to be interpreted as excluding the existence of additional embodiments that also incorporate the recited features. The terms “first,” “second,” and “third,” etc. are used merely as labels, and are not intended to impose numerical requirements or a particular positional order on their objects. The following claims particularly point out subject matter from the above disclosure that is regarded as novel and non-obvious.