CN109774477A - Vehicle revolving speed display control method and system, vehicle - Google Patents
Vehicle revolving speed display control method and system, vehicle Download PDFInfo
- Publication number
- CN109774477A CN109774477A CN201910068510.5A CN201910068510A CN109774477A CN 109774477 A CN109774477 A CN 109774477A CN 201910068510 A CN201910068510 A CN 201910068510A CN 109774477 A CN109774477 A CN 109774477A
- Authority
- CN
- China
- Prior art keywords
- revolving speed
- vehicle
- tach signal
- filter patterns
- filter
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Indicating Measured Values (AREA)
- Instrument Panels (AREA)
Abstract
The invention discloses a kind of vehicle revolving speed display control method and system, vehicle, the control method includes: to obtain vehicle tach signal;The tachometer value according to corresponding to tach signal determines revolving speed filter patterns;Initial filter processing is carried out to tach signal, obtains initial filter data;When the revolving speed filter patterns are the first filter patterns, the rotation speed change amount of revolving speed is currently shown based on revolving speed corresponding to initial filter data and vehicle, secondary filtering processing is carried out to the initial filter data, is obtained target and is shown revolving speed and show.Using the present invention, by being filtered debounce twice under different filter patterns, so that it is more steady to show that the revolving speed of table is shown accordingly, improve the convenience that user reads tach signal, and with higher real-time and the display effect that enables user more comfortable, can avoid gauge pointer shake or digital display fluctuation it is too fast and the problem of bring.
Description
Technical field
The present invention relates to field of instrumentation technology more particularly to a kind of vehicle revolving speed display control method and its systems, vehicle.
Background technique
Vehicular meter is the interactive interface of people and automobile, provides the letter such as required vehicle operating parameter, mileage for driver
Breath, is safe driving of vehicle and the essential component part of economy run.
Existing vehicular meter generally includes digital display instrument and pointer display type instrument, these vehicular meters are usually straight
Numerical value corresponding to the Vehicular status signal that display obtains is connect, can so reflect the time of day of vehicle in real time.However, certain
In the case of, the show value in vehicular meter can have that display is unstable, such as in low speed or idling mode, if vehicle
When being performed simultaneously the load such as running air-conditioning, heater, warm-air drier, then engine or motor band carry, the rotation speed change of output
Obviously, revolving speed can be made to show at this time and also has apparent fluctuation, caused user that can not normally obtain meter information, substantially reduce
The visual experience of user.
Summary of the invention
Based on this, it is an object of that present invention to provide a kind of vehicle revolving speed display control method and system, vehicle, with solve with
Upper at least one technical problem.The technical solution is as follows:
In a first aspect, the present invention provides a kind of vehicle revolving speed display control methods, comprising:
Obtain vehicle motor tach signal;
Revolving speed filter patterns are determined according to tachometer value corresponding to the tach signal, and the revolving speed filter patterns include the
One filter patterns;
Initial filter processing is carried out to the tach signal, obtains initial filter data;
When the revolving speed filter patterns are first filter patterns, turn using corresponding to the initial filter data
It is fast currently to show that revolving speed calculates rotation speed change amount with the vehicle;
Secondary filtering processing is carried out to the initial filter data based on the rotation speed change amount, target is obtained and show turn
Speed;
Current display revolving speed is replaced with into the target and shows revolving speed.
Optionally, described that the initial filter data are filtered based on the rotation speed change amount, obtain target
Show that revolving speed includes:
Judge whether the absolute value of the rotation speed change amount is more than or equal to first threshold;
If so, showing revolving speed for revolving speed corresponding to the initial filter data as the target;
If it is not, the instrument in the vehicle shows the current display revolving speed.
Optionally, the revolving speed filter patterns further include the second filter patterns;
When the revolving speed filter patterns are second filter patterns, according to the initial filter data and preset filter
Wave strategy carries out secondary filtering processing, obtains target and shows revolving speed.
Optionally, described to carry out secondary filtering processing according to the initial filter data and preset filtering strategies, it obtains
Target shows that revolving speed includes:
It calculates revolving speed corresponding to the initial filter data and subtracts the difference of current display revolving speed and the ratio of preset constant
Value;
Data corresponding to the sum of the ratio and current display revolving speed are shown into revolving speed as target.
Optionally, the tachometer value according to corresponding to the tach signal determines that revolving speed filter patterns include:
Compare tachometer value corresponding to the tach signal and preset rotation speed threshold value;
If tachometer value corresponding to the tach signal is less than or equal to preset rotation speed threshold value, it is determined that for the first filtering mould
Formula;
If tachometer value corresponding to the tach signal is greater than preset rotation speed threshold value, it is determined that be the second filter patterns.
Optionally, described to carry out initial filter processing to the tach signal, obtaining initial filter data includes:
Remove the maximum value and minimum value in N number of tach signal;
Signal averaging in the tach signal after removing maximum value and minimum value is calculated, the signal averaging is determined as
Initial filter data.
Second aspect, the present invention also provides a kind of vehicle revolving speed display control programs, comprising:
Module is obtained, for obtaining the tach signal of vehicle motor;
Mode decision module determines revolving speed filter patterns for the tachometer value according to corresponding to the tach signal, described
Revolving speed filter patterns include the first filter patterns;
First processing module obtains initial filter data for carrying out initial filter processing to the tach signal;
First computing module, for when the revolving speed filter patterns are first filter patterns, using described initial
Revolving speed corresponding to filtering data and the vehicle currently show that revolving speed calculates rotation speed change amount;
Second processing module, for being carried out at secondary filtering based on the rotation speed change amount to the initial filter data
Reason obtains target and shows revolving speed;
Display module shows revolving speed for current display revolving speed to be replaced with the target.
Optionally, the revolving speed filter patterns further include the second filter patterns, the control system further include:
Third processing module is used for when the filter patterns are the second filter patterns, according to the initial filter data
And preset filtering strategies carry out secondary filtering processing, obtain target and show revolving speed.
The third aspect, the present invention also provides a kind of vehicles, including vehicle revolving speed display control program described above.
Fourth aspect, the present invention also provides a kind of vehicle revolving speed display controllers, comprising: processor and memory, institute
It states and is stored at least one instruction, at least a Duan Chengxu, code set or instruction set in memory, at least one instruction, institute
An at least Duan Chengxu, the code set or instruction set is stated to be loaded by the processor and executed to realize as described in claim 1
Vehicle revolving speed display control method.
Above-mentioned technical proposal provided by the invention, at least has the following beneficial effects:
Vehicle revolving speed display control method of the invention and its system, vehicle, the control method is according to acquisition vehicle startup
Machine tach signal;The tachometer value according to corresponding to tach signal determines that revolving speed filter patterns, revolving speed filter patterns include the first filter
Wave mode;Initial filter processing is carried out to tach signal, obtains initial filter data;When revolving speed filter patterns are the first filtering mould
When formula, currently show that revolving speed calculates rotation speed change amount using revolving speed corresponding to initial filter data and vehicle;Become based on revolving speed
Change amount carries out secondary filtering processing to the initial filter data, obtains target and shows revolving speed;Current display revolving speed is replaced with
The target shows revolving speed.Corresponding filter patterns are so determined according to tach signal parameter, and then in corresponding filtering mould
Debounce is filtered under formula twice respectively, so that the revolving speed of display table shows more steady, raising user's reading revolving speed accordingly
The convenience of signal, and with higher real-time and the display effect that enables user more comfortable, can avoid gauge pointer shake or
Be digital display fluctuation it is too fast and the problem of bring.
It should be understood that the above general description and the following detailed description are merely exemplary, this can not be limited
Invention.
Detailed description of the invention
It in order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology and advantage, below will be to implementation
Example or attached drawing needed to be used in the description of the prior art are briefly described, it should be apparent that, the accompanying drawings in the following description is only
It is only some embodiments of the present invention, for those of ordinary skill in the art, without creative efforts,
It can also be obtained according to these attached drawings other accompanying drawings.
Fig. 1 is the flow chart of the vehicle revolving speed display control method of one embodiment of the invention;
Fig. 2 is the flow chart of the vehicle revolving speed display control method of second embodiment of the invention;
Fig. 3 is the flow chart of the vehicle revolving speed display control method of third embodiment of the invention;
Fig. 4 is the block diagram of vehicle revolving speed display control program of the invention.
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention
Example, and be used to explain the principle of the present invention together with specification.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, the present invention is made into one below in conjunction with attached drawing
Step ground detailed description.Obviously, described embodiment is only some examples of the present invention or embodiment, skill common for this field
For art personnel, without creative labor, can also according to these embodiments with attached drawing institute obtained
There are other embodiments, and the application is applied to other similar scene according to these attached drawings.Unless being shown from language environment
It is clear to or separately explains, identical label represents identical structure or operation in figure.
It should be appreciated that description and claims of this specification and used " system " in attached drawing, " device ",
" unit " and/or " mould group " system are used to distinguish different components, component, assembly unit, part or a kind of method of assembly of different stage.
Term " first " shown in the present invention, " second " etc. are to be used to distinguish similar objects, without for describing specific sequence
Or precedence.However, if other words can realize identical purpose the word can be replaced by other expression.
Unless context clearly prompts exceptional situation, " one " shown in the present invention, "one", "an" and/or "the" etc.
Word not refers in particular to individually, may also comprise multiple.In general, term " includes " and " having " and their deformation, only prompt
Include the steps that clearly mark and element, and these steps and element do not constitute one it is exclusive enumerate, method or set
It is standby may also comprising be not clearly listed or these methods or equipment intrinsic other steps or element.
Below in conjunction with attached drawing, vehicle revolving speed display control method according to an embodiment of the present invention and system, vehicle are described.
Fig. 1 is the flow chart of the vehicle revolving speed display control method of one embodiment according to the present invention.The control method
Applied to motor vehicle, for example including multi-purpose vehicle, motor bus, truck, various commerial vehicles passenger vehicle, also wrap certainly
Include various boats, ship, aircraft and train etc..As shown in Figure 1, vehicle according to the invention revolving speed display control method, packet
Include following steps:
S102 obtains vehicle motor tach signal.
Specifically, tach signal can be acquired by corresponding speed probe, and the tach signal parameter after acquisition can
CAN bus is uploaded to, corresponding module may be connected to the engine speed letter for obtaining the vehicle in CAN bus and in real time in vehicle
Number.For example, speed probe includes but is not limited to be Hall revolution speed transducer or induction speed probe.If Hall
Speed probe, the stable signal of exportable secondary value, such as square-wave signal.If induction speed probe, usually
It needs to carry out shaping, the square-wave signal of available standard by shaping circuit.
Certainly, the engine rotational speed signal of vehicle can also obtain corresponding vehicle by corresponding engine management system EMS
Engine rotational speed signal.
S104 determines revolving speed filter patterns, the revolving speed filter patterns according to tachometer value corresponding to the tach signal
Including the first filter patterns.
Specifically, when getting tach signal, then corresponding revolving speed can be calculated by handling tach signal
Value.Herein tachometer value is calculated according to tach signal, can be looked by the mapping table of tach signal and tachometer value
Table obtains, and can also be inquired to obtain by tach signal-tachometer value matched curve based on calibration process.It needs to illustrate
It is that corresponding revolving speed is costly being calculated, hardware filtering can be carried out by filter circuit to the tach signal of acquisition, to guarantee
The result accuracy of determined revolving speed filter patterns.
Since under vehicle running state, the revolving speed of engine is also ceaselessly being adjusted, if directly by institute under different situations
Corresponding tachometer value uses same control strategy, it will be difficult to while guaranteeing the display under low engine speed and high engine speed
Effect.We design the size of the tachometer value according to engine as a result, determine corresponding filter patterns, and then control execution
Control strategy.
Wherein, the revolving speed filter patterns include the first filter patterns.First filter patterns may be, for example, slow-speed of revolution filter
Wave mode can be determined by the size of the tach signal of engine.For example, if corresponding to present engine tach signal
Tachometer value is smaller, then can be identified as the first filter patterns.
In addition to this, revolving speed filter patterns can also by individually or comprehensively consider tach signal signal value size, when
Driving mode corresponding to preceding tachometer value carries out the determinations of current rotating speed filter patterns.Specifically, if the signal of tach signal
It is worth the corresponding slow-speed of revolution of size, when current driving mode is low-speed mode or idling mode, can be individually determined or in combination with upper
It states a variety of situations and carries out comprehensive consideration, determine revolving speed filter patterns.
S106 carries out initial filter processing to the tach signal, obtains initial filter data.
Initial filter treatment process can carry out software inside processor and calculate to realize, which can be to be integrated in vehicle
Processor, vehicle processor in combination instrument or common processor or processing module on other vehicles.Initial filter
Processing may include filtering processing to analog signal or digital signal be filtered.At the filtering to digital signal
Reason can carry out AD conversion to tach signal, after obtaining digital signal, then carry out initial filter processing.
Optionally, the tach signal of acquisition can be carried out at the filtering such as average filter processing or the disposal of gentle filter
Reason, to eliminate the interference component in signal, obtains corresponding initial filter data.The initial filter data can be placed in memory
Or in buffer.
S108 is right using the initial filter data institute when the revolving speed filter patterns are first filter patterns
The revolving speed and the current display revolving speed answered calculate rotation speed change amount.
In practical applications, research finds that filtering cycle is usually shorter, and in engine bringing onto load, the revolving speed of output
Signal has apparent fluctuation, and rotation speed change is frequent, and especially in the idling state, rotation speed change is obvious, if being further added by this time negative
Load for example turns on the aircondition, blower etc., and the fluctuation of speed further increases.In order to further solve the problems, such as revolving speed display fluctuation, this hair
It is bright that secondary filtering processing also is carried out to above-mentioned initial filter data.
If being determined as the first filter patterns according to tach signal, since the first filter patterns are slow-speed of revolution filter patterns, warp
It is still relatively low to cross revolving speed corresponding to initial filter data, and in the case where there is load or load more, revolution counter wave
It moves more obvious.At this point, executing different display control plans according to corresponding rotation speed change amount when carry out two is filtered
Slightly, and then determine that target shows revolving speed.
Wherein, currently display revolving speed is meter panel of motor vehicle or the currently displayed engine speed value of combination instrument, can
It is obtained by reading the display numerical value in vehicular meter, the current display being stored in vehicular meter can also be directly acquired and turned
Speed value;Current display revolving speed can be followed by vehicle-state and be changed.
Specifically, under the first filter patterns, corresponding display control strategy is if desired determined, it is executable: first to obtain and work as
Revolving speed corresponding to preceding initial filter data, then compared with currently showing revolving speed with the instrument board of the vehicle or combination instrument, meter
It calculates and obtains the rotation speed change amount of the two, the control foundation that the size of the rotation speed change amount is handled as secondary filtering.
S110 carries out secondary filtering processing to the initial filter data based on the rotation speed change amount, it is aobvious to obtain target
Show revolving speed.
Optionally, the size for the rotation speed change amount being calculated is compared with first threshold, according to the result of the comparison
To determine whether needing to carry out response processing to initial filter data, the secondary filter of differentiation is carried out to initial filter data to realize
Wave processing converses corresponding target by processor later and shows revolving speed.
Current display revolving speed is replaced with the target and shows revolving speed by S112.
It is above-mentioned to be directed to engine rotational speed signal, target can be shown that revolving speed is shown in revolution counter or in combination instrument,
It can be shown for pointer, can also be the set of digital display, or both.If the quantity of engine be it is multiple, it is corresponding settable more
A revolution counter, and can a variety of different revolving speed display control strategies be executed respectively according to the actual situation.
Vehicle revolving speed display control method of the invention and its system, vehicle, the control method is according to acquisition vehicle revolving speed
Signal;The tachometer value according to corresponding to tach signal determines that revolving speed filter patterns, revolving speed filter patterns include the first filter patterns;
Initial filter processing is carried out to tach signal, obtains initial filter data;When revolving speed filter patterns are the first filter patterns, benefit
The revolving speed corresponding to initial filter data and vehicle currently show that revolving speed calculates rotation speed change amount;Based on rotation speed change amount to institute
It states initial filter data and carries out secondary filtering processing, obtain target and show revolving speed;Current display revolving speed is replaced with into the target
Show revolving speed.Corresponding filter patterns are so determined according to tach signal parameter, and then are carried out under corresponding filter patterns
Debounce is filtered twice, so that the revolving speed of display table shows more steady, the convenience of raising user's reading tach signal accordingly,
And with higher real-time and the display effect for enabling user more comfortable, it can avoid gauge pointer shake or digital display fluctuation be too fast
And the problem of bringing.
In one embodiment, in step s 110, it is described based on the rotation speed change amount to the initial filter data into
The processing of row secondary filtering obtains target and shows revolving speed, specifically can include:
S202, judges whether the absolute value of the rotation speed change amount is more than or equal to first threshold.
Specifically, revolving speed is currently shown using the instrument board of revolving speed corresponding to the initial filter data and the vehicle
Difference, calculate rotation speed change amount.If the absolute value of the rotation speed change amount is Δ k, judge whether Δ k is more than or equal to first threshold
Otherwise S, executes S250 if so, thening follow the steps S230.
Above-mentioned first threshold is the empirical value being configured according to vehicle performance and preset rotation speed threshold value, if such as default turn
When fast threshold value is 800~1000r/min, settable S is the arbitrary value in 40~100, is including but not limited to 50,80 or 100.
In addition, in practical applications, since the performance of each car has differences, it is therefore desirable to demarcated to real vehicle to determine that S value is
It is no reasonable.Certainly, first threshold S can also be other reasonable numerical value.
S204, if so, showing revolving speed for revolving speed corresponding to the initial filter data as target.
Specifically, responding initial filter data if judging Δ k >=S, revolving speed corresponding to initial filter data is calculated,
And revolving speed is shown using the revolving speed as target, it drives vehicular meter to directly display the target later and shows revolving speed.
S206, if it is not, the instrument in the vehicle shows the current display revolving speed.
Specifically, if judging, Δ k < S, vehicular meter are not responding to initial filter data, determine that instrument is currently shown at this time
Revolving speed is that target shows revolving speed, and still the current display revolving speed of display, the display numerical value of vehicular meter remain unchanged.
Experimental study shows still obtain good filtering using traditional filtering algorithm progress revolving speed filtering processing
Effect, especially under slow-speed of revolution situation, debounce effect is more undesirable.The present embodiment is under the first filter patterns, using above-mentioned
Size based on rotation speed change amount, it is determined whether respond corresponding initial filter revolving speed, if rotation speed change amount is smaller, directly not
Respond the initial filter revolving speed.Test result shows to be filtered compared to using filtering algorithm, the present embodiment revolving speed
Display control strategy can get better debounce effect.
Fig. 2 is the flow chart of the vehicle revolving speed display control method of second embodiment according to the present invention.The control method
Applied to motor vehicle, for example including multi-purpose vehicle, motor bus, truck, various commerial vehicles passenger vehicle, may be used also certainly
Including various boats and ship, aircraft, train etc..As shown in Fig. 2, vehicle revolving speed display control method, comprising the following steps:
S302 obtains the tach signal of vehicle motor.
Specifically, vehicle motor tach signal can be acquired by corresponding speed probe, the revolving speed after acquisition
Signal parameter can upload to CAN bus, and corresponding module may be connected to the hair for obtaining the vehicle in CAN bus and in real time in vehicle
Motivation tach signal.For example, speed probe includes but is not limited to be Hall revolution speed transducer or induction revolution speed sensing
Device.If Hall revolution speed transducer, the stable signal of exportable secondary value, such as square-wave signal.If induction revolving speed
Sensor, it usually needs carry out shaping, the square-wave signal of available standard by shaping circuit.
Certainly, the engine rotational speed signal of vehicle can also obtain corresponding vehicle by corresponding engine management system EMS
Engine rotational speed signal.
S304 determines revolving speed filter patterns, the revolving speed filter patterns according to tachometer value corresponding to the tach signal
Including the second filter patterns.
Specifically, when getting tach signal, then corresponding revolving speed can be calculated by handling tach signal
Value, herein tachometer value is calculated according to tach signal, can be looked by the mapping table of tach signal and tachometer value
Table obtains, and can also be inquired to obtain by tach signal-tachometer value matched curve based on calibration process.It needs to illustrate
It is that corresponding revolving speed is costly being calculated, hardware filtering can be carried out by filter circuit to the tach signal of acquisition, to guarantee
The result accuracy of determined revolving speed filter patterns.
Since under vehicle running state, the revolving speed of engine is also ceaselessly being adjusted, if directly by institute under different situations
Corresponding tachometer value uses same control strategy, it will be difficult to while guaranteeing the display under low engine speed and high engine speed
Effect.We design the size of the tachometer value according to engine as a result, determine corresponding filter patterns, and then control execution
Control strategy.
Wherein, the revolving speed filter patterns include the second filter patterns.Second filter patterns may be, for example, high revolving speed filter
Wave mode can be determined by the size of the tach signal of engine.For example, if corresponding to present engine tach signal
Tachometer value is larger, then can be identified as the second filter patterns.
In addition to this, revolving speed filter patterns can also by individually or comprehensively consider tach signal signal value size, when
Driving mode corresponding to preceding tachometer value carries out the determinations of current rotating speed filter patterns.Specifically, if the signal of tach signal
Be worth the corresponding high revolving speed of size, when current driving mode is starting mode, accelerates mode or high-speed mode, can be individually determined or
Comprehensive consideration is carried out in combination with above-mentioned a variety of situations, determines revolving speed filter patterns.
S306 carries out initial filter processing to the tach signal, obtains initial filter data.
Initial filter treatment process can carry out software inside processor and calculate to realize, which can be to be integrated in vehicle
Processor, vehicle processor in combination instrument or common processor or processing module on other vehicles.Initial filter
Processing may include filtering processing to analog signal or digital signal be filtered.At the filtering to digital signal
Reason can carry out AD conversion to tach signal, after obtaining digital signal, then carry out initial filter processing.
Optionally, the tach signal of acquisition can be carried out at the filtering such as average filter processing or the disposal of gentle filter
Reason, to eliminate the interference component in signal, obtains corresponding initial filter data.The initial filter data can be placed in memory
Or in buffer.
S308, when the filter patterns are second filter patterns, according to initial filter data and preset
Filtering strategies carry out secondary filtering processing, obtain target and show revolving speed.
It is high-speed state corresponding to second filter patterns, in order to further avoid asking for revolving speed display fluctuation
Topic, the present embodiment also carry out secondary filtering processing to the initial filter data.Specifically, according to preset filtering strategies,
In one preset time, secondary filtering processing is carried out to initial filter data.The preset filtering strategies can filter for arithmetic mean
Method, median filtering algorithm and weighted average filter method etc..By taking arithmetic mean filter method as an example, in filtering cycle, several are taken
The arithmetic average of initial filter data calculates tachometer value corresponding to the arithmetic average, and the revolving speed that will be calculated
Value shows revolving speed as target.
Current display revolving speed is replaced with the target and shows revolving speed by S310.
Target can be shown that revolving speed shows in revolution counter or combines by the above-mentioned current rotating speed signal parameter for engine
It in instrument, and can be shown for pointer, can also be the set of digital display, or both.
It should be noted that the revolving speed display control method in the present embodiment can be individually performed or in first embodiment
On the basis of execute and match execution with first embodiment.If the quantity of engine be it is multiple, it is corresponding settable more
A revolution counter, and can filtering display control strategy corresponding under a variety of different revolving speeds be executed respectively according to the actual situation.
It is described when the filter patterns are second filter patterns in an embodiment, above-mentioned steps S308, according to
The initial filter data and preset filtering strategies carry out secondary filtering processing, obtain target and show revolving speed, specifically can include:
S402 calculates difference and preset constant that revolving speed corresponding to the initial filter data subtracts current display revolving speed
Ratio.
The initial filter data are the tach signal handled by initial filter, are turned corresponding to the initial filter data
Speed can be calculated or be tabled look-up by processor and obtained in real time.Current display revolving speed is that meter panel of motor vehicle or combination instrument are currently displayed
Tachometer value, can by read vehicular meter in display numerical value be obtained, can also directly acquire and be stored in vehicular meter
In current display tachometer value.It should be noted that revolving speed corresponding to initial filter data and current display revolving speed are same
Class data.
Revolving speed corresponding to initial filter data to be obtained and current display revolving speed, can be calculated two by processor
The difference of person and the ratio of preset constant.
Data corresponding to the sum of the ratio and current display revolving speed are shown revolving speed as target by S404.
The sum of above-mentioned ratio and current display revolving speed are calculated, if obtaining the sum value as displayable tachometer value, directly as
It should and be worth and show revolving speed as target;If obtain should and value convert and could show, this and value be converted to pair
Revolving speed is shown as target after the data answered.
Specifically, setting current display revolving speed as nAVG1, revolving speed corresponding to initial filter data is followed successively by nAVG2、
nAVG3......nAVGn, preset constant A, target shows revolving speed n at this timeAVG targetIt can are as follows:
nAVG target=(nAVG2-nAVG1)/A+nAVG1;
Revolving speed corresponding to the initial filter data newly received is iterated later, new target is obtained and shows revolving speed
nAVG target is new, i.e. nAVG target is new=(nAVG3-nAVG2)/A+nAVG target。
Above-mentioned A is the constant demarcated according to real vehicle, is empirical value.In the present embodiment, appointing in the A desirable 1~20
Meaning value may be, for example, 3,6,10,15 etc..In addition, in practical applications, since the performance of each car has differences, it is therefore desirable to
Real vehicle is demarcated to determine whether A value is reasonable.Certainly, which can also be other reasonable numerical value.
In some embodiments, the tachometer value according to corresponding to the tach signal determines revolving speed filter patterns, tool
Body can include:
S502, tachometer value and preset rotation speed threshold value corresponding to the tach signal.
Compare tachometer value corresponding to current rotating speed signal and preset rotation speed threshold size, judges to enter according to comparison result
Corresponding revolving speed filter patterns.Above-mentioned preset rotation speed threshold value may include but be not limited to as any value in 800~1200r/min,
For example, preset rotation speed threshold value can be 800,900,1000,1100 and 1200r/min.Certainly, preset rotation speed threshold value can also be according to vehicle
Performance carries out calibration and corresponding adjustment.
S504, if tachometer value corresponding to the tach signal is less than preset rotation speed threshold value, it is determined that for the first filtering mould
Formula;
Specifically, if detecting, tachometer value corresponding to the tach signal of vehicle is smaller, and be less than preset rotation speed threshold value when,
It then determines and enters the first filter patterns.When being in the first filter patterns, then the tach signal of acquisition and rotation speed change amount are carried out
Secondary filtering processing, that is, first pass through and tach signal be filtered for the first time, later according to the initial filter data institute of acquisition
The rotation speed change amount of corresponding revolving speed and current display revolving speed, carries out secondary filtering processing, institute after later handling secondary filtering
Corresponding revolving speed is determined as target and shows revolving speed.
S506, if tachometer value corresponding to the tach signal is more than or equal to preset rotation speed threshold value, it is determined that for the second filter
Wave mode.
Specifically, if detecting, tachometer value corresponding to the tach signal of vehicle is larger, it is determined that enters the second filtering mould
Formula.When being in the second filter patterns, then secondary filtering processing is carried out to initial filter data and preset filtering strategies, i.e., first led to
It crosses and initial filter processing is carried out to tach signal, later according to preset filtering strategies, carry out secondary filtering processing, obtain later
The corresponding revolving speed of secondary filtering processing be determined as target and show revolving speed.
In some embodiments, described that initial filter processing is carried out to the tach signal, initial filter data are obtained, are had
Body can include:
S602 removes maximum value and minimum value in the tach signal.
Acquisition N group tach signal obtains the first filtering queue, to the first filtering queue by sort algorithm, finds and goes
Fall maximum value and minimum value therein.The sort algorithm includes but is not limited to Bubble Sort Algorithm, quick sorting algorithm etc..Wherein
N group for example may include but be not limited to be 4~8 groups, certain N group sampling quantity can be adjusted according to real vehicle automatic or manual.
S604 calculates signal averaging in the tach signal after removing maximum value and minimum value, by the signal averaging
It is determined as initial filter data.
To filtering out the first filtering queue after maximum value and minimum value, mean value taken to N-2 tach signal, and by the letter
Number average value is determined as initial filter data.Calculating can be iterated for the new tach signal received later, such as can
New tach signal is added in the first filtering queue, and weeds out the tach signal entered in the queue at first, composition is new
First filtering queue.In this way, handling by initial filter, the interference component in signal can be eliminated.The initial filter data
It can be placed in memory or buffer.
Fig. 3 is the flow chart of the vehicle revolving speed display control method of third embodiment according to the present invention.As shown in figure 3,
By taking engine speed indicator as an example, vehicle revolving speed display control method of the invention is illustrated comprising following steps:
S701 obtains the tach signal of vehicle motor.
S702, judges whether tachometer value corresponding to the tach signal is less than preset rotation speed threshold value.
Compare tachometer value corresponding to current rotating speed signal and preset rotation speed threshold size, judges to enter according to comparison result
Corresponding revolving speed filter patterns.If so, determining that revolving speed filter patterns are the first filter patterns, S703-S707 is executed;Otherwise,
It then determines that revolving speed filter patterns are the second filter patterns, executes S703, S708-S709.
S703 carries out initial filter processing to the tach signal, obtains initial filter data.
S704 currently shows that revolving speed calculates revolving speed and becomes using revolving speed corresponding to the initial filter data and the vehicle
Change amount.
S705, judges whether the absolute value of the rotation speed change amount is more than or equal to first threshold, if so, executing S706;
Otherwise, S707 is executed.
Revolving speed corresponding to the initial filter data is shown revolving speed by S706.
S707 shows the current display revolving speed in the instrument of the vehicle.
S708 calculates difference and preset constant that revolving speed corresponding to the initial filter data subtracts current display revolving speed
Ratio.
Data corresponding to the sum of the ratio and current display revolving speed are shown revolving speed as target by S709.
Current display revolving speed is replaced with the target and shows revolving speed by S710.
The particular content and beneficial effect of above-mentioned steps S701-S710 can be found in the above various embodiments, in order to reduce length,
Details are not described herein.
It should be noted that the step of above method implementation sequence be not limited to it is listed above, can be according to reality
Situation does the adjustment of applicability.
In addition, the control method of the various embodiments described above is not limited to the display control for engine speed indicator, can also be directed to
The revolution counter of motor speed table or similar other power parts of other engines.
Fig. 4 is vehicle revolving speed display control program corresponding to control method according to the above embodiment of the present invention.The control
System processed be applied to motor vehicle, for example including sport vehicle, motor bus, truck, various commerial vehicles it is riding
Vehicle, including various boats and ship, aircraft etc..As shown in figure 4, vehicle revolving speed display control program 10 of the invention, packet
It includes:
Module 100 is obtained, for obtaining the tach signal of vehicle motor;
Mode decision module 200 determines revolving speed filter patterns, institute for the tachometer value according to corresponding to the tach signal
Stating revolving speed filter patterns includes the first filter patterns;
First processing module 300 obtains initial filter data for carrying out initial filter processing to the tach signal;
First computing module 400 is used for when the revolving speed filter patterns are first filter patterns, at the beginning of described
Revolving speed corresponding to beginning filtering data and the vehicle currently show that revolving speed calculates rotation speed change amount;
Second processing module 500, for carrying out secondary filtering to the initial filter data based on the rotation speed change amount
Processing obtains target and shows revolving speed;
Display module 600 shows revolving speed for current display revolving speed to be replaced with the target.
In some embodiments, the revolving speed filter patterns further include the second filter patterns, the control system further include:
Third processing module 700 is used for when the filter patterns are the second filter patterns, according to the initial filter number
According to and preset filtering strategies carry out secondary filtering processing, obtain target show revolving speed.
In some embodiments, mode decision module 200 can include:
Comparing unit 201, tachometer value and preset rotation speed threshold value corresponding to the tach signal;
First mode determination unit 202, if tachometer value corresponding to the tach signal is less than or equal to preset rotation speed threshold value,
Then it is determined as the first filter patterns;
Second mode determination unit 203, if tachometer value corresponding to the tach signal is greater than preset rotation speed threshold value, really
It is set to the second filter patterns.
In some embodiments, the first processing module 300 can include:
First computing unit removes maximum value and minimum value in N number of tach signal.
First filtering determination unit, calculates signal averaging in the tach signal after removing maximum value and minimum value, by institute
It states signal averaging and is determined as initial filter data.
In some embodiments, the Second processing module 500 can include:
First judging unit, judges whether the absolute value of the rotation speed change amount is more than or equal to first threshold;
First revolving speed determination unit, if so, being shown using revolving speed corresponding to the initial filter data as the target
Revolving speed;
Second revolving speed determination unit, if it is not, the instrument in the vehicle shows the current display revolving speed.
In some embodiments, the third processing module 700 can include:
Second computing unit, calculate revolving speed corresponding to the initial filter data subtract the difference of current display revolving speed with
The ratio of preset constant.
Third revolving speed determination unit, calculates the sum of the ratio and current display revolving speed, using corresponding data as
Target shows revolving speed.
It should be noted that when vehicle revolving speed display control program provided by the above embodiment, only with above-mentioned each function mould
The division progress of block can according to need and for example, in practical application by above-mentioned function distribution by different functional modules
It completes, i.e., the internal structure of system is divided into different functional modules, to complete all or part of the functions described above.
In addition, vehicle revolving speed display control program provided by the above embodiment belongs to same design, specific implementation process is detailed in method
Embodiment, which is not described herein again.
It, can be in practical application it should also be noted that, above-mentioned vehicle revolving speed display control program is merely exemplary
Using other modes, details are not described herein for the embodiment of the present invention.
The present invention also provides a kind of vehicle, which includes above-mentioned vehicle revolving speed display control program.
The present invention also provides a kind of vehicle revolving speed display controllers, comprising: processor and memory are deposited in the memory
Contain at least one instruction, at least a Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Cheng
Sequence, the code set or instruction set are loaded by the processor and are executed to realize vehicle revolving speed display control side described above
Method.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it
Its mode is realized.Apparatus embodiments described above are merely indicative, for example, the division of the unit, only
A kind of logical function partition, there may be another division manner in actual implementation, such as: multiple units or components can combine, or
It is desirably integrated into another system, or some features can be ignored or not executed.In addition, shown or discussed each composition portion
Mutual coupling or direct-coupling or communication connection is divided to can be through some interfaces, the INDIRECT COUPLING of equipment or unit
Or communication connection, it can be electrical, mechanical or other forms.
Above-mentioned unit as illustrated by the separation member, which can be or may not be, to be physically separated, aobvious as unit
The component shown can be or may not be physical unit, it can and it is in one place, it may be distributed over multiple network lists
In member;Some or all of units can be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
In addition, each functional unit in various embodiments of the present invention can be fully integrated in one processing unit, it can also
To be each unit individually as a unit, can also be integrated in one unit with two or more units;It is above-mentioned
Integrated unit both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through
The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer readable storage medium, the program
When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned include: movable storage device, it is read-only
Memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or
The various media that can store program code such as person's CD.
If alternatively, the above-mentioned integrated unit of the present invention is realized in the form of software function module and as independent product
When selling or using, it also can store in a computer readable storage medium.Based on this understanding, the present invention is implemented
Substantially the part that contributes to existing technology can be embodied in the form of software products the technical solution of example in other words,
The computer software product is stored in a storage medium, including some instructions are used so that computer equipment (can be with
It is personal computer, server or network equipment etc.) execute all or part of each embodiment the method for the present invention.
And storage medium above-mentioned includes: that movable storage device, ROM, RAM, magnetic or disk etc. are various can store program code
Medium.
The above is a preferred embodiment of the present invention, it is noted that for those skilled in the art
For, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also considered as
Protection scope of the present invention.
Claims (10)
1. a kind of vehicle revolving speed display control method characterized by comprising
Obtain vehicle motor tach signal;
Determine that revolving speed filter patterns, the revolving speed filter patterns include the first filter according to tachometer value corresponding to the tach signal
Wave mode;
Initial filter processing is carried out to the tach signal, obtains initial filter data;
When the revolving speed filter patterns be first filter patterns when, using revolving speed corresponding to the initial filter data with
The vehicle currently shows that revolving speed calculates rotation speed change amount;
Secondary filtering processing is carried out to the initial filter data based on the rotation speed change amount, target is obtained and shows revolving speed;
Current display revolving speed is replaced with into the target and shows revolving speed.
2. control method according to claim 1, which is characterized in that described to be based on the rotation speed change amount to described initial
Filtering data is filtered, and is obtained target and is shown that revolving speed includes:
Judge whether the absolute value of the rotation speed change amount is more than or equal to first threshold;
If so, showing revolving speed for revolving speed corresponding to the initial filter data as the target;
If it is not, the instrument in the vehicle shows the current display revolving speed.
3. control method according to claim 1, which is characterized in that the revolving speed filter patterns further include the second filtering mould
Formula;
When the revolving speed filter patterns are second filter patterns, according to the initial filter data and preset filtering plan
Secondary filtering processing is slightly carried out, target is obtained and shows revolving speed.
4. control method according to claim 3, which is characterized in that described according to the initial filter data and preset
Filtering strategies carry out secondary filtering processing, obtain target and show that revolving speed includes:
It calculates revolving speed corresponding to the initial filter data and subtracts the difference of current display revolving speed and the ratio of preset constant;
Data corresponding to the sum of the ratio and current display revolving speed are shown into revolving speed as target.
5. control method according to claim 1 to 4, which is characterized in that turned according to corresponding to the tach signal
Fast value determines that revolving speed filter patterns include:
Compare tachometer value corresponding to the tach signal and preset rotation speed threshold value;
If tachometer value corresponding to the tach signal is less than or equal to preset rotation speed threshold value, it is determined that be the first filter patterns;
If tachometer value corresponding to the tach signal is greater than preset rotation speed threshold value, it is determined that be the second filter patterns.
6. control method according to claim 1 to 4, which is characterized in that described to be carried out initially to the tach signal
Filtering processing, obtaining initial filter data includes:
Remove the maximum value and minimum value in N number of tach signal;
Signal averaging in the tach signal after removing maximum value and minimum value is calculated, the signal averaging is determined as initially
Filtering data.
7. a kind of vehicle revolving speed display control program characterized by comprising
Module is obtained, for obtaining the tach signal of vehicle motor;
Mode decision module determines revolving speed filter patterns, the revolving speed for the tachometer value according to corresponding to the tach signal
Filter patterns include the first filter patterns;
First processing module obtains initial filter data for carrying out initial filter processing to the tach signal;
First computing module, for utilizing the initial filter when the revolving speed filter patterns are first filter patterns
Revolving speed corresponding to data and the vehicle currently show that revolving speed calculates rotation speed change amount;
Second processing module is obtained for carrying out secondary filtering processing to the initial filter data based on the rotation speed change amount
Revolving speed is shown to target;
Display module shows revolving speed for current display revolving speed to be replaced with the target.
8. control system according to claim 7, which is characterized in that the revolving speed filter patterns further include the second filtering mould
Formula, the control system further include:
Third processing module is used for when the filter patterns are the second filter patterns, according to the initial filter data and in advance
If filtering strategies carry out secondary filtering processing, obtain target show revolving speed.
9. a kind of vehicle, which is characterized in that including vehicle revolving speed display control program described in claim 7 or 8.
10. a kind of vehicle revolving speed display controller, comprising: processor and memory are stored at least one in the memory
Instruction, at least a Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, the code set
Or instruction set is loaded by the processor and is executed to realize vehicle revolving speed display control method as described in claim 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910068510.5A CN109774477B (en) | 2019-01-24 | 2019-01-24 | Vehicle rotating speed display control method and system and vehicle |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910068510.5A CN109774477B (en) | 2019-01-24 | 2019-01-24 | Vehicle rotating speed display control method and system and vehicle |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109774477A true CN109774477A (en) | 2019-05-21 |
CN109774477B CN109774477B (en) | 2020-09-11 |
Family
ID=66501245
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910068510.5A Active CN109774477B (en) | 2019-01-24 | 2019-01-24 | Vehicle rotating speed display control method and system and vehicle |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109774477B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2725082Y (en) * | 2004-07-20 | 2005-09-14 | 潘飞蹊 | Vehicle electron display system |
CN102128948A (en) * | 2011-01-29 | 2011-07-20 | 佛山分析仪有限公司 | Engine rotation speed detecting device and method thereof |
JP2012025227A (en) * | 2010-07-21 | 2012-02-09 | Nissan Motor Co Ltd | Vehicle control device |
CN102877953A (en) * | 2012-09-26 | 2013-01-16 | 三一重工股份有限公司 | Engine speed control system and engineering machine |
CN107942777A (en) * | 2017-11-04 | 2018-04-20 | 华晨汽车集团控股有限公司 | A kind of control method of engine speed indicator stability |
CN108340812A (en) * | 2018-02-07 | 2018-07-31 | 浙江吉利汽车研究院有限公司 | Method for control speed, system and automobile |
-
2019
- 2019-01-24 CN CN201910068510.5A patent/CN109774477B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2725082Y (en) * | 2004-07-20 | 2005-09-14 | 潘飞蹊 | Vehicle electron display system |
JP2012025227A (en) * | 2010-07-21 | 2012-02-09 | Nissan Motor Co Ltd | Vehicle control device |
CN102128948A (en) * | 2011-01-29 | 2011-07-20 | 佛山分析仪有限公司 | Engine rotation speed detecting device and method thereof |
CN102877953A (en) * | 2012-09-26 | 2013-01-16 | 三一重工股份有限公司 | Engine speed control system and engineering machine |
CN107942777A (en) * | 2017-11-04 | 2018-04-20 | 华晨汽车集团控股有限公司 | A kind of control method of engine speed indicator stability |
CN108340812A (en) * | 2018-02-07 | 2018-07-31 | 浙江吉利汽车研究院有限公司 | Method for control speed, system and automobile |
Also Published As
Publication number | Publication date |
---|---|
CN109774477B (en) | 2020-09-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103818379B (en) | The constant speed cruising method and device of electric automobile | |
US8068974B2 (en) | Methods and systems for determining driver efficiency and operating modes in a hybrid vehicle | |
CN110370942B (en) | Extended range electric vehicle control method and device | |
EP2802499B1 (en) | Method and device for providing driver feedback | |
CN111038277B (en) | Calculation and processing method for opening degree of accelerator pedal of pure electric vehicle | |
US8660784B2 (en) | Methods and systems for determining driver efficiency in a vehicle | |
CN109720213B (en) | Vehicle torque control method and device | |
CN108701229A (en) | Driving behavior analysis method and driving behavior analysis device | |
CN111559485B (en) | Overshoot method for fast planing of ship | |
CN113968146A (en) | Electric vehicle speed limit control method, device and system | |
CN112721654B (en) | Electric motor coach constant-speed cruise control method and system | |
CN113212435B (en) | Calculation method and calculation device for accelerator pedal torque and automobile | |
CN110329278B (en) | Energy-saving driving guiding method and display system | |
CN107415936A (en) | Battery preheating method and device and hybrid power control equipment | |
CN111434545A (en) | Cruise control method and system of vehicle and vehicle | |
CN109774477A (en) | Vehicle revolving speed display control method and system, vehicle | |
CN106143360A (en) | Electric automobile and continual mileage computational methods thereof | |
CN106285976B (en) | Control method and device of range-extended automobile engine and range-extended automobile | |
CN109131333A (en) | Electric vehicle running mode control system and method | |
CN113815408B (en) | Dynamic energy recovery method for engine | |
CN114889604A (en) | Regenerative braking control method of hybrid power vehicle based on electronic hydraulic braking system | |
CN114852094A (en) | Vehicle mass estimation method and device | |
WO2014037427A1 (en) | System and method for providing driver feedback relating to a plurality of vehicle operating parameters, corresponding computer readable medium and vehicle with such a system | |
CN114228694A (en) | Method, device and equipment for controlling rotating speed of engine of hybrid electric vehicle | |
JP2012001185A5 (en) |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |