Intelligent access method and device for visible light communication board in microgrid

By introducing intelligent access methods of visible light communication boards in the microgrid, the problems of weak anti-interference and irregular access processes of traditional communication methods are solved, and efficient and stable communication and energy utilization are achieved.

CN120342485BActive Publication Date: 2025-08-29SONGSHAN LAB
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510819490.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-06-19
Publication Date
2025-08-29
Estimated Expiration
2045-06-19

AI Technical Summary

Technical Problem

In the microgrid system, sensors and switch equipment adopt traditional wired or wireless communication methods, there are problems such as weak anti-interference ability, irregular equipment access process, and poor compatibility, which limits system integration and operation and maintenance efficiency.

Method used

The intelligent access method of visible light communication board is adopted, and by defining clear access conditions, communication link detection mechanism and ID identification process, the visible light communication board and its submodules are stable and reliable to connect to the CPD controller, achieving efficient and secure communication.

Benefits of technology

It improves the communication efficiency and operation stability of microgrid systems and improves the utilization rate of non-steady state renewable energy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120342485B_ABST
    Figure CN120342485B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of microgrid technology, and more particularly to a method and device for intelligent access of a visible light communication board in a microgrid. When the visible light communication board meets preset conditions, it sends a device access request to a CPD controller. The CPD controller determines a unique identity identifier (UUID) and a PLN address based on the device access request and verifies the legitimacy of the UUID. The visible light communication board sends a submodule update request to the CPD controller, the submodule update request including the number of submodules and a submodule ID list. The CPD controller sends a submodule function request to the visible light communication board, the submodule function request including a function request for the visible light communication board itself and function requests for each submodule. The CPD controller prepares to send a request to enter an operating mode. After the visible light communication board and its submodules enter operating mode, the access process is completed. The present invention ensures that the visible light communication board and its submodules can stably and reliably access the CPD controller.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of microgrid technology, and in particular to a method and device for intelligent access of a visible light communication board in a microgrid, which is suitable for communication access between an intelligent power dispatching controller (hereinafter referred to as CPD controller) and a visible light communication board in a microgrid environment. Background Art

[0002] With the transformation of energy structures and the large-scale integration of renewable energy, microgrid systems are becoming a crucial component of smart distribution networks due to their flexibility, controllability, and high energy efficiency. A typical microgrid system typically includes distributed power sources (such as photovoltaic and wind power), energy storage devices, load equipment, and corresponding control and monitoring units. To precisely control and schedule energy flows within the microgrid, a central controller (such as a CPD controller) is often required. This controller receives scheduling policies from a cloud-based management platform and collects data from source and load sensors to analyze load output and energy usage in real time. This allows the controller to adjust the switching status of switchgear and optimize energy distribution. Currently, various sensors and switchgear within microgrids are typically connected to the control system using traditional wired communication methods (such as RS485 and CAN bus) or wireless communication methods (such as ZigBee and LoRa). However, these traditional communication methods have the following shortcomings: Weak anti-interference capabilities: Wireless communications are susceptible to electromagnetic interference, especially in areas densely populated with high-voltage power equipment, making communication stability difficult to ensure; Irregular equipment access processes and poor compatibility: Different manufacturers use inconsistent equipment protocols, and the access process lacks a standardized mechanism, resulting in low system integration and difficult operations and maintenance. In recent years, some research has attempted to introduce visible light communication (VLC) technology into the field of power system communications. VLC uses LED lighting devices as a communication carrier and has the advantages of high bandwidth, no electromagnetic interference, energy saving and environmental protection, making it suitable for high-speed and secure communication between power equipment. However, existing technologies lack a complete set of VLC-based device access methods. In particular, the access process between the CPD controller and the VLC board lacks an effective control mechanism and standard procedures, limiting its practical application in microgrid systems. Summary of the Invention

[0003] The present invention aims to solve the problems in existing microgrid systems, where sensors and switch devices are mostly accessed using traditional wired or wireless communication methods, resulting in weak anti-interference capabilities, non-standard equipment access procedures, poor compatibility, and other issues, which limit system integration and operation and maintenance efficiency. A method and device for intelligent access of visible light communication boards in microgrids are proposed. By defining clear access conditions, a communication link detection mechanism, and an ID identification process, the method ensures that the visible light communication board and its submodules can be stably and reliably accessed to the CPD controller, thereby improving the communication efficiency, operational stability, and utilization rate of non-steady-state renewable energy of the microgrid system.

[0004] In order to achieve the above purpose, the technical solutions adopted are:

[0005] The present invention provides a method for intelligent access of a visible light communication board in a microgrid, comprising the following steps:

[0006] Step 1: When the visible light communication board meets the preset conditions, a device access request is sent to the CPD controller; the preset conditions include that the visible light communication board has N submodules, N ≥ 0;

[0007] Step 2: The CPD controller determines the unique identity code UUID and PLN address based on the device access request content, verifies the legitimacy of the UUID, and responds if the UUID is legal;

[0008] Step 3: After receiving the response, the visible light communication board sends a submodule update request to the CPD controller. The submodule update request includes the number of submodules and a submodule ID list. The CPD controller maintains the submodule ID list according to the submodule update request and sends an update permission response to the visible light communication board.

[0009] Step 4: The CPD controller sends a submodule function request to the visible light communication board, where the submodule function request includes a function request for the visible light communication board itself and a function request for each submodule.

[0010] Step 5: The CPD controller sends a device status request to the visible light communication board. The visible light communication board provides status feedback based on the device status request. If the status is normal, the CPD controller prepares to send a request to enter the working mode. After the visible light communication board and its submodules enter the working mode, the access process is completed.

[0011] According to the intelligent access method of the visible light communication board in the microgrid of the present invention, further, the preset conditions in step 1 also include: each submodule has a corresponding function; the visible light communication board has been assigned a PLN address; each submodule has a corresponding submodule ID; and the visible light communication board communicates normally with the submodule.

[0012] According to the intelligent access method of visible light communication boards in a microgrid of the present invention, further, in step 2, the CPD controller determines that the requests come from the same visible light communication board through the PLN address.

[0013] According to the intelligent access method of the visible light communication board in the microgrid of the present invention, further, in step 4, the CPD controller sends a submodule function request to the visible light communication board, specifically including:

[0014] First, the CPD controller sends a function request with the submodule ID 0x00 to obtain the function information of the visible light communication board itself. The function information includes the hardware version number, software version number and device name;

[0015] Submodule function requests are sent in sequence according to the submodule ID list to obtain function information of each submodule. The function information includes a regular function ID and an auxiliary function ID. The regular function ID is used to distinguish function categories, and the auxiliary function ID is used to distinguish function characteristics.

[0016] According to the intelligent access method of the visible light communication board in the microgrid of the present invention, further, the CPD controller determines the specific function of the submodule according to the conventional function ID and the auxiliary function ID, and binds the submodule ID with the function information to form a submodule function table.

[0017] According to the intelligent access method of the visible light communication board in the microgrid of the present invention, further, in step 5, the CPD controller prepares to send a request to enter the working mode, specifically including:

[0018] The CPD controller sends a request to enter the working mode with the submodule ID 0x00 to the visible light communication board, and then sends submodules to enter the working mode in sequence according to the submodule ID list;

[0019] When the visible light communication board receives the request to enter the working mode, it enters the working mode and sends a response to the CPD controller; at the same time, each submodule also enters the working mode in turn according to the request to enter the working mode and sends a response to the CPD controller;

[0020] The CPD controller determines whether the visible light communication board and its submodules have successfully entered the working mode based on the responses of the visible light communication board and each submodule. If they have successfully entered the working mode, the access process of the visible light communication board is completed.

[0021] According to the intelligent access method of visible light communication boards in a microgrid of the present invention, further, the CPD controller addresses the underlying sensors in the following manner:

[0022] Locate the unique visible light communication board through the PLN address; locate the unique submodule through the submodule ID; and locate the unique sensor through the function ID list.

[0023] According to the intelligent access method of the visible light communication board in the microgrid of the present invention, the method further includes the step of leaving the working mode:

[0024] The CPD controller sends a request to leave the working mode to the visible light communication board or its submodule; the visible light communication board or its submodule leaves the working mode after responding; and the CPD controller releases the corresponding device or submodule information.

[0025] Furthermore, the present invention also provides an intelligent access device for a visible light communication board in a microgrid, which is used to implement the above-mentioned intelligent access method for a visible light communication board in a microgrid, comprising:

[0026] A visible light communication board is used to send a device access request to the CPD controller under preset conditions and receive a response from the CPD controller, provide function feedback based on the CPD controller's submodule function request, provide status feedback based on the device status request, and enter the working mode and send a response based on the entry working mode request;

[0027] The CPD controller is used to receive device access requests from the visible light communication board, determine the UUID and PLN address, confirm the legitimacy of the visible light communication board, send responses, submodule function requests, device status requests and requests to enter the working mode to the visible light communication board, and perform corresponding operations based on the feedback from the visible light communication board.

[0028] The beneficial effects achieved by adopting the above technical solution are:

[0029] This invention initiates a device access request when the visible light communication board meets preset conditions (N submodules with N ≥ 0, functioning submodules, a PLN address and submodule ID, and normal communication between the board and the submodules). The CPD controller verifies the validity of the UUID and uniqueness of the PLN address, completing the submodule update, function request and feedback, status confirmation, and operating mode switching processes. This achieves efficient and secure access between the CPD controller and the visible light communication board. By binding submodule IDs to functions and implementing a hierarchical addressing mechanism based on PLN addresses and function IDs, this solution ensures precise control of sensors and switches. It addresses the weak interference resistance and non-standard access procedures of traditional communication methods, improves the communication efficiency and operational stability of microgrid systems, and provides technical support for the efficient utilization of non-steady-state renewable energy. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings of the embodiments of the present invention. The drawings are only used to illustrate some embodiments of the present invention, but not to limit all embodiments of the present invention thereto.

[0031] Figure 1 1 is a flow chart of a method for intelligent access of a visible light communication board in a microgrid according to a first embodiment of the present invention;

[0032] Figure 2 This is a schematic diagram of the connection between the CPD controller and the visible light communication board in the second embodiment of the present invention;

[0033] Figure 3 Schematic diagram of the composition of a visible light communication board and its device submodule according to the second embodiment of the present invention;

[0034] Figure 4 Schematic diagram of the components of the device submodule and its sensor according to the second embodiment of the present invention;

[0035] Figure 5 1 is a flow chart of device access request and feedback in accordance with the second embodiment of the present invention;

[0036] Figure 6 1 is a flow chart of device submodule update request and feedback in accordance with the second embodiment of the present invention;

[0037] Figure 7 Schematic diagram of the process of function request and feedback of the device and its submodules in embodiment 2 of the present invention;

[0038] Figure 8 1 is a flow chart of device status request and feedback in accordance with the second embodiment of the present invention;

[0039] Figure 9 1 is a flow chart of a device and its submodules entering a working mode and providing feedback;

[0040] Figure 10 It is a flowchart of the request and feedback of the device or its submodule to leave the working mode according to the second embodiment of the present invention. DETAILED DESCRIPTION

[0041] The following will be combined with the accompanying drawings of specific embodiments of the present invention to clearly and completely describe the exemplary embodiments of the present invention. Unless otherwise defined, technical or scientific terms used in the present invention should be given the common meanings understood by people with ordinary skills in the relevant field.

[0042] Example 1

[0043] like Figure 1As shown, this embodiment discloses an intelligent access method for a visible light communication board in a microgrid, which is used to solve the access problem between the CPD controller and the visible light communication board, and specifically includes the following contents:

[0044] Step S101: When the visible light communication board meets the preset conditions, a device access request is sent to the CPD controller. The preset conditions include: the visible light communication board has N submodules, N ≥ 0; each submodule has corresponding functions, such as power parameter monitoring (voltage / current / power), environmental sensing (temperature / humidity / light), device control (relay / switch), data preprocessing (filtering / calibration); the visible light communication board has been assigned a PLN address; each submodule has a corresponding submodule ID; the visible light communication board communicates normally with the submodule.

[0045] In step S102, the CPD controller determines the unique identity code (hereinafter referred to as UUID) and PLN address based on the content of the device access request, confirms whether the visible light communication board is legitimate through the UUID, and determines that the request comes from the same visible light communication board through the PLN address to ensure that the response is not mistakenly received by other boards; if the UUID is legitimate, sends a response to the visible light communication board.

[0046] Step S103: After receiving the response, the VLC board sends a submodule update request to the CPD controller. The submodule update request includes the number of submodules and a submodule ID list. This request synchronizes the configuration information of all submodules currently mounted on the VLC board with the CPD controller. The CPD controller maintains the submodule ID list based on the submodule update request and sends an update permission response to the VLC board, indicating that the submodule information has been received and stored, allowing the VLC board to continue with subsequent processes.

[0047] Step S104: The CPD controller sends a submodule function request to the visible light communication board. The submodule function request includes a function request of the visible light communication board itself and a function request for each submodule, specifically including:

[0048] First, the CPD controller sends a function request with a submodule ID of 0x00, which represents a request for the function of the visible light communication board device itself.

[0049] The CPD controller then sends submodule function requests in sequence according to the submodule ID list.

[0050] When the visible light communication board receives a function request with a submodule ID of 0x00, it responds with the device's own functions. The response content includes: hardware version number, software version number, device name, etc. When the visible light communication board receives a function request with a submodule ID other than 0x00, it responds to the function request in turn according to the actual function of the submodule. The response content is the submodule's function ID. The function ID includes a regular function ID and an auxiliary function ID. The regular function ID distinguishes the function category, and the auxiliary function ID distinguishes the function characteristics.

[0051] Functional categories are divided into three types: management information, sensing information, and control information. 1. Device access requests, submodule function requests, and operating mode entry requests belong to the management category. 2. Sensors with numerical values, such as current, voltage, temperature, and humidity, belong to the sensing category. 3. Devices requiring control, such as switches and speed controllers, belong to the control category. A functional category is a specific device within a category. For example, a general function ID of 0x21 represents the sensing category, while a general function ID of 0x22 represents the control category. Thus, the function IDs of a current sensor might be 0x21, 0x01 (0x01 is the sub-function ID of the current sensor); the function IDs of a voltage sensor might be 0x21, 0x02 (0x02 is the sub-function ID of the voltage sensor); and the function IDs of a switch might be 0x22, 0x01 (0x01 is the sub-function ID of the switch). For management categories, all sub-function IDs are 0. For example, the function IDs of a device access request might be 0x10, 0x00, and the function IDs of a submodule function request might be 0x00, 0x00. The CPD controller and visible light communication board can determine which information category the message belongs to based on the function ID, and then perform different processing.

[0052] After receiving the function response from the visible light communication device itself, the CPD controller stores the function. After receiving the function request response from the submodule, the CPD controller can know the function of the submodule based on the regular function ID and the auxiliary function ID, and bind the submodule ID and the submodule function to the dependency relationship.

[0053] Step S105: The CPD controller sends a device status request to the visible light communication board. After receiving the status request, the visible light communication board responds to the status request. If the status is normal, the CPD controller prepares to send a request to enter the working mode, which specifically includes:

[0054] After the CPD controller receives the status request response from the visible light communication board device, it sends a request to enter the working mode with the submodule ID being 0x00 to the visible light communication board device; and sends the submodule entry mode request in sequence according to the submodule ID list.

[0055] When the visible light communication board receives a request to enter the working mode with the submodule ID 0x00, it enters the working mode and responds. When the visible light communication board receives a request to enter the working mode with other submodule IDs, it enters the working mode in turn and responds.

[0056] Once the CPD controller receives all the feedback from the request to enter the working mode, the access process of the visible light communication card device is completed. The CPD controller can then request sensor data and issue switch commands based on the submodule ID list and submodule function.

[0057] It is understandable that during the interaction between the CPD controller and the visible light communication board, each time the CPD controller receives a request or response, it will determine whether the PLN address is consistent to uniquely determine that the content comes from the same device, ensuring that the communication link always corresponds to the same physical device and preventing instructions or data from being incorrectly routed.

[0058] The CPD controller addresses the bottom-level sensors in the following ways: locating a unique visible light communication board through the PLN address; locating a unique submodule through the submodule ID; and locating a unique sensor through the function ID list.

[0059] The visible light communication board or its submodule can either actively leave the working mode or the CPD controller can issue a leave working mode instruction to make it leave the working mode. After leaving the working mode, the CPD controller will release the information of the device or the submodule.

[0060] This embodiment also discloses an intelligent access device for a visible light communication board in a microgrid, comprising:

[0061] The visible light communication board is used to send a device access request to the CPD controller under preset conditions and receive a response from the CPD controller, as well as provide function feedback based on the sub-module function request of the CPD controller, provide status feedback based on the device status request, enter the working mode and send a response based on the entry working mode request.

[0062] The CPD controller is used to receive device access requests from the visible light communication board, determine the UUID and PLN address, confirm the legitimacy of the visible light communication board, send responses, submodule function requests, device status requests and requests to enter the working mode to the visible light communication board, and perform corresponding operations based on the feedback from the visible light communication board.

[0063] Example 2

[0064] like Figure 2As shown, the CPD controller serves as the device host (hereafter referred to as the host), VLC boards 2-4 serve as slaves (hereafter referred to as slaves), and VLC board 1 acts as a relay device to transmit information. The relay device communicates with the CPD controller via a serial peripheral interface (SPI) link, and with the slaves below it via a visible light communication (VLC) link, forming a multimodal optical local area network between the slaves. Each slave has a unique PLN address, and each slave's submodule ID is 0.

[0065] like Figure 3 As shown, each visible light communication board can have multiple device submodules, each device submodule has a unique submodule ID, and the submodule ID is non-zero.

[0066] like Figure 4 As shown in the figure, each device submodule can have multiple sensor devices, each of which has a general function ID and an auxiliary function ID. The two function IDs can be used to determine the unique function of the sensor.

[0067] When the visible light communication board meets the preset conditions, such as Figure 5 As shown, a device access request is sent to the CPD controller. The preset conditions include: the optical communication board has N submodules, N≥0, and each submodule has corresponding functions. The visible light communication board device has a PLN header and the submodule has a corresponding submodule ID, and the optical communication board can communicate normally with the submodule. The access request will carry the UUID of the slave, and the PLN header will also carry the PLN address. After receiving the access request, the CPD controller will compare whether the UUID is legal. If it is legal, it will bind the PLN address and UUID of the current slave device and reply to allow the access request. It should be noted that in the entire access process, only the first request carries the UUID identifier. Therefore, the CPD controller needs to bind the relationship between the UUID and PLN as soon as possible.

[0068] like Figure 6 As shown in the figure, after the first step of the device access request process, if the slave device receives access permission, it will send a slave submodule update request, which will include the number of submodules and a list of submodule IDs. After receiving the submodule update request, the CPD controller will obtain the number of submodules under the slave device and the ID of each submodule, and then maintain a submodule ID table to facilitate subsequent submodule function queries. The CPD controller will then respond with feedback that the update is allowed.

[0069] like Figure 7As shown in the figure, the CPD controller determines the slave device that has been issued a request based on the PLN address, and then queries the slave device for the function of submodule ID 0. After receiving the function request with submodule ID 0x00, the slave device will feedback the slave's own function. The slave's function generally includes the slave device's hardware version number and software version number. After receiving the slave's function feedback, the CPD controller will sequentially query the function of each submodule based on the submodule ID list it maintains. The slave device will also feedback the number of functions and function list of each submodule in turn. The number of functions refers to the number of sensors under a slave. The function list is a list of regular function IDs and auxiliary function IDs, sorted from the first function to the nth function, until all submodule functions have been fed back. The number of functions can be zero or multiple. During the function query process, the function list is matched with the submodule ID table in sequence to form a submodule function table. This table can be used to query the submodule ID corresponding to the function list.

[0070] like Figure 8 As shown, after the CPD controller has inquired about the functions of all sub-modules, it will inquire about the status of the slave device. If the slave device is ready, the slave device will feedback the normal status to the CPD controller.

[0071] like Figure 9 As shown in the figure, if the CPD controller receives feedback from the slave device, it will send a request to enter the working mode. There are two ways to enter the functional mode: the first is to enter the discontinuous working mode, and the second is to enter the continuous working mode. In the discontinuous working mode, the CPD controller will actively query the sensor data. In the continuous working mode, the slave device actively reports the sensor data at a fixed interval. There are two optional working modes. The CPD controller first sends the device with sub-module ID 0 to the working mode. The slave device will feedback the status of entering the working mode. Then, the CPD controller will send all sub-modules to enter the working mode in sequence according to the sub-module ID list maintained by itself. After receiving the request, the slave device will make the corresponding sub-module enter the working mode and provide feedback.

[0072] After the CPD controller receives the information that the slave and all slave submodules have entered the working mode, it can query the sensor data of the corresponding function according to the function ID table. After querying the required sensor, it can perform operations such as scheduling and issuing switch commands.

[0073] The slave device itself or the slave device submodule can either actively leave the working mode, or the CPD controller can issue a leave working mode instruction to make the corresponding slave device or device submodule leave the working mode. After leaving the working mode, the CPD controller will release the information of the device or the submodule.

[0074] like Figure 10 As shown in FIG, the process of leaving the working mode is as follows: first, the CPD controller sends a request for the device submodule M to leave the working mode, and then the slave device responds, until the request for the device submodule N to leave the working mode is sent. If the slave device itself needs to leave the working mode, it sends a request for leaving the working mode with the submodule ID being 0x00. After the slave device itself sends the feedback, it will leave the working mode. At this point, the slave device and all submodules under the slave device have left the working mode.

[0075] When operating in discontinuous mode, the CPD controller needs to locate sensors. The addressing method follows the following principles: the CPD controller can locate a unique visible light communication board device through the PLN address, a unique submodule through the submodule ID, and a unique sensor through the function ID list. In a specific embodiment, the corresponding submodule ID can be found through the submodule function table, the corresponding optical communication board device can be found through the submodule ID, and the corresponding PLN address can be found through the optical communication board device. Through these steps, the CPD controller can address the underlying sensor device. Another similar requirement is to find the corresponding switch device when issuing a switch command, and the search method is the same as above.

[0076] Unless otherwise specifically stated, the relative steps, numerical expressions and values ​​of the components and steps set forth in these embodiments do not limit the scope of the present invention.

[0077] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. Reference can be made to the common and similar parts between the various embodiments. For the systems disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple, and the relevant parts can be referred to the method description.

[0078] The units and method steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the components and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. A person of ordinary skill in the art may use different methods to implement the described functions for each specific application, but such implementation is not considered to be beyond the scope of the present invention.

[0079] Those skilled in the art will appreciate that all or part of the steps in the above method can be performed by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a magnetic disk, or an optical disk. Alternatively, all or part of the steps in the above embodiment can be implemented using one or more integrated circuits. Accordingly, each module / unit in the above embodiment can be implemented in the form of hardware or software functional modules. The present invention is not limited to any specific combination of hardware and software.

[0080] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The scope of protection of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the above-described embodiments, those skilled in the art should understand that any person skilled in the art can modify or easily conceive of changes to the technical solutions described in the above-described embodiments within the technical scope disclosed by the present invention, or replace some of the technical features therein with equivalents. Such modifications, changes, or replacements do not deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the scope of protection of the present invention. Therefore, the scope of protection of the present invention shall be subject to the scope of protection of the claims.

Claims

1. A method for intelligent access of visible light communication boards in a microgrid, characterized in that: The following steps are involved: Step 1: When the visible light communication board meets the preset conditions, it sends a device access request to the CPD controller; The preset conditions include: the visible light communication board has N submodules, N ≥ 0; each submodule has a corresponding function; the visible light communication board has been assigned a PLN address; each submodule has a corresponding submodule ID; the visible light communication board communicates normally with the submodule; Each submodule has corresponding functions including power parameter monitoring - voltage / current / power, environmental sensing - temperature / humidity / light, equipment control - relays / switches, or data preprocessing - filtering / calibration; Step 2: The CPD controller determines the unique identity code UUID and PLN address based on the device access request content, verifies the legitimacy of the UUID, and responds if the UUID is legal; Step 3: After receiving the response, the visible light communication board sends a submodule update request to the CPD controller. The submodule update request includes the number of submodules and a submodule ID list. The CPD controller maintains the submodule ID list according to the submodule update request and sends an update permission response to the visible light communication board. Step 4: The CPD controller sends a submodule function request to the visible light communication board, where the submodule function request includes a function request for the visible light communication board itself and a function request for each submodule. Step 5: The CPD controller sends a device status request to the visible light communication board. The visible light communication board provides status feedback based on the device status request. If the status is normal, the CPD controller prepares to send a request to enter the working mode. After the visible light communication board and its submodules enter the working mode, the access process is completed.

2. The intelligent access method for visible light communication boards in a microgrid according to claim 1, characterized in that: In step 2, the CPD controller determines that the request comes from the same visible light communication board through the PLN address.

3. The intelligent access method for visible light communication boards in a microgrid according to claim 1, characterized in that: In step 4, the CPD controller sends a submodule function request to the visible light communication board, specifically including: First, the CPD controller sends a function request with the submodule ID 0x00 to obtain the function information of the visible light communication board itself. The function information includes the hardware version number, software version number and device name; Submodule function requests are sent in sequence according to the submodule ID list to obtain function information of each submodule. The function information includes a regular function ID and an auxiliary function ID. The regular function ID is used to distinguish function categories, and the auxiliary function ID is used to distinguish function characteristics.

4. The intelligent access method for visible light communication boards in a microgrid according to claim 3, characterized in that: The CPD controller determines the specific function of the submodule according to the regular function ID and the auxiliary function ID, and binds the submodule ID with the function information to form a submodule function table.

5. The intelligent access method for visible light communication boards in a microgrid according to claim 1, characterized in that: In step 5, the CPD controller prepares to send a request to enter the working mode, specifically including: The CPD controller sends a request to enter the working mode with the submodule ID 0x00 to the visible light communication board, and then sends submodules to enter the working mode in sequence according to the submodule ID list; When the visible light communication board receives the request to enter the working mode, it enters the working mode and sends a response to the CPD controller; at the same time, each submodule also enters the working mode in turn according to the request to enter the working mode and sends a response to the CPD controller; The CPD controller determines whether the visible light communication board and its submodules have successfully entered the working mode based on the responses of the visible light communication board and each submodule. If they have successfully entered the working mode, the access process of the visible light communication board is completed.

6. The intelligent access method for visible light communication boards in a microgrid according to claim 1, characterized in that: The CPD controller addresses the underlying sensors in the following way: Locate the unique visible light communication board through the PLN address; locate the unique submodule through the submodule ID; and locate the unique sensor through the function ID list.

7. The intelligent access method for visible light communication boards in a microgrid according to claim 1, characterized in that: The method further comprises the steps of leaving the working mode: The CPD controller sends a request to leave the working mode to the visible light communication board or its submodule; the visible light communication board or its submodule leaves the working mode after responding; and the CPD controller releases the corresponding device or submodule information.

8. An intelligent access device for a visible light communication board in a microgrid, characterized in that: A method for implementing an intelligent access method of a visible light communication board in a microgrid according to any one of claims 1 to 7, comprising: A visible light communication board is used to send a device access request to the CPD controller under preset conditions and receive a response from the CPD controller, provide function feedback based on the CPD controller's submodule function request, provide status feedback based on the device status request, and enter the working mode and send a response based on the entry working mode request; The CPD controller is used to receive device access requests from the visible light communication board, determine the UUID and PLN address, confirm the legitimacy of the visible light communication board, send responses, submodule function requests, device status requests and requests to enter the working mode to the visible light communication board, and perform corresponding operations based on the feedback from the visible light communication board.

Citation Information

Patent Citations

  • Encoding device, transmitting device, and receiving device

    CN105324999A

  • Identity management method and device of Internet of Things intelligent equipment and Internet of Things platform

    CN111225082A