Method for controlling range extender, and related device
Abstract
A method for controlling a range extender includes obtaining a sound pressure level of environmental noises and obtaining a real-time fitted sound quality limit for a vehicle in a traveling procedure; processing the sound pressure level and the real-time fitted sound quality limit to obtain a sound pressure level margin, determining a working condition corresponding to a sound pressure level lower than or equal to the sound pressure level margin, and taking the working condition as a target calibration working condition; obtaining a respective corrected sound pressure level by performing correction through a correcting sound pressure function based on the sound pressure level and a respective sound pressure level of the range extender in each working condition; and comparing the real-time fitted sound quality limit corresponding to the target calibration working condition with a corresponding corrected sound pressure level, and adjusting the target calibration working condition based on the comparison.
Claims
exact text as granted — not AI-modifiedThe invention claimed is:
1 . A method for controlling a range extender, comprising:
obtaining a sound pressure level of environmental noises and obtaining a real-time fitted sound quality limit for a vehicle in a traveling procedure of the vehicle; processing the sound pressure level of the environmental noises and the real-time fitted sound quality limit to obtain a sound pressure level margin, determining, from a pre-established working condition database of the range extender, a working condition corresponding to a sound pressure level lower than or equal to the sound pressure level margin, and taking the working condition as a target calibration working condition of the range extender; obtaining a respective corrected sound pressure level by performing correction through a correcting sound pressure function based on the sound pressure level of the environmental noises and a respective sound pressure level of the range extender in each working condition in the pre-established working condition database of the range extender; and comparing the real-time fitted sound quality limit corresponding to the target calibration working condition of the range extender with a corresponding corrected sound pressure level, and adjusting the target calibration working condition of the range extender based on a comparison result.
2 . The method of claim 1 , wherein obtaining the sound pressure level of the environmental noises comprises:
obtaining real-time noise data of the vehicle in the traveling procedure, and performing conversion processing on the real-time noise data to obtain a total noise spectrum; determining a current working condition of the range extender in the traveling procedure of the vehicle, determining a sound pressure level corresponding to the current working condition from the pre-established working condition database of the range extender, taking the sound pressure level corresponding to the current working condition as a current sound pressure level, and obtaining a current noise spectrum based on the current sound pressure level; and obtaining an environmental noise spectrum by subtracting the current noise spectrum from the total noise spectrum, and obtaining the sound pressure level of the environmental noises based on the environmental noise spectrum.
3 . The method of claim 2 , wherein obtaining the current noise spectrum based on the current sound pressure level comprises:
performing signal conversion on the current sound pressure level to obtain time-domain waveform data; expanding the time-domain waveform data to a preset data processing window length, and performing delay processing based on a preset initialization delay to form a time-domain reference sound wave; processing the time-domain reference sound wave by utilizing a least mean square algorithm within one cycle time and a binary search algorithm to obtain a time-domain target sound wave corresponding to an optimal fitting result; and performing fast Fourier transform processing on the time-domain target sound wave to obtain the current noise spectrum.
4 . The method of claim 2 , wherein obtaining the sound pressure level of the environmental noises based on the environmental noise spectrum comprises:
obtaining a sound pressure P unfiltered based on the environmental noise spectrum; and calculating the sound pressure level SPL amb of the environmental noises based on a first sound pressure function
SPL
amb
=
10
·
log
10
(
∑
P
unfiltered
2
P
ref
2
)
,
where P ref represents a reference sound pressure and is a constant value.
5 . The method of claim 4 , wherein obtaining the sound pressure level margin by processing the sound pressure level of the environmental noises and the real-time fitted sound quality limit comprises:
processing the sound pressure level SPL amb of the environmental noises and the real-time fitted sound quality limit SPL Limit by a sound pressure margin function
SPL
marge
=
10
·
log
10
(
10
SPL
Limit
10
-
10
SPL
amb
10
)
to obtain the sound pressure level margin SPL marge .
6 . The method of claim 4 , wherein the correcting sound pressure function is a correcting and fusing sound pressure function; and
obtaining the respective corrected sound pressure level by performing correction through the correcting sound pressure function based on the sound pressure level of the environmental noises and the respective sound pressure level of the range extender in each working condition in the pre-established working condition database of the range extender comprises:
when the range extender is a four-cylinder engine, based on a rotational machinery order being a second order, performing in-phase superposition on the sound pressure level SPL amb of the environmental noises and the respective sound pressure level SPL eng of the range extender in each working condition in the pre-established working condition database of the range extender through the correcting and fusing sound pressure function to obtain the respective corrected sound pressure level SPL sum , wherein the correcting and fusing sound pressure function is represented by
SPL
sum
=
10
·
log
10
·
[
10
SPL
amb
10
+
10
SPL
eng
10
+
2
·
abs
(
P
eng
2
·
P
amb
,
eng
2
)
]
,
where, abs represents a function for calculating an absolute value of data, P eng2 represents a sound pressure of the working condition when the rotational machinery order of the range extender is the second order, and P amb,eng 2 represents a sound pressure corresponding to the environmental noises.
7 . The method of claim 1 , wherein obtaining the real-time fitted sound quality limit for the vehicle in the traveling procedure comprises:
obtaining a real-time traveling velocity of the vehicle in the traveling procedure, and determining the real-time fitted sound quality limit from the pre-established working condition database of the range extender based on the real-time traveling velocity.
8 . The method of any of claim 1 , wherein comparing the real-time fitted sound quality limit corresponding to the target calibration working condition of the range extender with a corresponding corrected sound pressure level and adjusting the target calibration working condition of the range extender based on the comparison result comprises:
in response to determining that the real-time fitted sound quality limit corresponding to the target calibration working condition of the range extender is lower than or equal to the corresponding corrected sound pressure level, controlling the range extender to operate based on the target calibration working condition; in response to determining that the real-time fitted sound quality limit corresponding to the target calibration working condition of the range extender is greater than the corresponding corrected sound pressure level, decreasing a power of the range extender corresponding to the target calibration working condition of the range extender based on a preset step size to obtain a processed real-time fitted sound quality limit of the target calibration working condition of the range extender subjected to a power decrease; obtaining a re-corrected sound pressure level by performing correction processing on the sound pressure level of the environmental noises and the real-time fitted sound quality limit of the target calibration working condition of the range extender subjected to the power decrease, and obtaining the comparison result by comparing the re-corrected sound pressure level with the processed real-time fitted sound quality limit of the target calibration working condition of the range extender subjected to the power decrease; and in response to determining that the comparison result is that the re-corrected sound pressure level is lower than or equal to the processed real-time fitted sound quality limit of the target calibration working condition of the range extender subjected to the power decrease, taking the target calibration working condition of the range extender subjected to the power decrease as a final target working condition to control the range extender to operate based on the final target working condition.
9 . The method of claim 1 , wherein the working condition database of the range extender is established by:
determining respective spectrum data corresponding to each working condition based on an optimal fuel consumption line of a range extender MAP in a quiet environment, obtaining respective time-domain noise data of the range extender in each working condition and a respective rotation speed of the range extender in each working condition, obtaining sound pressure level limits corresponding to the vehicle at different traveling velocities, and performing fitting processing on the sound pressure level limits corresponding to the vehicle at different traveling velocities to obtain a fitted sound quality limit; calculating a respective rotation frequency of the range extender in each working condition through a frequency function based on the respective spectrum data corresponding to each working condition and the respective rotation speed of the range extender in each working condition; calculating the respective sound pressure level of the range extender in each working condition through a second sound pressure level function based on the respective rotation frequency in each working condition; and integrating the respective sound pressure level of the range extender in each working condition with the fitted sound quality limit corresponding to the vehicle at different traveling velocities as the working condition database of the range extender.
10 . The method of claim 9 , wherein performing fitting processing on the sound pressure level limits corresponding to the vehicle at different traveling velocities to obtain the fitted sound quality limit comprises:
obtaining a fitting function based on the sound pressure level limits corresponding to the vehicle at different traveling velocities, and fitting the traveling velocities of the vehicle in the traveling procedure by the fitting function to obtain the fitted sound quality limit.
11 . The method of claim 9 , wherein calculating the respective rotation frequency of the range extender in each working condition through the frequency function based on the respective spectrum data corresponding to each working condition and the respective rotation speed of the range extender in each working condition comprises:
determining the rotational machinery order n in which the noise energy of the range extender is concentrated in each working condition; obtaining the respective rotation speed r eng of the range extender in each working condition; and calculating the respective rotation frequency Fn of the range extender in each working condition based on the frequency function
F
n
=
r
eng
60
·
n
.
12 . The method of claim 11 , wherein calculating the respective sound pressure level of the range extender in each working condition through the second sound pressure level function based on the respective rotation frequency in each working condition comprises:
determining a respective sound pressure P filtered based on the respective rotation frequency Fn in each working condition; and calculating the respective sound pressure level SPL eng of the range extender in each working condition through the second sound pressure level function
SPL
eng
=
10
·
log
10
(
∑
P
filtered
2
P
ref
2
)
,
where P ref represents the reference sound pressure and is a constant value.
13 . An electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable by the processor, wherein the processor is configured to:
obtain a sound pressure level of environmental noises and obtain a real-time fitted sound quality limit for a vehicle in a traveling procedure of the vehicle; process the sound pressure level of the environmental noises and the real-time fitted sound quality limit to obtain a sound pressure level margin, determine, from a pre-established working condition database of a range extender, a working condition corresponding to a sound pressure level lower than or equal to the sound pressure level margin, and take the working condition as a target calibration working condition of the range extender; obtain a respective corrected sound pressure level by performing correction through a correcting sound pressure function based on the sound pressure level of the environmental noises and a respective sound pressure level of the range extender in each working condition in the pre-established working condition database of the range extender; and compare the real-time fitted sound quality limit corresponding to the target calibration working condition of the range extender with a corresponding corrected sound pressure level, and adjust the target calibration working condition of the range extender based on a comparison result.
14 . A vehicle, comprising the electronic device according to claim 13 .
15 . The electronic device of claim 13 , wherein the processor is further configured to:
obtain real-time noise data of the vehicle in the traveling procedure, and perform conversion processing on the real-time noise data to obtain a total noise spectrum; determine a current working condition of the range extender in the traveling procedure of the vehicle, determine a sound pressure level corresponding to the current working condition from the pre-established working condition database of the range extender, take the sound pressure level corresponding to the current working condition as a current sound pressure level, and obtain a current noise spectrum based on the current sound pressure level; and obtain an environmental noise spectrum by subtracting the current noise spectrum from the total noise spectrum, and obtain the sound pressure level of the environmental noises based on the environmental noise spectrum.
16 . The electronic device of claim 15 , wherein the processor is further configured to:
perform signal conversion on the current sound pressure level to obtain time-domain waveform data; expand the time-domain waveform data to a preset data processing window length, and perform delay processing based on a preset initialization delay to form a time-domain reference sound wave; process the time-domain reference sound wave by utilizing a least mean square algorithm within one cycle time and a binary search algorithm to obtain a time-domain target sound wave corresponding to an optimal fitting result; and perform fast Fourier transform processing on the time-domain target sound wave to obtain the current noise spectrum.
17 . The electronic device of claim 15 , wherein the processor is further configured to:
obtain a sound pressure P unfiltered based on the environmental noise spectrum; and calculate the sound pressure level SPL amb of the environmental noises based on a first sound pressure function
SPL
amb
=
10
·
log
10
(
∑
P
unfiltered
2
P
ref
2
)
,
where P ref represents a reference sound pressure and is a constant value.
18 . The electronic device of claim 17 , wherein the processor is further configured to:
process the sound pressure level SPL amb of the environmental noises and the real-time fitted sound quality limit SPL Limit by a sound pressure margin function
SPL
marge
=
10
·
log
10
(
10
SPL
Limit
10
-
10
SPL
amb
10
)
to obtain the sound pressure level margin SPL marge .
19 . The electronic device of claim 14 , wherein the processor is further configured to:
obtain a real-time traveling velocity of the vehicle in the traveling procedure, and determine the real-time fitted sound quality limit from the pre-established working condition database of the range extender based on the real-time traveling velocity.
20 . A non-transitory computer readable storage medium, having computer instructions stored thereon, which, when executed by a processor of a computer, the computer is caused to perform a method for controlling a range extender, the method comprising:
obtaining a sound pressure level of environmental noises and obtaining a real-time fitted sound quality limit for a vehicle in a traveling procedure of the vehicle; processing the sound pressure level of the environmental noises and the real-time fitted sound quality limit to obtain a sound pressure level margin, determining, from a pre-established working condition database of the range extender, a working condition corresponding to a sound pressure level lower than or equal to the sound pressure level margin, and taking the working condition as a target calibration working condition of the range extender; obtaining a respective corrected sound pressure level by performing correction through a correcting sound pressure function based on the sound pressure level of the environmental noises and a respective sound pressure level of the range extender in each working condition in the pre-established working condition database of the range extender; and comparing the real-time fitted sound quality limit corresponding to the target calibration working condition of the range extender with a corresponding corrected sound pressure level, and adjusting the target calibration working condition of the range extender based on a comparison result.Cited by (0)
No later patents cite this yet.
References (0)
No backward citations on record.