Lvgl-based intelligent circuit breaker embedded interface system
Patent Information
- Application Number
- CN202610373893.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-03-25
- Publication Date
- 2026-08-18
AI Technical Summary
[0004]本申请的目的是提供一种基于Lvgl的智能断路器嵌入式界面系统,旨在解决现有技术中通用Lvgl与智能断路器资源受限场景不适配的技术问题
本申请的技术方案通过采用五层分层解耦架构并搭配标准化接口,实现了硬件、驱动、GUI与业务逻辑的深度解耦,大幅提升系统的可移植性、可扩展性与可维护性,降低平台适配与后续升级成本,并通过对Lvgl进行定制化优化,实现资源精细化管控,从而有效解决GUI绘制与核心业务的资源冲突问题,保障核心业务的硬实时性,同时实现界面系统的轻量化、场景化运行,完美适配智能断路器故障优先、运维极简的应用需求。
Smart Images

Figure CN122593886A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of power distribution system technology, and in particular to an embedded interface system for intelligent circuit breakers based on Lvgl. Background Technology
[0002] As a core protection device in power distribution systems, the embedded interface of intelligent circuit breakers is a key carrier for operation and maintenance and equipment status monitoring. Lightweight vector graphics libraries (Lvgl) have become the preferred solution for embedded graphical user interfaces (GUIs) in this scenario due to their lightweight and customizable characteristics.
[0003] However, directly applying general-purpose LVGL to embedded platforms for smart circuit breakers exposes numerous compatibility issues: Smart circuit breakers are centered around low-power microcontroller units (MCUs), which have limited memory and computing resources. LVGL's native dynamic memory allocation and general redundant controls easily compete for resources with core business functions such as fault monitoring, electrical parameter acquisition, and protection control, leading to response delays, interface lag, and even system crashes. Furthermore, LVGL's general optimization strategies are geared towards consumer electronics design, failing to consider the specific characteristics of smart circuit breakers, such as fault priority and simplified operation and maintenance. Fixed refresh rates cannot balance the need for rapid response in fault scenarios with the low-power requirements of conventional scenarios, and general interaction logic is incompatible with industrial operation and maintenance habits. Simultaneously, traditional smart circuit breaker interfaces employ a tightly coupled "hardware-driver-GUI-business" architecture without standardized interfaces, resulting in poor system portability and maintainability. Adapting to different hardware platforms and business requirements is costly and time-consuming, making it difficult to meet the serialized and customized R&D and application requirements of smart circuit breakers. Summary of the Invention
[0004] The purpose of this application is to provide an embedded interface system for intelligent circuit breakers based on Lvgl, which aims to solve the technical problem that the general Lvgl is not compatible with the resource-constrained scenarios of intelligent circuit breakers in the prior art.
[0005] To achieve the above objectives, this application provides an embedded interface system for intelligent circuit breakers based on LVGL. The system is configured sequentially along the data flow as an application interface layer, a business adaptation layer, an LVGL customization and optimization layer, a device driver layer, and a hardware abstraction layer. Each layer achieves bidirectional data interaction and event linkage through standardized interfaces. The application interface layer is used to receive user operation commands and display the circuit breaker's operating data; The business adaptation layer is used to decouple and adapt the application interface layer from the core business of the smart circuit breaker. The decoupling and adaptation includes business data format conversion and standardized processing of interactive events. The Lvgl customization and optimization layer is used to customize and optimize the Lvgl graphics library for the resource-constrained characteristics and operational business scenarios of smart circuit breakers, so as to realize lightweight operation and scenario-based scheduling of GUI drawing tasks. The device driver layer is used to build an adapter driver between Lvgl and the underlying hardware based on the hardware abstraction layer, and to perform hardware driver control and status acquisition. The hardware abstraction layer is used to encapsulate the differences in underlying hardware, provide standardized hardware access interfaces, and achieve unified management and control of hardware resources.
[0006] In one embodiment, the Lvgl custom optimization layer includes a lightweight memory management module, a dedicated control library module, and a scene-based rendering timing optimization module. These modules work together to achieve custom optimization of the Lvgl graphics library. The lightweight memory management module is configured with a static memory pool to manage the memory usage of GUI drawing tasks and adapt to the resource-constrained characteristics of smart circuit breakers. The dedicated control library module is used to build a GUI control system that adapts to the business requirements of smart circuit breakers; The scenario-based rendering timing optimization module is used to dynamically adjust the execution priority of GUI rendering tasks based on the operational business scenarios of smart circuit breakers.
[0007] In one embodiment, dynamically adjusting the execution priority of the GUI drawing task includes setting the execution priority of the GUI drawing task to be lower than that of the core business of the smart circuit breaker, wherein the core business includes fault monitoring, electrical parameter acquisition and protection control.
[0008] In one embodiment, the hardware abstraction layer includes a resource virtualization management module, which is used to receive GUI drawing task priority information sent by the scenario-based drawing timing optimization module, and dynamically partition and configure the hardware resources managed by the hardware abstraction layer based on the priority relationship between the core business of the smart circuit breaker and the GUI drawing tasks.
[0009] In one embodiment, the lightweight memory management module is used to pre-allocate a static memory pool and divide it into dedicated memory partitions according to the lifecycle of the interface controls; the lightweight memory management module is also used to reuse control objects when page switching is triggered at the application interface layer, following the business data flow of page switching.
[0010] In one embodiment, the dedicated control library module performs redundant trimming of native LVGL controls and develops circuit breaker-specific controls to build a lightweight business-adaptive control system; the dedicated control library module is also configured with a thematic style unified management mechanism to display data flow along the application interface layer for standardizing interface style definitions.
[0011] In one embodiment, the device driver layer includes an LCD driver module, a touch driver module, and a status monitoring module; the LCD driver module optimizes the display timing to meet the display requirements of the application interface layer; the touch driver module adaptively adjusts the touch sampling rate to meet the operation and interaction requirements of the smart circuit breaker; and the status monitoring module feeds back the device status to the service adaptation layer for device fault identification and hardware reset.
[0012] In one embodiment, the business adaptation layer is configured with a data adaptation module, an event linkage module, and a business rule encapsulation module; the data adaptation module is used for business data format conversion, the event linkage module is used for real-time event linkage between the interface and the business, and the business rule encapsulation module is used for standardized encapsulation of business rules.
[0013] In one embodiment, the application interface layer is configured with a core interface module and a page lifecycle management module; the core interface module is configured with an interface switching unit, a fault pop-up unit and a parameter preview unit, each unit responds to the event commands of the business adaptation layer and updates the interface display synchronously, realizing linkage scheduling with the business adaptation layer.
[0014] In one embodiment, the service adaptation layer receives fault information from the core service module of the circuit breaker and encapsulates it into a standardized event, which is then distributed to the Lvgl customization and optimization layer; the Lvgl customization and optimization layer adjusts the GUI drawing parameters in response to the standardized event.
[0015] The above-mentioned technical solution of this application has at least the following beneficial technical effects: The technical solution of this application adopts a five-layer decoupled architecture with standardized interfaces to achieve deep decoupling of hardware, drivers, GUI and business logic, which greatly improves the portability, scalability and maintainability of the system, reduces the platform adaptation and subsequent upgrade costs, and achieves fine-grained resource management through customized optimization of LVGL, thereby effectively solving the resource conflict problem between GUI rendering and core business, ensuring the hard real-time performance of core business, and realizing the lightweight and scenario-based operation of the interface system, perfectly adapting to the application requirements of intelligent circuit breaker fault priority and simplified operation and maintenance. Attached Figure Description
[0016] Figure 1 This is a schematic diagram of the layered architecture of an embodiment of the Lvgl-based intelligent circuit breaker embedded interface system provided in this application; Figure 2 This is a schematic diagram of the business processing flow of a specific embodiment of the Lvgl-based intelligent circuit breaker embedded interface system provided in this application. Detailed Implementation
[0017] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to specific embodiments and accompanying drawings. It should be understood that these descriptions are merely exemplary and not intended to limit the scope of this application. Furthermore, descriptions of well-known structures and technologies are omitted in the following description to avoid unnecessarily obscuring the concepts of this application.
[0018] The embodiments described in this application are only some, not all, of the embodiments described herein. All other embodiments obtained by those skilled in the art based on the embodiments described herein without inventive effort are within the scope of protection of this application.
[0019] As a core protection device in power distribution systems, intelligent circuit breakers rely on embedded interfaces as a key carrier for operation and maintenance and equipment status monitoring. Lvgl, with its lightweight and customizable characteristics, has become the preferred embedded GUI solution for this scenario.
[0020] However, directly applying general-purpose LVGL to embedded platforms for smart circuit breakers exposes numerous compatibility issues: Smart circuit breakers rely on low-power MCUs, which have limited memory and computing resources. LVGL's native dynamic memory allocation and general redundant controls easily compete for resources with core business functions such as fault monitoring, electrical parameter acquisition, and protection control, leading to response delays, interface lag, and even system crashes. Furthermore, LVGL's general optimization strategies are geared towards consumer electronics design, failing to consider the specific characteristics of smart circuit breakers, such as fault priority and simplified maintenance. Fixed refresh rates cannot balance rapid response in fault scenarios with low power consumption requirements in normal scenarios, and general interaction logic is incompatible with industrial maintenance habits. Simultaneously, traditional smart circuit breaker interfaces employ a tightly coupled "hardware-driver-GUI-business" architecture without standardized interfaces, resulting in poor system portability and maintainability. Adapting to different hardware platforms and business requirements is costly and time-consuming, making it difficult to meet the serialized and customized R&D and application requirements of smart circuit breakers.
[0021] To address the aforementioned technical problems, this application provides an embedded interface system for intelligent circuit breakers based on Lvgl. In one embodiment, please refer to... Figure 1The system is configured sequentially along the data flow as an application interface layer, a business adaptation layer, an LVGL customization and optimization layer, a device driver layer, and a hardware abstraction layer. Each layer achieves bidirectional data interaction and event linkage through standardized interfaces. The application interface layer receives user operation commands and displays the circuit breaker's operating data. Specifically, it can receive touch and button operation commands from maintenance personnel and simultaneously display the circuit breaker's current, voltage, and other electrical parameters, as well as fault alarms and other operating data. The business adaptation layer decouples and adapts the application interface layer from the core business of the smart circuit breaker. This decoupling and adaptation includes business data format conversion and standardized processing of interactive events. Specifically, the business adaptation layer can convert the original data of the circuit breaker's core business into a format recognizable by the interface, while encapsulating various interactive behaviors into standardized events to achieve inter-layer linkage. The LVGL customization and optimization layer is used to customize and optimize the LVGL graphics library for the resource-constrained characteristics and operational scenarios of smart circuit breakers. This enables lightweight operation and scenario-based scheduling of GUI rendering tasks. Specifically, the LVGL customization and optimization layer can trim redundant LVGL functions, optimize memory scheduling, and dynamically adjust the refresh rate and task priority of GUI rendering according to the circuit breaker's operational scenario. The device driver layer is used to build adaptation drivers between LVGL and the underlying hardware based on the hardware abstraction layer, performing hardware driver control and status acquisition. Specifically, the device driver layer can build drivers for LCDs, touch screens, etc., based on the hardware abstraction layer interface, realizing LCD display control, touch signal acquisition, and real-time device status monitoring. The hardware abstraction layer encapsulates the differences in underlying hardware, provides standardized hardware access interfaces, and achieves unified management and control of hardware resources. Specifically, the hardware abstraction layer can encapsulate the hardware differences of different MCUs and LCD screens, provide standardized hardware access interfaces, and simultaneously achieve unified management and control of hardware resources such as memory and computing power.
[0022] The technical solution of this application adopts a five-layer decoupled architecture with standardized interfaces to achieve deep decoupling of hardware, drivers, GUI and business logic, which greatly improves the portability, scalability and maintainability of the system, reduces the platform adaptation and subsequent upgrade costs, and achieves fine-grained resource management through customized optimization of LVGL, thereby effectively solving the resource conflict problem between GUI rendering and core business, ensuring the hard real-time performance of core business, and realizing the lightweight and scenario-based operation of the interface system, perfectly adapting to the application requirements of intelligent circuit breaker fault priority and simplified operation and maintenance.
[0023] In one implementation, the Lvgl customization and optimization layer includes a lightweight memory management module, a dedicated control library module, and a scenario-based rendering timing optimization module. These modules work together to customize and optimize the Lvgl graphics library. The lightweight memory management module is configured with a static memory pool to manage the memory usage of GUI rendering tasks, adapting to the resource-constrained characteristics of smart circuit breakers. The dedicated control library module is used to build a GUI control system adapted to the business needs of smart circuit breakers. The scenario-based rendering timing optimization module dynamically adjusts the execution priority of GUI rendering tasks based on the operational business scenarios of smart circuit breakers. This implementation, by dividing the Lvgl customization and optimization layer into three collaborative modules to customize and optimize the Lvgl graphics library, can specifically adapt to the resource and scenario requirements of smart circuit breakers, achieving lightweight GUI rendering and scenario-based scheduling, which is beneficial for improving the adaptability and operational efficiency of Lvgl in embedded scenarios of smart circuit breakers. Specifically, the lightweight memory management module controls memory usage, the dedicated control library module builds a control system adapted to the business, and the scenario-based drawing timing optimization module dynamically adjusts the drawing priority. The three work together to complete the customized optimization of LVGL and adapt to the resource characteristics of the GD32F427G MCU.
[0024] In one embodiment, dynamically adjusting the execution priority of the GUI drawing task includes setting the execution priority of the GUI drawing task to be lower than that of the core services of the smart circuit breaker. The core services include fault monitoring, electrical parameter acquisition, and protection control. This embodiment, by setting the priority of the GUI drawing task lower than that of core services such as fault monitoring, avoids GUI drawing from preempting core service resources, ensuring the hard real-time response of core services, and improving the safety and reliability of the smart circuit breaker operation. Specifically, setting the priority of GUI drawing to a medium level, lower than the high priority of fault monitoring, electrical parameter acquisition, and protection control, ensures that core services can stably acquire data within a 5ms cycle without response delay.
[0025] In one embodiment, the hardware abstraction layer includes a resource virtualization management module. This module receives GUI drawing task priority information from the scenario-based drawing timing optimization module and dynamically partitions and configures the hardware resources managed by the hardware abstraction layer based on the priority relationship between the core business of the smart circuit breaker and the GUI drawing tasks. This embodiment, through the resource virtualization management module's dynamic partitioning and configuration of hardware resources according to drawing priorities, enables fine-grained control and reasonable scheduling of hardware resources, avoids resource scheduling imbalances, and helps ensure the orderly operation of core business and GUI drawing tasks. Specifically, after receiving the priority information from the scenario-based drawing timing optimization module, a dedicated computing power partition is allocated for the fault monitoring business, and an independent memory partition is allocated for GUI drawing, achieving resource isolation and dynamic allocation.
[0026] In one implementation, the lightweight memory management module pre-allocates a static memory pool based on the lifecycle of UI controls and divides it into dedicated memory partitions. The module also reuses control objects when page transitions are triggered at the application interface layer, following the flow of business data during page switching. This implementation, by pre-allocating partitioned static memory pools and reusing control objects during page transitions, reduces memory fragmentation and control reconstruction overhead, precisely manages memory usage, and is beneficial for adapting to the resource-constrained characteristics of smart circuit breakers. Specifically, an 8KB static memory pool is pre-allocated according to the lifecycle of UI controls and divided into dedicated partitions such as the homepage and fault interface. During page transitions, only the control state is reset, and memory usage remains ≤7.2KB with no fragmentation overflow.
[0027] In one implementation, a dedicated control library module redundantly trims native LVGL controls and develops circuit breaker-specific controls, constructing a lightweight, business-adaptive control system. This module also features a unified theme-based style management mechanism that displays data flow along the application interface layer, standardizing interface style definitions. This implementation, by trimming native LVGL controls and developing dedicated controls, coupled with a unified theme-based style management mechanism, enables the construction of a lightweight, adaptable control system and standardization of interface styles. This helps reduce resource consumption and ensures a consistent interface style and industrial readability. Specifically, redundant native LVGL 3D charts and other controls are trimmed, a dedicated three-color fault status indicator control is developed, and the interface font and borders are unified through a theme-based mechanism. This reduces control code size by more than 40% and decreases Flash usage.
[0028] In one embodiment, the device driver layer includes an LCD driver module, a touch driver module, and a status monitoring module. The LCD driver module optimizes display timing to meet the display requirements of the application interface layer; the touch driver module adaptively adjusts the touch sampling rate to meet the operation and interaction requirements of the smart circuit breaker; and the status monitoring module feeds back the device status to the service adaptation layer for device fault identification and hardware reset. This embodiment, by dividing the device driver layer into three functional modules and optimizing the driver logic accordingly, can ensure the stability and real-time performance of GUI display and interaction, provide timely feedback on device status, and achieve fault self-recovery, thereby improving the continuous operation capability of the interface system. Specifically, the LCD driver module optimizes the SPI timing to resolve display ghosting, the touch driver module adjusts the sampling rate to 10Hz normally and 30Hz during faults, and the status monitoring module triggers a hardware reset after identifying faults during inspection, adapting to the ST7567A LCD screen and industrial touch chip.
[0029] In one embodiment, the service adaptation layer configures a data adaptation module, an event linkage module, and a service rule encapsulation module; the data adaptation module is used for the conversion of service data formats, the event linkage module is used for the real-time event linkage between the interface and the service, and the service rule encapsulation module is used for the standardized encapsulation of service rules. By configuring three decoupled adaptation modules in the service adaptation layer, this embodiment can separate service data from interface logic, complete data format conversion and event standardized linkage, which is beneficial to improving the maintainability and scalability of the system. Specifically, the data adaptation module converts the electrical parameter data format, the event linkage module realizes the real-time response of the interface to fault alarms, and the service rule encapsulation module encapsulates the parameter configuration permission rules to decouple the service from the interface.
[0030] In one embodiment, the application interface layer configures a core interface module and a page lifecycle management module; the core interface module is configured with an interface switching unit, a fault pop-up window unit, and a parameter preview unit. Each unit responds to the event instructions of the service adaptation layer and synchronously updates the interface display to achieve linkage scheduling with the service adaptation layer. By configuring dual modules in the application interface layer and realizing the linkage scheduling between the units and the service adaptation layer, this embodiment can achieve minimalist and efficient interaction of the interface and standardized management of the page, timely respond to service events and update the interface display, which is beneficial to improving the operation efficiency of operation and maintenance personnel. Specifically, the core interface module realizes one-key interface switching and forced fault reminder through the switching, pop-up window, and preview units, and the page lifecycle management module controls the page flow, and cooperates with the reuse of controls to make the page switching delay ≤ 50ms.
[0031] In one embodiment, the service adaptation layer receives the fault information of the circuit breaker core service module and encapsulates it into a standardized event, and distributes it to the Lvgl customization and optimization layer; the Lvgl customization and optimization layer adjusts the GUI drawing parameters in response to the standardized event. By encapsulating the fault information into a standardized event and distributing it by the service adaptation layer, and the Lvgl customization and optimization layer responding to the event to adjust the GUI drawing parameters, this embodiment can achieve fast linkage response of the interface in the fault scenario, ensure the real-time visualization display of the fault information, which is beneficial to improving the fault handling efficiency of operation and maintenance personnel. Specifically, the service adaptation layer encapsulates the overload fault information into a standardized alarm event. After receiving it, the Lvgl customization and optimization layer adjusts the GUI refresh rate to 30Hz, triggers a fault pop-up window within 18ms, and makes the indicator light flash red to achieve fast fault display.
[0032] In a specific embodiment of the present application, please refer to Figure 2The system uses a GD32F427G MCU as the core computing unit, connected to an ST7567A 12864 industrial LCD screen and a four-wire resistive touchscreen. The hardware abstraction layer encapsulates SPI, I2C, and GPIO interfaces and provides standardized access functions, constructing a five-layer architecture. The LVGL custom optimization layer is divided into an 8KB static memory pool, with dedicated partitions for the homepage, faults, and parameters. Redundant native controls are removed, and a dedicated fault status light control is developed. A normal refresh rate of 5Hz and a fault scenario refresh rate of 30Hz are configured, with the GUI drawing priority set to medium, lower than core business logic. The device driver layer optimizes the SPI timing of the LCD module for flicker-free operation, the touch module uses adaptive sampling at 10Hz for normal operation and 30Hz for faults, and the status monitoring module performs periodic checks. During runtime, the system memory usage is ≤7.2KB, CPU load is ≤8%, a pop-up notification appears within 18ms after a fault is triggered, and the display resumes within 30ms after touch confirmation. Hardware replacement only requires replacing the underlying driver interface, resulting in extremely low adaptation and migration costs.
[0033] This application aims to protect an embedded interface system for intelligent circuit breakers based on LVGL. The technical solution of this application achieves deep decoupling of hardware, drivers, GUI and business logic by adopting a five-layer layered decoupling architecture and standardized interfaces, which greatly improves the portability, scalability and maintainability of the system, reduces the platform adaptation and subsequent upgrade costs, and achieves fine-grained resource management by customizing and optimizing LVGL, thereby effectively solving the resource conflict problem between GUI rendering and core business, ensuring the hard real-time performance of core business, and realizing the lightweight and scenario-based operation of the interface system, perfectly adapting to the application requirements of intelligent circuit breakers for fault priority and simplified operation and maintenance.
[0034] It should be understood that the specific embodiments described above are merely illustrative or explanatory of the principles of this application and do not constitute a limitation thereof. Therefore, any modifications, equivalent substitutions, improvements, etc., made without departing from the spirit and scope of this application should be included within the protection scope of this application. Furthermore, the appended claims are intended to cover all variations and modifications falling within the scope and boundaries of the appended claims, or equivalent forms of such scope and boundaries.
Claims
1. An embedded interface system for an intelligent circuit breaker based on Lvgl, characterized in that, The system is configured sequentially along the data flow as an application interface layer, a business adaptation layer, an LVGL customization and optimization layer, a device driver layer, and a hardware abstraction layer. Each layer achieves bidirectional data interaction and event linkage through standardized interfaces. The application interface layer is used to receive user operation commands and display the circuit breaker's operating data; The business adaptation layer is used to decouple and adapt the application interface layer from the core business of the smart circuit breaker. The decoupling and adaptation includes business data format conversion and standardized processing of interactive events. The Lvgl customization and optimization layer is used to customize and optimize the Lvgl graphics library for the resource-constrained characteristics and operational business scenarios of smart circuit breakers, so as to realize lightweight operation and scenario-based scheduling of GUI drawing tasks. The device driver layer is used to build an adapter driver between Lvgl and the underlying hardware based on the hardware abstraction layer, and to perform hardware driver control and status acquisition. The hardware abstraction layer is used to encapsulate the differences in underlying hardware, provide standardized hardware access interfaces, and achieve unified management and control of hardware resources.
2. The embedded interface system for intelligent circuit breakers based on Lvgl according to claim 1, characterized in that, The Lvgl custom optimization layer includes a lightweight memory management module, a dedicated control library module, and a scene-based rendering timing optimization module. These modules work together to achieve custom optimization of the Lvgl graphics library. The lightweight memory management module is configured with a static memory pool to manage the memory usage of GUI drawing tasks and adapt to the resource-constrained characteristics of smart circuit breakers. The dedicated control library module is used to build a GUI control system that adapts to the business requirements of smart circuit breakers; The scenario-based rendering timing optimization module is used to dynamically adjust the execution priority of GUI rendering tasks based on the operational business scenarios of smart circuit breakers.
3. The embedded interface system for intelligent circuit breakers based on Lvgl according to claim 2, characterized in that, Dynamically adjust the execution priority of GUI drawing tasks, including setting the execution priority of GUI drawing tasks to be lower than the core business of the smart circuit breaker, wherein the core business includes fault monitoring, electrical parameter acquisition and protection control.
4. The embedded interface system for intelligent circuit breakers based on Lvgl according to claim 3, characterized in that, The hardware abstraction layer includes a resource virtualization management module, which receives GUI drawing task priority information sent by the scenario-based drawing timing optimization module, and dynamically partitions and configures the hardware resources managed by the hardware abstraction layer based on the priority relationship between the core business of the smart circuit breaker and the GUI drawing tasks.
5. The embedded interface system for intelligent circuit breakers based on Lvgl according to claim 2, characterized in that, The lightweight memory management module is used to pre-allocate a static memory pool and divide it into dedicated memory partitions according to the lifecycle of the interface controls; the lightweight memory management module is also used to reuse control objects when page switching is triggered at the application interface layer, following the business data flow of page switching.
6. The embedded interface system for intelligent circuit breakers based on Lvgl according to claim 2, characterized in that, The dedicated control library module performs redundant trimming of native LVGL controls and develops circuit breaker-specific controls to build a lightweight business-adaptive control system. The dedicated control library module is also configured with a theme-based unified style management mechanism to display data flow along the application interface layer for standardizing interface style definitions.
7. The embedded interface system for an intelligent circuit breaker based on Lvgl according to any one of claims 1 to 6, characterized in that, The device driver layer includes an LCD driver module, a touch driver module, and a status monitoring module; the LCD driver module optimizes the display timing to meet the display requirements of the application interface layer; the touch driver module adaptively adjusts the touch sampling rate to meet the operation and interaction requirements of the smart circuit breaker. The status monitoring module feeds back the device status to the service adaptation layer for device fault identification and hardware reset.
8. The embedded interface system for intelligent circuit breakers based on Lvgl according to any one of claims 1 to 6, characterized in that, The business adaptation layer is configured with a data adaptation module, an event linkage module, and a business rule encapsulation module; the data adaptation module is used for business data format conversion, the event linkage module is used for real-time event linkage between the interface and the business, and the business rule encapsulation module is used for standardized encapsulation of business rules.
9. The embedded interface system for intelligent circuit breakers based on Lvgl according to any one of claims 1 to 6, characterized in that, The application interface layer is configured with a core interface module and a page lifecycle management module. The core interface module is configured with an interface switching unit, a fault pop-up unit, and a parameter preview unit. Each unit responds to the event commands of the business adaptation layer and updates the interface display synchronously, realizing linkage scheduling with the business adaptation layer.
10. The embedded interface system for an intelligent circuit breaker based on Lvgl according to any one of claims 1 to 6, characterized in that, The service adaptation layer receives fault information from the core service module of the circuit breaker and encapsulates it into standardized events, which are then distributed to the Lvgl custom optimization layer. The Lvgl custom optimization layer adjusts the GUI drawing parameters in response to the standardized event.