CN103134941A - Smooth processing method of rotation of indicator of displaying instrument panel - Google Patents

Smooth processing method of rotation of indicator of displaying instrument panel Download PDF

Info

Publication number
CN103134941A
CN103134941A CN2013100369064A CN201310036906A CN103134941A CN 103134941 A CN103134941 A CN 103134941A CN 2013100369064 A CN2013100369064 A CN 2013100369064A CN 201310036906 A CN201310036906 A CN 201310036906A CN 103134941 A CN103134941 A CN 103134941A
Authority
CN
China
Prior art keywords
radian
value
variate
last
pointer
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
Application number
CN2013100369064A
Other languages
Chinese (zh)
Other versions
CN103134941B (en
Inventor
刘宇婕
张帅帅
顾瑞和
何勋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Aeronautical Radio Electronics Research Institute
Original Assignee
China Aeronautical Radio Electronics Research Institute
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by China Aeronautical Radio Electronics Research Institute filed Critical China Aeronautical Radio Electronics Research Institute
Priority to CN201310036906.4A priority Critical patent/CN103134941B/en
Publication of CN103134941A publication Critical patent/CN103134941A/en
Application granted granted Critical
Publication of CN103134941B publication Critical patent/CN103134941B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

The invention discloses a processing method of smooth rotation of an indicator of a displaying instrument panel. The instrument panel equipment is initialized at first, a speed scale disc is drawn and the indicator is rotated, data are sent to the displaying instrument panel periodically through a speed device, a displaying instrument panel processor analyzes speed data received at present, converts the speed data into radian data corresponding to speed values on the speed scale disc, and assigns the radian data to radian variables, the included angle between every two adjacent indication display positions of the instrument panel is divided into a plurality of conditions, a complex rate of smooth processing is set, a linear variation value array indicated by the speed indicator is calculated according to a former radian value, a present radian value and an added liner variation value between two radians, and therefore through the instrument panel equipment, the speed indicator of the corresponding radian liner variation values in an radian interval is drawn in an increasing or decreasing mode. The processing method of the smooth rotation of the indicator of the displaying instrument panel is good in real-time displaying performance, high in accuracy, friendly in interface, strong in intuition, high in reliability, low in cost, free of limitation of software, strong in transportability, wide in application, and capable of being applied to various fields of displaying instrument panels.

Description

The smoothing processing method that the Displaying Meter index rotates
Technical field
The present invention relates to a kind of display technique of liquid crystal display panel board pointer, specifically relate to the smoothing processing method that a kind of panel board pointer rotates.
Background technology
The data that panel board pointer in existing liquid crystal display receives according to the outside show points to the position.Display is a kind of display terminal of Data-Link system and device, can show position, orientation, speed and the height etc. of this device and same device medium is installed with respect to the position of this device on every side.Speed refers to vertical speed, shows with the panel board on display and pointer, is divided into ascending velocity and decline rate.Ascending velocity shows by upper semi-circle, and decline rate is shown by lower semi-circular.The panel board scale is the probability distribution that occurs according to data, two parameters of the current display position of pointer and next display position, the different radians of the corresponding panel board of these two parameters.Pointer turns to another position from a position, and when not doing smoothing processing, that sees is shown as pointer moment in next position display, can see the movement of pointer in display.When two adjacent datas are poor be converted to radian after, the redirect at once of pointer makes picture look and seems stiff, can not distinguish pointer and clockwise rotate or rotate counterclockwise next position.
Summary of the invention
Goal of the invention of the present invention is to show for the pointer of existing display instrument panel to process, and allows pointer according to the radian size, determines the position that translational speed was pointed to from last position movement to current data smoothly, and more convergence moves slower.
In order to achieve the above object, the present invention adopts following technical scheme:
The smoothing processing method that the Displaying Meter index rotates is characterized in that, comprises the steps:
1, the smoothing processing method of Displaying Meter index rotation, is characterized in that, comprises the steps:
At first the first step, panel board carry out device initialize, and render speed index dial and rotary indicator, and the panel board scale is the probability distribution that occurs according to data;
Second step, the Negotiation speed device cycle sends data to display instrument panel, and display instrument panel processor CPU periodically reads current data and preserves by RS422 interface and display instrument panel interface;
The 3rd step, resolve the current speed data that receives and be converted into the radian data of velocity amplitude on the corresponding speed index dial, and assignment is to the radian variable, the angle of adjacent two the pointer display positions of panel board is divided into some situations, pass through again the absolute value of the difference of radian variate-value and the radian variate-value of the last cycle of operation, changing value between two adjacent arcs degrees of data that interpolation panel board equipment receives makes the data between two adjacent radians full;
The 4th step, according to the linear change value between two radians of a upper radian value, current radian value and interpolation, and calculate the linear change value array of speed indicator indication radian, accordingly by panel board equipment, in drafting this section radian interval, increasing or decreasing ground the speed indicator of corresponding radian linear change value.
Draw in described the 4th step in this section radian interval the speed indicator of corresponding radian linear change value following situation is arranged:
When a) unchanged, pointer refers at 0 scale;
When b) positive change being arranged, pointer clockwise rotates, and the turned position is no more than upper semi-circle 6 scale positions;
When c) having negative sense to change, pointer rotates counterclockwise, and the turned position is no more than lower semi-circular 6 scale positions;
When d) the positive change amount increases, if current pointer refers to that pointer clockwise rotates at upper semi-circle at the upper semi-circle arbitrary scale; If current pointer refers to that pointer clockwise rotates upper semi-circle from lower semi-circular at the lower semi-circular arbitrary scale; Be no more than upper semi-circle 6 scale positions;
When e) the positive change amount reduces, if current pointer refers to that pointer rotates counterclockwise at upper semi-circle at the upper semi-circle arbitrary scale, be no more than 0 scale position; If current pointer refers to that pointer clockwise rotates upper semi-circle from lower semi-circular at the lower semi-circular arbitrary scale;
When f) the negative sense variable quantity increases, if current pointer refers to that pointer rotates counterclockwise in lower semi-circular at the lower semi-circular arbitrary scale; If current pointer refers to that pointer rotates counterclockwise lower semi-circular from upper semi-circle at the upper semi-circle arbitrary scale; Be no more than lower semi-circular 6 scale positions;
When g) the negative sense variable quantity reduces, if current pointer refers to that pointer clockwise rotates in lower semi-circular at the lower semi-circular arbitrary scale, be no more than 0 scale position; If current pointer refers to that pointer rotates counterclockwise lower semi-circular from upper semi-circle at the upper semi-circle arbitrary scale.
In described the 3rd step, the radian variable is:
If the absolute value of the difference of the radian variate-value of radian variate-value and the last cycle of operation is greater than 1.8 o'clock, if the radian variate-value greater than last radian variate-value, last radian variate-value increases by 0.2 in each cycle of operation; If the radian variate-value is less than last radian variate-value, last variate-value deducts 0.2 in each cycle of operation;
If the absolute value of the difference of radian variate-value and last radian variate-value greater than 1.2 less than 1.8 o'clock, if the radian variate-value greater than last radian variate-value, last radian variate-value increases by 0.1 in each cycle of operation; If the radian variate-value is less than last radian variate-value, last radian variate-value deducts 0.1 in each cycle of operation;
If the absolute value of the difference of radian variate-value and last radian variate-value greater than 0.8 less than 1.2 o'clock, if the radian variate-value greater than last radian variate-value, last radian variate-value increases by 0.02 in each cycle of operation; If the radian variate-value is less than last radian variate-value, last radian variate-value deducts 0.02 in each cycle of operation;
If the absolute value of the difference of radian variate-value and last radian variate-value greater than 0.3 less than 0.8 o'clock, if the radian variate-value greater than last radian variate-value, last radian variate-value increases by 0.01 in each cycle of operation; If the radian variate-value is less than last radian variate-value, last radian variate-value deducts 0.01 in each cycle of operation;
If the absolute value of the difference of radian variate-value and last radian variate-value greater than 0.008 less than 0.3 o'clock, if the radian variate-value greater than last radian variate-value, last radian variate-value increases by 0.003 in each cycle of operation; If the radian variate-value is less than last radian variate-value, last radian variate-value deducts 0.003 in each cycle of operation;
If the absolute value of the difference of radian variate-value and last radian variate-value was less than 0.008 o'clock, current radian variate-value assignment is given last radian variate-value.Pointer on screen showed by last radian variate-value decision
The present invention's demonstration property in real time is good, and accuracy is higher, friendly interface, and intuitive is strong, and reliability is high, and cost is low, is not subjected to software limitations, and is portable strong, and the property used is wider, can apply to kinds of displays instrument field.Therefore, practicality is better, is easy to apply, and has larger practical value.
Description of drawings
Further illustrate the present invention below in conjunction with the drawings and specific embodiments.
Fig. 1 be radian poor be the dial plate pointer schematic diagram of 0 o'clock;
Fig. 2 be radian poor be the dial plate pointer schematic diagram of 2 π/3 o'clock;
Fig. 3 is that radian is poor from the 0 pointer schematic diagram that is changed to the level and smooth rotation process of 2 π/3 o'clock;
Fig. 4 is the FB(flow block) that software is processed.
Embodiment
For technological means, creation characteristic that the present invention is realized, reach purpose and effect is easy to understand, below in conjunction with concrete diagram, further set forth the present invention.
As next example explanation data from unchanged when changing, the change procedure of radian variable.State when being exemplified as the increase of positive change amount, display instrument panel receives speed data altogether 4 times, and velocity amplitude is converted into corresponding radian value, and the corresponding different complexities of the poor absolute value of adjacent radian are carried out the radian change process, the radian original state is 0, and is as shown in table 1.
Figure BDA00002799895700041
Figure BDA00002799895700051
Table 1 radian variable change process
Referring to Fig. 1, when the data that receive in the present invention were unchanged, pointer referred in scale 0 position.When the data that receive had constant variation, according to variable quantity, pointer referred in fixing scale position, as Fig. 2.When data from unchanged when changing, a level and smooth process of rotating is arranged, as Fig. 3.

Claims (3)

1. the smoothing processing method of Displaying Meter index rotation, is characterized in that, comprises the steps:
At first the first step, panel board carry out device initialize, and render speed index dial and rotary indicator, and the panel board scale is the probability distribution that occurs according to data;
Second step, the Negotiation speed device cycle sends data to display instrument panel, and display instrument panel processor CPU periodically reads current data and preserves by RS422 interface and display instrument panel interface;
The 3rd step, resolve the current speed data that receives and be converted into the radian data of velocity amplitude on the corresponding speed index dial, and assignment is to the radian variable, the angle of adjacent two the pointer display positions of panel board is divided into some situations, pass through again the absolute value of the difference of radian variate-value and the radian variate-value of the last cycle of operation, changing value between two adjacent arcs degrees of data that interpolation panel board equipment receives makes the data between two adjacent radians full;
The 4th step, according to the linear change value between two radians of a upper radian value, current radian value and interpolation, and calculate the linear change value array of speed indicator indication radian, accordingly by panel board equipment, in drafting this section radian interval, increasing or decreasing ground the speed indicator of corresponding radian linear change value.
2. the smoothing processing method that rotates of Displaying Meter index according to claim 1, is characterized in that, draw in described the 4th step in this section radian interval the speed indicator of corresponding radian linear change value following situation is arranged:
When a) unchanged, pointer refers at 0 scale;
When b) positive change being arranged, pointer clockwise rotates, and the turned position is no more than upper semi-circle 6 scale positions;
When c) having negative sense to change, pointer rotates counterclockwise, and the turned position is no more than lower semi-circular 6 scale positions;
When d) the positive change amount increases, if current pointer refers to that pointer clockwise rotates at upper semi-circle at the upper semi-circle arbitrary scale; If current pointer refers to that pointer clockwise rotates upper semi-circle from lower semi-circular at the lower semi-circular arbitrary scale; Be no more than upper semi-circle 6 scale positions;
When e) the positive change amount reduces, if current pointer refers to that pointer rotates counterclockwise at upper semi-circle at the upper semi-circle arbitrary scale, be no more than 0 scale position; If current pointer refers to that pointer clockwise rotates upper semi-circle from lower semi-circular at the lower semi-circular arbitrary scale;
When f) the negative sense variable quantity increases, if current pointer refers to that pointer rotates counterclockwise in lower semi-circular at the lower semi-circular arbitrary scale; If current pointer refers to that pointer rotates counterclockwise lower semi-circular from upper semi-circle at the upper semi-circle arbitrary scale; Be no more than lower semi-circular 6 scale positions;
When g) the negative sense variable quantity reduces, if current pointer refers to that pointer clockwise rotates in lower semi-circular at the lower semi-circular arbitrary scale, be no more than 0 scale position; If current pointer refers to that pointer rotates counterclockwise lower semi-circular from upper semi-circle at the upper semi-circle arbitrary scale.
3. the smoothing processing method that rotates of Displaying Meter index according to claim 1 is characterized in that in described the 3rd step, the radian variable is:
If the absolute value of the difference of the radian variate-value of radian variate-value and the last cycle of operation is greater than 1.8 o'clock, if the radian variate-value greater than last radian variate-value, last radian variate-value increases by 0.2 in each cycle of operation; If the radian variate-value is less than last radian variate-value, last variate-value deducts 0.2 in each cycle of operation;
If the absolute value of the difference of radian variate-value and last radian variate-value greater than 1.2 less than 1.8 o'clock, if the radian variate-value greater than last radian variate-value, last radian variate-value increases by 0.1 in each cycle of operation; If the radian variate-value is less than last radian variate-value, last radian variate-value deducts 0.1 in each cycle of operation;
If the absolute value of the difference of radian variate-value and last radian variate-value greater than 0.8 less than 1.2 o'clock, if the radian variate-value greater than last radian variate-value, last radian variate-value increases by 0.02 in each cycle of operation; If the radian variate-value is less than last radian variate-value, last radian variate-value deducts 0.02 in each cycle of operation;
If the absolute value of the difference of radian variate-value and last radian variate-value greater than 0.3 less than 0.8 o'clock, if the radian variate-value greater than last radian variate-value, last radian variate-value increases by 0.01 in each cycle of operation; If the radian variate-value is less than last radian variate-value, last radian variate-value deducts 0.01 in each cycle of operation;
If the absolute value of the difference of radian variate-value and last radian variate-value greater than 0.008 less than 0.3 o'clock, if the radian variate-value greater than last radian variate-value, last radian variate-value increases by 0.003 in each cycle of operation; If the radian variate-value is less than last radian variate-value, last radian variate-value deducts 0.003 in each cycle of operation;
If the absolute value of the difference of radian variate-value and last radian variate-value was less than 0.008 o'clock, current radian variate-value assignment is given last radian variate-value.
CN201310036906.4A 2013-01-31 2013-01-31 The smoothing processing method of display instrument panel indicators turn Active CN103134941B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310036906.4A CN103134941B (en) 2013-01-31 2013-01-31 The smoothing processing method of display instrument panel indicators turn

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310036906.4A CN103134941B (en) 2013-01-31 2013-01-31 The smoothing processing method of display instrument panel indicators turn

Publications (2)

Publication Number Publication Date
CN103134941A true CN103134941A (en) 2013-06-05
CN103134941B CN103134941B (en) 2015-09-09

Family

ID=48495044

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310036906.4A Active CN103134941B (en) 2013-01-31 2013-01-31 The smoothing processing method of display instrument panel indicators turn

Country Status (1)

Country Link
CN (1) CN103134941B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108470063A (en) * 2018-03-26 2018-08-31 四川斐讯信息技术有限公司 A kind of method and system of data processing under big data Visual Scene
CN109189520A (en) * 2018-07-27 2019-01-11 浙江中科领航汽车电子有限公司 A kind of method and system for realizing automobile meter pointer smooth pivotal based on QML animation attributes
CN112116678A (en) * 2020-08-09 2020-12-22 东风电驱动系统有限公司 Irregular virtual pointer display method for liquid crystal instrument and liquid crystal instrument

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN86108239A (en) * 1985-12-18 1987-09-30 蒸气公司 Vehicle autometer with acceleration and deceleration indicating device
CN1550765A (en) * 2003-05-01 2004-12-01 ˫Ҷ���ӹ�ҵ��ʽ���� Display for measurement device
CN2704024Y (en) * 2003-09-01 2005-06-08 刘忠宪 Solid electronic instrument using indicator-shape cursor to substitute moving indicator
JP2006234505A (en) * 2005-02-23 2006-09-07 Denso Corp Instrument and pointer display method for instrument
CN101318473A (en) * 2008-05-22 2008-12-10 中国科学院电工研究所 Synthetic meter system of hybrid vehicle
CN101738223A (en) * 2008-11-21 2010-06-16 山东祥和集团股份有限公司 Gauge pointer and digital combined type LED (light emitting diode) display device special for electric exerciser

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN86108239A (en) * 1985-12-18 1987-09-30 蒸气公司 Vehicle autometer with acceleration and deceleration indicating device
CN1550765A (en) * 2003-05-01 2004-12-01 ˫Ҷ���ӹ�ҵ��ʽ���� Display for measurement device
CN2704024Y (en) * 2003-09-01 2005-06-08 刘忠宪 Solid electronic instrument using indicator-shape cursor to substitute moving indicator
JP2006234505A (en) * 2005-02-23 2006-09-07 Denso Corp Instrument and pointer display method for instrument
CN101318473A (en) * 2008-05-22 2008-12-10 中国科学院电工研究所 Synthetic meter system of hybrid vehicle
CN101738223A (en) * 2008-11-21 2010-06-16 山东祥和集团股份有限公司 Gauge pointer and digital combined type LED (light emitting diode) display device special for electric exerciser

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108470063A (en) * 2018-03-26 2018-08-31 四川斐讯信息技术有限公司 A kind of method and system of data processing under big data Visual Scene
CN109189520A (en) * 2018-07-27 2019-01-11 浙江中科领航汽车电子有限公司 A kind of method and system for realizing automobile meter pointer smooth pivotal based on QML animation attributes
CN112116678A (en) * 2020-08-09 2020-12-22 东风电驱动系统有限公司 Irregular virtual pointer display method for liquid crystal instrument and liquid crystal instrument
CN112116678B (en) * 2020-08-09 2023-08-22 东风电驱动系统有限公司 Irregular virtual pointer display method of liquid crystal instrument and liquid crystal instrument

Also Published As

Publication number Publication date
CN103134941B (en) 2015-09-09

Similar Documents

Publication Publication Date Title
CN103076919B (en) A kind of wireless touch remote control thereof and system
CN101478605A (en) Method, system and mobile communication terminal for controlling tridimensional menu display
CN104020944A (en) Data input method based on sliding block
CN104385920B (en) Realization method of pointer type virtual instrument panel
CN108919839A (en) Holder rotating direction control method, device, electronic equipment and storage medium
CN106406360B (en) A kind of virtual instrument pointer method of controlling rotation and device
US10147162B2 (en) Method and system for recognizing POI outside map screen
CN105302407A (en) Application icon display method and apparatus
CN106598428A (en) Method and system for playing panoramic video, and terminal equipment
CN103502922A (en) Screen adjusting method and appapratus based on terminal device
CN103134941A (en) Smooth processing method of rotation of indicator of displaying instrument panel
CN109032190A (en) Holder rotating direction control method, device, electronic equipment and storage medium
CN103064532B (en) A kind of air mouse remote controller
CN102236441A (en) Interactive three-dimensional image display system and method
CN105430331A (en) Method and device for adjusting display direction of monitor image
CN104063153B (en) A kind of method and apparatus for realizing human-computer interaction
CN104679469A (en) Vehicle terminal and handhold terminal screen solution acquiring method thereof
CN102999308B (en) For determining the method controlling to control output in territory and controlling device
CN103914305B (en) The method and system of application are freely controlled on a kind of mobile terminal
CN106055299B (en) The method of image Arbitrary Rotation is realized in multiple display equipment
CN104639962A (en) Method and system for realizing television touch control
CN103440048B (en) Method client terminal operated according to gravity sensing and device
CN108803669A (en) Holder rotating direction control method, device, electronic equipment and storage medium
CN103513765A (en) Method and device for displaying meteorological data in electronic device
CN104834444A (en) Terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant