Intelligent access method and device for visible light communication board card in micro-grid

By introducing an intelligent access method for visible light communication boards in the microgrid, using UUID and PLN address verification, stable access of visible light communication boards and their submodules is achieved, solving the anti-interference and compatibility problems of traditional communication methods, and improving the communication efficiency and stability of the system.

CN120342485AActive Publication Date: 2025-07-18SONGSHAN LAB
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
CN202510819490.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-19
Publication Date
2025-07-18
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, which have 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

It provides an intelligent access method for visible light communication boards in the microgrid. By defining clear access conditions, communication link detection mechanism and ID identification process, it ensures that the visible light communication boards and their submodules are stable and reliable to access the CPD controller, and uses UUID and PLN addresses to verify the legality, so as to realize submodule function requests and status confirmation.

Benefits of technology

It improves the communication efficiency and operation stability of the microgrid system, improves the utilization rate of non-steady state renewable energy, and solves the problems of weak anti-interference and irregular access processes in traditional communication methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120342485A_ABST
    Figure CN120342485A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of micro-grids, in particular to an intelligent access method and device for a visible light communication board card in a micro-grid, and the method comprises the steps: transmitting an equipment access request to a CPD controller when the visible light communication board card meets a preset condition; the CPD controller determines a unique identity identification code UUID and a PLN address according to the content of the equipment access request, and verifies the legality of the UUID; the visible light communication board card sends a sub-module updating request to the CPD controller, wherein the sub-module updating request comprises the number of sub-modules and a sub-module ID list; the CPD controller sends a sub-module function request to the visible light communication board card, wherein the sub-module function request comprises a function request of the visible light communication board card and a function request for each sub-module; the CPD controller prepares to send a request for entering a working mode; and after the visible light communication board card and the submodules thereof enter the working mode, the access process is completed. According to the invention, it is ensured that the visible light communication board card and the sub-module thereof can be stably and reliably accessed to the CPD controller.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] With the transformation of the energy structure and the large-scale access of renewable energy, the microgrid system has gradually become an important part of the intelligent distribution network due to its advantages such as flexible controllability and high energy efficiency. In a typical microgrid system, it usually includes distributed power sources (such as photovoltaic and wind power), energy storage devices, load equipment, and corresponding control and monitoring units. In order to achieve precise control and scheduling of the internal energy flow of the microgrid, it is often necessary to deploy a central controller (such as the CPD controller), which is responsible for receiving the scheduling strategies issued by the cloud management platform, and by collecting the data of the source-side and load-side sensors, analyzing the load output and energy consumption conditions in real time, and then adjusting the switching states of the switch cabinets to optimize the energy distribution. At present, various sensor devices and switch devices in the microgrid mostly use traditional wired communication methods (such as RS485, CAN bus, etc.) or wireless communication methods (such as ZigBee, LoRa, etc.) to access the control system. However, these traditional communication methods have the following deficiencies: Weak anti-interference ability: Wireless communication is vulnerable to electromagnetic interference, especially in areas with dense high-voltage power equipment, and the communication stability is difficult to guarantee; The device access process is not standardized and the compatibility is poor: The device protocols of different manufacturers are not unified, and the access process lacks a standardized mechanism, resulting in low system integration and difficult operation and maintenance; In recent years, some studies have tried to introduce visible light communication (VLC, Visible Light Communication) technology into the field of power system communication. Visible light communication uses LED lighting devices as communication carriers, and has the advantages of high bandwidth, no electromagnetic interference, energy conservation and environmental protection, and is suitable for high-speed and secure communication between power equipment. However, in the prior art, there is no complete set of device access methods based on visible light communication. In particular, the access process between the CPD controller and the visible light communication board card lacks an effective control mechanism and standard process, which limits its practical application in the microgrid system. Summary of the Invention

[0003] The present invention aims to solve the problems in the existing microgrid system, where sensors and switch devices are mostly connected through traditional wired or wireless communication methods, with weak anti-interference ability, non-standard device access procedures, poor compatibility, etc., which limit the system integration and operation and maintenance efficiency. A smart access method and device for visible light communication boards in a microgrid are proposed. By defining clear access conditions, communication link detection mechanisms, and ID identification processes, it is ensured that the visible light communication boards and their sub-modules can be stably and reliably connected to the CPD controller, thereby improving the communication efficiency, operation stability of the microgrid system, and the utilization rate of non-steady renewable energy.

[0004] To achieve the above object, the technical solution adopted is as follows: The present invention provides a smart access method for visible light communication boards in a microgrid, including the following steps: Step 1: When the visible light communication board meets the preset conditions, send a device access request to the CPD controller; the preset conditions include that the visible light communication board has N sub-modules, N≥0; Step 2: The CPD controller determines the unique identity recognition code UUID and the PLN address according to the content of the device access request, verifies the legality of the UUID, and responds when the UUID is legal; Step 3: After receiving the response, the visible light communication board sends a sub-module update request to the CPD controller. The sub-module update request includes the number of sub-modules and the sub-module ID list; the CPD controller maintains the sub-module ID list according to the sub-module update request and sends an update permission response to the visible light communication board; Step 4: The CPD controller sends a sub-module function request to the visible light communication board. The sub-module function request includes the function request of the visible light communication board itself and the function requests for each sub-module; Step 5: The CPD controller sends a device status request to the visible light communication board. The visible light communication board gives a status feedback according to the device status request. If the status is normal, the CPD controller is ready to send a request to enter the working mode; after the visible light communication board and its sub-modules enter the working mode, the access process is completed.

[0005] According to the smart access method for visible light communication boards in a microgrid of the present invention, further, the preset conditions in Step 1 further include: each sub-module has corresponding functions; the visible light communication board has been assigned a PLN address; each sub-module has a corresponding sub-module ID; the visible light communication board communicates with the sub-modules normally.

[0006] According to the smart access method for visible light communication boards in a microgrid of the present invention, further, in Step 2, the CPD controller determines that the request comes from the same visible light communication board through the PLN address.

[0007] According to the intelligent access method of the visible light communication board in the microgrid of the present invention, further, the specific content of the CPD controller sending a sub-module function request in step 4 includes: First, the CPD controller sends a function request with a sub-module ID of 0x00 to obtain the function information of the visible light communication board itself, and the function information includes the hardware version number, software version number, and device name; According to the sub-module ID list, send sub-module function requests in sequence to obtain the function information of each sub-module. The function information includes a general function ID and an accessory function ID. The general function ID is used to distinguish function categories, and the accessory function ID is used to distinguish function characteristics.

[0008] 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 functions of the sub-modules according to the general function ID and the accessory function ID, and binds the sub-module ID with the function information to form a sub-module function table.

[0009] According to the intelligent access method of the visible light communication board in the microgrid of the present invention, further, the specific content of the CPD controller preparing to send a request to enter the working mode in step 5 includes: The CPD controller sends a request to enter the working mode with a sub-module ID of 0x00 to the visible light communication board, and then sends sub-module requests to enter the working mode in sequence according to the sub-module 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 sub-module also enters the working mode in sequence 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 sub-modules have successfully entered the working mode according to the responses of the visible light communication board and each sub-module. If they have successfully entered the working mode, the access process of the visible light communication board is completed.

[0010] According to the intelligent access method of the visible light communication board in the microgrid of the present invention, further, the CPD controller addresses the underlying sensors in the following manner: Locate the unique visible light communication board through the PLN address; locate the unique sub-module through the sub-module ID; locate the unique sensor through the function ID list.

[0011] According to the intelligent access method of the visible light communication board in the microgrid of the present invention, further, the method further includes the step of leaving the working mode: The CPD controller sends a request to leave the working mode to the visible light communication board or its sub-module; after the visible light communication board or its sub-module responds, it leaves the working mode; the CPD controller releases the corresponding device or sub-module information.

[0012] Furthermore, the present invention also provides an intelligent access device for a visible light communication board card in a microgrid, which is used to implement the intelligent access method for the visible light communication board card in the microgrid as described above, and includes: A visible light communication board card, which is used to send a device access request to the CPD controller when meeting preset conditions, receive the response of the CPD controller, and perform function feedback according to the sub-module function request of the CPD controller, perform status feedback according to the device status request, enter the working mode according to the enter working mode request and send a response; A CPD controller, which is used to receive the device access request of the visible light communication board card, determine the UUID and PLN address, confirm the legality of the visible light communication board card, send a response, a sub-module function request, a device status request and an enter working mode request to the visible light communication board card, and perform corresponding operations according to the feedback of the visible light communication board card.

[0013] The beneficial effects obtained by adopting the above technical solutions are as follows: When the preset conditions (having N sub-modules and N≥0, the sub-module functions are normal, having a PLN address and sub-module IDs, and the communication between the board card and the sub-modules is normal) are met for the visible light communication board card, the present invention initiates a device access request. After the CPD controller confirms the legality of the UUID and the uniqueness of the PLN address, processes such as sub-module update, function request and feedback, status confirmation and working mode switching are completed, realizing the efficient and secure access between the CPD controller and the visible light communication board card. This solution ensures the precise control of sensors and switch devices through binding sub-module IDs with functions and a hierarchical addressing mechanism based on PLN addresses and function IDs, solves the problems of weak anti-interference ability and non-standard access processes in traditional communication methods, improves the communication efficiency and operation stability of the microgrid system, and provides technical support for the efficient utilization of non-steady renewable energy. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings of the embodiments of the present invention will be briefly introduced below. Among them, the drawings are only used to show some embodiments of the present invention, rather than limiting all embodiments of the present invention thereto.

[0015] Figure 1 is a schematic flow chart of the intelligent access method for a visible light communication board card in a microgrid according to Embodiment 1 of the present invention; Figure 2 is a schematic connection diagram of the CPD controller and the visible light communication board card according to Embodiment 2 of the present invention; Figure 3 is a schematic composition diagram of the visible light communication board card and its device sub-modules according to Embodiment 2 of the present invention; Figure 4 It is a schematic diagram of the composition of the device sub-module and its sensors in the second embodiment of the present invention; Figure 5 It is a schematic diagram of the process of device access request and feedback in the second embodiment of the present invention; Figure 6 It is a schematic diagram of the process of device sub-module update request and feedback in the second embodiment of the present invention; Figure 7 It is a schematic diagram of the process of device and its sub-module function request and feedback in the second embodiment of the present invention; Figure 8 It is a schematic diagram of the process of device status request and feedback in the second embodiment of the present invention; Figure 9 It is a schematic diagram of the process of device and its sub-module entering the working mode request and feedback in the second embodiment of the present invention; Figure 10 It is a schematic diagram of the process of device or its sub-module leaving the working mode request and feedback in the second embodiment of the present invention. Detailed implementation manners

[0016] In the following, the exemplary solutions of the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings of the specific embodiments of the present invention. Unless otherwise defined, the technical terms or scientific terms used in the present invention should have the ordinary meaning understood by those of ordinary skill in the art.

[0017] Embodiment 1 As Figure 1 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: Step S101: When the visible light communication board meets the preset conditions, send a device access request to the CPD controller. The preset conditions include: the visible light communication board has N sub-modules, N≥0; each sub-module 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 sub-module has a corresponding sub-module ID; the visible light communication board communicates normally with the sub-modules.

[0018] Step S102: The CPD controller determines the unique identification code (hereinafter referred to as UUID) and the PLN address according to the content of the device access request, and confirms whether the visible light communication board is legal 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 will not be misreceived by other boards; if the UUID is legal, send a response to the visible light communication board.

[0019] After the visible light communication board receives the response, it sends a sub-module update request to the CPD controller. The sub-module update request includes the number of sub-modules and the sub-module ID list. The purpose of this request is to synchronize the configuration information of all sub-modules mounted on the current visible light communication board to the CPD controller. The CPD controller maintains the sub-module ID list according to the sub-module update request and sends an update permission response to the visible light communication board, indicating that the sub-module information has been received and stored, and the visible light communication board can continue to execute the subsequent process.

[0020] Step S104: The CPD controller sends a sub-module function request to the visible light communication board. The sub-module function request includes the function request of the visible light communication board itself and the function requests for each sub-module, specifically including: First, the CPD controller sends a function request with a sub-module ID of 0x00, representing a request for the functions of the visible light communication board device itself.

[0021] Then, the CPD controller sequentially sends sub-module function requests according to the sub-module ID list.

[0022] When the visible light communication board device receives a function request with a sub-module ID of 0x00, it responds with the functions of the device itself. The response content includes: hardware version number, software version number, device name, etc. When the visible light communication board receives function requests with other sub-module IDs, that is, non-0x00 sub-module IDs, it sequentially responds to the function requests according to the actual functions of the sub-modules. The response content is the function ID of the sub-module. The function ID includes a general function ID and an accessory function ID. The general function ID distinguishes the function category, and the accessory function ID distinguishes the function characteristics.

[0023] The function categories are divided into three types: management information, sensing information, and control information. 1. Information such as device access requests, sub-module function requests, and requests to enter the working mode belongs to the management category. 2. Sensors with numerical values such as current, voltage, temperature, and humidity belong to the sensing category. 3. Devices that need to be controlled such as switching devices and speed devices belong to the control category. The function category refers to specific devices in a certain category. For example, for the conventional function ID: 0x21 belongs to the sensing category, and the conventional function ID: 0x22 belongs to the control category. Then the function ID of the current sensor can be 0x21, 0x01 (0x01 is the accessory function ID of the current sensor); the function ID of the voltage sensor can be 0x21, 0x02 (0x02 is the accessory function ID of the voltage sensor); the function ID of the switch can be 0x22, 0x01 (0x01 is the accessory function ID of the switch). For the management category, all accessory function IDs are 0. For example, the function ID of the device access request information can be 0x10, 0x00, and the function ID of the sub-module function request information can be 0x00, 0x00. The CPD controller and the visible light communication board can determine which information category the message belongs to according to the function ID, and then perform different processing.

[0024] After the CPD controller receives the function response of the visible light communication device itself, it stores the function. After the CPD controller receives the function request response of the sub-module, it can know the function of the sub-module according to the conventional function ID and the accessory function ID, and bind the dependency relationship between the sub-module ID and the sub-module function.

[0025] Step S105: The CPD controller sends a device status request to the visible light communication board. After the visible light communication board receives the status request, it makes a status request response. If it is in the normal state, the CPD controller is ready to send a request to enter the working mode, specifically including: After the CPD controller receives the status request response of the visible light communication board device, it then sends a request to enter the working mode with the sub-module ID of 0x00 to the visible light communication board device; and sends requests for the sub-modules to enter the working mode in sequence according to the sub-module ID list.

[0026] After the visible light communication board receives the request to enter the working mode with the sub-module ID of 0x00, it enters the working mode and makes a response. After the visible light communication board receives the requests for other sub-module IDs to enter the working mode, it enters the working mode in sequence and makes a response.

[0027] After the CPD controller receives all the feedbacks of the requests to enter the working mode, the access process of the visible light communication board device is completed. Then the CPD controller can send requests for sensor data and issue switch commands through the sub-module ID list and the sub-module functions.

[0028] 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 addresses are the same 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 misrouted.

[0029] The addressing method of the CPD controller for the lowest-level sensors is as follows: locate the unique visible light communication board through the PLN address; locate the unique sub-module through the sub-module ID; and locate the unique sensor through the function ID list.

[0030] The visible light communication board or its sub-module can either actively leave the working mode or be instructed by the CPD controller to leave the working mode. After leaving the working mode, the CPD controller will release the information of the device or the information of the sub-module.

[0031] This embodiment also discloses an intelligent access device for a visible light communication board in a microgrid, including: A visible light communication board, configured to send a device access request to the CPD controller under preset conditions, receive the response from the CPD controller, and perform function feedback according to the sub-module function request of the CPD controller, perform status feedback according to the device status request, enter the working mode according to the enter working mode request, and send a response.

[0032] A CPD controller, configured to receive the device access request from the visible light communication board, determine the UUID and PLN address, confirm the legality of the visible light communication board, send a response, a sub-module function request, a device status request, and an enter working mode request to the visible light communication board, and perform corresponding operations according to the feedback from the visible light communication board.

[0033] Embodiment 2 As Figure 2 shown, the CPD controller serves as the device host (hereinafter referred to as the host), the visible light communication board 2-4 serves as the slave (hereinafter referred to as the slave), and the visible light communication board 1 serves as a relay device for information transmission. There is a serial peripheral interface (SPI) link between the relay device and the CPD controller, and a visible light communication (VLC) link between the relay device and the lower-level slaves, forming a multi-modal optical local area network among the slaves. Each slave has a unique PLN address, and the sub-module ID of each slave is 0.

[0034] As Figure 3 shown, each visible light communication board can have multiple device sub-modules, each device sub-module has a unique sub-module ID, and the sub-module is non-zero.

[0035] As Figure 4As shown, each device sub-module can have multiple sensor devices, and each sensor device has a regular function ID and an accessory function ID. The unique function of the sensor can be determined by these two function IDs.

[0036] When the visible light communication board meets the preset conditions, such as Figure 5 shown, a device access request is sent to the CPD controller. The preset conditions include: the optical communication board has N sub-modules, where N≥0, and each sub-module has corresponding functions. The visible light communication board device already has a PLN header and the sub-module has a corresponding sub-module ID, and the optical communication board can communicate normally with the sub-module. The access request will carry the UUID of the slave device. In addition, the PLN header will also carry the PLN address. After receiving the access request, the CPD controller will check whether the UUID is legal. If it is legal, it will bind the PLN address and UUID of the current slave device and reply with an access permission request. It should be noted that only the first request in the entire access process carries the UUID identifier. Therefore, the CPD controller needs to bind the relationship between the UUID and the PLN immediately.

[0037] As Figure 6 shown, after the first-step device access request process is completed, if the slave device receives the access permission, the slave device will send a slave sub-module update request, which will carry the number of sub-modules and the list of sub-module IDs. After receiving the sub-module update request, the CPD controller will obtain the number of sub-modules under the slave device and the ID of each sub-module, and then maintain a sub-module ID table for subsequent sub-module function queries. Then the CPD controller will reply with a feedback allowing the update.

[0038] As Figure 7 shown, the CPD controller will determine the slave device to be dispatched according to the PLN address, and then ask about the function of the slave device with sub-module ID 0. After receiving the function request with sub-module ID 0x00, the slave device will feedback the function of the slave device itself. The function of the slave device itself generally includes the hardware version number of the slave device and the software version number of the slave device. After receiving the function feedback of the slave device itself, the CPD controller will sequentially ask about the functions of each sub-module according to the sub-module ID list maintained by itself. The slave device will also sequentially feedback the number of functions of each sub-module and the function list. The number of functions refers to how many sensors there are under a slave device. The function list is a list of regular function IDs and accessory function IDs, sorted in order from the first function to the nth function until the functions of all sub-modules are feedback. The number of functions can be 0 or multiple. During the process of asking about the functions, the function list will be corresponded with the sub-module ID table in sequence to form a sub-module function table, which can query the sub-module ID corresponding to the function list through the function list.

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

[0040] As Figure 9 shown, if the CPD controller receives the feedback that the slave device is ready, it will send a request to enter the working mode. There are two ways to enter the function mode. The first way is to enter the discontinuous working mode, and the second way 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 will actively report the sensor data at fixed intervals. Two working modes are available. The CPD controller first sends the device with sub-sub-module ID 0 to enter the working mode, and the slave device will feedback its status of entering the working mode. Then, the CPD controller will send requests for all sub-modules to enter the working mode in sequence according to the sub-module ID list it maintains. After receiving the requests, the slave device will let the corresponding sub-module enter the working mode and give feedback.

[0041] After the CPD controller receives that the slave device itself and all slave device sub-modules 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 sensors, operations such as scheduling and sending switch commands can be performed.

[0042] Either the slave device itself or the slave device sub-module can actively leave the working mode, or the CPD controller can issue a command to leave the working mode to make the corresponding slave device or device sub-module leave the working mode. After leaving the working mode, the CPD controller will release the information of the device or the information of the sub-module.

[0043] As Figure 10 shown, the process of leaving the working mode is as follows: First, the CPD controller sends a request for the device sub-module M to leave the working mode, and then the slave device gives feedback until the request for the device sub-module N to leave the working mode is sent. If the slave device itself needs to leave the working mode, a request to leave the working mode with sub-module ID 0x00 is sent. After the slave device itself sends feedback, it will leave the working mode. At this point, the slave device and all sub-modules under the slave device have left the working mode.

[0044] In the discontinuous working mode, the CPD controller has a need to search for sensors, and the addressing method follows the following principles: The CPD controller can find the only visible light communication board device through the PLN address, find the only sub-module through the sub-module ID, and find the only sensor through the function ID list. In a specific embodiment, the corresponding sub-module ID can be found through the sub-module function table, the corresponding optical communication board device can be found through the sub-module ID, the corresponding PLN address can be found through the optical communication board device. Through the above steps, the CPD controller can address the underlying sensor devices. Another similar requirement is that when issuing a switch command, the corresponding switch device needs to be found, and the search method is the same as above.

[0045] 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.

[0046] The various embodiments in this specification are described in a progressive manner. The key point of each embodiment is to illustrate the differences from other embodiments. The same or similar parts among the various embodiments can be referred to each other. 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 description of the method part.

[0047] The units and method steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described according to their functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Those of ordinary skill in the art can use different methods to implement the described functions for each specific application, but such implementation is not considered to exceed the scope of the present invention.

[0048] Those of ordinary skill in the art can understand that all or part of the steps in the above methods can be completed by instructing relevant hardware through a program, and the program can be stored in a computer-readable storage medium, such as a read-only memory, a magnetic disk, or an optical disc, etc. Optionally, all or part of the steps of the above embodiments can also be implemented using one or more integrated circuits. Correspondingly, the various modules / units in the above embodiments can be implemented in the form of hardware or in the form of software function modules. The present invention is not limited to any specific form of the combination of hardware and software.

[0049] Finally, it should be noted that the above-described embodiments are only specific embodiments of the present invention, used to illustrate the technical solutions of the present invention, rather than limiting it. The protection scope of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that any technician familiar with the technical field of the present invention can still modify the technical solutions described in the foregoing embodiments, or can easily think of changes, or perform equivalent replacements on some of the technical features; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.

Claims

1. An intelligent access method for visible light communication boards in a microgrid, characterized in that It includes the following steps: Step 1: When the visible light communication board meets the preset conditions, send a device access request to the CPD controller; The preset conditions include that the visible light communication board has N sub-modules, where N≥0; Step 2: The CPD controller determines the unique identifier UUID and the PLN address according to the content of the device access request, verifies the legality of the UUID, and responds when the UUID is legal; Step 3: After receiving the response, the visible light communication board sends a sub-module update request to the CPD controller. The sub-module update request includes the number of sub-modules and the sub-module ID list; the CPD controller maintains the sub-module ID list according to the sub-module update request and sends an update permission response to the visible light communication board; Step 4: The CPD controller sends a sub-module function request to the visible light communication board. The sub-module function request includes the function request of the visible light communication board itself and the function requests for each sub-module; Step 5: The CPD controller sends a device status request to the visible light communication board. The visible light communication board gives a status feedback according to the device status request. If the status is normal, the CPD controller is ready to send a request to enter the working mode; after the visible light communication board and its sub-modules enter the working mode, the access process is completed.

2. The intelligent access method of the visible light communication board in the microgrid according to claim 1, characterized in that The preset conditions in Step 1 also include: each sub-module has corresponding functions; the visible light communication board has been assigned a PLN address; each sub-module has a corresponding sub-module ID; the visible light communication board communicates with the sub-modules normally.

3. The intelligent access method of the visible light communication board in the 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.

4. The intelligent access method of the visible light communication board in the microgrid according to claim 1, characterized in that In Step 4, the CPD controller sending a sub-module function request to the visible light communication board specifically includes: First, the CPD controller sends a function request with the sub-module ID of 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; According to the sub-module ID list, send sub-module function requests in sequence to obtain the function information of each sub-module. The function information includes the general function ID and the accessory function ID. The general function ID is used to distinguish function categories, and the accessory function ID is used to distinguish function characteristics.

5. The intelligent access method of the visible light communication board in the microgrid according to claim 4, characterized in that, The CPD controller determines the specific functions of the sub-modules according to the general function ID and the accessory function ID, and binds the sub-module ID with the function information to form a sub-module function table.

6. The intelligent access method of the visible light communication board in the microgrid according to claim 1, characterized in that, In Step 5, the CPD controller being ready to send a request to enter the working mode specifically includes: The CPD controller sends a request to enter the working mode with the sub-module ID of 0x00 to the visible light communication board, and then sends sub-module requests to enter the working mode in sequence according to the sub-module 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 sub-module also enters the working mode in sequence 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 sub-modules have successfully entered the working mode based on the responses of the visible light communication board and each sub-module. If they have successfully entered the working mode, the access process of the visible light communication board is completed.

7. The intelligent access method of the visible light communication board in the microgrid according to claim 1, characterized in that The CPD controller addresses the underlying sensors in the following manner: Locate the unique visible light communication board through the PLN address; locate the unique sub-module through the sub-module ID; locate the unique sensor through the function ID list.

8. The intelligent access method of the visible light communication board in the microgrid according to claim 1, characterized in that The method further includes the step of leaving the working mode: The CPD controller sends a request to leave the working mode to the visible light communication board or its sub-module; after the visible light communication board or its sub-module responds, it leaves the working mode; the CPD controller releases the corresponding device or sub-module information.

9. An intelligent access device for a visible light communication board in a microgrid, characterized in that, For implementing the intelligent access method of the visible light communication board in the microgrid according to any one of claims 1-8, including: A visible light communication board, configured to send a device access request to the CPD controller under preset conditions, receive the response from the CPD controller, and perform function feedback according to the sub-module function request of the CPD controller, perform status feedback according to the device status request, enter the working mode according to the request to enter the working mode and send a response; A CPD controller, configured to receive the device access request of the visible light communication board, determine the UUID and PLN address, confirm the legality of the visible light communication board, send a response, a sub-module function request, a device status request, and a request to enter the working mode to the visible light communication board, and perform corresponding operations according to the feedback of 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

  • Data acquisition method and device, computer equipment and storage medium

    CN112882833A

  • Intelligent environment monitoring robot system capable of flying

    CN114511764A

  • Edge application instance discovery and selection based on shared application vertical sessions

    CN118541963A