CN111890928B - Automobile liquid crystal instrument pointer control method - Google Patents
Automobile liquid crystal instrument pointer control method Download PDFInfo
- Publication number
- CN111890928B CN111890928B CN202010687011.7A CN202010687011A CN111890928B CN 111890928 B CN111890928 B CN 111890928B CN 202010687011 A CN202010687011 A CN 202010687011A CN 111890928 B CN111890928 B CN 111890928B
- Authority
- CN
- China
- Prior art keywords
- control object
- expected
- pointer
- value
- instrument panel
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 51
- 239000004973 liquid crystal related substance Substances 0.000 title claims abstract description 30
- 230000009471 action Effects 0.000 claims abstract description 45
- 230000008859 change Effects 0.000 claims description 49
- 230000001133 acceleration Effects 0.000 claims description 11
- 238000004364 calculation method Methods 0.000 claims description 6
- 239000000446 fuel Substances 0.000 claims description 4
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 claims description 3
- 230000008569 process Effects 0.000 description 20
- 238000001914 filtration Methods 0.000 description 4
- 230000035772 mutation Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 230000000630 rising effect Effects 0.000 description 3
- 238000005070 sampling Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 239000000126 substance Substances 0.000 description 1
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60K—ARRANGEMENT OR MOUNTING OF PROPULSION UNITS OR OF TRANSMISSIONS IN VEHICLES; ARRANGEMENT OR MOUNTING OF PLURAL DIVERSE PRIME-MOVERS IN VEHICLES; AUXILIARY DRIVES FOR VEHICLES; INSTRUMENTATION OR DASHBOARDS FOR VEHICLES; ARRANGEMENTS IN CONNECTION WITH COOLING, AIR INTAKE, GAS EXHAUST OR FUEL SUPPLY OF PROPULSION UNITS IN VEHICLES
- B60K35/00—Instruments specially adapted for vehicles; Arrangement of instruments in or on vehicles
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60K—ARRANGEMENT OR MOUNTING OF PROPULSION UNITS OR OF TRANSMISSIONS IN VEHICLES; ARRANGEMENT OR MOUNTING OF PLURAL DIVERSE PRIME-MOVERS IN VEHICLES; AUXILIARY DRIVES FOR VEHICLES; INSTRUMENTATION OR DASHBOARDS FOR VEHICLES; ARRANGEMENTS IN CONNECTION WITH COOLING, AIR INTAKE, GAS EXHAUST OR FUEL SUPPLY OF PROPULSION UNITS IN VEHICLES
- B60K2360/00—Indexing scheme associated with groups B60K35/00 or B60K37/00 relating to details of instruments or dashboards
- B60K2360/60—Structural details of dashboards or instruments
- B60K2360/68—Features of instruments
- B60K2360/698—Pointers of combined instruments
Landscapes
- Engineering & Computer Science (AREA)
- Chemical & Material Sciences (AREA)
- Combustion & Propulsion (AREA)
- Transportation (AREA)
- Mechanical Engineering (AREA)
- Instrument Panels (AREA)
Abstract
The invention relates to the technical field of automobile instruments, and particularly discloses an automobile liquid crystal instrument pointer control method, which comprises the following steps: determining a rated measuring range of an instrument panel of a desired control object; determining the interpolation number and interpolation function of the expected control object according to the current value of the pointer on the instrument panel of the expected control object, the expected numerical value of the expected control object and the rated range of the instrument panel of the expected control object; interpolation is carried out between the current value of the pointer on the instrument panel of the expected control object and the expected value of the expected control object according to the interpolation number of the expected control object and the interpolation function, and an interpolation array is obtained; acquiring a current display value of a desired control object from the interpolation array according to the refresh frequency; generating an instrument panel pointer angle according to the current display value of the expected control object; and generating a meter panel pointer control signal according to the meter panel pointer angle. The pointer control method of the automobile liquid crystal instrument can more intuitively represent the action trend of the pointer.
Description
Technical Field
The invention relates to the technical field of automobile instruments, in particular to a pointer control method for an automobile liquid crystal instrument.
Background
Automobile liquid crystal instruments are becoming more and more popular, have strong design science and technology sense, high intelligent degree and rich display content, can lead automobile owners to enjoy better driving experience, and are favored by a plurality of consumers. The automobile liquid crystal instrument has more and more application scenes, the instrument is an important interface for information communication between a driver and an automobile, the instrument panel is the most important display content in the instrument, along with the development of automobile electronic technology, the running condition of the automobile and the information quantity of an ECU (electronic control unit) are obviously increased, and the driver must know whether various parameters are normal or not from the instrument panel more timely and more accurately when driving the automobile so as to take measures timely and prevent accidents, so that higher requirements are provided for the control of an instrument panel pointer. Along with the improvement of the quality of the whole automobile, the requirements of consumers on the display effect of the liquid crystal instrument are higher and higher, particularly, the control of dial pointers is required to be finer, the action effect is smooth and natural, the displayed content is richer, and the probability of the condition that the acquired data are interfered is higher. Different driving habits and different driving scenes, the change curves of the pointer data of the instrument are different, the traditional control display mode is difficult to effectively, truly and accurately reflect the collected data information, and the smooth action of the pointer is difficult to control in complex scenes. The general processing method of the data cannot intuitively show the pointer action trend, and cannot judge the stable change, acceleration rising or acceleration falling process of the pointer action in sense, so that the visual effect is poor and the driving experience of a user is influenced.
In the prior art, a filtering algorithm is generally adopted, but the filtering algorithm needs to continuously acquire a plurality of data until the data is stable and then can not approach real data, and cannot adapt to the data which continuously and rapidly changes, so that the filtering algorithm has limitations in practical application scenes, and the error range of the filtering algorithm is difficult to define in different scenes, so that the pointer precision is affected, and the trend that the pointer changes cannot be accurately and intuitively represented.
Disclosure of Invention
The invention provides a pointer control method of an automobile liquid crystal instrument, which solves the problem that the pointer change trend cannot be intuitively represented in the related art.
As one aspect of the present invention, there is provided a liquid crystal meter pointer control method for an automobile, comprising:
determining a rated measuring range of an instrument panel of a desired control object;
determining the interpolation number and interpolation function of the expected control object according to the current value of the pointer on the instrument panel of the expected control object, the expected numerical value of the expected control object and the rated measuring range of the instrument panel of the expected control object;
interpolating between the current value of the pointer on the instrument panel of the expected control object and the expected value of the expected control object according to the interpolation number and interpolation function of the expected control object, and obtaining an interpolation array;
acquiring a current display value of the expected control object from the interpolation array according to the refresh frequency;
generating an instrument panel pointer angle according to the current display value of the expected control object;
and generating an instrument panel pointer control signal according to the instrument panel pointer angle.
Further, the determining the interpolation number and interpolation function of the desired control object according to the current value of the pointer on the instrument panel of the desired control object, the desired numerical value of the desired control object and the rated measuring range of the instrument panel of the desired control object includes:
calculating the interpolation number of the expected control object according to the current value of the pointer on the instrument panel of the expected control object, the expected numerical value of the expected control object and the rated measuring range of the instrument panel of the expected control object;
calculating a data change trend between the current value of the pointer on the instrument panel of the expected control object and the expected value of the expected control object according to the current value of the pointer on the instrument panel of the expected control object, the expected value of the expected control object and the rated range of the instrument panel of the expected control object;
and determining an interpolation function of the expected control object according to the data change trend between the current value of the pointer and the expected value on the instrument panel of the expected control object.
Further, the data change trend between the current value and the desired value of the pointer on the instrument panel of the desired control object includes: smooth, rapid acceleration, and rapid deceleration, the interpolation function of the desired control object comprising: an interpolation function corresponding to the stationary object, an interpolation function corresponding to the sudden acceleration, and an interpolation function corresponding to the sudden deceleration.
Further, the determining the nominal range of the instrument panel of the desired control object includes:
determining a dashboard pointer value change range of a desired control object;
and determining the rated range of the instrument panel of the expected control object according to the instrument panel pointer value change range of the expected control object, wherein the minimum value of the expected control object is the minimum value of the instrument panel pointer value change range of the expected control object, and the maximum value of the expected control object is the maximum value of the instrument panel pointer value change range of the expected control object.
Further, the calculating the interpolation number of the desired control object according to the current value of the pointer on the instrument panel of the desired control object, the desired numerical value of the desired control object and the rated measuring range of the instrument panel of the desired control object includes:
determining the total action duration of a dashboard pointer of a desired control object from the minimum value of the dashboard pointer value change range of the desired control object to the maximum value of the dashboard pointer value change range;
calculating an expected value stroke of the expected control object according to the current value of the pointer on the instrument panel of the expected control object and the expected value of the expected control object;
calculating action time consumption of a meter panel pointer of the expected control object from a current pointer value to a desired value on a meter panel according to the expected value travel, the meter panel rated range and the action total duration of the expected control object;
and calculating the interpolation number of the expected control objects according to the action time consumption.
Further, the calculation formula for calculating the interpolation number of the desired control object according to the action time consumption includes:
C=INT(fps×T e )),
wherein C represents the interpolation number of the expected control object, T e Representing the time consuming actions, fps represents the interface refresh frequency of the dashboard of the desired control object, and INT represents rounding.
Further, the automobile liquid crystal instrument pointer control method further includes, before the step of determining the interpolation number and interpolation function of the desired control object according to the current value of the pointer on the instrument panel of the desired control object, the desired numerical value of the desired control object, and the nominal range of the instrument panel of the desired control object:
acquiring the current value of the pointer on the instrument panel of the expected control object,
and acquiring the real-time value of the expected control object, and taking the real-time value of the expected control object as the expected value of the expected control object.
Further, when the real-time value of the expected control object changes, the new real-time value of the expected control object is substituted for the expected value of the current expected control object, and the instrument panel pointer control signal is regenerated.
Further, the obtaining, according to the refresh frequency, the current display value of the desired control object from the interpolation array includes:
when the refreshing frequency of the instrument panel of the expected control object is smaller than the interpolation number, repeating the following steps:
and when the instrument panel of the expected control object is refreshed once, acquiring the current display value of the expected control object from the interpolation array.
Further, the desired control object includes: any one of a speedometer, a tachometer, a water thermometer, a fuel gauge and a new energy automobile power meter.
According to the automobile liquid crystal instrument pointer control method provided by the invention, the target position is marked as the pointer end point expected value, the pointer is converted into a continuous and tiny action process towards the expected value in one step jump, the expected value is covered and the action process is recalculated when new data exists in the action process, if no data change exists in the action process, the expected data is regarded as final target data, the process can prevent data jitter and mutation, and can adapt to continuous and rapid-change data, so that the problems of poor adaptability limitation, inaccurate pointer position and difficult error range control in different scenes such as data mutation or continuous and rapid change in the prior art are solved; and different interpolation algorithms are used for interpolation according to the data change rule, so that the action trend of the pointer can be more intuitively represented.
Drawings
The accompanying drawings are included to provide a further understanding of the invention, and are incorporated in and constitute a part of this specification, illustrate the invention and together with the description serve to explain, without limitation, the invention.
Fig. 1 is a flowchart of a method for controlling a pointer of an automobile liquid crystal instrument.
Fig. 2 is a flowchart of a specific implementation process of the pointer control method of the automobile liquid crystal instrument provided by the invention.
Detailed Description
It should be noted that, without conflict, the embodiments of the present invention and features of the embodiments may be combined with each other. The invention will be described in detail below with reference to the drawings in connection with embodiments.
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate in order to describe the embodiments of the invention herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In this embodiment, a method for controlling a pointer of an automobile liquid crystal instrument is provided, and fig. 1 is a flowchart of the method for controlling a pointer of an automobile liquid crystal instrument according to an embodiment of the present invention, as shown in fig. 1, including:
s110, determining the rated measuring range of the instrument panel of the expected control object.
Specifically, the determining the nominal range of the instrument panel of the desired control object includes:
determining a dashboard pointer value range R for a desired control object min ,R max ];
Determining a nominal range r=r of the instrument panel of the expected control object according to the instrument panel pointer value change range of the expected control object max -R min Wherein the minimum value of the expected control object is the minimum value R of the instrument panel pointer value change range of the expected control object min The maximum value of the expected control object is the maximum value R of the instrument panel pointer value change range of the expected control object max 。
The desired control object includes: any one of a speedometer, a tachometer, a water thermometer, a fuel gauge and a new energy automobile power meter.
It should be understood that the desired control object may be other content that may be displayed by the meter, which is not limited herein.
And S120, determining the interpolation number and interpolation function of the expected control object according to the current value of the pointer on the instrument panel of the expected control object, the expected numerical value of the expected control object and the rated range of the instrument panel of the expected control object.
Specifically, the determining the interpolation number and interpolation function of the desired control object according to the current value of the pointer on the instrument panel of the desired control object, the desired numerical value of the desired control object and the rated measuring range of the instrument panel of the desired control object includes:
calculating the interpolation number of the expected control object according to the current value of the pointer on the instrument panel of the expected control object, the expected numerical value of the expected control object and the rated measuring range of the instrument panel of the expected control object;
calculating a data change trend between the current value of the pointer on the instrument panel of the expected control object and the expected value of the expected control object according to the current value of the pointer on the instrument panel of the expected control object, the expected value of the expected control object and the rated range of the instrument panel of the expected control object;
and determining an interpolation function of the expected control object according to the data change trend between the current value of the pointer and the expected value on the instrument panel of the expected control object.
Further specifically, the calculating the interpolation number of the desired control object according to the current value of the pointer on the instrument panel of the desired control object, the desired numerical value of the desired control object and the rated measuring range of the instrument panel of the desired control object includes:
determining the total action duration of a dashboard pointer of a desired control object from the minimum value of the dashboard pointer value change range of the desired control object to the maximum value of the dashboard pointer value change range;
calculating an expected value stroke of the expected control object according to the current value of the pointer on the instrument panel of the expected control object and the expected value of the expected control object;
calculating action time consumption of a meter panel pointer of the expected control object from a current pointer value to a desired value on a meter panel according to the expected value travel, the meter panel rated range and the action total duration of the expected control object;
and calculating the interpolation number of the expected control objects according to the action time consumption.
More specifically, the calculation formula for calculating the interpolation number of the desired control object according to the action time consumption includes:
C=INT(fps×T e )),
wherein C represents the interpolation number of the expected control object, T e Representing the time consuming actions, fps represents the interface refresh frequency of the dashboard of the desired control object, and INT represents rounding.
S130, interpolating between the current value of the pointer on the instrument panel of the expected control object and the expected value of the expected control object according to the interpolation number and interpolation function of the expected control object, and obtaining an interpolation array;
and S140, acquiring the current display value of the expected control object from the interpolation array according to the refreshing frequency.
It should be understood that the obtaining the current display value of the desired control object from the interpolation array according to the refresh frequency includes:
when the refreshing frequency of the instrument panel of the expected control object is smaller than the interpolation number, repeating the following steps:
and when the instrument panel of the expected control object is refreshed once, acquiring the current display value of the expected control object from the interpolation array.
S150, generating an instrument panel pointer angle according to the current display value of the expected control object;
s160, generating an instrument panel pointer control signal according to the instrument panel pointer angle.
According to the automobile liquid crystal instrument pointer control method provided by the embodiment of the invention, the target position is marked as the pointer end point expected value, the pointer is converted into a continuous and tiny action process towards the expected value in one step jump, the expected value is covered and the action process is recalculated when new data exists in the action process, if no data change exists in the action process, the expected data is regarded as final target data, the process can prevent data jitter and mutation, and can adapt to continuous and rapid-change data, so that the problems of limitation of poor adaptability, inaccurate pointer position and difficult error range control in different scenes such as data mutation or continuous and rapid change in the prior art are solved; and different interpolation algorithms are used for interpolation according to the data change rule, so that the action trend of the pointer can be more intuitively represented.
It should be noted that, the trend of the data change between the current value and the desired value of the pointer on the instrument panel of the desired control object includes: smooth, rapid acceleration, and rapid deceleration, the interpolation function of the desired control object comprising: an interpolation function corresponding to the stationary object, an interpolation function corresponding to the sudden acceleration, and an interpolation function corresponding to the sudden deceleration.
It should be understood that the method for controlling the pointer of the automobile liquid crystal instrument further includes the step of determining the interpolation number and interpolation function of the desired control object according to the current value of the pointer on the instrument panel of the desired control object, the desired value of the desired control object, and the nominal range of the instrument panel of the desired control object, which is performed before:
acquiring the current value of the pointer on the instrument panel of the expected control object,
and acquiring the real-time value of the expected control object, and taking the real-time value of the expected control object as the expected value of the expected control object.
When the real-time value of the desired control object changes, the new real-time value of the desired control object is substituted for the desired value of the current desired control object, and the instrument panel pointer control signal is regenerated.
The following describes in detail the implementation procedure of the pointer control method for an automobile liquid crystal instrument according to the embodiment of the present invention with reference to fig. 2.
Step one, creating a data expected control object, namely a flash_ctrl_object;
step two, determining the value change range [ R ] of the pointer of the instrument panel min ,R max ]Rated range r=r max -R min Setting a desired control object desired maximum value R max Minimum value R min ;
Step three, determining the pointer slave R of the instrument panel according to the performance requirement min To R max Total duration of action T Total (S) 。
Step four, obtaining the current value V of the instrument pointer from the expected control object c Acquiring real-time value V from signal acquisition bus e Will value V e Setting to a desired value of a desired control object, i.e. as the position value the next pointer is desired to reach, the pointer is desired to move from the current value to the desired value d =V e -V c Time-consuming actionWherein R is the rated measuring range obtained by calculation in the second step;
step five, calculating the number C of interpolation needed for the current position of the pointer to reach the expected position, wherein the value C is calculated by the formula C=INT (fps×T e ) Where fps represents the current human-machine interface refresh frame rate and INT represents rounding.
Step six, calculating the change trend of the data,when-0.125<K<The sample is stable at 0.125, K is more than or equal to 0.125<1 represents a rapid acceleration, -1.0<K is less than or equal to-0.125, which indicates rapid deceleration.
The values of 0.125 and 1 were all empirical values.
Step seven, binding interpolation function for the expected control object according to the calculation result of the step six, wherein linear interpolation is used during stable changeInterpolation is carried out, and a function is used for rapid acceleration>Interpolation is carried out, and the function is used for rapid deceleration>Interpolation is carried out, wherein t represents time consumption of pointer action, the value range is [0, T e ];
Step eight, interpolating between the current value and the expected value of the pointer according to the interpolation number calculated in the step five and the interpolation function calculated in the step seven, V i =V c +f (t), wherein C data are inserted in total. V (V) i ={V 0 ,V 1 ,...V C And the value range of i is [0, C ]];
Step nine, obtaining the current display value V from step seven in each frame refreshing sequence i Resetting the current value V c =V i The accumulated addition of 1 is carried out every frame refreshing, and the count is smaller thanRepeating the step until C times are repeated or the real-time collected data is changed;
and step ten, covering the expected value of the control object when the acquired real-time data are changed, and repeating the steps four to eight to recalculate the pointer action process.
In summary, the pointer jump is converted into the micro action of the pointer, the expected value is covered when new data exists, the pointer action process is recalculated, namely, the abrupt change of the data is prevented, the continuous rapid change can be dealt with, when all the values are continuously and rapidly drawn, the pointer presents a smooth rotation effect, the expected value is the final target value when no data is changed, the requirement on sampling times is effectively reduced, the sampling data can be accurately indicated, and the change trend of the pointer can be accurately expressed by using different interpolation functions. The embodiment of the invention can be widely applied to the pointer control of the liquid crystal instrument with dial plates, such as an automobile speedometer, a tachometer, a power meter, a fuel gauge and the like.
The following specifically describes a power meter as an example of a desired control object.
Step one, creating a data expected control object data_flash_object;
step two, determining the rated change range of the power dial, R in the embodiment of the invention min Is set to-100 kw, R max Is set to 200kw, nominal measurement range r=r max -R min ,R=300kw;
Step three, determining the pointer slave R of the instrument panel according to the performance requirement min To R max Total duration of action T Total (S) The embodiment of the invention is set to 2 seconds.
Step four, obtaining the current value V of the instrument pointer from the expected control object c Acquiring real-time value V from signal acquisition bus e Let V at this time c = -50kw, the acquired real-time value V c =50kw, the sampling signal is set to the desired value V e The method comprises the steps of carrying out a first treatment on the surface of the Desired value travel V d =V e -V c ,V d =100 kw, time-consuming action
Step five, calculating the number C of interpolation needed for the current position of the pointer to reach the expected position, wherein the value C is calculated by the formula C=INT (fps×T e ) Setting the refresh rate of the human-computer interface of the instrument to be 30fps, substituting the fps into a formulaC=20, representing a total of 20 values to be inserted from the current value-50 kw to the desired value 50 kw;
step six, calculating the pointer change trend, and substituting parameters into the formulaThe data has a rapid rising trend.
Step seven, setting different interpolation functions of the control object according to the calculation result of the step six, and setting the interpolation function as a rapid acceleration interpolation function when the data with rapid rising trend is provided with the data
Step eight, interpolating the current value and the expected value of the pointer according to the interpolation number calculated in the step five and the interpolation function calculated in the step seven, wherein 20 numerical values are inserted in the case, and the result is [ V ] 1 ,V 2 ,V 3 ...V 20 ]=[-33.86,-22.12,-12.89...50];
Step nine, obtaining the current display value V from the eight-group in step eight when each frame refreshing is started from the time point 0 i Using V i Calculating the angle of the pointer and displaying the angle on the interface, and resetting the current value V c =V i ;
And step ten, monitoring the change of the data to be collected, covering the expected value of the control object when the change of the real-time data is collected, repeating the steps four to nine, and recalculating the action process of the pointer and displaying.
Compared with the prior art, the automobile liquid crystal instrument pointer control method provided by the embodiment of the invention has the following advantages:
1. the target position of the pointer is set as an expected value, the pointer is converted into a plurality of continuous micro actions approaching to the expected value in a one-time jump way, the expected value is covered when new data exists in the action process, and the action process is recalculated, so that the capability of preventing the pointer from shaking and suddenly changing under different scenes such as sudden change or continuous rapid change of the data is improved.
2. And in the pointer action process, interpolation is carried out by using different interpolation algorithms according to the data change rule, so that the error range is reduced, and the pointer position accuracy is improved.
3. The pointer change trend is more intuitively and accurately represented by using a stable change, quick rise and quick fall interpolation algorithm, and the visual effect is improved.
It is to be understood that the above embodiments are merely illustrative of the application of the principles of the present invention, but not in limitation thereof. Various modifications and improvements may be made by those skilled in the art without departing from the spirit and substance of the invention, and are also considered to be within the scope of the invention.
Claims (10)
1. The automobile liquid crystal instrument pointer control method is characterized by comprising the following steps of:
determining a rated measuring range of an instrument panel of a desired control object;
determining the interpolation number and interpolation function of the expected control object according to the current value of the pointer on the instrument panel of the expected control object, the expected numerical value of the expected control object and the rated measuring range of the instrument panel of the expected control object;
interpolating between the current value of the pointer on the instrument panel of the expected control object and the expected value of the expected control object according to the interpolation number and interpolation function of the expected control object, and obtaining an interpolation array;
acquiring a current display value of the expected control object from the interpolation array according to the refresh frequency;
generating an instrument panel pointer angle according to the current display value of the expected control object;
and generating an instrument panel pointer control signal according to the instrument panel pointer angle.
2. The automobile liquid crystal instrument pointer control method according to claim 1, wherein the determining the interpolation number and interpolation function of the desired control object according to the on-dashboard pointer current value of the desired control object, the desired numerical value of the desired control object, and the dashboard rated range of the desired control object comprises:
calculating the interpolation number of the expected control object according to the current value of the pointer on the instrument panel of the expected control object, the expected numerical value of the expected control object and the rated measuring range of the instrument panel of the expected control object;
calculating a data change trend between the current value of the pointer on the instrument panel of the expected control object and the expected value of the expected control object according to the current value of the pointer on the instrument panel of the expected control object, the expected value of the expected control object and the rated range of the instrument panel of the expected control object;
and determining an interpolation function of the expected control object according to the data change trend between the current value of the pointer and the expected value on the instrument panel of the expected control object.
3. The automobile liquid crystal meter pointer control method according to claim 2, wherein the trend of the data change between the current value and the desired value of the pointer on the dashboard of the desired control object comprises: smooth, rapid acceleration, and rapid deceleration, the interpolation function of the desired control object comprising: an interpolation function corresponding to a stationary object, an interpolation function corresponding to the sudden acceleration, and an interpolation function corresponding to the sudden deceleration.
4. The method for controlling an automobile liquid crystal meter pointer according to claim 2, wherein the determining the rated measuring range of the meter panel of the desired control object comprises:
determining a dashboard pointer value change range of a desired control object;
and determining the rated range of the instrument panel of the expected control object according to the instrument panel pointer value change range of the expected control object, wherein the minimum value of the expected control object is the minimum value of the instrument panel pointer value change range of the expected control object, and the maximum value of the expected control object is the maximum value of the instrument panel pointer value change range of the expected control object.
5. The method according to claim 4, wherein calculating the interpolation number of the desired control object based on the current value of the pointer on the dashboard of the desired control object, the desired numerical value of the desired control object, and the rated range of the dashboard of the desired control object, comprises:
determining the total action duration of a dashboard pointer of a desired control object from the minimum value of the dashboard pointer value change range of the desired control object to the maximum value of the dashboard pointer value change range;
calculating an expected value stroke of the expected control object according to the current value of the pointer on the instrument panel of the expected control object and the expected value of the expected control object;
calculating action time consumption of a meter panel pointer of the expected control object from a current pointer value to a desired value on a meter panel according to the expected value travel, the meter panel rated range and the action total duration of the expected control object;
and calculating the interpolation number of the expected control objects according to the action time consumption.
6. The automobile liquid crystal meter pointer control method according to claim 5, wherein the calculation formula for calculating the interpolation number of the desired control object based on the action time consumption includes: c=int (fps×t) e ),
Wherein C represents the interpolation number of the expected control object, T e Representing the time consuming action, fps represents an interface refresh of the dashboard of the desired control objectFrequency, INT, represents rounding.
7. The automobile liquid crystal meter pointer control method according to claim 1, further comprising, before the step of determining the interpolation number and interpolation function of the desired control object from the on-meter-board pointer current value of the desired control object, the desired numerical value of the desired control object, and the meter-board rated range of the desired control object:
acquiring the current value of the pointer on the instrument panel of the expected control object,
and acquiring the real-time value of the expected control object, and taking the real-time value of the expected control object as the expected value of the expected control object.
8. The automobile liquid crystal meter pointer control method according to claim 7, wherein when the real-time value of the desired control object is changed, a new real-time value of the desired control object is substituted for the desired value of the current desired control object, and the dashboard pointer control signal is regenerated.
9. The method for controlling an automobile liquid crystal instrument pointer according to claim 1, wherein the obtaining the current display value of the desired control object from the interpolation array according to the refresh frequency comprises:
when the refreshing frequency of the instrument panel of the expected control object is smaller than the interpolation number, repeating the following steps:
and when the instrument panel of the expected control object is refreshed once, acquiring the current display value of the expected control object from the interpolation array.
10. The automobile liquid crystal meter pointer control method according to claim 1, wherein the desired control object includes: any one of a speedometer, a tachometer, a water thermometer, a fuel gauge and a new energy automobile power meter.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010687011.7A CN111890928B (en) | 2020-07-16 | 2020-07-16 | Automobile liquid crystal instrument pointer control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010687011.7A CN111890928B (en) | 2020-07-16 | 2020-07-16 | Automobile liquid crystal instrument pointer control method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111890928A CN111890928A (en) | 2020-11-06 |
CN111890928B true CN111890928B (en) | 2023-09-15 |
Family
ID=73189630
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010687011.7A Active CN111890928B (en) | 2020-07-16 | 2020-07-16 | Automobile liquid crystal instrument pointer control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111890928B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113525082B (en) * | 2021-06-27 | 2022-07-15 | 东风电驱动***有限公司 | Method and device for planning motion of virtual pointer of all-liquid crystal instrument |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101932915A (en) * | 2008-01-22 | 2010-12-29 | 夏普株式会社 | Display system, display control device, image display device |
JP2016057581A (en) * | 2014-09-12 | 2016-04-21 | 株式会社デンソー | Display system |
JP2016065790A (en) * | 2014-09-25 | 2016-04-28 | 日本精機株式会社 | Vehicle display device |
CN107590498A (en) * | 2017-09-27 | 2018-01-16 | 哈尔滨工业大学 | A kind of self-adapted car instrument detecting method based on Character segmentation level di- grader |
CN109849668A (en) * | 2019-02-20 | 2019-06-07 | 上海伟世通汽车电子***有限公司 | A kind of speed display methods of liquid crystal instrument for automobile |
-
2020
- 2020-07-16 CN CN202010687011.7A patent/CN111890928B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101932915A (en) * | 2008-01-22 | 2010-12-29 | 夏普株式会社 | Display system, display control device, image display device |
JP2016057581A (en) * | 2014-09-12 | 2016-04-21 | 株式会社デンソー | Display system |
JP2016065790A (en) * | 2014-09-25 | 2016-04-28 | 日本精機株式会社 | Vehicle display device |
CN107590498A (en) * | 2017-09-27 | 2018-01-16 | 哈尔滨工业大学 | A kind of self-adapted car instrument detecting method based on Character segmentation level di- grader |
CN109849668A (en) * | 2019-02-20 | 2019-06-07 | 上海伟世通汽车电子***有限公司 | A kind of speed display methods of liquid crystal instrument for automobile |
Also Published As
Publication number | Publication date |
---|---|
CN111890928A (en) | 2020-11-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109849668B (en) | Speed display method of automobile liquid crystal instrument | |
CN111890928B (en) | Automobile liquid crystal instrument pointer control method | |
CN110427131B (en) | Animation display method and device based on pressing | |
CN112146721B (en) | Urea liquid level detection method and device, storage medium and electronic equipment | |
CN104883158A (en) | Filtering method and filtering device for acceleration pedal signals of electric automobile | |
US20150254107A1 (en) | Information display for displaying different types of performance data using a single integrated visual indicator | |
CN113610136A (en) | Sensor data synchronization method and device, computer equipment and storage medium | |
CN104602599B (en) | Sensing device further and method for sensing | |
US20140126619A1 (en) | Methods and devices for acquiring continuous physical signals | |
CN116181183B (en) | Vehicle window control method and device, vehicle and storage medium | |
CN110481321A (en) | Instrumented data display methods and device | |
CN112816010A (en) | Oil quantity calculation method and device, storage medium and oil quantity output control method | |
CN110342363B (en) | Method and device for testing safety performance of elevator, terminal equipment and storage medium | |
CN109875582A (en) | Driving fatigue detection method and system | |
CN210981427U (en) | Fuel liquid level detection device | |
JP2007228763A (en) | Measuring instrument | |
CN115610226A (en) | Endurance mileage prediction method, endurance mileage prediction device, electric vehicle and computer-readable storage medium | |
CN111951708B (en) | Sectional scale dynamic display method and device | |
CN113787939A (en) | Method and device for calculating hydrogen consumption, terminal equipment and storage medium | |
CN112102787B (en) | Backlight brightness control method, equipment, vehicle and storage medium of liquid crystal display screen | |
JP6292445B2 (en) | Vehicle display device | |
US20110243391A1 (en) | Method and device for producing image information | |
CN106846433B (en) | Signal change diagram drawing method and device and electronic equipment | |
CN118004209B (en) | Cruising mileage display method, electronic equipment and vehicle | |
JPH0981112A (en) | Graph display processing device and graph display processing method |
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 |