A method for realizing discontinuous gradient display effect of fuel gauge

By generating multiple layer output signals for overlay display, it solves the problem of insufficient display accuracy and visual effects of traditional fuel gauges, achieves a more accurate and rich fuel gauge display, and reminds car owners to refuel in time.

CN114441003BActive Publication Date: 2024-08-23DONGFENG MOTOR GRP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210063597.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-20
Publication Date
2024-08-23
Estimated Expiration
2042-01-20

AI Technical Summary

Technical Problem

The traditional segment-type fuel gauge has problems of accuracy deviation and single visual effect when displaying the remaining oil level. It cannot accurately reflect the remaining oil level value and has a single color, making it impossible to create rich visual effects.

Method used

By obtaining the vehicle fuel resistance value, calculate the fuel percentage, and generate multiple layer output signals for overlay display, including highlight layer, progress layer, base layer and three-dimensional shadow layer. Alpha channel and warning threshold are used to generate gradient effects to enhance The display accuracy and visual effect of the fuel gauge.

Benefits of technology

The display accuracy and visual effect of the fuel gauge are improved, which can more accurately reflect the remaining fuel value and remind the car owner to refuel in time through the display effects of different layers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114441003B
    Figure CN114441003B
Patent Text Reader

Abstract

The present invention discloses a method for realizing a discontinuous gradient display effect of a fuel gauge, the method comprising the following steps: S1, obtaining a fuel resistance value of a vehicle; S2, obtaining a fuel percentage P according to the fuel resistance value; S3, generating a plurality of layer output signals according to the fuel percentage P and a preset alarm threshold J; the display screen receives the output signals of each layer and superimposes them to display the fuel amount. The present invention realizes the accurate display of the remaining fuel amount of the vehicle and enhances the visual effect of the fuel gauge.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of fuel gauge display, and in particular to a method for realizing a discontinuous gradual change display effect of a fuel gauge. Background Art

[0002] Cars have become a necessity in life, and the fuel gauge is the main information on the car instrument. The traditional segment code fuel gauge displays the fuel level in segments, which is a classic form of fuel level display, allowing drivers to quickly and intuitively read the fuel level information. Due to the display limitations of the segment code screen, the display form is single in color and visual effects, and the deviation in the accuracy of the fuel value is large when the segment jumps.

[0003] TFT screens have become standard in car cockpits; due to the rich colors and diverse display of TFT screens, compared to traditional pointer-type, light box or segment code fuel gauges, the display form and color richness under the LCD are also more diverse, and the fuel gauge display is more flexible and more accurate.

[0004] In the prior art, the segment code type oil level gauge generally uses 4 or 8 segments to display the oil level, and the oil level progress jumps step by step; the segment code screen is a monochrome display, and a monochrome gradient display needs to be achieved by collage color film. However, the jumping display form of the 4 or 8 segment code type oil level gauge has a remaining oil level display deviation of about 25% or 12.5%. This single display form of the oil level gauge cannot accurately reflect the remaining oil level value, and the color is single, which cannot create a rich visual effect. Summary of the invention

[0005] The object of the present invention is to provide a method for realizing a discontinuous gradual change display effect of a fuel gauge, so as to improve the display accuracy and display visual effect of the remaining fuel amount.

[0006] In order to solve the above technical problems, the present invention provides a technical solution: a method for realizing a discontinuous gradient display effect of a fuel gauge, the method comprising the following steps:

[0007] S1, obtaining the vehicle oil resistance value;

[0008] S2. Obtain the oil volume percentage P according to the oil volume resistance value;

[0009] S3. Generate several layers of output signals according to the oil volume percentage P and the preset alarm threshold J; the display screen receives the output signals of each layer and superimposes them to display the oil volume.

[0010] According to the above scheme, the layers corresponding to the output signals of all layers in S3 include T layer, M1 layer, M2 layer and B layer, which are highlight layer, progress layer, base layer and three-dimensional shadow layer respectively; among them, the M2 layer is static, and its display does not change with the amount of oil, while the T layer and B layer change with the display progress of the M1 layer.

[0011] According to the above scheme, the display area of ​​the M2 layer has a height of a and a total length of b, and is divided into four progress intervals spaced apart from each other.

[0012] According to the above scheme, the interval between the first progress interval and the second progress interval is w1, the interval between the second progress interval and the third progress interval is w2, and the interval between the third progress interval and the fourth progress interval is w3.

[0013] According to the above scheme, the first to fourth progress intervals are of equal length, and each progress interval represents one quarter of the total oil volume.

[0014] According to the above scheme, the value of the effective length Y of the M1 layer is b-w1-w2-w3. When the oil percentage is in the first progress interval, the display progress of the M1 layer is Y*P; when the oil percentage is in the second progress interval, the display progress of the M1 layer is w1+Y*P; when the oil percentage is in the third progress interval, the display progress of the M1 layer is w1+w2+Y*P; when the oil percentage is in the fourth progress interval, the display progress of the M1 layer is w1+w2+w3+Y*P; when the oil percentage is less than or equal to the preset alarm threshold, the M1 layer displays the warning color.

[0015] According to the above scheme, the T layer includes the filling processing of the Alpha channel; when the oil percentage is less than the preset alarm threshold, the value of the Alpha channel of the T layer is 0; when the oil percentage is greater than the preset alarm threshold, the value of the Alpha channel of the T layer is 0-1 gradient filling processing;

[0016] When the oil percentage is in the first progress interval, if the oil percentage is greater than the preset alarm threshold, the display progress of the T layer is (b-w1-w2-w3) / 4*(J+0.05);

[0017] When the oil percentage is in the second progress interval, if the oil percentage is less than or equal to (J+0.25), the display progress of the T layer is (b-w1-w2-w3) / 4*(J+0.05)+w1, otherwise the display progress of the T layer is (b-w1-w2-w3) / 4*(J+0.05);

[0018] When the oil percentage is in the third progress interval, if the oil percentage is less than or equal to (J+0.5), the display progress of the T layer is (b-w1-w2-w3) / 4*(J+0.05)+w2, otherwise the display progress of the T layer is (b-w1-w2-w3) / 4*(J+0.05);

[0019] When the oil percentage is in the fourth progress interval, if the oil percentage is less than or equal to (J+0.75), the display progress of the T layer is (b-w1-w2-w3) / 4*(J+0.05)+w3, otherwise the display progress of the T layer is (b-w1-w2-w3) / 4*(J+0.05).

[0020] According to the above scheme, the width of the B layer map increases to the left by w compared to the starting end of the M1 layer. a The display range increases to the right by a width of w compared to the end of the M1 layer. a Display range.

[0021] According to the above scheme, the width of the B layer map on both sides of the end of the M1 layer is 2w a In the display range, the Alpha channel value is 1 to 0 for gradient filling; when the oil volume percentage is less than or equal to the preset alarm threshold, the B layer displays the warning color.

[0022] According to the above scheme, the warning color is RGB color (255, 0, 0).

[0023] The beneficial effects of the present invention are as follows: the oil level is displayed by obtaining the percentage of the remaining oil level, and the visual effect of the oil level gauge is enhanced by outputting multiple layers and superimposing the layers for display.

[0024] Furthermore, compared with the traditional multi-segment jump display, the present invention combines multi-segment display with precise display, which can not only judge the current approximate fuel level by the segment displayed on the fuel gauge, but also accurately reflect the current fuel level by displaying the progress.

[0025] Furthermore, according to the relationship between the current fuel level and the warning threshold, the signal of each layer is output, so that when the fuel level is higher or lower than the warning threshold, the fuel gauge has different display effects, thereby prompting the owner to refuel in time. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 This is a schematic diagram of the display effect of the fuel gauge according to an embodiment of the present invention;

[0027] Figure 2 A schematic diagram of each layer in an embodiment of the present invention;

[0028] Figure 3 This is a schematic diagram of the M2 layer display area according to an embodiment of the present invention;

[0029] Figure 4 FIG. 1 is a schematic diagram of a display area of ​​layer B according to an embodiment of the present invention. DETAILED DESCRIPTION

[0030] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution of the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings of the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the described embodiments of the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.

[0031] See also Figure 1 to Figure 4 A method for realizing a discontinuous gradient display effect of a fuel gauge, the method comprising the following steps:

[0032] S1, obtaining the vehicle oil resistance value;

[0033] S2. Obtain the oil volume percentage P according to the oil volume resistance value;

[0034] S3. Generate several layers of output signals according to the oil volume percentage P and the preset alarm threshold J; the display screen receives the output signals of each layer and superimposes them to display the oil volume.

[0035] Furthermore, the layers corresponding to the output signals of all layers in S3 include T layer, M1 layer, M2 layer and B layer, which are highlight layer, progress layer, base layer and three-dimensional shadow layer respectively; among them, the M2 layer is static, and its display does not change with the amount of oil, while the T layer and B layer change with the display progress of the M1 layer.

[0036] Furthermore, the display area of ​​the M2 layer has a height of a and a total length of b, and is divided into four progress intervals that are spaced apart from each other.

[0037] Furthermore, the interval between the first progress interval and the second progress interval is w1, the interval between the second progress interval and the third progress interval is w2, and the interval between the third progress interval and the fourth progress interval is w3.

[0038] Furthermore, the first to fourth progress intervals are of equal length, and each progress interval represents one quarter of the total oil volume.

[0039] Furthermore, the value of the effective length Y of the M1 layer is b-w1-w2-w3. When the oil percentage is in the first progress interval, the display progress of the M1 layer is Y*P; when the oil percentage is in the second progress interval, the display progress of the M1 layer is w1+Y*P; when the oil percentage is in the third progress interval, the display progress of the M1 layer is w1+w2+Y*P; when the oil percentage is in the fourth progress interval, the display progress of the M1 layer is w1+w2+w3+Y*P; when the oil percentage is less than or equal to the preset alarm threshold, the M1 layer displays the warning color.

[0040] Furthermore, the T layer includes a filling process of the Alpha channel; when the oil percentage is less than the preset alarm threshold, the value of the Alpha channel of the T layer is 0; when the oil percentage is greater than the preset alarm threshold, the value of the Alpha channel of the T layer is a gradual filling process of 0 to 1;

[0041] When the oil percentage is in the first progress interval, if the oil percentage is greater than the preset alarm threshold, the display progress of the T layer is (b-w1-w2-w3) / 4*(J+0.05);

[0042] When the oil percentage is in the second progress interval, if the oil percentage is less than or equal to (J+0.25), the display progress of the T layer is (b-w1-w2-w3) / 4*(J+0.05)+w1, otherwise the display progress of the T layer is (b-w1-w2-w3) / 4*(J+0.05);

[0043] When the oil percentage is in the third progress interval, if the oil percentage is less than or equal to (J+0.5), the display progress of the T layer is (b-w1-w2-w3) / 4*(J+0.05)+w2, otherwise the display progress of the T layer is (b-w1-w2-w3) / 4*(J+0.05);

[0044] When the oil percentage is in the fourth progress interval, if the oil percentage is less than or equal to (J+0.75), the display progress of the T layer is (b-w1-w2-w3) / 4*(J+0.05)+w3, otherwise the display progress of the T layer is (b-w1-w2-w3) / 4*(J+0.05).

[0045] Furthermore, the B layer map increases in width w to the left compared to the starting end of the M1 layer. a The display range increases to the right by a width of w compared to the end of the M1 layer. a Display range.

[0046] Furthermore, the width of the B layer map on both sides of the end of the M1 layer is 2w aIn the display range, the Alpha channel value is 1 to 0 for gradient filling; when the oil volume percentage is less than or equal to the preset alarm threshold, the B layer displays the warning color.

[0047] Furthermore, the warning color is an RGB color (255,0,0).

[0048] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A method for realizing a discontinuous gradual change display effect of a fuel gauge, characterized in that: The following steps are involved: S1, obtaining the vehicle oil resistance value; S2. Obtain the oil volume percentage P according to the oil volume resistance value; S3, generating several layers of output signals according to the oil volume percentage P and the preset alarm threshold J; the display screen receives the output signals of each layer and superimposes them to display the oil volume; The layers corresponding to all layer output signals in S3 include T layer, M1 layer, M2 layer and B layer, which are highlight layer, progress layer, base layer and stereo shadow layer respectively; the M2 layer is static, and its display does not change with the oil volume, while the T layer and B layer change with the display progress of the M1 layer; The display area of ​​layer M2 has a height of a and a total length of b, and is divided into four progress intervals that are spaced apart from each other; The interval between the first progress interval and the second progress interval is w1, the interval between the second progress interval and the third progress interval is w2, and the interval between the third progress interval and the fourth progress interval is w3; The first to fourth progress intervals are of equal length, and each progress interval represents one quarter of the total oil volume; The value of the effective length Y of the M1 layer is b-w1-w2-w3. When the oil percentage is in the first progress interval, the display progress of the M1 layer is Y*P; when the oil percentage is in the second progress interval, the display progress of the M1 layer is w1+Y*P; when the oil percentage is in the third progress interval, the display progress of the M1 layer is w1+w2+Y*P; when the oil percentage is in the fourth progress interval, the display progress of the M1 layer is w1+w2+w3+Y*P; when the oil percentage is less than or equal to the preset alarm threshold, the M1 layer displays the warning color; The T layer includes the filling process of the Alpha channel; when the oil percentage is less than the preset alarm threshold, the value of the Alpha channel of the T layer is 0; when the oil percentage is greater than the preset alarm threshold, the value of the Alpha channel of the T layer is gradually filled from 0 to 1; When the oil percentage is in the first progress interval, if the oil percentage is greater than the preset alarm threshold, the display progress of the T layer is (b-w1-w2-w3) / 4*(J+0.05); When the oil percentage is in the second progress interval, if the oil percentage is less than or equal to (J+0.25), the display progress of the T layer is (b-w1-w2-w3) / 4*(J+0.05)+w1, otherwise the display progress of the T layer is (b-w1-w2-w3) / 4*(J+0.05); When the oil percentage is in the third progress interval, if the oil percentage is less than or equal to (J+0.5), the display progress of the T layer is (b-w1-w2-w3) / 4*(J+0.05)+w2, otherwise the display progress of the T layer is (b-w1-w2-w3) / 4*(J+0.05); When the oil percentage is in the fourth progress interval, if the oil percentage is less than or equal to (J+0.75), the display progress of the T layer is (b-w1-w2-w3) / 4*(J+0.05)+w3, otherwise the display progress of the T layer is (b-w1-w2-w3) / 4*(J+0.05).

2. The method for realizing the discontinuous gradual change display effect of the fuel gauge according to claim 1, characterized in that: The width of the B layer map increases to the left by w compared to the starting point of the M1 layer. a The display range increases to the right by a width of w compared to the end of the M1 layer. a Display range.

3. The method for realizing the discontinuous gradual change display effect of the fuel gauge according to claim 2, characterized in that: The width of the B layer map on both sides of the end of the M1 layer is 2w a In the display range, the Alpha channel value is 1 to 0 for gradient filling; When the oil volume percentage is less than or equal to the preset alarm threshold, layer B displays the warning color.

4. The method for realizing the discontinuous gradient display effect of the fuel gauge according to claim 1 or 3, characterized in that: The warning color is RGB color (255, 0, 0).