Screen driving method and device
By combining a single-chip microcomputer controller with a constant current driver chip module, the backlight, RGB three-color, and 8-shaped screen areas of a large-size color screen are driven in a time-sharing manner, solving the problems of high hardware cost and development difficulty of large-size color screens, and achieving a low-cost and low-latency screen dynamic refresh effect.
Patent Information
- Application Number
- CN202411664009.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-20
- Publication Date
- 2025-09-30
- Estimated Expiration
- 2044-11-20
AI Technical Summary
Large-size color screens with touch functions have high hardware costs, are difficult to develop, and have high requirements for chip processing speed and system stability.
It combines a single-chip microcomputer controller with a constant current driver chip module, generates functional status events by detecting key trigger signals, and drives the backlight LED, RGB three-color LED and 8-character screen LED display area in a time-sharing manner to achieve orderly screen refresh.
It reduces the dependence on chip processing speed and system resources, reduces the application cost and development difficulty of kitchen appliance color screens, and achieves low latency screen dynamic refresh and continuous transition effects of color changes.
Smart Images

Figure CN119626167B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of screen technology, and in particular to a screen driving method and device. Background Art
[0002] To enhance the user experience of home appliances, large, touch-enabled color screens are becoming standard features in kitchen appliances. These screens have high hardware requirements, resulting in high costs. Furthermore, the larger the screen, the more pixels must be processed, increasing the requirements for chip processing speed and system stability, making development more challenging. Therefore, a method for driving large screens that can be deployed on lower-end hardware platforms is urgently needed. Summary of the Invention
[0003] Based on this, it is necessary to provide a screen driving method and device to address the above technical issues.
[0004] In a first aspect, a screen driving method is provided, the method being applied to a screen-driven system, the screen-driven system comprising a controller, a constant current driver chip module, and a screen to be driven, the controller being connected to the constant current driver chip module, the constant current driver chip module comprising a first constant current driver chip, a second constant current driver chip, and a third constant current driver chip, the screen to be driven being divided into a backlight LED display area, an RGB three-color LED display area, and an 8-character screen LED display area, the backlight LED display area, the RGB three-color LED display area, and the 8-character screen LED display area being intertwined with each other, the first constant current driver chip, the second constant current driver chip, and the third constant current driver chip being connected one-to-one to the backlight LED display area, the RGB three-color LED display area, and the 8-character screen LED display area, respectively, the method comprising:
[0005] Detecting whether there is a key trigger signal from the user at a preset time interval, and if the key trigger signal is detected, generating a function status event corresponding to the key trigger signal;
[0006] When the accumulated time reaches a first preset time threshold, the controller drives and refreshes the backlight LED display area through the first constant current driver chip based on the functional status event;
[0007] When the accumulated time reaches a second preset time threshold, the controller drives and refreshes the RGB three-color LED display area through the second constant current driver chip based on the functional status event;
[0008] When the third preset time threshold is accumulated, the controller refreshes the 8-shaped screen LED display area through the third constant current driver chip based on the functional status event, and repeats the step of refreshing the backlight LED display area through the first constant current driver chip based on the functional status event.
[0009] As an optional embodiment, the backlight LED display area includes a first display area, a second display area, and a third display area, and the step of driving and refreshing the backlight LED display area by the first constant current driver chip includes:
[0010] The first constant current driving chip controls the first display area to write a grayscale value, and increments the grayscale value written into the first display area until the grayscale value written into the first display area reaches a maximum grayscale value;
[0011] For the second display area or the third display area, when it is detected that the grayscale value written to the previous display area reaches a preset grayscale value threshold, the first constant current driver chip controls the display area to write the grayscale value until the grayscale value written to the display area reaches the maximum grayscale value.
[0012] As an optional embodiment, the RGB three-color LED display area includes eight columns of display lights, and the method of driving and refreshing the RGB three-color LED display area by the second constant current driver chip includes:
[0013] The second constant current driver chip controls the first column of display lights to write chromaticity values, and increments the chromaticity values written into the first column of display lights until the chromaticity values written into the first column of display lights reach a maximum;
[0014] For any column of the last seven columns of display lights, when it is detected that the chromaticity value written into the previous column of display lights reaches a preset chromaticity value threshold, the second constant current driver chip controls the column of display lights to write the chromaticity value until the chromaticity value written into the column of display lights reaches the maximum chromaticity value.
[0015] As an optional implementation manner, the controller drives and refreshes the 8-character screen LED display area through the third constant current driver chip based on the functional status event, including:
[0016] The controller drives the refresh of the 8-character screen LED display area to display the number corresponding to the functional status event through the third constant current driver chip.
[0017] As an optional implementation, the method further includes:
[0018] During the driving process of the screen to be driven, detecting whether a pre-stored high-priority event occurs;
[0019] If a pre-stored high-priority event is detected, the controller drives the screen to be driven to refresh through the constant current driver chip module according to the high-priority event. After the drive is completed, the controller executes the step of driving the backlight LED display area to refresh through the first constant current driver chip based on the functional status event.
[0020] As an optional implementation manner, the controller drives and refreshes the screen to be driven through the constant current driver chip module according to the high priority event, including:
[0021] Dividing the screen to be driven into a plurality of screen areas;
[0022] When the accumulated time reaches a first preset time threshold, the controller drives and refreshes any screen area of the backlight LED display area through the first constant current driver chip in accordance with a preset screen area refresh order, so that the grayscale value corresponding to the high priority event is written into the screen area;
[0023] When the second preset time threshold is reached, the controller drives and refreshes any screen area of the RGB three-color LED display area through the second constant current driver chip in accordance with the preset screen area refresh order, so that the chromaticity value corresponding to the high priority event is written into the screen area;
[0024] When the third preset time threshold is accumulated, according to the preset screen area refresh order, for any screen area of the 8-character screen LED display area, the controller drives the refresh of the screen area through the third constant current driver chip, so that the number corresponding to the high priority event is written into the screen area.
[0025] As an optional implementation manner, after the function status event corresponding to the key trigger signal is generated, the method further includes:
[0026] When the fourth preset time threshold is accumulated, the controller executes the functional status event and performs an event response.
[0027] In a second aspect, a screen-driven device is provided, which is applied to a screen-driven system, wherein the screen-driven system includes a controller, a constant current driver chip module, and a screen to be driven, wherein the controller is connected to the constant current driver chip module, and the constant current driver chip module includes a first constant current driver chip, a second constant current driver chip, and a third constant current driver chip. The screen to be driven is divided into a backlight LED display area, an RGB three-color LED display area, and an 8-character screen LED display area. The backlight LED display area, the RGB three-color LED display area, and the 8-character screen LED display area are intertwined, and the first constant current driver chip, the second constant current driver chip, and the third constant current driver chip are respectively connected one-to-one to the backlight LED display area, the RGB three-color LED display area, and the 8-character screen LED display area. The device includes:
[0028] A first detection module is configured to detect whether there is a key trigger signal from a user at a preset time interval, and if the key trigger signal is detected, generate a function status event corresponding to the key trigger signal;
[0029] A first driving module, configured to, when a first preset time threshold is accumulated, drive the controller to refresh the backlight LED display area through the first constant current driving chip based on the functional status event;
[0030] A second driving module is configured to, when a second preset time threshold is accumulated, drive the controller to refresh the RGB three-color LED display area through the second constant current driving chip based on the functional status event;
[0031] The third driving module is used for, when the third preset time threshold is accumulated, the controller drives the refresh of the 8-shaped screen LED display area through the third constant current driver chip based on the functional status event, and repeats the step of the controller driving the refresh of the backlight LED display area through the first constant current driver chip based on the functional status event.
[0032] As an optional implementation manner, the backlight LED display area includes a first display area, a second display area, and a third display area, and the first driving module is specifically configured to:
[0033] The first constant current driving chip controls the first display area to write a grayscale value, and increments the grayscale value written into the first display area until the grayscale value written into the first display area reaches a maximum grayscale value;
[0034] For the second display area or the third display area, when it is detected that the grayscale value written to the previous display area reaches a preset grayscale value threshold, the first constant current driver chip controls the display area to write the grayscale value until the grayscale value written to the display area reaches the maximum grayscale value.
[0035] As an optional implementation manner, the RGB three-color LED display area includes eight columns of display lights, and the second driving module is specifically used to:
[0036] The second constant current driver chip controls the first column of display lights to write chromaticity values, and increments the chromaticity values written into the first column of display lights until the chromaticity values written into the first column of display lights reach a maximum chromaticity value;
[0037] For any column of the last seven columns of display lights, when it is detected that the chromaticity value written into the previous column of display lights reaches a preset chromaticity value threshold, the second constant current driver chip controls the column of display lights to write the chromaticity value until the chromaticity value written into the column of display lights reaches the maximum chromaticity value.
[0038] As an optional implementation manner, the third driving module is specifically configured to:
[0039] The controller drives the refresh of the 8-character screen LED display area to display the number corresponding to the functional status event through the third constant current driver chip.
[0040] As an optional implementation, the device further includes:
[0041] A second detection module is used to detect whether a pre-stored high-priority event occurs during the driving process of the screen to be driven;
[0042] The fourth driving module is used to, if a pre-stored high-priority event is detected, the controller drives the screen to be driven to refresh through the constant current driver chip module according to the high-priority event, and after the driving is completed, execute the step of the controller driving the backlight LED display area to refresh through the first constant current driver chip based on the functional status event.
[0043] As an optional implementation manner, the fourth driving module is specifically configured to:
[0044] Dividing the screen to be driven into a plurality of screen areas;
[0045] When the accumulated time reaches a first preset time threshold, the controller drives and refreshes any screen area of the backlight LED display area through the first constant current driver chip in accordance with a preset screen area refresh order, so that the grayscale value corresponding to the high priority event is written into the screen area;
[0046] When the second preset time threshold is reached, the controller drives and refreshes any screen area of the RGB three-color LED display area through the second constant current driver chip in accordance with the preset screen area refresh order, so that the chromaticity value corresponding to the high priority event is written into the screen area;
[0047] When the third preset time threshold is accumulated, according to the preset screen area refresh order, for any screen area of the 8-character screen LED display area, the controller drives the refresh of the screen area through the third constant current driver chip, so that the number corresponding to the high priority event is written into the screen area.
[0048] As an optional implementation, the device further includes:
[0049] The execution module is used for causing the controller to execute the functional status event and perform event response when the fourth preset time threshold is accumulated.
[0050] In a third aspect, a screen driving system is provided, the screen driving system comprising: the screen driving method as described in the first aspect and the screen driving device as described in the second aspect.
[0051] The present application provides a method for screen driving. The technical solution provided by the embodiments of the present application brings at least the following beneficial effects: during the driving process of the screen to be driven, whether there is a user's key trigger signal is detected according to a preset time interval. If the key trigger signal is detected, a functional status event corresponding to the key trigger signal is generated; when the first preset time threshold is accumulated, the controller refreshes the backlight LED display area through the first constant current driver chip based on the functional status event; when the second preset time threshold is accumulated, the controller refreshes the RGB three-color LED display area through the second constant current driver chip based on the functional status event; when the third preset time threshold is accumulated, the controller refreshes the 8-shaped screen LED display area through the third constant current driver chip based on the functional status event, and repeats the step of the controller refreshing the backlight LED display area through the first constant current driver chip based on the functional status event. In this way, the large-screen drive scheduling implemented based on the single-chip microcomputer can orderly drive the light-emitting diodes to form animation and color change effects, and realize the low-latency effect of screen dynamic refresh and continuous transition effect of color change through display drive resource scheduling, which reduces the heavy dependence on chip processing speed and system resources, and the application cost and development difficulty of kitchen appliance color screen.
[0052] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0054] Figure 1 A schematic diagram of the structure of a screen-driven system provided in an embodiment of the present application;
[0055] Figure 2 This is an example diagram of a constant current driver chip module provided in an embodiment of the present application;
[0056] Figure 3 A flowchart of a screen driving method provided in an embodiment of the present application;
[0057] Figure 4 A flowchart of an example of a method for writing grayscale and chromaticity values of a screen provided in an embodiment of the present application;
[0058] Figure 5 A flowchart of an example of a screen driving method provided in an embodiment of the present application;
[0059] Figure 6 A flowchart of another exemplary screen driving method provided in an embodiment of the present application;
[0060] Figure 7 A schematic structural diagram of a screen-driven device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0061] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.
[0062] The screen driving method provided in the embodiment of the present application can be applied to a screen driving system. Figure 1As shown, the screen driving system includes a controller 101, a constant current driving chip module 102 and a screen to be driven 103. The controller 101 is connected to the constant current driving chip module 102, and the constant current driving chip module 102 includes a first constant current driving chip, a second constant current driving chip and a third constant current driving chip. The screen to be driven 103 is divided into a backlight LED display area, an RGB three-color LED display area and an 8-shaped screen LED display area. The backlight LED display area, the RGB three-color LED display area and the 8-shaped screen LED display area are intertwined, as shown in FIG. Figure 2 The first constant current driver chip, the second constant current driver chip and the third constant current driver chip are connected one-to-one to the backlight LED display area, the RGB three-color LED display area and the 8-shaped screen LED display area respectively.
[0063] The controller 101 is used to detect whether there is a user's key trigger signal at a preset time interval. If a key trigger signal is detected, a functional status event corresponding to the key trigger signal is generated. When the first preset time threshold is accumulated, based on the functional status event, the backlight LED display area is refreshed by the first constant current driver chip. When the second preset time threshold is accumulated, based on the functional status event, the RGB three-color LED display area is refreshed by the second constant current driver chip. When the third preset time threshold is accumulated, based on the functional status event, the 8-character screen LED display area is refreshed by the third constant current driver chip, and the step of refreshing the backlight LED display area by the first constant current driver chip based on the functional status event is repeated.
[0064] The constant current driver chip module 102 is used to receive instructions from the controller 101 and drive the screen 103 to be driven for refreshing.
[0065] The screen to be driven 103 is used to refresh and display the content corresponding to the function status event based on the function status event.
[0066] The following will describe in detail a screen driving method provided by an embodiment of the present application in conjunction with specific implementation methods. Figure 3 A flowchart of a screen driving method provided in an embodiment of the present application is shown in FIG. Figure 3 The specific steps are as follows:
[0067] Step 301 : During the driving process of the screen to be driven, whether there is a key trigger signal from the user is detected at a preset time interval. If a key trigger signal is detected, a function status event corresponding to the key trigger signal is generated.
[0068] In practice, in order to improve people's experience of using home appliances, large-size color screens with touch functions have gradually become standard for kitchen appliances. Manufacturers have launched color screen products with systems (Android, Linux, etc.). This type of screen has high hardware requirements, so the cost remains high, which is out of reach for most consumers. Moreover, with the trend of increasing demand for screen size, it is obvious that high-cost screens are difficult to become the mainstream of the market. Moreover, the larger the screen, the more pixels need to be processed, the higher the requirements for chip processing speed and system stability, and the greater the development difficulty. To this end, the present invention proposes a large-screen drive scheduling method based on a single-chip microcomputer. On a low-cost hardware platform, animation and color change effects are formed by orderly driving light-emitting diodes, and low-latency screen refresh effects are achieved through driver resource scheduling. Based on a low-cost LED screen, low-latency screen refresh effects and continuous color change transition effects are achieved through display driver resource scheduling. The screen refresh is achieved by using the driver resource scheduling method, reducing the heavy dependence on chip processing speed and system resources, thereby reducing the application cost and development difficulty of kitchen appliance color screens. When the user operates the screen with buttons, the screen needs to have corresponding function interface switching. Therefore, it is necessary to frequently detect whether the user has pressed a key and whether the screen needs to be switched. Therefore, it is possible to detect whether there is a user key trigger signal at a preset time interval. If a key trigger signal is detected, a function status event corresponding to the key trigger signal is generated. The preset time interval can be 1ms.
[0069] Furthermore, when the fourth preset time threshold is accumulated, the controller executes the function status event and performs an event response.
[0070] In practice, after a functional status event is generated, a timer begins. When the accumulated time reaches a fourth preset duration threshold, the controller executes the functional status event and initiates an event response. If an event is triggered, a buzzer will sound, requiring a short response time. Therefore, the fourth preset duration threshold can be 10ms. For example, if the user key trigger signal is a fan gear change or a light on / off signal, the event response will be to switch the fan gear or turn the light on / off.
[0071] Step 302: When the accumulated time reaches a first preset time threshold, the controller drives the refresh backlight LED display area through the first constant current driver chip based on the function status event.
[0072] During implementation, after the user presses a button, the function status event needs to be executed immediately. If the event is triggered, a buzzer will sound and a short response is required, so the function status event needs to be executed immediately. The display screen can be updated slightly later, which is not noticeable to the human eye. Therefore, after the event response, the screen display can be updated again. Because the first constant current driver chip, the second constant current driver chip and the third constant current driver chip are respectively connected one-to-one to the backlight LED display area, the RGB three-color LED display area and the 8-screen LED display area. Therefore, the first constant current driver chip drives the refresh of the backlight LED display area. The effect of the backlight LED display area is dynamic fading or gradually brightening. Therefore, when the first preset duration threshold is accumulated, the controller drives the refresh of the backlight LED display area through the first constant current driver chip based on the function status event. Among them, the first preset duration threshold can be 20ms.
[0073] Specifically, the backlight LED display area includes a first display area, a second display area, and a third display area. The specific steps of executing step 302 are as follows:
[0074] In step 1, the first constant current driving chip controls the first display area to write a grayscale value, and increases the grayscale value written into the first display area incrementally until the grayscale value written into the first display area reaches a maximum grayscale value.
[0075] In implementation, the backlight LED display area includes a first display area, a second display area, and a third display area. The effect of the backlight LED display area is dynamic fading or brightening. Therefore, the first constant current driver chip can control the brightness of the three display areas of the backlight LED display area in batches to achieve dynamic brightening or fading. Therefore, the first constant current driver chip controls the first display area to write a grayscale value, and incrementally writes the grayscale value of the first display area, from zero to the maximum grayscale value, until the grayscale value written to the first display area reaches the maximum grayscale value.
[0076] Step 2: For the second display area or the third display area, when it is detected that the grayscale value written into the previous display area reaches a preset grayscale value threshold, the first constant current driver chip controls the display area to write the grayscale value until the grayscale value written into the display area reaches the maximum grayscale value.
[0077] In implementation, the first constant current driver chip can control the brightness of the three display areas of the backlight LED display area in batches to achieve dynamic gradual brightening or fading. When the grayscale value of the previous display area reaches a preset grayscale value threshold, the first constant current driver chip can control the display area to start writing the grayscale value, and gradually increase it until the grayscale value written to the display area reaches the maximum grayscale value. In this way, a gradual brightening effect can be achieved. Therefore, for the second display area or the third display area, when it is detected that the grayscale value written to the previous display area reaches a preset grayscale value threshold, the first constant current driver chip controls the display area to write the grayscale value until the grayscale value written to the display area reaches the maximum grayscale value. For example, Figure 4 As shown, the first display area can be represented by back0, the second display area can be represented by back1, and the third display area can be represented by back2. Starting from back0, the grayscale value written starts from the amount and gradually increases. When the grayscale value reaches stage 1 (the preset grayscale value threshold), the grayscale value of back1 is written, and at the same time, the grayscale value continued to be written by back0 gradually increases until the maximum grayscale value. When the grayscale value of back1 reaches stage 1 (the preset grayscale value threshold), the grayscale value of back2 is written, and at the same time, back1 continues to write grayscale values until the grayscale values of back1 and back2 gradually increase to the maximum grayscale value. Among them, the preset grayscale value threshold is determined according to the dynamic effect requirements. For example, the dynamic effect of driving the LED needs to change n times, and the maximum incremental grayscale value is x, then the value of the preset grayscale value = x / n. The method for determining the preset chromaticity value of other display areas in this application is the same as above and will not be repeated below.
[0078] Step 303: When the accumulated time reaches the second preset time threshold, the controller drives the refresh of the RGB three-color LED display area through the second constant current driver chip based on the function status event.
[0079] In implementation, when the second preset time threshold is accumulated, the controller drives the refresh of the RGB three-color LED display area through the second constant current driver chip based on the functional status event. Among them, the three-color lights in the RGB three-color LED display area display different colors, and the red, green and blue components are proportionally distributed according to different colors. The controller refreshes the RGB three-color LED display area through the second constant current driver chip to display the color of the screen corresponding to the functional status event. Therefore, the backlight LED display area can be gradually brightened first, and then transition to the refresh of the color of the RGB three-color LED display area. Therefore, when the second preset time threshold is accumulated, the controller drives the refresh of the RGB three-color LED display area through the second constant current driver chip based on the functional status event.
[0080] Specifically, the RGB three-color LED display area includes eight columns of display lights. The specific steps of executing step 303 are as follows:
[0081] Step 3: The second constant current driver chip controls the first column of display lights to write chromaticity values, and increments the chromaticity values written into the first column of display lights until the chromaticity values written into the first column of display lights reach a maximum chromaticity value.
[0082] In practice, the RGB three-color LED display area includes eight columns of display lights, and the screen color display can also be gradient. Therefore, the second constant current driver chip can be used to control the first column of display lights to write chromaticity values, and the chromaticity values written to the first column of display lights are incremented until the chromaticity values written to the first column of display lights reach the maximum chromaticity value.
[0083] Step 4: For any column of the last seven columns of display lights, when it is detected that the chromaticity value written into the previous column of display lights reaches the preset chromaticity value threshold, the second constant current driver chip controls the column of display lights to write the chromaticity value until the chromaticity value written into the column of display lights reaches the maximum chromaticity value.
[0084] In implementation, the second constant current driver chip can control the eight columns of display lights in the RGB three-color LED display area to gradually increase their colors in batches. When the chromaticity value written in the previous column of display lights reaches a preset chromaticity value threshold, the second constant current driver chip can control the column of display lights to write the chromaticity value until the chromaticity value written in the column of display lights reaches the maximum chromaticity value. Therefore, for any column of display lights in the last seven columns of display lights, when it is detected that the chromaticity value written in the previous column of display lights reaches the preset chromaticity value threshold, the second constant current driver chip controls the column of display lights to write the chromaticity value until the chromaticity value written in the column of display lights reaches the maximum chromaticity value. For example, Figure 4 As shown, the first column of display lights is represented by R0G0B0, the second column of display lights is represented by R1G1B1, ..., and the eighth column of display lights is represented by R7G7B7. When the grayscale value of the third display area (for example, back2) reaches stage 1, the chromaticity value of R0G0B0 begins to be written and gradually increases. When the chromaticity value of R0G0B0 reaches stage 1, the chromaticity value of R1G1B1 begins to be written and gradually increases. The same process continues until the chromaticity value of R7G7B7 reaches the maximum chromaticity value.
[0085] Step 304: When the third preset time threshold is accumulated, the controller refreshes the 8-shaped screen LED display area through the third constant current driver chip based on the functional status event, and repeats the step of refreshing the backlight LED display area through the first constant current driver chip based on the functional status event.
[0086] In practice, when the third preset time threshold is reached, the controller, based on the functional status event, drives the refresh of the 8-character screen LED display area through the third constant current driver chip. For example, the fan gear position can be displayed. At this time, if all three display parts of the screen have been refreshed, the display drive time is cleared, and the above steps are repeated after the next 20ms, 40ms, and 60ms arrive. Therefore, it is necessary to repeat the step of the controller, based on the functional status event, driving the refresh of the backlight LED display area through the first constant current driver chip to keep the screen refreshed.
[0087] like Figure 5 As shown, the user's key detection is performed at 1ms intervals. If a key trigger signal is detected, a functional state event corresponding to the key trigger signal is generated. When 10ms is accumulated, a state event response is performed. When 20ms is accumulated, constant current drive 1 (the first constant current driver chip) is started to process, corresponding to the backlight LED display area of the refresh screen. When 40ms is accumulated, constant current drive 2 (the second constant current driver chip) is started to process, corresponding to the RGB three-color LED display area of the refresh screen. When 60ms is accumulated, constant current drive 3 (the third constant current driver chip) is started to process, corresponding to the 8-character screen LED display area of the refresh screen. At this time, if the three display parts of the screen have been refreshed, the display drive time is cleared, and the next 20ms, 40ms, and 60ms are waited for to arrive and repeat the above steps. During this period, key detection is still performed every 1ms, and state event response is performed every 10ms.
[0088] The step of executing the controller to refresh the 8-character screen LED display area through the third constant current driver chip based on the functional status event is: the controller drives the third constant current driver chip to refresh the 8-character screen LED display area to display the number corresponding to the functional status event.
[0089] Furthermore, during the screen refresh process, high-priority events (i.e., interrupt events, such as the expiration of a timer's 1ms timer, serial communication between the display and the main control board, and external interrupts from sensors) that need to be processed immediately will be generated. At this point, the screen refresh process needs to be interrupted to process these high-priority events. The screen refresh process will be executed again after the high-priority events are processed. The specific process is as follows:
[0090] Step A: During the driving process of the screen to be driven, detecting whether a pre-stored high-priority event occurs.
[0091] In practice, during the process of driving the waiting screen, high-priority events that need to be handled immediately may occur. At this time, the screen refresh process must be interrupted to process these high-priority events. The screen refresh process can then be executed again after the high-priority events are handled. Therefore, during the process of driving the waiting screen, it is necessary to detect whether a pre-stored high-priority event has occurred.
[0092] In step B, if a pre-stored high-priority event is detected, the controller drives the screen to be driven to be refreshed through the constant current driver chip module according to the high-priority event. After the drive is completed, the controller executes the step of refreshing the backlight LED display area through the first constant current driver chip based on the functional status event.
[0093] In implementation, during the driving process of the screen to be driven, it is necessary to detect whether a pre-stored high-priority event occurs. If a pre-stored high-priority event is detected, the controller drives the screen to be driven to refresh through the constant current driver chip module according to the high-priority event. When a high-priority event is detected, the driving process of the screen to be driven is interrupted and the high-priority event is directly executed. After the high-priority event is driven, the controller executes the step of refreshing the backlight LED display area through the first constant current driver chip based on the functional status event. After the high-priority event is driven, the screen refresh is then executed.
[0094] Specifically, the execution step controller drives the refresh of the screen to be driven through the constant current driver chip module according to the high priority event as follows:
[0095] Step a: Divide the screen to be driven into multiple screen areas.
[0096] In practice, the processing time of high-priority events will cause the screen refresh process to be delayed. For example, if the processing time of high-priority events is long, it will affect the status event response during the screen refresh process, and the event response at this moment may be missed. Therefore, the total time for responding to high-priority events needs to be controlled within a relatively short duration. However, when the screen size is large, the display area to be refreshed is large, and a lot of data needs to be written to the constant current drive, which often makes it difficult to respond to high-priority events within a relatively short duration. In this case, the three display areas of the backlight LED display area, the RGB three-color LED display area, and the 8-shaped screen LED display area can be further subdivided into n small areas (part1, part2, part3...partn). In this way, the screen to be driven is divided into multiple screen areas, each of which is evenly distributed on the screen. If multiple screen areas are written simultaneously, the overall refresh will appear to be more even. Because there are many points to be written, if they are displayed in different areas, too much data will not be written at once.
[0097] Step b, when the first preset time threshold is accumulated, according to the preset screen area refresh order, for any screen area of the backlight LED display area, the controller drives the refresh of the screen area through the first constant current driver chip so that the grayscale value corresponding to the high priority event is written to the screen area.
[0098] In an implementation, when the first preset duration threshold is reached, the controller drives and refreshes any screen area of the backlight LED display area using the first constant current driver chip in accordance with a preset screen area refresh order, so that the grayscale value corresponding to the high-priority event is written to the screen area. The preset screen area refresh order may be to drive and refresh screen areas evenly distributed in the screen to be driven.
[0099] Step c, when the second preset time threshold is accumulated, according to the preset screen area refresh order, for any screen area of the RGB three-color LED display area, the controller drives the refresh of the screen area through the second constant current driver chip, so that the chromaticity value corresponding to the high priority event is written to the screen area.
[0100] In an implementation, when the second preset duration threshold is reached, the controller drives and refreshes any screen area of the RGB three-color LED display area using the second constant current driver chip in accordance with a preset screen area refresh order, so that the chromaticity value corresponding to the high-priority event is written to the screen area. The preset screen area refresh order may be to drive and refresh screen areas evenly distributed in the screen to be driven.
[0101] Step d, when the third preset time threshold is accumulated, according to the preset screen area refresh order, for any screen area of the 8-character screen LED display area, the controller drives the refresh of the screen area through the third constant current driver chip, so that the screen area writes the number corresponding to the high priority event.
[0102] In an implementation, when the third preset duration threshold is reached, the controller drives and refreshes any screen area of the 8-shaped LED display area through the third constant current driver chip according to the preset screen area refresh order, so that the number corresponding to the high-priority event is written to the screen area. The preset screen area refresh order can be to drive and refresh the screen areas evenly distributed in the screen to be driven.
[0103] Furthermore, any one of the backlight LED display area, the RGB three-color LED display area, or the 8-shaped screen LED display area can be divided into n small screen areas. Figure 6As shown, when the 20ms time is up, the part1 written by the constant current driver chip itself refreshes the part1 display corresponding to the display screen and points to the next part2 that needs to be written. After the other two constant current driver chips are executed (i.e. 60ms), the constant current driver chip itself writes the part2 part to refresh the part2 display corresponding to the display screen, and the cycle continues. When the partn part written by the constant current driver chip itself refreshes the partn display corresponding to the display screen, it points to the next part1 that needs to be written. When the next 60ms time is up, the part1 part driven by the constant current itself is written to refresh the part1 display corresponding to the display screen.
[0104] Furthermore, when all the grayscale values and chromaticity values of the screen to be driven are written, that is, when the final static image is displayed according to the screen UI requirements, the entire gradient effect processing is completed.
[0105] An embodiment of the present application provides a screen driving method, which is based on the large-screen drive scheduling implemented by a single-chip microcomputer, orderly drives the light-emitting diodes to form animation and color change effects, and realizes the low-latency effect of screen dynamic refresh and continuous transition effect of color change through display drive resource scheduling, thereby reducing the heavy dependence on chip processing speed and system resources, and the application cost and development difficulty of kitchen appliance color screens.
[0106] It should be understood that although Figures 3 to 6 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. In addition, Figures 3 to 6 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The order of execution of these steps or stages is not necessarily one by one, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.
[0107] It can be understood that the same / similar parts between the various embodiments of the above method in this specification can be referred to each other, and each embodiment focuses on the differences from other embodiments. For related parts, please refer to the description of other method embodiments.
[0108] The embodiment of the present application also provides a screen driving device, such as Figure 7 As shown, the device includes:
[0109] The first detection module 701 is configured to detect whether there is a key trigger signal from a user at a preset time interval, and if the key trigger signal is detected, generate a function status event corresponding to the key trigger signal;
[0110] A first driving module 702 is configured to, when a first preset time threshold is accumulated, drive the controller to refresh the backlight LED display area through the first constant current driving chip based on the function status event;
[0111] The second driving module 703 is configured to, when a second preset time threshold is reached, drive the controller to refresh the RGB three-color LED display area through the second constant current driving chip based on the function status event;
[0112] The third driving module 704 is used for, when the third preset time threshold is accumulated, the controller drives the refresh of the 8-shaped screen LED display area through the third constant current driver chip based on the functional status event, and repeats the step of the controller driving the refresh of the backlight LED display area through the first constant current driver chip based on the functional status event.
[0113] As an optional implementation manner, the backlight LED display area includes a first display area, a second display area, and a third display area, and the first driving module 702 is specifically configured to:
[0114] The first constant current driving chip controls the first display area to write a grayscale value, and increments the grayscale value written into the first display area until the grayscale value written into the first display area reaches a maximum grayscale value;
[0115] For the second display area or the third display area, when it is detected that the grayscale value written to the previous display area reaches a preset grayscale value threshold, the first constant current driver chip controls the display area to write the grayscale value until the grayscale value written to the display area reaches the maximum grayscale value.
[0116] As an optional implementation manner, the RGB three-color LED display area includes eight columns of display lights, and the second driving module 703 is specifically configured to:
[0117] The second constant current driver chip controls the first column of display lights to write chromaticity values, and increments the chromaticity values written into the first column of display lights until the chromaticity values written into the first column of display lights reach a maximum chromaticity value;
[0118] For any column of the last seven columns of display lights, when it is detected that the chromaticity value written into the previous column of display lights reaches a preset chromaticity value threshold, the second constant current driver chip controls the column of display lights to write the chromaticity value until the chromaticity value written into the column of display lights reaches the maximum chromaticity value.
[0119] As an optional implementation, the third driving module 704 is specifically configured to:
[0120] The controller drives the refresh of the 8-character screen LED display area to display the number corresponding to the functional status event through the third constant current driver chip.
[0121] As an optional implementation, the device further includes:
[0122] A second detection module is used to detect whether a pre-stored high-priority event occurs during the driving process of the screen to be driven;
[0123] The fourth driving module is used to, if a pre-stored high-priority event is detected, the controller drives the screen to be driven to refresh through the constant current driver chip module according to the high-priority event, and after the driving is completed, execute the step of the controller driving the backlight LED display area to refresh through the first constant current driver chip based on the functional status event.
[0124] As an optional implementation manner, the fourth driving module is specifically configured to:
[0125] Dividing the screen to be driven into a plurality of screen areas;
[0126] When the accumulated time reaches a first preset time threshold, the controller drives and refreshes any screen area of the backlight LED display area through the first constant current driver chip in accordance with a preset screen area refresh order, so that the grayscale value corresponding to the high priority event is written into the screen area;
[0127] When the second preset time threshold is reached, the controller drives and refreshes any screen area of the RGB three-color LED display area through the second constant current driver chip in accordance with the preset screen area refresh order, so that the chromaticity value corresponding to the high priority event is written into the screen area;
[0128] When the third preset time threshold is accumulated, according to the preset screen area refresh order, for any screen area of the 8-character screen LED display area, the controller drives the refresh of the screen area through the third constant current driver chip, so that the number corresponding to the high priority event is written into the screen area.
[0129] As an optional implementation, the device further includes:
[0130] The execution module is used for causing the controller to execute the functional status event and perform event response when the fourth preset time threshold is accumulated.
[0131] An embodiment of the present application provides a screen-driving device, which uses a single-chip microcomputer to implement large-screen drive scheduling, orderly drives light-emitting diodes to form animation and color change effects, and realizes low-latency screen dynamic refresh effects and continuous color change transition effects through display drive resource scheduling, thereby reducing the heavy dependence on chip processing speed and system resources, and the application cost and development difficulty of kitchen appliance color screens.
[0132] For the specific definition of the screen-driven device, please refer to the definition of the screen-driven method above and will not be repeated here. The various modules in the above-mentioned screen-driven device can be implemented in whole or in part by software, hardware, or a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in hardware form, or can be stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to the above modules.
[0133] It should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply the existence of any such actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or device comprising the element.
[0134] It should also be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for display, data for analysis, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0135] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that a person skilled in the art could make various modifications and improvements without departing from the spirit of the present application, all of which fall within the scope of protection of the present application. Therefore, the scope of protection of the present patent application shall be determined by the appended claims.
Claims
1. A screen driving method, characterized in that: The method is applied to a screen-driven system, which includes a controller, a constant current drive chip module, and a screen to be driven, wherein the controller is connected to the constant current drive chip module, the constant current drive chip module includes a first constant current drive chip, a second constant current drive chip, and a third constant current drive chip, and the screen to be driven is divided into a backlight LED display area, an RGB three-color LED display area, and an 8-character screen LED display area, the backlight LED display area, the RGB three-color LED display area, and the 8-character screen LED display area are intertwined, and the first constant current drive chip, the second constant current drive chip, and the third constant current drive chip are respectively connected one-to-one to the backlight LED display area, the RGB three-color LED display area, and the 8-character screen LED display area. The method includes: Detecting whether there is a key trigger signal from the user at a preset time interval, and if the key trigger signal is detected, generating a function status event corresponding to the key trigger signal; When the accumulated time reaches a first preset time threshold, the controller drives and refreshes the backlight LED display area through the first constant current driver chip based on the functional status event; When the accumulated time reaches a second preset time threshold, the controller drives and refreshes the RGB three-color LED display area through the second constant current driver chip based on the functional status event; When the third preset time threshold is accumulated, the controller refreshes the 8-shaped screen LED display area through the third constant current driver chip based on the functional status event, and repeats the step of refreshing the backlight LED display area through the first constant current driver chip based on the functional status event.
2. The method according to claim 1, characterized in that The backlight LED display area includes a first display area, a second display area, and a third display area. The step of driving and refreshing the backlight LED display area by the first constant current driver chip includes: The first constant current driving chip controls the first display area to write a grayscale value, and increments the grayscale value written into the first display area until the grayscale value written into the first display area reaches a maximum grayscale value; For the second display area or the third display area, when it is detected that the grayscale value written to the previous display area reaches a preset grayscale value threshold, the first constant current driver chip controls the display area to write the grayscale value until the grayscale value written to the display area reaches the maximum grayscale value.
3. The method according to claim 1, characterized in that The RGB three-color LED display area includes eight columns of display lights, and the method of driving and refreshing the RGB three-color LED display area by the second constant current driver chip includes: The second constant current driver chip controls the first column of display lights to write chromaticity values, and increments the chromaticity values written into the first column of display lights until the chromaticity values written into the first column of display lights reach a maximum chromaticity value; For any column of the last seven columns of display lights, when it is detected that the chromaticity value written into the previous column of display lights reaches a preset chromaticity value threshold, the second constant current driver chip controls the column of display lights to write the chromaticity value until the chromaticity value written into the column of display lights reaches the maximum chromaticity value.
4. The method according to claim 1, wherein The controller drives and refreshes the 8-character screen LED display area through the third constant current driver chip based on the functional status event, including: The controller drives the refresh of the 8-character screen LED display area to display the number corresponding to the functional status event through the third constant current driver chip.
5. The method according to claim 1, wherein The method further comprises: During the driving process of the screen to be driven, detecting whether a pre-stored high-priority event occurs; If a pre-stored high-priority event is detected, the controller drives the screen to be driven to refresh through the constant current driver chip module according to the high-priority event. After the drive is completed, the controller executes the step of driving the backlight LED display area to refresh through the first constant current driver chip based on the functional status event.
6. The method according to claim 5, characterized in that The controller drives and refreshes the screen to be driven through the constant current driver chip module according to the high priority event, including: Dividing the screen to be driven into a plurality of screen areas; When the accumulated time reaches a first preset time threshold, the controller drives and refreshes any screen area of the backlight LED display area through the first constant current driver chip in accordance with a preset screen area refresh order, so that the grayscale value corresponding to the high priority event is written into the screen area; When the second preset time threshold is reached, the controller drives and refreshes any screen area of the RGB three-color LED display area through the second constant current driver chip in accordance with the preset screen area refresh order, so that the chromaticity value corresponding to the high priority event is written into the screen area; When the third preset time threshold is accumulated, according to the preset screen area refresh order, for any screen area of the 8-character screen LED display area, the controller drives the refresh of the screen area through the third constant current driver chip, so that the number corresponding to the high priority event is written into the screen area.
7. The method according to claim 1, characterized in that After the function status event corresponding to the key trigger signal is generated, the method further includes: When the fourth preset time threshold is accumulated, the controller executes the functional status event and performs an event response.
8. A screen driving device, characterized in that: The device is applied to a screen-driven system, which includes a controller, a constant current drive chip module, and a screen to be driven. The controller is connected to the constant current drive chip module, and the constant current drive chip module includes a first constant current drive chip, a second constant current drive chip, and a third constant current drive chip. The screen to be driven is divided into a backlight LED display area, an RGB three-color LED display area, and an 8-character screen LED display area. The backlight LED display area, the RGB three-color LED display area, and the 8-character screen LED display area are intertwined. The first constant current drive chip, the second constant current drive chip, and the third constant current drive chip are respectively connected one-to-one to the backlight LED display area, the RGB three-color LED display area, and the 8-character screen LED display area. The device includes: A first detection module is configured to detect whether there is a key trigger signal from a user at a preset time interval, and if the key trigger signal is detected, generate a function status event corresponding to the key trigger signal; A first driving module, configured to, when a first preset time threshold is accumulated, drive the controller to refresh the backlight LED display area through the first constant current driving chip based on the functional status event; A second driving module is configured to, when a second preset time threshold is accumulated, drive the controller to refresh the RGB three-color LED display area through the second constant current driving chip based on the functional status event; The third driving module is used for, when the third preset time threshold is accumulated, the controller drives the refresh of the 8-shaped screen LED display area through the third constant current driver chip based on the functional status event, and repeats the step of the controller driving the refresh of the backlight LED display area through the first constant current driver chip based on the functional status event.
9. The device according to claim 8, characterized in that The backlight LED display area includes a first display area, a second display area, and a third display area. The first driving module is specifically configured to: The first constant current driving chip controls the first display area to write a grayscale value, and increments the grayscale value written into the first display area until the grayscale value written into the first display area reaches a maximum grayscale value; For the second display area or the third display area, when it is detected that the grayscale value written to the previous display area reaches a preset grayscale value threshold, the first constant current driver chip controls the display area to write the grayscale value until the grayscale value written to the display area reaches the maximum grayscale value.
10. The device according to claim 8, characterized in that The RGB three-color LED display area includes eight columns of display lights, and the second driving module is specifically used to: The second constant current driver chip controls the first column of display lights to write chromaticity values, and increments the chromaticity values written into the first column of display lights until the chromaticity values written into the first column of display lights reach a maximum chromaticity value; For any column of the last seven columns of display lights, when it is detected that the chromaticity value written into the previous column of display lights reaches a preset chromaticity value threshold, the second constant current driver chip controls the column of display lights to write the chromaticity value until the chromaticity value written into the column of display lights reaches the maximum chromaticity value.
Citation Information
Patent Citations
Automatic calibration instrument and calibration method for RGB chatoyancy LED lamp
CN101437340A
Backlight module, method for producing colored lights by backlight module and display
CN104315409A