Screen driving method and device
By using a constant current driver chip module to drive the backlight LED, RGB three-color LED and 8-word screen LED display area in the large-size color screen driving system, the problems of high hardware cost and difficult development in the existing technology are solved, and efficient and low-cost screen driving effect is achieved.
Patent Information
- Application Number
- CN202411664009.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-20
- Publication Date
- 2025-03-14
- Estimated Expiration
- 2044-11-20
AI Technical Summary
The existing large-size color screen driver technology has great challenges in hardware cost and development difficulty, especially in handling a large number of pixels and improving system stability.
A method and device for screen driving is adopted. The system includes a controller, a constant current driving chip module and a screen to be driven. The backlight LED, RGB three-color LED and an 8-word screen LED display area are respectively driven through the constant current driving chip module, and the key trigger signal is detected using a preset time interval, and the display area is gradually refreshed based on the functional status event.
It realizes efficient driving of large screens on a lower hardware cost platform, reduces dependence on chip processing speed and system resources, improves the low-latency effect of screen animation refresh and the continuous transition effect of color changes, and reduces the application cost and development difficulty of kitchen appliance color screens.
Smart Images

Figure CN119626167A_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] At present, 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. This type of screen has high hardware requirements, so the cost remains high. At the same time, the larger the screen, the more pixels need to be processed, and the higher the requirements for chip processing speed and system stability, so the development difficulty is greater. Therefore, there is an urgent need for a large screen driver method that can be scheduled on a lower hardware platform. 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 is applied to a screen driving system, the screen driving system comprises a controller, a constant current driving chip module and a screen to be driven, the controller is connected to the constant current driving chip module, the constant current driving chip module comprises a first constant current driving chip, a second constant current driving chip and a third constant current driving 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 interlaced, the first constant current driving chip, the second constant current driving chip and the third constant current driving 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 comprises:
[0005] At a preset time interval, detecting whether there is a key trigger signal from a user, and if the key trigger signal is detected, generating a function status event corresponding to the key trigger signal;
[0006] When the first preset time threshold is accumulated, 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 second preset time threshold is accumulated, 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 implementation manner, 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 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;
[0011] 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 driving chip controls the display area to write the grayscale value until the grayscale value written into the display area reaches the maximum grayscale value.
[0012] As an optional implementation manner, the RGB three-color LED display area includes eight columns of display lights, and the step of driving and refreshing the RGB three-color LED display area through the second constant current driver chip includes:
[0013] The second constant current driving 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 in 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 in the column of display lights reaches the maximum chromaticity value.
[0015] As an optional implementation, 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 and refreshes the 8-character screen LED display area to display the number corresponding to the functional status event through the third constant current driving 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 and refreshes the screen to be driven 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 and refreshing the backlight LED display area 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 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 screen area to be refreshed through the first constant current driver chip, so that the screen area is written with the grayscale value corresponding to the high priority event;
[0023] 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 screen area to refresh through the second constant current driver chip, so that the screen area is written with the chromaticity value corresponding to the high priority event;
[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 screen area writes the number corresponding to the high priority event.
[0025] As an optional implementation manner, after the function state 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, the device is applied to a screen-driven system, the screen-driven system 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, 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 interlaced, 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:
[0028] A first detection module is used 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 state 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 function status event;
[0030] A second driving module, 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 function 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 driving chip based on the functional status event, and repeats the step of driving the refresh of the backlight LED display area through the first constant current driving 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 used for:
[0033] 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;
[0034] 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 driving chip controls the display area to write the grayscale value until the grayscale value written into 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 for:
[0036] The second constant current driving 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 in 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 in the column of display lights reaches the maximum chromaticity value.
[0038] As an optional implementation manner, the third driving module is specifically used to:
[0039] The controller drives and refreshes the 8-character screen LED display area to display the number corresponding to the functional status event through the third constant current driving 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 for, if a pre-stored high priority event is detected, the controller drives the screen to be driven to refresh through the constant current driving chip module according to the high priority event, and after the driving is completed, the controller executes the step of refreshing the backlight LED display area through the first constant current driving chip based on the functional status event.
[0043] As an optional implementation manner, the fourth driving module is specifically used to:
[0044] Dividing the screen to be driven into a plurality of screen areas;
[0045] 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 screen area to be refreshed through the first constant current driver chip, so that the screen area is written with the grayscale value corresponding to the high priority event;
[0046] 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 screen area to refresh through the second constant current driver chip, so that the screen area is written with the chromaticity value corresponding to the high priority event;
[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 screen area writes the number corresponding to the high priority event.
[0048] As an optional implementation, the device further includes:
[0049] An execution module is used for causing the controller to execute the function status event and perform an 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: in the process of driving the screen to be driven, whether there is a user's key trigger signal is detected at a preset time interval, and 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 the low-latency effect of screen dynamic refresh and continuous transition effect of color change can be achieved 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 screens.
[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 drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. 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 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 An exemplary 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 values 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 example of a screen driving method provided in an embodiment of the present application;
[0060] Figure 7 A schematic diagram of the structure of a screen driving device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0061] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present 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-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 interlaced, as shown in FIG. Figure 2 The first constant current driving chip, the second constant current driving chip and the third constant current driving chip are 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.
[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 driving 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 combination with a specific implementation method. Figure 3 A flowchart of a screen driving method provided in an embodiment of the present application is shown in FIG. Figure 3 As shown, the specific steps are as follows:
[0067] Step 301 , during the driving process of the screen to be driven, detecting whether there is a key trigger signal from the user at a preset time interval, and if a key trigger signal is detected, generating a function status event corresponding to the key trigger signal.
[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 is high, which is difficult for most consumers to reach. 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 cost platform, the light-emitting diodes are orderly driven to form animation and color change effects, and the low-latency effect of screen refresh is achieved through drive resource scheduling. Based on the LED screen designed with low cost, the low-latency effect of screen dynamic refresh and the continuous transition effect of color change are achieved through display drive resource scheduling. The screen refresh is achieved by using the drive resource scheduling method, which reduces 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 a corresponding function interface switch. Therefore, it is necessary to frequently detect whether the user presses a key and whether the screen needs to be switched. Therefore, it is possible to detect whether there is a key trigger signal from the user at a preset time interval. If a key trigger signal is detected, a function state event corresponding to the key trigger signal is generated. The preset time interval may be 1ms.
[0069] Further, when the fourth preset time threshold is accumulated, the controller executes the function status event and performs an event response.
[0070] In implementation, after a function status event is generated, timing starts, and when the fourth preset time threshold is accumulated, the controller executes the function status event and performs an event response. If an event is triggered, a buzzer needs to be sounded, and a short time response is required, so the fourth preset time threshold can be 10ms. For example, if the user button trigger signal is a signal for switching the fan gear or a signal for switching the lighting, the event response is switching the fan gear and switching the lighting.
[0071] Step 302: When the first preset time threshold is reached, the controller drives the refresh backlight LED display area through the first constant current driver chip based on the function status event.
[0072] In implementation, after the user presses the button, the function status event needs to be executed immediately. If the event is triggered, the buzzer needs to sound and a short response is required, so the function status event needs to be executed immediately. The display screen can be slightly extended to update, 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-character 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] 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 gradually 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 gradual brightening or fading. Therefore, the first constant current driver chip controls the first display area to write a grayscale value, and increments the grayscale value written into the first display area, the grayscale value from zero to the maximum grayscale value, until the grayscale value written into 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 driving 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 the 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 begins to be written, and the grayscale value that back0 continues to write 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 begins to be written, and 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 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 second preset time threshold is reached, the controller drives and refreshes 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 duration 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 proportioned 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 duration 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, and the specific steps of executing step 303 are as follows:
[0081] Step three, the second constant current driving 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 color display of the screen can also be gradual. Therefore, the first column of display lights can be controlled by the second constant current driver chip to write the chromaticity value, and the chromaticity value written to the first column of display lights can be incremented until the chromaticity value written to the first column of display lights reaches 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 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.
[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 in color 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, 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, ... the eighth column of display lights is represented by R7G7B7. When the gray 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. Similarly, 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 implementation, when the third preset time threshold is accumulated, the controller drives the refresh of the 8-character screen LED display area through the third constant current driver chip based on the functional status event. 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 next 20ms, 40ms, and 60ms are waited for to arrive and repeat the above steps. Therefore, it is necessary to repeat 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 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 (first constant current drive chip) processing is started, corresponding to the backlight LED display area of the refreshed screen. When 40ms is accumulated, constant current drive 2 (second constant current drive chip) processing is started, corresponding to the RGB three-color LED display area of the refreshed screen. When 60ms is accumulated, constant current drive 3 (third constant current drive chip) processing is started, corresponding to the 8-character screen LED display area of the refreshed screen. At this time, if all 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 function 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 function status event.
[0089] Furthermore, during the screen refresh process, high-priority events (i.e., interrupt events, such as the expiration of the timer 1ms, serial communication between the display and the main control board, external interrupts of sensors, etc.) that need to be processed immediately will be generated. At this time, the screen refresh process needs to be interrupted to execute these high-priority events. After the high-priority events are processed, the screen refresh process will be executed again. 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 screen to be driven, high-priority events that need to be processed immediately will be generated. At this time, the screen refresh process needs to be interrupted to execute these high-priority events. After the high-priority events are processed, the screen refresh process will be executed again. Therefore, during the process of driving the screen to be driven, it is necessary to detect whether there is a pre-stored high-priority event.
[0092] Step B, 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 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 occurs, 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 is executed based on the functional status event, and the first constant current driver chip drives the refresh step of the backlight LED display area. 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: dividing the screen to be driven into multiple screen areas.
[0096] In implementation, the processing time of high-priority events will cause the screen refresh process to be delayed. For example, when the processing time of high-priority events is long, it will affect the state 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 shorter duration. However, when the screen size is large, the display area to be refreshed is large, and the data to be written to the constant current drive is large, and it is often difficult to respond to high-priority events within a shorter duration. At this time, n small areas (part1, part2, part3...partn) can be further subdivided under the three display areas of the backlight LED display area, the RGB three-color LED display area, and the 8-character screen LED display area. 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 at the same time later, the overall refresh looks more uniform. Because there are many points to be written, and 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 reached, according to the preset screen area refresh order, for any screen area of the backlight LED display area, the controller drives the first constant current driver chip to refresh the screen area so that the grayscale value corresponding to the high priority event is written into the screen area.
[0098] In implementation, 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 and refreshes 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. The preset screen area refresh order can be driven and refreshed according to the screen areas evenly distributed in the screen to be driven.
[0099] Step c, when the second preset time threshold is reached, according to the preset screen area refresh order, for any screen area of the RGB three-color LED display area, the controller drives the second constant current driver chip to refresh the screen area so that the chromaticity value corresponding to the high priority event is written into the screen area.
[0100] In implementation, 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 and refreshes the screen area through the second constant current driver chip, so that the screen area writes the chromaticity value corresponding to the high priority event. Among them, the preset screen area refresh order can be driven and refreshed according to the 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 implementation, 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 and refreshes the screen area through the third constant current driver chip, so that the screen area writes the number corresponding to the high priority event. Among them, the preset screen area refresh order can be driven and refreshed according to 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 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 writes part2 to refresh the part2 display corresponding to the display screen, and the cycle continues. When the partn written by the constant current driver chip 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 under the constant current drive 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, after the final static picture is displayed according to the screen UI requirements, the entire gradient effect processing is completed.
[0105] The 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. Moreover, 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 execution order of these steps or stages is not necessarily sequential, 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 refer to each other, and each embodiment focuses on the differences from other embodiments. For related points, please refer to the description of other method embodiments.
[0108] The present application also provides a screen driving device, such as Figure 7 As shown, the device comprises:
[0109] The first detection module 701 is used to detect whether there is a key trigger signal from the user at a preset time interval, and if the key trigger signal is detected, generate a function state event corresponding to the key trigger signal;
[0110] The 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 used for, when the second preset time threshold is accumulated, the controller drives and refreshes 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 driving chip based on the functional status event, and repeats the step of driving the refresh of the backlight LED display area through the first constant current driving 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 used for:
[0114] 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;
[0115] 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 driving chip controls the display area to write the grayscale value until the grayscale value written into the display area reaches the maximum grayscale value.
[0116] As an optional implementation, the RGB three-color LED display area includes eight columns of display lights, and the second driving module 703 is specifically used for:
[0117] The second constant current driving 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 in 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 in the column of display lights reaches the maximum chromaticity value.
[0119] As an optional implementation manner, the third driving module 704 is specifically used to:
[0120] The controller drives and refreshes the 8-character screen LED display area to display the number corresponding to the functional status event through the third constant current driving 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 for, if a pre-stored high priority event is detected, the controller drives the screen to be driven to refresh through the constant current driving chip module according to the high priority event, and after the driving is completed, the controller executes the step of refreshing the backlight LED display area through the first constant current driving chip based on the functional status event.
[0124] As an optional implementation manner, the fourth driving module is specifically used to:
[0125] Dividing the screen to be driven into a plurality of screen areas;
[0126] 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 screen area to be refreshed through the first constant current driver chip, so that the screen area is written with the grayscale value corresponding to the high priority event;
[0127] 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 screen area to refresh through the second constant current driver chip, so that the screen area is written with the chromaticity value corresponding to the high priority event;
[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 screen area writes the number corresponding to the high priority event.
[0129] As an optional implementation, the device further includes:
[0130] An execution module is used for causing the controller to execute the function status event and perform an event response when the fourth preset time threshold is accumulated.
[0131] The embodiment of the present application provides a screen-driven device, which is based on the large-screen drive scheduling implemented by a single-chip microcomputer, 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 driving device, please refer to the definition of the screen driving method above, which will not be repeated here. Each module in the above screen driving device can be implemented in whole or in part by software, hardware and a combination thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0133] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[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-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A screen driving method, characterized in that: The method is applied to a screen-driven system, the screen-driven system comprising 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, the constant current drive chip module comprises 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 interlaced, 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 comprising: At a preset time interval, detecting whether there is a key trigger signal from a user, and if the key trigger signal is detected, generating a function status event corresponding to the key trigger signal; When the first preset time threshold is accumulated, 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 second preset time threshold is accumulated, 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, and 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 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; 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 driving chip controls the display area to write the grayscale value until the grayscale value written into 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 step of driving and refreshing the RGB three-color LED display area through the second constant current driving chip includes: The second constant current driving 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 in 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 in the column of display lights reaches the maximum chromaticity value.
4. The method according to claim 1, characterized in that 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 and refreshes the 8-character screen LED display area to display the number corresponding to the functional status event through the third constant current driving chip.
5. The method according to claim 1, characterized in that 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 and refreshes the screen to be driven 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 and refreshing the backlight LED display area 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 driving chip module according to the high priority event, including: Dividing the screen to be driven into a plurality of screen areas; 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 screen area to be refreshed through the first constant current driver chip, so that the screen area is written with the grayscale value corresponding to the high priority event; 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 screen area to refresh through the second constant current driver chip, so that the screen area is written with the chromaticity value corresponding to the high priority event; 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.
7. The method according to claim 1, characterized in that After the function state 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, the screen-driven system comprises 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, the constant current drive chip module comprises 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 interlaced, 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 comprises: A first detection module is used 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 state 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 function status event; A second driving module, 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 function 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 driving chip based on the functional status event, and repeats the step of driving the refresh of the backlight LED display area through the first constant current driving 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, and the first driving module is specifically used for: 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; 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 driving chip controls the display area to write the grayscale value until the grayscale value written into 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 for: The second constant current driving 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 in 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 in 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
Partition driving method and system for nixie tube
CN114898704A
Automatic calibrator for RGB color changing LED lights
CN201319682Y
Screen display method and related apparatus
WO2024212939A1