Visual data interaction controller and electric power digital intelligent system

By designing a visual data interaction controller on a power digital intelligent terminal, providing real-time data and status display, it solves the interaction difficulties of terminal equipment in installation and debugging, and improves the operating efficiency and stability of the equipment.

CN118915508APending Publication Date: 2024-11-08BEIJING GUODIANTONG NETWORK TECH CO LTD +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410876968.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-02
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

Power digital smart terminals lack convenient human-computer interaction during on-site installation and debugging, making it difficult to display physical data and control processes that users care about, affecting the efficiency of local transmission tests and remote joint debugging.

Method used

A visual data interaction controller is designed, including a main control module, a liquid crystal display module, a key operation module and an indicator module, which interacts with the power digital intelligent terminal through serial communication, provides real-time data and status display, and supports parameter query and modification.

Benefits of technology

It realizes the visual interactive interface of the power digital intelligent terminal, simplifies production debugging, on-site installation and inspection processes, saves the MCU's GPIO resources, and improves the stability of the equipment and the reliability of the automation protection function.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118915508A_ABST
    Figure CN118915508A_ABST
Patent Text Reader

Abstract

The invention provides a visual data interaction controller and an electric power digital intelligent system. The visual data interaction controller comprises a first main control module, and a liquid crystal display module, a key operation module and an indicator light module which are respectively in communication coupling with the first main control module, the first main control module is used for controlling the liquid crystal display module and the indicator light module and detecting the key operation module; the key operation module is used for converting an operation signal into a first target signal and sending the first target signal to the first main control module; the liquid crystal display module is used for displaying the current equipment operation state, real-time data, current operation parameters and current time according to the first control signal; and the indicating lamp module is used for indicating states corresponding to different function modules. The visual data interaction controller provided by the invention is equipped with the first main control module, so that the independent operation of the visual data interaction controller is realized. The visual data interaction controller can be in communication coupling with the electric power digital intelligent terminal, and provides a visual interaction interface for the electric power digital intelligent terminal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of electric power equipment, and in particular to a visual data interaction controller and an electric power digital intelligent system. Background Art

[0002] As an industrial product, the power digital intelligent terminal requires convenient human-computer interaction. During on-site installation and debugging, the visual interactive interface can display the physical data and control process that users are concerned about, facilitate local transmission testing and remote joint debugging, and facilitate production debugging, on-site installation and on-site inspection of terminal equipment. Therefore, providing a visual interactive interface for the power digital intelligent terminal is an urgent problem to be solved. Summary of the invention

[0003] In view of this, the purpose of this application is to propose a visual data interactive controller and a power digital intelligent system to solve or partially solve the above problems.

[0004] Based on the above purpose, the present application provides a visual data interaction controller, including a first main control module, a liquid crystal display module, a key operation module and an indicator light module respectively communicatively coupled to the first main control module;

[0005] The first main control module is used to control the liquid crystal display module and the indicator light module, and detect the key operation module;

[0006] The key operation module is used to receive an operation signal, and convert the operation signal into a first target signal and send it to the first main control module;

[0007] The liquid crystal display module is used to receive the first control signal of the first main control module, and display the current device operation status, real-time data, current operation parameters and current time according to the first control signal;

[0008] The indicator light module is used to receive the second control signal of the first main control module, and flash at a preset frequency according to the second control signal to indicate the corresponding states of different functional modules.

[0009] Optionally, the visual data interaction controller further includes a communication interaction module, and the communication interaction module is communicatively coupled to the first main control module;

[0010] The communication interaction module is used to receive a second target signal and send the second target signal to the first main control module, so that the first main control module controls the LCD display module to display the current equipment operation status, real-time data, current operation parameters and current time according to the second target signal, and controls the indicator light module to indicate the corresponding status of different functional modules. The second target signal includes serial port data and commands.

[0011] Optionally, the first target signal includes a first type of target signal and a second type of target signal, the first type of target signal represents a high or low level, and the second type of target signal represents a rising edge or a falling edge of a change in the high or low level.

[0012] Optionally, the resolution of the liquid crystal display module is 160×160, the external dimensions are 83.8 mm×76.5 mm×9.6 mm, the window size is 60.0 mm×60.0 mm, the operating voltage is 3.3 V, and the operating temperature is -40°C to 70°C.

[0013] Optionally, the visual data interaction controller further includes an eight-way bus transceiver and an input enable module, and the input enable module is communicatively coupled to the liquid crystal display module via the eight-way bus.

[0014] Optionally, the communication interaction module includes a communication serial port and a debugging serial port, the communication serial port is used to transmit the serial port data and commands, and the debugging serial port is used for testing, debugging and maintenance.

[0015] Optionally, the communication interaction module further includes a level conversion chip, and the level conversion chip is used to convert the TTL level into a 232 serial port level.

[0016] The present application also provides an electric power digital intelligent system, comprising a visual data interaction controller and an electric power digital intelligent terminal as described in any of the above embodiments, wherein the electric power digital intelligent terminal is communicatively coupled to the visual data interaction controller through the first main control module.

[0017] Optionally, the electric power digital intelligent terminal includes a second main control module, and a collection and measurement module, a protection module, a storage module, an encryption module and a communication module that are respectively communicatively coupled to the second main control module; the second main control module is communicatively coupled to the first main control module through a USART serial communication interface.

[0018] Optionally, the first main control module is used to send a data reading frame to the power digital intelligent terminal;

[0019] The electric power digital intelligent terminal is used to receive the data reading frame and send a reply data frame to the first main control module;

[0020] The first main control module is further used to receive the reply data frame, and determine the integrity of the reply data frame and whether the CRC check is correct; in response to the CRC check being correct, the reply data frame is stored in a database.

[0021] As can be seen from the above, a visual data interaction controller and a power digital intelligent system provided by the present application include a first main control module, a liquid crystal display module, a key operation module and an indicator light module respectively communicatively coupled to the first main control module; the first main control module is used to control the liquid crystal display module and the indicator light module, and detect the key operation module; the key operation module is used to convert the operation signal into a first target signal and send it to the first main control module; the liquid crystal display module is used to display the current device operation status, real-time data, current operation parameters and current time according to the first control signal; the indicator light module is used to indicate the corresponding status of different functional modules. The visual data interaction controller provided by the present application is equipped with a first main control module, thereby realizing the independent operation of the visual data interaction controller. The visual data interaction controller can be communicatively coupled with the power digital intelligent terminal to provide a visual interaction interface for the power digital intelligent terminal. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the technical solutions in the present application or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0023] Figure 1 A schematic structural diagram of an exemplary power digital intelligent system 100 according to an embodiment of the present application is shown.

[0024] Figure 2 A schematic structural diagram of an exemplary power digital intelligent system 200 according to an embodiment of the present application is shown.

[0025] Figure 3 A schematic diagram of the structure of an exemplary visual data interaction controller according to an embodiment of the present application is shown.

[0026] Figure 4A A circuit structure schematic diagram of an exemplary LCD liquid crystal display module according to an embodiment of the present application is shown.

[0027] Figure 4B A circuit structure schematic diagram of an exemplary LCD liquid crystal display module according to an embodiment of the present application is shown.

[0028] Figure 5A circuit structure schematic diagram of an exemplary key operation module according to an embodiment of the present application is shown.

[0029] Figure 6 A schematic diagram of the circuit structure of an exemplary LED indicator light module according to an embodiment of the present application is shown.

[0030] Figure 7 A schematic diagram of the circuit structure of an exemplary communication interaction module according to an embodiment of the present application is shown.

[0031] Figure 8 A schematic diagram of the architecture of data interaction software according to an embodiment of the present application is shown.

[0032] Fig. 9 A flowchart of an exemplary main task according to an embodiment of the present application is shown.

[0033] Fig.10 A flowchart of an exemplary key scanning task according to an embodiment of the present application is shown.

[0034] Fig.11 A flow chart of an exemplary LCD liquid crystal display task according to an embodiment of the present application is shown.

[0035] Fig.12 A flowchart of an exemplary database maintenance task according to an embodiment of the present application is shown.

[0036] Fig.13 A schematic diagram of an exemplary data reading process according to an embodiment of the present application is shown.

[0037] Fig.14 A flowchart of an exemplary protocol communication task according to an embodiment of the present application is shown.

[0038] Fig.15 A schematic diagram of an exemplary data modification process according to an embodiment of the present application is shown. DETAILED DESCRIPTION

[0039] In order to make the objectives, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.

[0040] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present application should be the usual meanings understood by people with ordinary skills in the field to which the present application belongs. The "first", "second" and similar words used in the embodiments of the present application do not represent any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing in front of the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0041] It is understandable that before using the technical solutions of each embodiment of the present application, the type, scope of use, usage scenarios, etc. of the personal information involved will be informed to the user in an appropriate manner, and the user's authorization will be obtained.

[0042] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly remind the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can independently choose whether to provide personal information to the electronic device, application, server, storage medium or other software or hardware that performs the operation of the technical solution of the present application according to the prompt message.

[0043] As an optional but non-limiting implementation, in response to receiving the user's active request, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0044] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation method of this application. Other methods that meet relevant laws and regulations may also be applied to the implementation method of this application.

[0045] As described in the background technology, as an industrial product, the power digital intelligent terminal requires convenient human-computer interaction. During on-site installation and debugging, the visual interactive interface can display the physical data and control process that the user is concerned about, facilitate local transmission testing and remote joint debugging, and facilitate production debugging, on-site installation and on-site inspection of terminal equipment. Therefore, providing a visual interactive interface for the power digital intelligent terminal is an urgent problem to be solved.

[0046] In view of this, the present application provides a visual data interaction controller and an electric power digital intelligent system, including a first main control module, a liquid crystal display module, a key operation module and an indicator light module respectively communicatively coupled to the first main control module; the first main control module is used to control the liquid crystal display module and the indicator light module, and detect the key operation module; the key operation module is used to convert the operation signal into a first target signal and send it to the first main control module; the liquid crystal display module is used to display the current device operation status, real-time data, current operation parameters and current time according to the first control signal; the indicator light module is used to indicate the corresponding status of different functional modules. The visual data interaction controller provided in the present application is equipped with a first main control module, thereby realizing the independent operation of the visual data interaction controller. The visual data interaction controller can be communicatively coupled with the electric power digital intelligent terminal to provide a visual interaction interface for the electric power digital intelligent terminal.

[0047] In order to facilitate the debugging of the power digital intelligent terminal, the present application provides a visual data interaction controller and a power digital intelligent system. The controller adopts a modular design and can be operated independently. When in use, it is connected to the power digital intelligent terminal through a serial port data cable.

[0048] The visual data interactive controller is mainly responsible for the testable local parameter setting and query, as well as the display and query of various electrical parameters and status quantities. The operation and maintenance personnel can directly view the parameters of the power digital intelligent terminal through the LCD display interface and buttons, and modify the parameters by pressing buttons to realize the function commissioning and performance maintenance of the power digital intelligent terminal. It is an important channel for on-site personnel to perceive the status and modify the parameters of the power digital intelligent terminal equipment.

[0049] Figure 1 A schematic structural diagram of an exemplary power digital intelligent system 100 according to an embodiment of the present application is shown.

[0050] like Figure 1As shown, in some embodiments, in the electric power digital intelligent system 100, the human-computer interaction module and the electronic digital intelligent terminal share the same MCU (Microcontroller Unit). In addition to driving peripherals (including acquisition and measurement modules, protection modules, storage modules, encryption modules, and communication modules) through USART (Universal Synchronous / Asynchronous Receiver / Transmitter, serial communication interface) / SPI (Serial Peripheral Interface, serial communication protocol) / I2C (Inter-Integrated Circuit, serial communication protocol) / GPIO (General-Purpose Input / Output, general input / output pins) and the like to realize the core basic functions such as the operation status monitoring, protection function, wave recording function, fault handling function, and remote / local communication function of the acquisition distribution network and distribution equipment, the MCU of the electric power digital intelligent terminal also needs to drive the key module, LCD (Liquid Crystal Display, liquid crystal display) module, LED (Light Emitting Diode, light emitting diode) indicator module and other peripherals of the human-computer interaction module through GPIO and bus to realize the maintenance function of human-computer interaction.

[0051] However, in the electric power digital intelligent system 100, the human-computer interaction module occupies too much of the valuable GPIO pin resources of the MCU of the electric power digital intelligent terminal; due to the limited number of GPIO pins of the MCU, the number of buttons and indicator lights that can be designed for the human-computer interaction module is also limited; the human-computer interaction function occupies the MCU software resources of the electric power digital intelligent terminal, and the MCU has heavy tasks. In addition to completing the core basic tasks of collection and protection of distribution automation, it also needs to allocate certain resources to drive buttons, LED indicators, LCDs and other peripherals, and scan whether the buttons are triggered through the interrupt program mechanism.

[0052] Figure 2 A schematic structural diagram of an exemplary power digital intelligent system 200 according to an embodiment of the present application is shown.

[0053] To solve the above problems, Figure 2 As shown, the power digital intelligent system 200 may include a visual data interaction controller and a power digital intelligent terminal. In some embodiments, the visual data interaction controller is equipped with an independent MCU and can run independently. The MCU_1 of the power digital intelligent terminal interacts and communicates with the MCU_2 of the visual data interaction controller through a serial port to realize the maintenance function of human-computer interaction.

[0054] In the electric power digital intelligent system 200, the electric power digital intelligent terminal and the visual data interaction controller only need two GPIOs for communication, which can be multiplexed as USART functions, thereby saving the GPIO pins of MCU_1 of the electric power digital intelligent terminal; the visual data interaction controller adopts MCU_2, which has a sufficient number of GPIO pins, and the number of buttons and indicator lights of the visual data interaction controller can be sufficient to meet the installation requirements; the MCU_2 of the electric power digital intelligent terminal can focus on completing the core basic functions of data collection and protection of distribution automation, and improve the stability and reliability of core basic functions such as status monitoring function, automatic protection function, recording function, fault handling function, remote / local communication function, etc.

[0055] Figure 3 A schematic diagram of the structure of an exemplary visual data interaction controller according to an embodiment of the present application is shown.

[0056] The visual data interaction controller adopts modular design and comes with an independent MCU.

[0057] Combined with the functional requirements, it is composed of the core MCU main control module, LCD liquid crystal display module, key operation module, LED indicator module, serial communication module and other functional modules to realize real-time information display, status indication, parameter query and modification, function setting, serial port maintenance and other functions. The visual data interactive controller communicates with the power digital intelligent terminal through the serial communication module, receives the serial port data and commands sent by the terminal, and displays the current terminal equipment operation status, real-time data, electrical operation parameters, configuration parameters, etc. on the LCD liquid crystal display module and LED indicator module. At the same time, it can accept the input information of the key operation module to query and change the electrical operation parameters and fixed values. The MCU main control module can also be powered by the distribution automation terminal. The serial communication module can also be coupled with the debugging tool through the communication serial port and the debugging serial port.

[0058] Figure 4A A circuit structure schematic diagram of an exemplary LCD liquid crystal display module according to an embodiment of the present application is shown.

[0059] like Figure 4A As shown, the LCD liquid crystal display module is the signal output unit of the controller, which is responsible for receiving the control signal of the core MCU main control module. It can display the current equipment operation status, real-time data, current operation parameters, current time and other information in the display format of uppercase letters, lowercase letters, numbers, and Chinese characters, and realize the query and modification of operation parameters by cooperating with the key operation module.

[0060] The LCD liquid crystal display module may include pin VCC, pin DB0-7, pin BLK and BLA, pin DC, WR, RD, CS, RST, GND. Pin VCC is connected to a 3.3V power supply voltage. Pins DB0-7 receive signals db0-7 respectively. Pins BLK and BLA receive signals blk and bla respectively. Pin GND is grounded.

[0061] In some embodiments, the LCD liquid crystal display module model is LM160160ACW-3, the resolution is 160×160, the size is 83.8mm×76.5mm×9.6mm, the window size is 60.0mm×60.0mm, the operating voltage is 3.3V, and the operating temperature is -40℃~70℃.

[0062] In some embodiments, the LCD liquid crystal display module also uses an octal bus transceiver (SN74LVC245ADWR). The octal bus transceiver may include pins B1-5, VCC, OE, A1-5, and GND. The octal bus transceiver is connected to the pins DC, WR, RD, CS, and RST of the LCD liquid crystal display module through pins B1-5. Pin B5 is connected to a 100K resistor and to a 3.3V power supply voltage. Pin RST is connected to a 100nF capacitor and grounded. Pin VCC of the octal bus transceiver is connected to a 3.3V power supply voltage. The input enable pin OE can be used to disable the device, thereby effectively isolating the bus. Pin OE is connected to a 10K resistor and to the power supply voltage. Pin OE receives the signal OE. Pin A1-5 receives signals dc, wr, rd, cs, and rst. Pin GND is grounded.

[0063] Figure 4B A circuit structure schematic diagram of an exemplary LCD liquid crystal display module according to an embodiment of the present application is shown.

[0064] like Figure 4B As shown, the LCD liquid crystal display module may include a transistor 9013. The transistor 9013 is connected to a 100K resistor and to a light source. The transistor 9013 is grounded GND. The transistor 9013 is also connected to a 100K resistor and to a 3.3V power supply voltage. The transistor SI2301 is connected to the transistor 9013. The LCD liquid crystal display module also includes a 100nF capacitor and a 1μF capacitor connected in parallel, and the 100nF capacitor and the 1μF capacitor connected in parallel are connected to the transistor SI2301 and the ground terminal, respectively.

[0065] Figure 5 A circuit structure schematic diagram of an exemplary key operation module according to an embodiment of the present application is shown.

[0066] The driving circuit of a single key switch is as follows Figure 5As shown, the button is connected to a 100nF capacitor, one end of which is connected to the ground, and the other end is connected to a 510Ω resistor. The button operation module can receive external operation signals. The 510Ω resistor is connected to a 100K resistor and connected to a 3.3V power supply voltage. The 510Ω resistor is also connected to a 100nF capacitor and connected to the ground.

[0067] In order to save IO pins, the 12-grid digital operation keys adopt a 4*3 key encoding keyboard, which is composed of a 4*3 row and column structure. The keys are at the intersection of the row line and the column line to realize the driving circuit of the 12-grid digital operation keys.

[0068] The key operation module is the signal input unit of the controller, which is responsible for receiving external operation signals, realizing the input of corresponding signals through corresponding keys, and inputting the signals to the core MCU main control module.

[0069] The buttons can be divided into two types according to the output signal classification. One is to judge the high and low levels. The high level represents a state and the low level represents a state. The other is to detect the rising edge or falling edge of the change of the high and low levels. From the bottom-level processing of the program, the first type of button is processed by input query, and the second type of button is processed by input interrupt.

[0070] In order to cooperate with the LCD display module to meet the parameter reading and configuration functions, the buttons can be divided into basic operation buttons such as "up", "down", "left", "right", "add", "subtract", "confirm", and "cancel" according to their uses, as well as 12-grid operation buttons such as "1", "2", "3", "4", "5", "6", "7", "8", "9", ".", "0", and "delete", as well as basic function buttons such as "close", "open", "activate", "reset", "remote", and "local". The ergonomic principle is combined with the user operation interface design to make the operation of the entire equipment more reasonable and convenient. The button type description is shown in Table 1.

[0071] Table 1: Description of button types.

[0072]

[0073] Figure 6 A schematic diagram of the circuit structure of an exemplary LED indicator light module according to an embodiment of the present application is shown.

[0074] Considering the driving capability of the circuit, the "current injection" method is used to drive the LED lamp. Figure 6 As shown, the LED indicator light module may include an LED lamp, one end of the LED lamp is connected to a power supply voltage of 3.3V, and the other end of the LED lamp is connected to a 1.5K resistor to output a signal.

[0075] The LED indicator module is the signal output module of the controller. According to the program setting, it has different states such as on, off, and flashing at a certain frequency. Different states can intuitively indicate the different states of each functional module of the device. The LED indicator state description is shown in Table 2.

[0076] Table 2: LED indicator status description.

[0077]

[0078] Figure 7 A schematic diagram of the circuit structure of an exemplary communication interaction module according to an embodiment of the present application is shown.

[0079] like Figure 7 As shown, in order to facilitate debugging, a level conversion chip of MAX232E is designed. The debugging serial port rxd1_ttl and txd1_ttl are connected to pins DIN1 and ROUT1 through 100R resistors, and the communication serial port rxd2_ttl and txd2_ttl are connected to pins DIN2 and ROUT2 through 100R resistors to convert the TTL level into 232 serial port level. The debugging serial port rxd1 and txd1 are connected to pins DOUT1 and RIN1 through 100R resistors, and the communication serial port rxd2 and txd2 connected to the terminal are connected to pins DOUT2 and RIN2 through 100R resistors. Pin VCC is connected to the power supply voltage of 3.3V, and pin GND is connected to the ground terminal. Pin VCC and pin GND are connected through a capacitor.

[0080] The communication interaction module is the communication bridge between the controller and the automation terminal. It has two channels, one communication serial port and one debugging serial port. The communication serial port is used to communicate with the terminal and transmit data and commands. The debugging serial port is used for testing, debugging and maintenance.

[0081] The core MCU main control module is the core control unit of the controller, responsible for key detection and processing, LCD driving, display control and other functions. Considering the versatility of the chip, in some embodiments, the MCU main control module can select the low-power and high-performance STM32F103VCT6 chip, which has a working frequency of up to 72MHz, 100 closed pins, 20KB SRAM and 64KB Flash storage, up to 80 GPIO pins, 3 USARTs and other features, which can meet the needs of the data interaction controller.

[0082] Figure 8 A schematic diagram of the architecture of data interaction software according to an embodiment of the present application is shown.

[0083] like Figure 8As shown, the data interaction software is designed to include system layer, driver layer and application layer. The code of each layer exchanges data through interfaces, and the layers interact with each other through interface functions, which ensures the independence of each layer. It also makes the code neat and more modular, while ensuring data security and improving code operation efficiency.

[0084] In some embodiments, the system layer adopts the RT-Thread open source real-time operating system.

[0085] In some embodiments, the driver layer includes a peripheral device driver layer and an MCU driver layer. The peripheral device driver layer mainly implements functions such as system clock configuration (SysClk), system watchdog (SysWatchDog), GPIO input driver configuration, EXTI output driver configuration, and UART driver configuration. The MCU driver layer is used to implement functions such as LCD liquid crystal, buttons, LED indicators, and serial ports.

[0086] In some embodiments, the application layer may include an application task layer and an application support layer. The application task layer may implement tasks including key scanning tasks, liquid crystal display tasks, database maintenance tasks, and protocol communication tasks. The application support layer may implement system parameter management, data management, and Modbus communication protocol.

[0087] Fig. 9 A flowchart of an exemplary main task according to an embodiment of the present application is shown.

[0088] like Fig. 9 As shown, after power-on, hardware configuration and software initialization are first performed, and data reading is performed after initialization. The data interaction software is the host, and sends a data reading frame to the slave, that is, the power digital intelligent terminal. It is determined whether a data reply frame is received. If a data reply frame is received, the database is updated and the read data is stored in the database. The LCD lights up and refreshes the display parameters. The LCD displays the terminal equipment operation status, real-time data, and current operation parameters by reading the content in the database. The buttons can modify the parameters, and determine whether there is a button trigger. When there is a button trigger, the specified page is displayed according to the trigger button setting, and it is determined whether there is a parameter modification. If there is a parameter modification, a parameter modification frame is sent, and the data is written to the terminal immediately after the modification. If there is no parameter modification, the LCD lights up and refreshes the display parameters. If the button is not triggered for a long time, for example, it is determined whether there is no operation within 60 seconds. If the device is unattended for a long time, the LCD goes out and enters the dormant state, waiting for the next wake-up. It is determined whether there is a wake-up action. If there is a wake-up action, data is read. If there is no wake-up action, it waits for wake-up.

[0089] Fig.10 A flowchart of an exemplary key scanning task according to an embodiment of the present application is shown.

[0090] like Fig.10 As shown, buttons are important input channels for data interaction. By configuring GPIO functions and mapping, the pins connected to each button are initialized and defined. The buttons are monitored through polling. When a button trigger is detected, the program responds to the current action. After the button scan task starts, turn on the button scan and determine whether there is a button trigger. When there is a button trigger, respond to the corresponding action and turn on the button scan. When there is no button trigger, determine whether all buttons have been scanned. If all buttons have been scanned, end the button scan. If not all buttons have been scanned, return to the step of turning on the button scan.

[0091] Fig.11 A flow chart of an exemplary LCD liquid crystal display task according to an embodiment of the present application is shown.

[0092] like Fig.11 As shown, the LCD display can display the current terminal equipment operating status, real-time data, current operating parameters, current time and other information in the display format of uppercase letters, lowercase letters, numbers and Chinese characters according to the communication protocol; and realize the query and modification of operating parameters by cooperating with the key operation module.

[0093] The LCD display interface consists of the home page, the first-level directory, and the second-level directory. The first-level directory consists of real-time data, protection settings, system settings, and operating parameters. The second-level directory is a refinement of the first-level directory, which is convenient for data integration and management. After the LCD display service starts, the LCD home page is displayed, and then the confirmation or exit trigger is determined. After clicking the trigger "Confirm" button to enter the first-level directory, once again determine whether to confirm or exit the trigger. Click the trigger "Confirm" button to enter the second-level directory and once again determine whether to confirm or exit the trigger. After clicking the "Confirm" button, you can obtain the data required for display, display the current interface data, and view the data in the corresponding first-level directory. Determine whether there is no operation within 60 seconds. If there is no operation for a long time, the LCD screen will be dormant. Determine whether any button is triggered. If any button is triggered, return to the step of LCD home page display. Click the "Exit" button to return to the first-level directory from the second-level directory or return to the LCD home page from the first-level directory. Through the cooperation of LCD display and button operation, function activation and deactivation and parameter modification are carried out, thereby realizing local real-time maintenance of the terminal.

[0094] Fig.12 A flowchart of an exemplary database maintenance task according to an embodiment of the present application is shown.

[0095] like Fig.12As shown, after initializing the database, data acquisition is performed. After acquiring the data, the storage address is located and the data is written to the specified address. Since the data exchange software has a huge amount of data and there are different types of data, establishing a database is conducive to data management and maintenance. Two databases are established to store floating-point data and Boolean data respectively. Other processes can share database contents, reduce data redundancy, improve code operation efficiency, and ensure data independence. Centralized data control is achieved to ensure data security and reliability. When the modbus communication protocol reads data successfully, the data is quickly written to the database to achieve batch storage of data and ensure data security.

[0096] Fig.13 A schematic diagram of an exemplary data reading process according to an embodiment of the present application is shown.

[0097] like Fig.13 As shown, after the data is stored in the database, when the display screen displays these parameters, the location of the data storage will be located according to the address, the data will be read and displayed. Specifically, when reading the data, it is necessary to locate the storage address and obtain the specified address data.

[0098] Fig.14 A flowchart of an exemplary protocol communication task according to an embodiment of the present application is shown.

[0099] like Fig.14 As shown, Modbus communication protocol commands are interacted to realize information interaction with the terminal, so as to achieve the purpose of screen information refresh and local control command issuance.

[0100] The data interaction software is the host. After power-on, the parameters of the Modbus communication protocol are configured and initialized first. Determine whether the time interval has arrived. If the time interval has arrived, according to the system configuration, organize the sending of data read frames in sequence, and send data read frames to the slave, that is, the power digital intelligent terminal. Determine whether the reply frame is received. After receiving the reply data frame from the power digital intelligent terminal, determine whether the reply data frame has a complete frame length and whether the CRC check is correct. After the check, the data domain is parsed and stored in the database. Determine whether all data reading is completed. If all data reading is completed, the task is terminated. If no reply data frame data is received or the data check fails, the read instruction is sent repeatedly. When all data reading is completed, the processor authority is released and waits for the next cycle of data reading.

[0101] Fig.15 A schematic diagram of an exemplary data modification process according to an embodiment of the present application is shown.

[0102] like Fig.15As shown, after the task starts, determine whether there is any data modification. When the user performs function activation or deactivation or parameter modification, the new data is written to the database. According to the system configuration, the data modification frame is sent, the data interaction software is the host, the Modbus communication protocol sends the process organization parameter modification frame, and then sends the parameter modification frame to the slave, which is the power digital intelligent terminal. After the transmission is successful, the data interaction software will determine whether the response frame is received and whether the response frame is correct. If the response frame is received and the response frame is correct, it means that the data is sent successfully. If the response frame is received incorrectly, it means that the data transmission fails and is sent again. Determine whether all data modifications are completed. When all parameter modification frames are sent correctly, the program ends.

[0103] Modbus communication protocol address segment customization is as follows:

[0104] 0x0000 is the starting address of the digital input and remote signal register;

[0105] 0x1000 is the starting address of the telemetry register;

[0106] 0x2000 is the starting address of the parameter register;

[0107] 0x3000 is the starting address of the fixed value register;

[0108] 0x4000-0x4004 is the start and end address of time setting;

[0109] 0x5000-0x503f is the fixed information address segment;

[0110] 0xA000-0xA200 is the event information address segment.

[0111] The present application provides a visual data interactive controller and a power digital intelligent system, including the following technical features:

[0112] (1) Modular design: The visual data interaction controller adopts a modular design. Combined with the functional requirements, it consists of a core MCU main control module, an LCD display module, a key operation module, an LED indicator module, a serial port communication module and other functional modules.

[0113] (2) Independent MCU design: The visual data interaction controller comes with an independent MCU and can run independently. When in use, it is connected to the power digital intelligent terminal through a wiring socket.

[0114] (3) Layered data interaction software technology: The data interaction software in the core MCU main control module is designed to include a system layer, a driver layer, and an application layer. Each layer of code exchanges data through an interface, and each layer interacts with each other through interface functions, ensuring the independence of each layer. It also makes the code neater and more modular, while ensuring data security and improving code operation efficiency.

[0115] In order to facilitate the production commissioning, on-site installation and on-site inspection of power digital intelligent terminals, configuring a visual human-computer interaction module for the terminal equipment is a frequently used method.

[0116] In order to meet the needs of debugging and maintenance, installation and joint adjustment, and equipment inspection, and facilitate friendly "human-computer interaction" in experimental mode, this patent research designs a visual data interaction controller, following the modular concept and multi-threaded operation based on an embedded operating system. During the installation and inspection and maintenance of the equipment, the controller can realize the review and modification of the operating status of the power digital intelligent terminal, the operating status of the switch, the electrical operating parameters, and the configuration parameters, providing power system users with an important means of visual data interaction with power digital intelligent terminal equipment.

[0117] It should be noted that the method of the embodiment of the present application can be performed by a single device, such as a computer or server. The method of this embodiment can also be applied to a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present application, and the multiple devices will interact with each other to complete the described method.

[0118] It should be noted that the above describes some embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0119] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present application (including the claims) is limited to these examples. In line with the concept of the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.

[0120] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present application difficult to understand, the known power supply / ground connection with the integrated circuit (IC) chip and other components may or may not be shown in the provided drawings. In addition, the device can be shown in the form of a block diagram to avoid making the embodiments of the present application difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform to be implemented in the embodiments of the present application (that is, these details should be fully within the scope of understanding of those skilled in the art). In the case of elaborating specific details (e.g., circuits) to describe exemplary embodiments of the present application, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details or when these specific details are changed. Therefore, these descriptions should be considered to be illustrative rather than restrictive.

[0121] Although the present application has been described in conjunction with specific embodiments of the present application, many replacements, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.

[0122] The embodiments of the present application are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the scope of protection of the present application.

Claims

1. A visual data interaction controller, comprising a first main control module, a liquid crystal display module, a key operation module and an indicator light module respectively communicatively coupled to the first main control module; The first main control module is used to control the liquid crystal display module and the indicator light module, and detect the key operation module; The key operation module is used to receive an operation signal, and convert the operation signal into a first target signal and send it to the first main control module; The liquid crystal display module is used to receive the first control signal of the first main control module, and display the current device operation status, real-time data, current operation parameters and current time according to the first control signal; The indicator light module is used to receive the second control signal of the first main control module, and flash at a preset frequency according to the second control signal to indicate the corresponding states of different functional modules.

2. The visual data interaction controller according to claim 1, wherein: The visual data interaction controller further comprises a communication interaction module, wherein the communication interaction module is communicatively coupled to the first main control module; The communication interaction module is used to receive a second target signal and send the second target signal to the first main control module, so that the first main control module controls the LCD display module to display the current device operating status, real-time data, current operating parameters and current time according to the second target signal, and controls the indicator light module to indicate the corresponding status of different functional modules. The second target signal includes serial port data and commands.

3. The visual data interactive controller according to claim 1, wherein: The first target signal includes a first type of target signal and a second type of target signal, the first type of target signal represents a high or low level, and the second type of target signal represents a rising edge or a falling edge of a change in the high or low level.

4. The visual data interaction controller according to claim 1, wherein: The resolution of the liquid crystal display module is 160×160, the external dimensions are 83.8 mm×76.5 mm×9.6 mm, the window size is 60.0 mm×60.0 mm, the operating voltage is 3.3 V, and the operating temperature is -40°C to 70°C.

5. The visual data interactive controller according to claim 1, wherein: The visual data interaction controller further includes an eight-way bus transceiver and an input enable module, and the input enable module is communicatively coupled to the liquid crystal display module via the eight-way bus.

6. The visual data interactive controller according to claim 2, wherein: The communication interaction module includes a communication serial port and a debugging serial port. The communication serial port is used to transmit the serial port data and commands, and the debugging serial port is used for testing, debugging and maintenance.

7. The visual data interactive controller according to claim 2, wherein: The communication interaction module also includes a level conversion chip, and the level conversion chip is used to convert the TTL level into a 232 serial port level.

8. An electric power digital intelligent system, comprising a visual data interaction controller and an electric power digital intelligent terminal as described in any one of claims 1 to 7, wherein the electric power digital intelligent terminal is communicatively coupled to the visual data interaction controller through the first main control module.

9. The electric power digital intelligent system according to claim 8, wherein: The electric power digital intelligent terminal includes a second main control module, and a collection and measurement module, a protection module, a storage module, an encryption module and a communication module which are respectively communicatively coupled to the second main control module; the second main control module is communicatively coupled to the first main control module via a USART serial communication interface.

10. The electric power digital intelligent system according to claim 8, wherein: The first main control module is used to send a data reading frame to the power digital intelligent terminal; The electric power digital intelligent terminal is used to receive the data reading frame and send a reply data frame to the first main control module; The first main control module is further used to receive the reply data frame, and determine the integrity of the reply data frame and whether the CRC check is correct; in response to the CRC check being correct, the reply data frame is stored in a database.

Citation Information

Cited By

  • High-precision laser ranging system and method based on multi-frequency modulation

    CN119644346A