Method and terminal for eliminating ghost shadow of HMI (Human Machine Interface) liquid crystal display
By detecting the refresh requirements of the HMI LCD monitor and performing alternate light and dark refreshes, the afterimage problem caused by the display of fixed content for a long time is solved, and efficient and simple afterimage elimination is achieved, improving user experience and device life.
Patent Information
- Application Number
- CN202510289196.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-12
- Publication Date
- 2025-04-22
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Due to the long-term display of fixed content, HMI LCD displays are prone to afterimage, which affects the user experience and the service life of the equipment.
By detecting the refresh requirements of the HMI LCD display, the pixel data of the current frame buffer is captured and stored, and then all pixel points in the frame buffer are refreshed to the same bright color and the same dark color, forcing the liquid crystal molecules to reset, thereby eliminating the afterimage.
It realizes efficient and simple elimination of HMI LCD display afterimage, avoids negative impacts on user experience and device life, and does not rely on complex algorithm calculations or continuous dynamic refresh.
Smart Images

Figure CN119863997A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of image processing, and in particular to a method and a terminal for eliminating afterimages of an HMI liquid crystal display. Background Art
[0002] In modern industrial and automation equipment, HMI (Human-Machine Interface) LCD displays are widely used to display various data, operating status, and system information. These displays play an important role in production control, equipment management, and data monitoring. However, HMI LCD displays are prone to image retention due to the need to display fixed content for a long time, especially in static images (such as dashboards, indicators, and status bars). Image retention not only affects the user's viewing experience, but may also have a negative impact on the service life and display effect of the equipment.
[0003] Existing technologies usually rely on dynamic refresh technology to reduce afterimages by increasing the screen refresh rate. These methods cover up the afterimages of static images by quickly switching the displayed content, but usually require additional hardware support and may cause screen jitter or visual discomfort in some cases.
[0004] Or use image elimination technology, but it requires complex algorithms and processing time, which may cause response delays and affect user experience. Summary of the invention
[0005] The technical problem to be solved by the present invention is to provide a method and a terminal for eliminating afterimages of HMI liquid crystal displays, so as to solve the problem of complicated steps for eliminating afterimages of HMI liquid crystal displays.
[0006] In order to solve the above technical problems, the technical solution adopted by the present invention is: A method for eliminating afterimages of an HMI liquid crystal display comprises the following steps: S1, detect whether the HMI LCD display has a refresh requirement, if yes, capture the pixel data of the current frame buffer and store it in a preset area; S2, refreshing all the pixels in the frame buffer to the same bright color, and then refreshing all the pixels in the frame buffer to the same dark color; Or, refreshing all the pixels in the frame buffer to the same dark color, and then refreshing all the pixels in the frame buffer to the same light color; S3, loading the pixel data stored in the preset area into the frame buffer.
[0007] In order to solve the above technical problems, another technical solution adopted by the present invention is: A terminal for eliminating afterimages of an HMI liquid crystal display comprises a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the following steps are performed: S1, detect whether the HMI LCD display has a refresh requirement, if yes, capture the pixel data of the current frame buffer and store it in a preset area; S2, refreshing all the pixels in the frame buffer to the same bright color, and then refreshing all the pixels in the frame buffer to the same dark color; Or, refreshing all the pixels in the frame buffer to the same dark color, and then refreshing all the pixels in the frame buffer to the same light color; S3, loading the pixel data stored in the preset area into the frame buffer.
[0008] The beneficial effects of the present invention are: providing a method and terminal for eliminating afterimages of HMI liquid crystal displays, capturing the refresh requirements appearing in the above-mentioned display, storing the current frame buffer image in advance when there is a refresh requirement, and then forcing each pixel to undergo extreme state changes by refreshing all pixel points in the frame buffer to the same bright color (usually white) and the same dark color (usually black), so that the arrangement of the liquid crystal molecules is readjusted to get rid of the stagnant state. Among them, in the "bright color" state, all pixel points reach the maximum brightness; in the "dark color" state, all pixel points return to the minimum brightness. This extreme brightness conversion can reset the liquid crystal molecules, thereby eliminating the afterimage phenomenon. Subsequently, the stored pixel data is loaded into the frame buffer again, which does not rely on algorithm calculations, nor does it require continuous dynamic refresh, and can efficiently and easily eliminate the afterimage. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] Figure 1 A flowchart of a method for eliminating afterimages on an HMI liquid crystal display according to an embodiment of the present invention; Figure 2 A schematic diagram of a terminal for eliminating afterimages of an HMI liquid crystal display according to an embodiment of the present invention; Description of labels: 1. A terminal for eliminating afterimages of HMI liquid crystal displays; 2. A memory; 3. A processor. DETAILED DESCRIPTION
[0010] In order to explain the technical content, achieved objectives and effects of the present invention in detail, the following is an explanation in combination with the implementation modes and the accompanying drawings.
[0011] Please refer to Figure 1 , a method for eliminating afterimages on an HMI liquid crystal display, comprising the steps of: S1, detect whether the HMI LCD display has a refresh requirement, if yes, capture the pixel data of the current frame buffer and store it in a preset area; S2, refreshing all the pixels in the frame buffer to the same bright color, and then refreshing all the pixels in the frame buffer to the same dark color; Or, refreshing all the pixels in the frame buffer to the same dark color, and then refreshing all the pixels in the frame buffer to the same light color; S3, loading the pixel data stored in the preset area into the frame buffer.
[0012] It is understandable that HMI displays are often used in industrial and control interfaces, displaying the same images or information (such as instruments, buttons, and charts) for a long time, so that pixels in certain areas remain unchanged for a long time. This long-term static display will cause the liquid crystal molecules to be fixed in arrangement, and even a "memory effect" will occur, resulting in afterimages when the images are switched.
[0013] In order to solve this problem, the present invention captures the refresh demand that occurs in the above-mentioned display, stores the image of the current frame buffer in advance when there is a refresh demand, and then refreshes all the pixels in the frame buffer to the same bright color and the same dark color, forcing each pixel to undergo extreme state changes, so that the liquid crystal molecules are readjusted and get rid of the stagnant state. Among them, in the "bright color" state, all pixels reach the maximum brightness; in the "dark color" state, all pixels return to the minimum brightness. This extreme brightness conversion can reset the liquid crystal molecules, thereby eliminating the afterimage phenomenon, and then the stored pixel data is loaded into the frame buffer again. Without relying on algorithm calculations or continuous dynamic refresh, the elimination of afterimages can be completed efficiently and easily.
[0014] In some embodiments, step S1 further comprises the steps of: For static images, the pixel difference between consecutive frames is detected. If the number of times that the pixel difference in some areas in different frames is less than the preset difference threshold is greater than the preset number of times, it is considered that afterimage occurs and a refresh request is triggered.
[0015] As can be seen from the above description, by analyzing the pixel difference of continuous frames, the risk of afterimage in the static image area can be automatically identified. The principle is that when the frame buffer continuously loads a certain pixel data, if afterimage occurs, the pixel value of the area where the afterimage occurs will basically not change. Using this feature, it is detected whether the pixel difference at the same position between different frames is less than the preset threshold. If the number of times the above conditions are met is higher than the preset number, it is considered that afterimage occurs. At the same time, a secondary check is set in this step, that is, the preset difference threshold and the preset number of checks. When the frame buffer is refreshed normally, the pixel changes caused will not trigger the refresh demand. Compared with the simple time setting, this frame difference detection can more accurately determine which areas have not changed for a long time, reducing the possibility of false triggering.
[0016] In some embodiments, step S1 further comprises the steps of: Obtain the content type displayed on the HMI liquid crystal display. If it is a static image, set the refresh requirement to be triggered when the static image lasts for a first preset time period; If it is a dynamic image, it is set that when any frame of the dynamic image continues for a second preset time length, the refresh requirement is triggered; The first preset time length is greater than the second preset time length.
[0017] From the above description, it can be seen that by setting different refresh times according to different content types, the afterimage risks of static and dynamic images are solved in a targeted manner. Static images are more likely to produce afterimages because they remain unchanged for a long time. Setting a longer preset time to trigger refresh can effectively prevent traces from remaining in static areas. The first preset time ranges from 4-8 minutes, preferably 6 minutes; and each frame in a dynamic image is prone to leaving afterimages when the picture changes frequently. A shorter preset time is used to quickly refresh to eliminate the risk of afterimages. The second preset time ranges from 30-90s, preferably 60s. The time-sharing strategy in this example takes into account the differentiated needs of image types, optimizes the system's refresh logic, and effectively improves the efficiency and effectiveness of eliminating afterimages.
[0018] In some embodiments, the step S1 further includes step S0: Record the operation log of the HMI liquid crystal display user, the operation log includes the operation period and the operation type; generate the idle time table of the device based on the operation period and the operation type, and trigger the refresh requirement when the device is detected to be in an idle state.
[0019] From the above description, it can be seen that by recording user operation logs and generating an idle schedule, the idle time of the device can be reasonably used to eliminate afterimages without interfering with the normal operations of the user. The practice of recording the user's operation period and type and generating an idle schedule can accurately identify the working and idle states of the display, ensuring that the refresh operation is automatically performed when the user is not operating. This intelligent refresh in the idle state not only helps to effectively remove afterimages, but also avoids the interference of frequent refreshes on the user experience, while reducing unnecessary power consumption. This method improves the intelligence and user-friendliness of the afterimage elimination process.
[0020] In some embodiments, step S1 further comprises the steps of: The backlight status of the HMI liquid crystal display is obtained, and when it is detected that the backlight is turned off and lasts for more than a third preset time, the refresh requirement is triggered.
[0021] From the above description, it can be seen that by detecting the backlight status of the HMI LCD display, a refresh is triggered after the backlight is turned off and lasts for more than a preset time. This method effectively addresses the risk of afterimages that may occur when the backlight is turned off for a long time. Because when the backlight is off, the static image of the display for a long time is prone to a retention effect. By refreshing regularly when the backlight is off, it helps to extend the service life of the display. In addition, this afterimage elimination strategy based on the backlight status does not require manual operation by the user, ensuring that automatic afterimage elimination can be achieved under different usage conditions, further improving the intelligence and reliability of the system.
[0022] Please refer to Figure 2 A terminal 1 for eliminating afterimages on an HMI liquid crystal display comprises a memory 2, a processor 3 and a computer program stored in the memory 2 and executable on the processor. When the processor 3 executes the computer program, the steps in the method for eliminating afterimages on an HMI liquid crystal display are completed.
[0023] The present invention provides a method and a terminal for eliminating afterimages on HMI liquid crystal displays, which are mainly used to quickly eliminate afterimages on HMI liquid crystal displays. The following is a specific description of the method and a terminal in conjunction with an embodiment: Please refer to Figure 1 , Embodiment 1 of the present invention is: A method for eliminating afterimages of an HMI liquid crystal display comprises the following steps: S1, detect whether the HMI LCD display has a refresh requirement, if yes, capture the pixel data of the current frame buffer and store it in a preset area; S2, refreshing all the pixels in the frame buffer to the same bright color, and then refreshing all the pixels in the frame buffer to the same dark color; Or, refresh all the pixels in the frame buffer to the same dark color, and then refresh all the pixels in the frame buffer to the same light color; S3, loading the pixel data stored in the preset area into the frame buffer.
[0024] That is, in this embodiment, a series of refresh operation steps are used to effectively solve the problem of afterimage when the HMI LCD displays fixed content for a long time. When it is detected that there is a risk of afterimage on the display, the system will first capture the data of the current frame buffer and store it in a preset area to ensure that the display content can be quickly restored after the refresh operation. The alternating refresh of light and dark colors can not only reset the state of all pixels, but also activate the liquid crystal molecules that have been static for a long time to prevent afterimages caused by charge retention or inert molecular arrangement. The last step is to restore the original picture to ensure that the refresh process does not affect the user experience, realizing an efficient, simple and user-friendly afterimage elimination method.
[0025] Preferably, the bright color is white, and the pixel RGB value is (255, 255, 255); the dark color is black, and the pixel RGB value is (0, 0, 0).
[0026] Embodiment 2 of the present invention is: On the basis of the first embodiment, for static images, the pixel difference between consecutive frames is detected. If the number of times that the pixel difference in some areas in different frames is less than the preset difference threshold is greater than the preset number of times, it is considered that afterimages occur and a refresh requirement is triggered. In this step, a secondary check is set, namely the preset difference threshold and the preset number of checks. When the frame buffer area is refreshed normally, the pixel changes caused will not trigger the refresh requirement. Compared with the simple time setting, this frame difference detection can more accurately determine which areas have not changed for a long time, reducing the possibility of false triggering.
[0027] Embodiment 3 of the present invention is: Based on the first embodiment, step S1 further includes the following steps: Get the content type displayed on the HMI LCD display. If it is a static image, set the refresh requirement to be triggered when the static image lasts for 6 minutes; If it is a dynamic image, set it to trigger a refresh requirement when any frame of the dynamic image lasts for 60 seconds; Get the backlight status of the HMI LCD display. When the backlight is detected to be off for more than 3 minutes, a refresh request is triggered.
[0028] Embodiment 4 of the present invention is: On the basis of the first embodiment, step S0 is further included before step S1: Record the operation log of the HMI LCD display user, which includes the operation period and operation type; generate the device idle schedule based on the operation period and operation type, and trigger the refresh requirement when the device is detected to be in an idle state. By recording the user operation log and generating an idle schedule, the device idle time can be reasonably used to eliminate residual images without interfering with the user's normal operation. Recording the user's operation period and type and generating an idle schedule can accurately identify the working and idle states of the display, ensuring that the refresh operation is automatically performed when the user is not operating.
[0029] Please refer to Figure 2 , Embodiment 5 of the present invention is: A terminal 1 for eliminating afterimages on HMI liquid crystal displays comprises a memory 2, a processor 3 and a computer program stored in the memory 2 and executable on the processor. When the processor 3 executes the computer program, the steps in the method for eliminating afterimages on HMI liquid crystal displays are completed.
[0030] In summary, the present invention provides a method and terminal for eliminating afterimages on HMI liquid crystal displays. By detecting the risk of afterimages and combining intelligent light and dark alternating refresh, the afterimage phenomenon caused by long-term display of static content or low-frequency changing images can be effectively eliminated, thereby avoiding the problems of charge retention and solidification of liquid crystal molecule arrangement, automatically capturing the current frame and restoring the screen after refreshing, without affecting the user's operating experience, and ensuring a seamless connection of the afterimage elimination process.
[0031] In addition, the present invention achieves accurate judgment of the risk of residual image through frame difference detection and content type judgment, effectively reduces unnecessary refresh operations, improves system resource utilization and reduces power consumption. The recording of user operation logs and the use of device idle time allow residual image elimination to be performed automatically when human-computer interaction is idle, thereby extending the service life of the display without disturbing the user. At the same time, the residual image detection mechanism based on the backlight status triggers automatic refresh when the backlight is turned off, further adapting to different usage environments and ensuring the continuous clarity of the display effect.
[0032] 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 transformations made using the contents of the present invention's specification and drawings, or directly or indirectly applied in related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A method for eliminating afterimages in HMI liquid crystal displays, characterized in that: Includes steps: S1, detect whether the HMI LCD display has a refresh requirement, if yes, capture the pixel data of the current frame buffer and store it in a preset area; S2, refreshing all the pixels in the frame buffer to the same bright color, and then refreshing all the pixels in the frame buffer to the same dark color; Or, refreshing all the pixels in the frame buffer to the same dark color, and then refreshing all the pixels in the frame buffer to the same light color; S3, loading the pixel data stored in the preset area into the frame buffer.
2. The method for eliminating afterimages in HMI liquid crystal displays according to claim 1, characterized in that: The step S1 further comprises the steps of: For static images, the pixel difference between consecutive frames is detected. If the number of times that the pixel difference in some areas in different frames is less than the preset difference threshold is greater than the preset number of times, it is considered that afterimage occurs and a refresh request is triggered.
3. The method for eliminating afterimages in HMI liquid crystal displays according to claim 1, characterized in that: The step S1 further comprises the steps of: Obtain the content type displayed on the HMI liquid crystal display. If it is a static image, set the refresh requirement to be triggered when the static image lasts for a first preset time period; If it is a dynamic image, it is set that when any frame of the dynamic image continues for a second preset time length, the refresh requirement is triggered; The first preset time length is greater than the second preset time length.
4. The method for eliminating afterimages in HMI liquid crystal displays according to claim 1, characterized in that: The step S1 also includes step S0: Record the operation log of the HMI liquid crystal display user, the operation log includes the operation period and operation type; generate the idle time table of the device based on the operation period and operation type, and trigger the refresh requirement when the device is detected to be in an idle state.
5. The method for eliminating afterimages in HMI liquid crystal displays according to claim 1, characterized in that: The step S1 further comprises the steps of: The backlight status of the HMI liquid crystal display is obtained, and when it is detected that the backlight is turned off and lasts for more than a third preset time, the refresh requirement is triggered.
6. A terminal for eliminating afterimages on HMI liquid crystal displays, characterized in that: The invention comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the following steps are performed: S1, detect whether the HMI LCD display has a refresh requirement, if yes, capture the pixel data of the current frame buffer and store it in a preset area; S2, refreshing all the pixels in the frame buffer to the same bright color, and then refreshing all the pixels in the frame buffer to the same dark color; Or, refreshing all the pixels in the frame buffer to the same dark color, and then refreshing all the pixels in the frame buffer to the same light color; S3, loading the pixel data stored in the preset area into the frame buffer.
7. A terminal for eliminating afterimages of HMI liquid crystal displays according to claim 6, characterized in that: The step S1 further comprises the steps of: For static images, the pixel difference between consecutive frames is detected. If the number of times that the pixel difference in some areas in different frames is less than the preset difference threshold is greater than the preset number of times, it is considered that afterimage occurs and a refresh request is triggered.
8. A terminal for eliminating afterimages of HMI liquid crystal displays according to claim 6, characterized in that: The step S1 further comprises the steps of: Obtain the content type displayed on the HMI liquid crystal display. If it is a static image, set the refresh requirement to be triggered when the static image lasts for a first preset time period; If it is a dynamic image, it is set that when any frame of the dynamic image continues for a second preset time length, the refresh requirement is triggered; The first preset time length is greater than the second preset time length.
9. A terminal for eliminating afterimages of HMI liquid crystal displays according to claim 6, characterized in that: The step S1 also includes step S0: Record the operation log of the HMI liquid crystal display user, the operation log includes the operation period and operation type; generate the idle time table of the device based on the operation period and operation type, and trigger the refresh requirement when the device is detected to be in an idle state.
10. A terminal for eliminating afterimages of HMI liquid crystal displays according to claim 6, characterized in that: The step S1 further comprises the steps of: The backlight status of the HMI liquid crystal display is obtained, and when it is detected that the backlight is turned off and lasts for more than a third preset time, the refresh requirement is triggered.
Citation Information
Patent Citations
Image display method, display terminal and readable storage medium
CN113889049A
Ghosting improvement method, ghosting improvement device and computer readable medium
CN117524140A
Dynamic picture smear processing method and device, liquid crystal display and medium
CN118711542A
Method of preventing image persistence of liquid crystal monitor, liquid crystal monitor provided with image persistence preventing function, and computer provided with image persistence preventing function of liquid crystal monitor
JP2004325853A
Liquid crystal display and driving method thereof
KR1020150076023A