This application claims under 35 U.S.C. § 119(a) the benefit of Korean Patent Application No. 10-2016-0113150, filed on Sep. 2, 2016, the entire contents of which are incorporated herein by reference.
The present disclosure relates to a sound control device for a vehicle and a method for controlling the sound control device, whereby a target sound may be stably followed regardless of a change in outside noise.
Vehicles typically are equipped with a variety of electronic devices taking into account the comfort and safety of a driver. For example, a sound control device may be provided to enhance enjoyment of the driver with respect to sound.
In this regard, however, the sound is likely to be deformed by various circumstantial changes while the vehicle is running, so the sound control device might cause negative effects on the driver. Accordingly, studies have been conducted to find a method for providing sounds to provide a pleasant feeling regardless of the various circumstantial changes.
The present disclosure provides a sound control device for a vehicle, and a method for controlling the sound control device, by which sound effects are stably provided regardless of circumstantial changes.
In accordance with one aspect of the present disclosure, a sound control device includes a sound collector for collecting a first sound signal generated from a noise source and deformed along a primary path between the noise source and a sound input unit, and a second sound signal generated through a speaker and deformed along a secondary path between the speaker and the sound input unit; and a sound controller for updating an adaptive filter in a designed adaptive control logic with at least one of the collected first and second sound signals and a preset target sound, and generating a sound effect that reflects the secondary path based on the updated adaptive filter.
Here, the sound collector is configured to receive a third sound signal generated from the noise source through another sound input unit arranged around the sound source, and wherein the sound controller is configured to update the adaptive filter by using a value resulting from application of a secondary path compensation filter generated based on an estimated secondary path transfer function to the third sound signal, the first sound signal, the second sound signal, and the preset target sound as arguments.
Also, the noise source comprises an engine mounted in a vehicle, and wherein the sound controller is configured to update the adaptive filter by selecting a target sound corresponding to revolution per minute (rpm) of the engine from among a plurality of preset target sounds and using the selected target sound as an argument.
Also, the sound controller is configured to update the adaptive filter by selecting a target sound corresponding to the rpm of the engine and using a value resulting from subtraction of the selected target sound from a sum of the first and second sound signals as an argument.
Also, the sound controller is configured to generate the sound effect based on the updated adaptive filter and a secondary path inverse-compensation filter generated based on the inverse function of an estimated secondary path transfer function
Also, the sound controller is configured to update an adaptive filter in the adaptive control logic with the collected first and second sound signals and generate a sound effect by subtracting a value resulting from application of the preset target sound to a secondary path inverse-compensation filter generated based on the inverse function of an estimated secondary path transfer function from a value derived from the updated adaptive filter.
Also, the sound controller is configured to use data related to estimated secondary path transfer functions stored in a memory to select an estimated secondary path transfer function corresponding to vehicle information, and to determine an adaptive control logic to generate a sound effect based on a form of the selected estimated secondary path transfer function.
In accordance with still another aspect of the present disclosure, a sound control device includes an analyzer for determining a pre-filter by inputting a sample signal to an adaptive control logic offline; and a sound controller for updating an adaptive filter included in an online adaptive control logic with a first sound signal generated from a noise source and deformed along a primary path between the noise source and a sound input unit, a second sound signal generated through a speaker and deformed along a secondary path between the speaker and the sound input unit, and a preset target sound, and generating a sound effect using the updated adaptive filter and the determined pre-filter.
Also, the sound control device further includes a sound collector for collecting at least one of the first sound signal, the second sound signal, and a third sound signal input through a sound input unit arranged around the noise source.
Also, the sound controller is configured to update the adaptive filter by using the first sound signal, the second sound signal, a third sound signal input through a sound input unit arranged around the noise source, and the preset target sound as arguments.
Also, the noise source comprises an engine mounted in a vehicle, and wherein the sound controller is configured to update the adaptive filter by selecting a target sound corresponding to revolution per minute (rpm) of the engine from among a plurality of preset target sounds and using the selected target sound as an argument.
Also, the sound controller is configured to update the adaptive filter by selecting a target sound corresponding to the rpm of the engine and using a value resulting from subtraction of the selected target sound from a sum of the first and second sound signals as an argument.
In accordance with one aspect of the present disclosure, a method for controlling a vehicle includes steps of: collecting a first sound signal generated from a noise source and deformed along a primary path between the noise source and a sound input unit, and a second sound signal generated through a speaker and deformed along a secondary path between the speaker and the sound input unit; updating an adaptive filter in a designed adaptive control logic with at least one of the collected first and second sound signals and a preset target sound; and generating a sound effect that reflects the secondary path based on the updated adaptive filter.
Here, the step of collecting further includes: receiving a third sound signal generated from the noise source through another sound input unit arranged around the sound source, and the step of generating further includes: updating the adaptive filter by using a value resulting from application of a secondary path compensation filter generated based on an estimated secondary path transfer function to the third sound signal, the first sound signal, the second sound signal, and the preset target sound as arguments.
Also, the step of generating further includes: selecting a target sound corresponding to revolutions per minute (rpm) of an engine from among preset target sounds and updating the adaptive filter by using a value resulting from subtraction of the selected target sound from a sum of the first and second sound signals as an argument.
Also, the step of generating further includes: generating the sound effect based on the updated adaptive filter and a secondary path inverse-compensation filter generated based on the inverse function of an estimated secondary path transfer function.
Also, the step of generating further includes: updating an adaptive filter in the adaptive control logic with the collected first and second sound signals and generate a sound effect by subtracting a value resulting from application of the preset target sound to a secondary path inverse-compensation filter generated based on the inverse function of an estimated secondary path transfer function from a value derived from the updated adaptive filter.
As described above, it is possible to provide outstanding sound effects regardless of various circumstantial changes.
The above and other objects, features and advantages of the present disclosure will become more apparent to those of ordinary skill in the art by describing in detail exemplary embodiments thereof with reference to the accompanying drawings, in which:
It is understood that the term “vehicle” or “vehicular” or other similar term as used herein is inclusive of motor vehicles in general such as passenger automobiles including sports utility vehicles (SUV), buses, trucks, various commercial vehicles, watercraft including a variety of boats and ships, aircraft, and the like, and includes hybrid vehicles, electric vehicles, plug-in hybrid electric vehicles, hydrogen-powered vehicles and other alternative fuel vehicles (e.g. fuels derived from resources other than petroleum). As referred to herein, a hybrid vehicle is a vehicle that has two or more sources of power, for example both gasoline-powered and electric-powered vehicles.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used herein, the singular forms “a,” “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “comprises” and/or “comprising,” when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. As used herein, the term “and/or” includes any and all combinations of one or more of the associated listed items. Throughout the specification, unless explicitly described to the contrary, the word “comprise” and variations such as “comprises” or “comprising” will be understood to imply the inclusion of stated elements but not the exclusion of any other elements. In addition, the terms “unit”, “-er”, “-or”, and “module” described in the specification mean units for processing at least one function and operation, and can be implemented by hardware components or software components and combinations thereof.
Further, the control logic of the present disclosure may be embodied as non-transitory computer readable media on a computer readable medium containing executable program instructions executed by a processor, controller or the like. Examples of computer readable media include, but are not limited to, ROM, RAM, compact disc (CD)-ROMs, magnetic tapes, floppy disks, flash drives, smart cards and optical data storage devices. The computer readable medium can also be distributed in network coupled computer systems so that the computer readable media is stored and executed in a distributed fashion, e.g., by a telematics server or a Controller Area Network (CAN).
Referring to
Further, there may be a front window 87 installed on the front of the car frame 80 to allow the driver and passengers to see a view ahead of the vehicle 1, side windows 88 to allow the driver and passengers to see side views, side mirrors 91, 92 installed on the doors 84 to allow the driver to see areas behind and to the sides of the vehicle 1, and a rear window 90 installed on the rear of the car frame 80 to allow the driver or passengers to see a view behind the vehicle 1.
There may also be head lamps 95, 96 installed on the outer front of the car frame 80 of the vehicle 1 for turning on headlights to secure views ahead of the vehicle 1. Further, there may be tail lamps (not shown) installed on the rear of the car frame 80 of the vehicle 1 for turning on taillights to secure views behind the vehicle 1 or help a driver driving a car behind the vehicle 1 to locate the vehicle 1 as well. Operation of the sun roof 97, head lamps 95, 96, and/or tail lamps may be controlled according to control commands from the user. The internal features of the vehicle 1 will now be described.
An air conditioner 150 may be equipped in the vehicle 1. The air conditioner 150, as will be described below, refers to a system for controlling air conditioning conditions, such as indoor/outdoor environmental conditions, air suction/exhaustion state, cooling/heating state, etc., of the vehicle 1 automatically or in response to a control command from the user. For example, the air conditioner 150 may control temperature of the inside of the vehicle 1 by releasing heated or cooled air through air ducts 151.
There may be a navigation terminal 200 arranged in the vehicle 1. The navigation terminal 200 may refer to a system for providing Global Positioning System (GPS) functions to give the user directions to a destination. The navigation terminal 200 may also provide an integrated audio and video function. The navigation terminal 200 may generate control signals according to control commands input from the user through various input devices to control devices in the vehicle 1.
For example, the navigation terminal 200 may selectively display at least one of audio, video, and navigation screens through a display 201, and may also display various control screens related to controlling the vehicle 1.
The display 201 may be located in a center fascia 11, which is a center area of a dashboard 10. In an embodiment, the display 201 may be implemented with Liquid Crystal Displays (LCDs), Light Emitting Diodes (LEDs), Plasma Display Panels (PDPs), Organic Light Emitting Diodes (OLEDs), Cathode Ray Tubes (CRTs), etc., without being limited thereto. If the display 201 is implemented in a touch screen type, the display 201 may receive various control commands from the user through various touch gestures, such as touching, clicking, dragging, etc.
A navigation input unit 202 may be implemented in a button type at an area adjacent to the display 201. Accordingly, the driver may input various control commands by manipulating the navigation input unit 202. The navigation input unit 202 may be implemented by an input device including buttons, through which control commands are input in various input methods, enabling the driver to input a control command more easily even while the driver is driving the vehicle 1.
In the meantime, a center input unit 43 of a jog shuttle type or button type may be located in a center console 40. The center console 40 corresponds to a part located between a driver seat 21 and a passenger seat 22, and has a gear-shifting lever 41 and a tray 42. The center input unit 43 may perform all or part of the function of the navigation input unit 202. If the center input unit 43 is also implemented in the button type, control commands may be input through various input methods.
A cluster 144 may be arranged in the vehicle 1. The cluster 144 may also be called an instrument panel, but for convenience of explanation, the term ‘cluster’ 144 will be just used in the following description. On the cluster 144, traveling speed, revolution per minute (rpm), an amount of fuel left of the vehicle 1, etc., are indicated.
Further, there may be a sound input unit 190 arranged in the vehicle 1. For example, the sound input unit 190 may include a microphone. The sound input unit 190 may receive various sound signals through the microphone and convert them to electronic signals. In an embodiment, a sound control device may provide sound effects that give the user a pleasure even if a circumstantial change occurs, by updating a filter included in an adaptive control logic with an error signal input through the sound input unit 190. This will be described in more detail later.
To effectively input a sound signal, the sound input unit 190 may be mounted in a head lining 13, as shown in
Moreover, a speaker 143 for outputting sounds may be equipped in the vehicle 1. Accordingly, the vehicle 1 may output a sound through the speaker 143 required in performing audio, video, navigation, and other additional functions. Besides, the vehicle 1 may output sound effects through the speaker 143 that give the driver a pleasure, without being limited thereto. A sound control system equipped in the vehicle will now be schematically described.
Referring to
If the noise occurs in reconstructing a driving sound, the user in the vehicle 1 may not listen to a desired driving sound due to the noise. That is, due to the mixing of the driving sound and noise, the user would listen to entirely different sound. This might cause negative effects on the user.
In addition, a sound may be deformed by various circumstantial changes. The circumstantial changes may be made by various factors, such as window opening, changes in temperature inside the vehicle 1, changes in engine sound, etc. For another example, a change in sound may be made due to a structural feature of the vehicle 1. Specifically, the sound may be different by position to which the sound is output, e.g., a sound around the speaker may be different from the sound at a position where the user recognizes the sound.
Accordingly, in an embodiment, a sound control device 100 may follow a target sound while canceling noise by an active control logic of an open loop form to feedback a result of comparison between a sound around the noise source N, a sound output from the speaker 143, and a sound input from the sound input unit 190 arranged in an area around the user.
For example, the sound control device 100 may receive a sound generated by a sound generation source, such as the noise source N or the speaker 143 through the sound input unit 190, and determine a path between the sound generation source and the sound input unit 190 based on an adaptive control logic. Accordingly, the sound control device 100 in accordance with an embodiment may provide sound effects least affected by noise or circumstantial changes, by designing an adaptive control logic to follow a predetermined target sound while canceling noise based on the determined path. The sound effects may include both a sound which follows a target sound while canceling noise and a sound that simply cancels noise, without being limited thereto.
In the following description, take an engine as an example of the noise source N. However, embodiments of the present disclosure are not limited thereto, but may be applied to any different noise source N that makes noise in the vehicle 1.
The target sound refers to a sound that gives the user an effect, such as an immersive feeling. For example, the target sound may be generated based on at least one of engine rpm, vehicle speed, tire rpm, wheel rpm, transmission shaft rpm, pressure in the engine's intake manifold, ignition angle of the engine, an amount of change in vehicle speed, and displacement of the engine mount. For convenience of explanation, assume, for example, that the target sound is generated based on the engine rpm, but embodiments of the present disclosure are not limited thereto.
The sound control device 100 in accordance with an embodiment may reconstruct a constant sound effect regardless of external factors. A method for reconstructing a constant sound effect regardless of external factors will now be described.
Referring to
In an embodiment, the enumerated components may be independently implemented and connected to one another over a communication network. In another embodiment, at least one of the rpm measurer 141, the amplifier 145, the DA converter 146, the sound controller 147, the signal conditioner 148, and the AD converter 149 may be integrated on a single circuit board or in a System-on-Chip (SoC), without being limited thereto.
The sound control device 100 may include at least one of the rpm measurer 141, the amplifier 145, the DA converter 146, the sound controller 147, the signal conditioner 148, and the AD converter 149. Operation of each of the enumerated components will now be described.
First, the rpm measurer 141 may measure the rpm of the engine 142 and send the rpm value to a device in the vehicle 1 over a communication network in the vehicle 1.
The rpm value sent may be used in many different services. For example, the rpm value sent through the communication network in the vehicle 1 may be displayed on the cluster 144 as shown in
The amplifier 145 amplifies the sound signal. For example, the amplifier 145 amplifies a sound signal sent from the DA converter 146 and sends the amplified sound signal to the speaker 143.
The DA converter 146 converts a digital signal to an analog signal. The DA converter 146 may convert a digital sound signal received from the sound controller 147 to an analog sound signal and send the analog sound signal to the amplifier 145.
The sound input unit 190 may receive various sound signals generated in the interior of the vehicle 1. The sound control system in accordance with an embodiment may properly follow a target sound by making use of an adaptive control logic that reflects a sound signal input through the sound input unit 190 in designing an adaptive filter as will be described below, even if a circumstance in the vehicle 1 is changed over time.
The signal conditioner 148 may amplify the sound signal input through the sound input unit 190. The AD converter 149 may convert the amplified sound signal to a digital signal.
Referring to
For example, the sound controller 147 may store data related to the adaptive control logic as will be described below, and generate a sound effect using the adaptive control logic based on the data stored in its memory.
Referring to
The sound signal x(n) generated by the engine 142 is delivered to the sound input unit 190 via the interior of the vehicle 1, as shown in
Accordingly, when a factor to deform the x(n) is represented by a primary path transfer function P(z), the x(n) is deformed to the d(n) via the primary path transfer function. A primary path corresponds to a path between an area around the engine 143 and an area in which the sound input unit 190 is located, and the d(n) may be represented as x(n)*P(n). The P(z) is the primary path transfer function. Here, n refers to time and z refers to frequency.
In the meantime, when a path between an area in which the speaker 143 is located and an area in which the sound input unit 190 is located corresponds to a secondary path, a sound signal output through the speaker 143 is input to the sound input unit 190 via a secondary path transfer function S(z).
In general, as a difference between the sound signal d(n) via the primary path and a sound signal y′(n) via the secondary path, i.e., a first error signal, becomes nearer to ‘0’, the noise is minimized. In this case, however, there is a disadvantage in that it just cancels the noise but fails to provide a target sound. Accordingly, a need exists for a modified algorithm to constantly provide a target sound that the user wants while minimizing the noise deformed through the primary path.
In the following description, for convenience of explanation, a sound signal that has passed the primary path is called a first sound signal, a sound signal that has passed the secondary path is called a second sound signal, and the x(n) is called a third sound signal or a reference signal.
A first error signal e(n) is a difference between the first sound signal and the second sound signal, which may be expressed as in the following equation 1:
e(n)=d(n)−y′(n) (1)
In an embodiment, the control logic may represent a second error signal e′(n) to follow a target sound, as in the following equation 2:
e′(n)=d(n)−y′(n)−t(n) (2)
where t(n) corresponds to a target sound. For example, the target sound may be determined in advance based on the rpm value of the engine. Once receiving the rpm value, the control block may select a target sound corresponding to the received rpm value, and use the second error signal e′(n) resulting from subtraction of the target sound from the first error signal as an argument in designing an adaptive filter.
Further, the control block in accordance with an embodiment may use an argument by applying an estimated transfer function for the secondary path, i.e., an estimated secondary path transfer function, to the x(n) in designing an adaptive filter. The estimated transfer function for the secondary path is also called a secondary path compensation filter.
Referring to
For example, the estimated transfer function for the secondary path may be determined in advance through modeling, and stored in an internal memory of the sound control device 100 or in another memory equipped in the vehicle 1.
To cancel sound deformation due to various circumstantial changes, an influence by the secondary path should be taken into account in advance. For example, the sound control device in accordance with an embodiment may generate a sound signal by calculating in advance the influence by the secondary path based on a filtered-X LMS (FxLMS), an example of an adaptive control algorithm.
Unlike an LMS algorithm that uses an input, i.e., a reference signal firsthand as an argument of the adaptive filter, the FxLMS algorithm may have the reference signal pass the modeled secondary path function Ŝ(z) and use the result as an input value to an FxLMS adaptive filter algorithm, i.e., as an argument of the adaptive filter.
The sound control device may achieve an effect of actually canceling the influence by the secondary path by reflecting the secondary path in advance with the modeled estimated transfer function for the secondary path. The adaptive filter value may be represented by the following equation 3:
w(n+1)=w(n)+μ·e′(n)·x′(n) (3)
where, n denotes time, w(n) denotes a filter coefficient at time n, and w(n+1) denotes an updated filter coefficient at time n+1. e′(n) denotes the second error signal as described above, and x′(n) denotes the reference signal that has passed the secondary path compensation filter. μ denotes a step size, which is a scale factor for the time of updating.
Referring to the equation 3, the sound control system in accordance with an embodiment may constantly reflect circumstantial changes of the vehicle 1 by updating the adaptive filter value based on the second error signal e′(n) including a preset target sound t(n), the second sound signal y′(n), etc., and the previous filter value w(n). The control block may steadily reduce the influence by the circumstantial changes by updating the adaptive filter value at a preset sampling rate.
A sound signal y(n) that has passed the adaptive filter may be expressed as in the following equation 4:
y(n)=w(n)*x(n) (4)
As described above, a normal noise cancellation scheme embodies an adaptive filter such that the first error signal e(n) should become near to ‘0’. On the contrary, the sound control system in accordance with an embodiment of the present disclosure may preset a target sound corresponding to the engine's rpm value, and then reflect this in the second error signal e′(n).
In other words, the sound control system in accordance with the embodiment of the present disclosure ensures to follow a target sound by reflecting a preset target sound as an argument in designing the adaptive filter. Specifically, the sound control system may subtract the preset target sound t(n) from the first error signal e(n) as in equation 2, and then input the resultant value as an argument to the adaptive filter as in equation 3.
As characteristics of the noise source N, and noise transfer environments change over time, the amplitude, phase, and frequency of the noise also change as well. Accordingly, the vehicle 1 in accordance with an embodiment of the present disclosure may apply an adaptive control algorithm to constantly update the adaptive filter value, thereby embodying a target sound that reflects the circumstantial change.
For example, there is an Active Noise Cancellation (ANC) scheme for reducing noise by generating a signal with opposite phase to the original signal, and an Active Sound Design (ASD) scheme for providing immersive sound effects. The ASD scheme has no effect of reducing noise but is just used to reconstruct a target sound.
Compared to the ANC scheme, the ASD scheme has an advantage of saving costs because it does not need to use the microphone and the adaptive control logic, but has a problem of reconstructing a different sound from the preset target sound due to an outside factor because it is unable to reflect the secondary path.
If the ANC and ASD schemes are combined to provide a target sound while canceling noise, a problem arises in that the ANC scheme that changes the phase and the ASD scheme that does not change the phase interfere with each other. To solve those problems, the sound control system in accordance with an embodiment of the present disclosure may apply an adaptive control logic of a type shown in
Referring to
The sound control system may include a secondary path inverse-compensation filter 154. The secondary path inverse-compensation filter 154 refers to a filter based on the inverse function of the estimated secondary path transfer function.
Referring to
A sound signal y(n) that has been output from the control block and passed the adaptive filter may be represented by w(n)*x(n). The adaptive filter value may be represented as in the following equation 5:
w(n+1)=w(n)+μ·e′(n)·x(n) (5)
Examining the equation 5, the adaptive filter of
Ŝ−1(z) is the inverse function of the estimated secondary path transfer function, and may be stored in an internal memory of the sound control device 100 or in another memory equipped in the vehicle 1. Alternatively, data related to the estimated secondary path transfer function Ŝ(z) is stored in the memory in advance, and the control block may derive the inverse function Ŝ−1(z) of the estimated secondary path transfer function from the estimated secondary path transfer function through calculation, without being limited thereto.
Accordingly, the sound signal y′(n) output through the speaker 143 may be represented as in the following equation 6:
y′(n)=Ŝ−1(n)*y(n) (6)
The sound signal y′(n) is deformed to a second sound signal y″(n) through the secondary path transfer function, and the resultant signal is input to the sound input unit 190. Accordingly, the first error signal e(n) may be represented by d(n)−y″(n), and the second error signal e′ (n) input to the control block may be represented as in the following equation 7:
e′(n)=d(n)−y″(n)−t(n) (7)
As such, the sound control system in accordance with embodiments of the present disclosure may design a control logic to follow a target sound by adding the target sound as an argument.
Meanwhile, a method that uses the inverse function of the estimated secondary path transfer function may be used when control stability of the sound control device or the sound control system is high, because the method requires the operation of Ŝ−1(z) and has the sound signal y(n) that has passed the adaptive filter go through one more operation of Ŝ−1(z) unlike what is shown in
Referring to
The sound control system may also include a pre-filter 155. The pre-filter 155 may be calculated offline in advance. As such, the sound control system in accordance with embodiments of the present disclosure may use both the online adaptive control logic and offline adaptive control logic, thereby reliably obtaining a substitute of the secondary path inverse-compensation filter value.
For example, referring to
p′(n)=Ŝ(n)*p(n) (8)
p′(n) may be input to the sound input unit 190 via the offline pre-filter. Accordingly, a sound signal p″(n) in the adaptive control logic shown in
p″(n)=w(n)*p′(n) (9)
Accordingly, an offline error signal e2(n) may be represented as in the following equation 10:
e
2(n)=p″(n)−p(n) (10)
The control block offline may design an offline pre-filter based on p′(n) and e2(n) as shown in
w
2(n+1)=w2(n)+μ·e2(n)·p′(n) (11)
The sound control system may use the offline pre-filter value in embodying the target sound online. Specifically, before embodying the target sound, the sound control system may design an offline adaptive control logic, calculate a pre-filter value in advance, and apply the pre-calculated pre-filter value in embodying an actual target sound, thereby reducing an amount of calculation. Further, in an embodiment, the sound control system may calculate a pre-filter value corresponding to a substitute of the secondary path inverse-compensation filter value offline in advance, thereby increasing system stability.
The pre-filter value obtained by the adaptive control logic of
w(n+1)=w2(n)+μ·e′(n)·x(n) (12)
The first error signal e(n) corresponds to a difference between the first sound signal d(n) and the second sound signal y″(n), d(n)−y″(n), and the second error signal e′ (n) may be represented as in the following equation 13:
e′(n)=d(n)−y″(n)−t(n) (13)
In addition, the adaptive control logic in accordance with an embodiment of the present disclosure may be designed by combining the adaptive control logics shown in
Referring to
The sound control system may include a secondary path compensation filter 153 and a secondary path inverse-compensation filter 154. Thus, the adaptive control logic of
The adaptive control logic of
w(n+1)=w(n)+μ·e(n)·x′(n) (14)
The adaptive control logic shown in
t′(n)=Ŝ−1(n)*t(n) (15)
The sound signal y(n) being output may be expressed as in the following equation 16:
y(n)=w(n)*x(n)−t′(n) (16)
An error signal e(n) finally input through the sound input unit 190 may be represented as in the following equation 17, and the adaptive filter does not reflect the target sound t(n) as an argument because the sound control system in accordance with the embodiment of the present disclosure reflects t′(n) on the sound signal y(n) as in the equation 17:
e(n)=d(n)−y′(n) (17)
The sound control system may use one of the adaptive control logics shown in
The vehicle may derive a secondary path transfer function of
Specifically, the first sound signal d(n) may be embodied by setting a sampling frequency to 1,000 Hz and time data to 1 second and combining a sine wave whose amplitude is 10 and frequency is 60 Hz, a cosine wave whose amplitude is 1 and frequency is 30 Hz, a sine wave whose amplitude is 0.8 and frequency is 75 Hz, and a random signal whose peak is 0.5.
The control block of
The graph of
Examining the first error signal of
Accordingly, the driver may feel less noise while driving the vehicle 1. Simulation results based on the adaptive control logic of
The first sound signal d(n) shown in
The target sound t(n) may be embodied by combining a sine wave whose amplitude is 5 and frequency is about 60 Hz, a sine wave whose amplitude is 5 and frequency is about 90 Hz, and a sine wave whose amplitude is 2 and frequency is about 105 Hz. For example, if a sound of about 60 Hz from the engine sound is assumed to be a second component, a sound of about 90 Hz may be the third component and a sound of about 105 Hz may be the 3.5th component.
The graph of
Specifically, in
Referring to
The components in the vehicle 1 may exchange various information over a communication network in the vehicle. The communication network in the vehicle 1 supports data transmission or reception between various devices equipped in the vehicle 1. For example, the communication network in the vehicle 1 includes a Controller Area Network (CAN). The CAN is a network for vehicle to support digital serial communication between the various devices in the vehicle 1 and support real-time communication by replacing complicated electric wires and relays of the electronic devices in the vehicle 1 by serial communication lines. The communication network in the vehicle 1 is, however, not limited thereto, but may use any communication network for vehicle known to the public to transmit or receive data between the devices in the vehicle 1.
The sound control device 100 may include a sound collector 110 and a sound controller 147. The sound collector 110 and sound controller 147 may be implemented in a way of being integrated on an SoC or circuit board or implemented independently, without being limited thereto.
The sound collector 110 may collect various sound signals detected from inside the vehicle 1. For example, the sound collector 110 may collect a third sound signal x(n) through e.g., a microphone arranged around the engine 142, and in addition, collect information about sound signals deformed along various paths, such as the first sound signal and the second sound signal.
The sound collector 147 may control general operation of the sound control device 100. For example, the sound controller 147 may be implemented by a processor capable of performing various signal processes and operation and a memory that stores control data of the sound control device 100. Accordingly, the sound controller 147 may generate control signals using the control data, and control general operation of the sound control device 100 according to the generated control signals. In addition, the sound controller 147 may control overall operation of the sound control system in cooperation with the main controller 120 with the control signals.
The sound controller 147 may generate sound effects according to the adaptive control logic shown in
The sound controller 147 may determine which one of the plurality of adaptive control logics is to reconstruct the sound effect.
For example, the sound controller 147 may select an adaptive control logic based on the estimated secondary path transfer function. In an embodiment, data about the estimated secondary path transfer function may be stored in the memory of the sound controller 147. Since characteristics of the vehicle 1 are reflected in the estimated secondary path transfer function, the estimated secondary path transfer function may be different depending on the structural features or specification of the vehicle 1. Accordingly, the sound controller 147 may select an estimated secondary path transfer function corresponding to information about the vehicle equipped with the sound control device 100, and select an adaptive control logic according to the form of the selected estimated secondary path transfer function, i.e., the form of the secondary path compensation filter. In an embodiment, the sound controller 147 may select an adaptive control logic based on the number of poles and 0's of the estimated secondary path transfer function.
In another embodiment, the sound controller 147 may select an adaptive control logic based on control stability of the sound control device 100. An adaptive control logic that uses the inverse function of the estimated secondary path transfer function requires high amounts of calculation and fast real-time processing. Accordingly, the sound controller 147 may determine control stability of the sound control device 100, and select an adaptive control logic that uses the inverse function of the estimated secondary path transfer function if the control stability of the sound control device 100 is greater than a predetermined level.
In the meantime, referring to
The sound analyzer 130 may determine a pre-filter through offline adaptive control logic. For example, a large amount of calculation may be required in estimating primary and secondary paths in real time. Especially, even if the secondary path is already estimated in advance, a large amount of calculation is required for inverse estimation of the secondary path is also required as well, causing overload.
Accordingly, the sound analyzer 130 may calculate a substitute of the inverse function of the estimated secondary path transfer function, i.e., a pre-filter value by inputting a sample signal, e.g., a white noise signal, to the offline adaptive control logic. The sound controller 147 may then substitute the calculated pre-filter value to an online adaptive control logic, thus enabling faster calculation.
The main controller 120 may be equipped in the vehicle 1 for controlling overall operation of the vehicle 1. For example, the main controller 120 may be implemented by a processor such as MCU and a memory. The data stored in the memory of the sound controller 147 may even be collectively stored in the memory of the main controller 120, without being limited thereto.
For example, the main controller 120 may send the sound signal input through the sound input unit 190 to the sound control device 100. Further, the main controller 120 may control the speaker 143 to output a sound effect according to a control signal of the sound control device 100.
In the vehicle, a variety of sound signals may be generated. For example, various sound signals may be generated from many different devices equipped in the vehicle and outside environments. Accordingly, the vehicle may collect sound signals through at least one sound input unit arranged in the vehicle.
For example, the vehicle may collect the first sound signal delivered from the primary path between a noise source and one of the at least one sound input unit, and the second sound signal delivered from the secondary path between the speaker and one of the at least one sound input unit, in 1800. In addition, the vehicle may also collect a third sound signal delivered through the sound input unit arranged around a noise source.
Accordingly, the vehicle may update the adaptive filter in the adaptive control logic with the at least one of the first sound signal, the second sound signal, and a predetermined target sound, and generate a sound effect based on the updated adaptive filter, in 1810. The types of the adaptive control logic and equations of the adaptive filter were described above, so the details will be omitted in the following description.
The vehicle may have various adaptive control logics, and may select a suitable adaptive control logic based on information about the vehicle and generate a sound effect using the selected adaptive control logic. The information about the vehicle is information to identify the vehicle, including model information, structure information of the vehicle.
The suitable adaptive control logic may be different depending on the information about the vehicle. Accordingly, the vehicle in accordance with embodiments of the present disclosure may provide a more suitable sound effect for the driver by selecting an adaptive control logic that fits the information about the vehicle. For example, the form of the estimated secondary path transfer function may be different depending on the vehicle. Accordingly, the vehicle may select an estimated secondary path transfer function corresponding to the vehicle information, and determine a suitable adaptive control logic based on the form of the estimated secondary path transfer function.
In an embodiment, in a case of using the adaptive control logic of
In the vehicle, a variety of sound signals may be generated. For example, various sound signals may be generated from many different devices equipped in the vehicle and due to outside environments. Accordingly, the vehicle may collect sound signals through at least one sound input unit arranged in the vehicle, and generate a sound effect based on the collected results.
In this regard, before generating the sound effect, the vehicle may input a sample signal to an offline adaptive control logic to determine a pre-filter, in 1900. The sample signal is a sound signal for determining the pre-filter, and includes a white noise signal, for example. The offline adaptive control logic is shown in
The vehicle may substitute an online adaptive control logic with the determined pre-filter value and at the same time, update the adaptive filter with at least one of the first sound signal, the second sound signal, and the predetermined target sound, and may thus generate a sound effect faster. The online adaptive control logic is shown in
The pre-filter may substitute the secondary path inverse-compensation filter with a smaller amount of calculation. Accordingly, if it is determined that the form of the estimated secondary path transfer function is complicated, the vehicle may embody a sound effect through an adaptive control logic that uses the pre-filter. Embodiments of the sound control device, vehicle, and method for controlling the sound control device may provide a user with superb sound effects of no deviation in quality regardless of circumstantial changes.
Number | Date | Country | Kind |
---|---|---|---|
10-2016-0113150 | Sep 2016 | KR | national |