Generating sound for a rotating machine of a device
09542925 · 2017-01-10
Assignee
Inventors
- Nathalie Le-Hir (Le Mesnil Saint Denis, FR)
- Gaël Guyader (Chaudon, FR)
- Patrick Boussard (Eguilles, FR)
- Benoît Gauduin (Verrieres le Buisson, FR)
- Florent Jaillet (Chateau-Arnoux, FR)
Cpc classification
G10H7/10
PHYSICS
G10H2250/211
PHYSICS
International classification
H04B1/00
ELECTRICITY
G10H7/10
PHYSICS
Abstract
The invention relates to a method for generating sound for a rotating machine, including a step (E1) of determining the frequencies and amplitudes of n partials and/or harmonics (i) pertaining to the sound of a rotating machine, characterized in that the method includes a step (E2) of determining values (a1) and a step (E7-E8) of calculating a synthetic sound for the rotating machine, said synthetic sound being composed from the n partials and/or harmonics (i), while the frequency thereof is entirely or partially shifted by the values (ai).
Claims
1. A method for generating a rotating machine sound, comprising: a step (E1) of determining the frequencies and amplitudes of n relevant partials and/or harmonics (i) in the sonority of a rotating machine, comprising: a step (E2) of determining values (ai); and a step of calculating (E7-E8) a synthetic sound of the rotating machine, made up of the n partials and/or harmonics (i) but whose frequency is all or partly shifted by the values (ai); wherein the step of calculating a synthetic sound s(N,t) (E7) comprises a calculation defined by the equation:
2. The method for generating a rotating machine sound as claimed in claim 1, the method further comprising: a step (E2) of determining random values (ai) and a step of calculating (E7-E8) a synthetic sound of the rotating machine, from the frequencies determined by the partials and/or harmonics (i) all or partly shifted by the random values (ai).
3. A method for generating a rotating machine sound, comprising: a step (E1) of determining the frequencies and amplitudes of n relevant partials and/or harmonics (i) in the sonority of a rotating machine, comprising: a step (E2) of determining values (ai); and a step of calculating (E7-E8) a synthetic sound of the rotating machine, made up of the n partials and/or harmonics (i) but whose frequency is all or partly shifted by the values (ai); wherein the step of calculating a synthetic sound s(N,t) (E7) comprises a calculation defined by the equation:
4. A method for generating a rotating machine sound, comprising: a step (E1) of determining the frequencies and amplitudes of n relevant partials and/or harmonics (i) in the sonority of a rotating machine, comprising: a step (E2) of determining values (ai); and a step of calculating (E7-E8) a synthetic sound of the rotating machine, made up of the n partials and/or harmonics (i) but whose frequency is all or partly shifted by the values (ai); wherein the frequency f((i+ai), N) of each harmonic and/or partial (i) is defined by the equation f((i+ai), N)=(N/60)(i+ai), in which N/60 represents the speed of the rotating machine in revolution/s.
5. The method for generating a rotating machine sound as claimed in claim 1, wherein the values (ai) are contained within the range [0.2; 0.2].
6. The method for generating a rotating machine sound as claimed in claim 5, wherein the values (ai) are contained within the range [0.1; 0.1].
7. The method for generating a rotating machine sound as claimed claim 6, the method further comprising: determining n random values (ai), including at least one non-zero value.
8. The method for generating a rotating machine sound as claimed in claim 1, wherein the n relevant partials and/or harmonics (i) in the sonority of the rotating machine are determined empirically, by a simulator, and/or stored (E6).
9. The method for generating a rotating machine sound as claimed in claim 1, the method further comprising: a step of determining a gain G.sub.1 that is a function of a driver command, such as the position of the accelerator pedal, and/or of a gain G.sub.2 as a function of the speed of the vehicle, reference values of these gains being stored, and; a step of calculating (E8) the synthetic sound by its multiplication by this gain or these gains.
10. The method for generating a rotating machine sound as claimed in claim 1, wherein the method is carried out on board an appliance; and wherein the method comprises: an iteration of the step of calculating (E7-E8) a synthetic sound of the rotating machine, and; a step of periodically transmitting the speed N and the position of an actuator of the appliance.
11. The method for generating a rotating machine sound as claimed in claim 10, wherein the appliance is a motor vehicle, rail car, or aircraft, and; wherein the rotating machine is the engine of the appliance.
12. A device for generating a rotating machine sound comprising: at least one memory and one computer, which implements the method for generating a rotating machine sound as claimed in claim 1.
13. A motor vehicle, comprising: a device for generating a rotating machine sound as claimed in claim 12.
14. A motor vehicle simulator, comprising: a device for generating a rotating machine sound as claimed in claim 12.
Description
(1) These objects, features and advantages of the present invention will be explained in detail in the following description of a particular embodiment given in a non limiting manner in relation to the appended figures in which:
(2)
(3)
(4)
(5)
(6)
(7) According to one embodiment, the invention is based on a method for generating a sound of a particular engine of a motor vehicle, an algorithm of which, according to one embodiment, is represented in
(8) The method firstly comprises an upstream phase, of preparation of parameters which will be used to generate the synthetic sound.
(9) This upstream phase comprises a first step E1 of determining a fundamental frequency f.sub.0(N) of the sound of the engine, then of n harmonics and/or partials i (i.sub.1 to i.sub.n) of the sound of this engine concerned. The sound of the engine is represented by this fundamental frequency f.sub.0(N), which depends generally on its operating speed N, that is to say the rotation frequency of the crankshaft for a motor vehicle engine, then by the frequencies if.sub.0(N), for all the values of selected harmonics and/or partials i. When i is an integer number, the term that applies is harmonic, whereas in the other cases, it is a partial. For example, for a four-stroke engine, all the chosen partials are half-integers. Thus, this step E1 makes it possible to define the frequencies of n harmonics and/or partials that are relevant in the sonority of the machine considered.
(10) As an example,
(11) Then, the method comprises a second step E2 that generates any n numbers ai, advantageously between [0.2; 0.2]. Since these numbers ai can be any numbers, they are defined, for example, by a random generation. However, any other method for defining them may be suitable since they are any numbers.
(12) According to an advantageous variant embodiment, values of ai will be chosen between [0.1; 0.1].
(13) According to a variant embodiment, fewer than n values ai can be chosen.
(14) According to another variant embodiment, it will be ensured that at least one non-zero value of ai is obtained.
(15) Next, the method comprises a third step E3 of determining a table of reference value data of an amplitude k(i, N*) in dB as a function of the harmonics and/or partials determined in the first step and as a function of certain selected engine speed values N*.
(16) According to a first approach, this third step is performed empirically, recording the real noise of the engine then decomposition. According to second approach, this third step is performed by a simple appraisal, according to artistic criteria.
(17) The method then comprises a fourth step E4 of determining a table of data representing a gain G.sub.1 in dB, to take account of the intervention of the driver on the engine. Notably, account is taken of the position of the accelerator pedal, which represents an important desire on the part of the driver in terms of a vehicle operation. For this, gain values G1 as a function of certain predefined values C* representing an action of a driver are predefined and stored, as illustrated by way of example by the table of
(18) The method then comprises a fifth step E5 of determining a table of data representing a second gain G.sub.2 in dB as a function of predefined speed values V* of the motor vehicle. The table presented in
(19) The method comprises a sixth step E6 of recording the duly obtained values in a memory. These stored data are represented by way of example by the table of
(20) Then, the method implements an iterative phase, which changes over time. The values defined previously in the upstream phase then remain always constant, and the method is limited to the second iterative phase. As a variant, a choice can be made to modify these values according to defined criteria.
(21) The seventh step E7 comprises the calculation of a synthesized sound s(N, t) of the motor vehicle engine for an instant t and for the speed N of the engine, by the following formula:
(22)
(23) It should be noted that this step therefore incorporates the measurement or the estimation of a speed N of the engine at the instant t. The amplitude value k(i, N) is obtained by extrapolation of the values predefined in the upstream phase and stored in the data table.
(24) Thus, according to the embodiment of the invention, the frequency of each harmonic and/or partial i is slightly shifted by a random value, that is to say extending in the direction of any value. This calculation of the frequencies taken into account in this calculation of the sound makes it possible to arrive at a more realistic sound, without increasing the complexity of the calculation, which is compatible with an implementation by modest computation devices while allowing for a real time calculation.
(25) According to a variant embodiment, the equation (1) is replaced by the following equation (2), in which a phase (i) is added for each harmonic and/or partial, these phases (i) being previously calculated once for all in any manner, for example randomly, within the range]0; 2[.
(26)
(27) According to one embodiment, the frequency function f(i, N) is determined by f(i, N)=(N/60)*i, which means that, in the preceding two equations (1) and (2), f((i|ai), N)=(N/60)(i+ai),
(28) in which N/60 represents the speed of the engine in revolution/s.
(29) It should be noted that this embodiment amounts to considering f.sub.0(N)=N/60 to be a fundamental frequency of the sound of the engine.
(30) An eighth step E8 of the method consists in considering the gains G1 and G2 in order to finally obtain the retained sound S(N, t):
S(N,t)=G.sub.1(C)G.sub.2(V)s(N,t)
(31) The two gain values G.sub.1(C) and G.sub.2(V) are obtained by extrapolation of the values stored in the tables of values defined in the upstream phase.
(32) The steps E7 and E8 are repeated over time, according to a certain predefined time step dt. At each instant t, the method comprises a step E9 of broadcasting the calculated sound.
(33) The sound generation method described above can naturally be subject to variants, without departing from the framework of the invention. Notably, the use of the gains G.sub.1 and/or G.sub.2 remains optional. Furthermore, the amplitude values k(i, N) can be defined differently.
(34) The method described previously is implemented in a device for generating an engine sound, comprising at least one computer, which implements the steps of the method described previously and which is linked to a sound broadcasting device, which comprises an amplifier coupled to one or more loudspeakers. The computer is also linked to a memory, containing the various data mentioned previously, used to implement the method.
(35) The method for generating the sound of a motor vehicle engine can be implemented in different applications.
(36) Firstly, it can be implemented on board a motor vehicle. For this, the device for generating the sound of an engine is advantageously linked to a communication network on board the motor vehicle, by which it recovers the values of the data representative of the engine speed, of the position of the accelerator pedal, of the speed of the vehicle, and possibly of any actuator of the vehicle or of any other command from the driver and/or of any other quantities representative of the state or of the operation of the vehicle, such as the motor drive type (hybrid, heat, electric, LPG, etc.) of the vehicle and/or such as the torque undergone by the engine to deal with deceleration, etc. The sound broadcaster can be linked to the loudspeakers on board the vehicle, also provided to broadcast the radio for example. Thus, the device for generating engine sound is suitable for emitting an engine sound inside the passenger compartment, perfectly correlated with the real sound of the engine.
(37) In this application, the steps E7 and E8 are repeated very rapidly, according to a very short time step, so as to be able to best follow the variations of the engine, to obtain a synthesized sound best correlated with the real operation of the engine. These steps E7, E8 use a measurement of the engine speed N transmitted periodically to the computer of the sound generator for the application of the equations (1) or (2) of the step E7. As a variant, this transmitted value of the engine speed N can be modified by the computer, according to an interpolation of the latest values retained, in order to obtain a value of the engine speed that varies according to a shorter period, to best follow the variations of the engine. The same approach is applied to the other data taken into account, such as the position of the accelerator pedal.
(38) As a variant, the device for generating engine sound is used in a motor vehicle simulator, so as to reproduce the most realistic engine sound possible.
(39) As a variant, the device for generating engine sound is used to simply create a sound file from data derived from a predefined driving profile of a motor vehicle, comprising data on the speed of the engine, on the depression of the accelerator pedal, etc. In the latter case, the application of the sound generation principle is no longer subject to a real time constraint.
(40) Thus, the solution described previously makes it possible to generate a sound associated with any rotating machine, which can be implemented for uses in real time or not, with devices of digital and/or analog type.