Disclosure of Invention
The invention provides a distributed photovoltaic module working mode switching system based on 5G communication, which is convenient for realizing cooperative communication and control of photovoltaic modules by coordinating the working state switching of distributed photovoltaic modules through distributed setting and a 5G network.
The invention provides a distributed photovoltaic module working mode switching method based on 5G communication, which comprises the following steps:
step 1: acquiring the sub-operation state of each distributed sub-photovoltaic module, and transmitting the sub-operation state to a central control room based on 5G communication;
step 2: the central control room generates a sub-switching command based on the scheduling command and the sub-running state, and transmits the sub-switching command to the distributed sub-photovoltaic modules;
and step 3: the distributed sub-photovoltaic modules switch the working state based on the sub-switching command.
In a possible implementation manner, step 1, collecting the sub-operation state of each distributed sub-photovoltaic module, and transmitting the sub-operation state to a central control room based on 5G communication, includes:
the sub-photovoltaic modules receive a state query request sent by a central control room, analyze the state query request, obtain target item codes and address codes of the target sub-photovoltaic modules, divide the address codes according to a preset method, obtain a plurality of corresponding sub-address codes, analyze the sub-address codes, obtain local addresses, and query whether the local addresses of the sub-photovoltaic modules are in a target local address table or not;
if the local address of the sub-photovoltaic module is in the target local address table, generating sub-first project data based on the target project code, adding the sub-address code corresponding to the sub-photovoltaic module into the first project data to obtain second project data, and transmitting the second project data to a central control room;
and if the local address of the sub-photovoltaic module is not in the target local address table, not sending data to the central control room.
In a possible implementation manner, step 2, the central control room generates a sub-switching command based on the scheduling command and the sub-operating state, and transmits the sub-switching command to the distributed sub-pv modules, including:
generating query feedback data based on the second item data, and determining missing data in the query feedback data based on the state query request so as to obtain untransmitted data and unidentifiable data of the target sub-photovoltaic module;
detecting the network connection state of a target sub-photovoltaic module which does not transmit data, if the network connection state is smooth, extracting the format of a local address of the target sub-photovoltaic module to obtain a format code, and analyzing the format code to obtain the format characteristic of the local address;
establishing a decision function between the format characteristics and a preset effective format by using a deep belief network, and judging whether the local address is effective or not according to the decision function;
if yes, acquiring a front end code and a rear end code of the local area address;
otherwise, the local area address is sent to the client side to be invalid, and the query cannot be carried out;
generating a downloading address code based on the front end code and the rear end code of the local address, downloading the address of the target sub-photovoltaic module, and sending a state query request to the target sub-photovoltaic module again;
when the target sub-photovoltaic module is subjected to address downloading, the downloading address code is subjected to segmentation processing to obtain a plurality of sub-code sections, and based on a preset database, a format type corresponding to each sub-code section is determined;
selecting a sub-coding section corresponding to a preset access format type from the format type, analyzing the sub-coding section corresponding to the area type, determining format information corresponding to the download address code based on a field-area mapping relation, determining a download address of a target sub-photovoltaic module based on the format information and a preset number of the target sub-photovoltaic module, performing address coverage on the target sub-photovoltaic module based on the download address, and sending a state query request to the target sub-photovoltaic module again so as to obtain a sub-running state of the target sub-photovoltaic module;
the method comprises the steps of carrying out packet capturing processing on unidentifiable data to obtain a data message, extracting a message rule of the data message to obtain message characteristics, analyzing the similarity between the message characteristics and standard message characteristics in a preset database, correcting by taking the standard message characteristics with the largest similarity as a template to obtain a corrected data message, converting the unidentifiable data into identifiable data based on the corrected data message, and obtaining the sub-operation state of a sub-photovoltaic module.
In one possible implementation, the sub-operational state includes: and the grid-connected state, the output power and the stored electric quantity of each sub-photovoltaic module.
In a possible implementation manner, step 2, the central control room generates a sub-switching command based on the scheduling command and the sub-operating state, and transmits the sub-switching command to the distributed sub-pv modules, including:
determining the total station pre-output power based on the scheduling command, and determining the current output power of the total station based on the sub-operation state of the sub-photovoltaic assembly, so as to obtain the pre-adjustment output power:
when the output power is preset to be negative power, analyzing the grid-connected sub-photovoltaic module: judging whether the grid-connected sub-photovoltaic module is in a low output power state for a long time or not by taking 20% of the illumination time of the region where the grid-connected sub-photovoltaic module is located as a threshold line, if the grid-connected sub-photovoltaic module is in the low output power state for a long time, marking the grid-connected sub-photovoltaic module in the low output power state as a pre-off sub-photovoltaic module, and judging the relation between the total power of the pre-off sub-photovoltaic module and the pre-adjusted output power;
if the total power of the pre-off-grid sub-photovoltaic modules is not equal to the pre-adjusted output power, calculating the sub-pre-adjusted power required by each grid-connected sub-photovoltaic module which is not in a low output power state;
when the pre-adjusted output power is positive power, determining the planned number of the pre-grid-connected sub-photovoltaic modules based on the pre-adjusted output power and a preset grid-connected guide table, sequencing the non-grid-connected sub-photovoltaic modules based on the stored electric quantity, and selecting the planned number of the non-grid-connected sub-photovoltaic modules with the largest stored electric quantity as the pre-grid-connected sub-photovoltaic modules;
and generating corresponding sub-switching commands based on the pre-off-network sub-photovoltaic modules, the sub-pre-adjusted power and the pre-on-network sub-photovoltaic modules, and transmitting each sub-switching command to the corresponding distributed sub-photovoltaic modules.
In a possible implementation manner, step 3, the distributed sub-pv module switches the operating state based on the sub-switching command, including:
after receiving the sub-switching command, the distributed sub-photovoltaic module analyzes the sub-switching command to obtain a target local address of the sub-switching command, compares whether the target local address is consistent with the equipment local address or not, sends an error report to a central control room if the target local address is not consistent with the equipment local address, and executes the sub-switching command if the target local address is consistent with the equipment local address;
when the sub-switching command is a grid disconnection command, switching the distributed sub-photovoltaic module to a load state, turning off the grid connection switch, and switching the inverter of the distributed sub-photovoltaic module from current control to voltage control after the grid connection switch is completely disconnected to complete grid disconnection operation;
when the sub-switching command is a grid-connected command, voltage acquisition is carried out on a power grid to obtain the amplitude and frequency of the voltage of the power grid, the voltage amplitude and frequency of the distributed sub-photovoltaic module are adjusted to be consistent with the amplitude and frequency of the voltage of the power grid, an inverter of the distributed sub-photovoltaic module is switched from voltage control to current control, and a grid-connected switch is closed while switching is carried out;
and when the sub-switching command is to adjust the power, adjusting the output current of the distributed sub-photovoltaic module until the output power reaches a given value.
In a possible implementation manner, step 3, after the distributed sub-pv module switches the working state based on the sub-switching command, includes:
and after the distributed sub-photovoltaic modules are switched to work states, state change information is sent to the central control room, and the central control room updates the main control graph based on the state change information.
In one possible implementation manner, the step 1 of acquiring the sub-operation state of each distributed sub-photovoltaic module and transmitting the sub-operation state to the central control room based on 5G communication includes:
dividing all distributed photovoltaic modules into regions, wherein each sub-region comprises a GPRS module and no more than 255 distributed sub-photovoltaic modules, the distributed sub-photovoltaic modules in each sub-region are connected with the GPRS module in the region through RS485 buses, the GPRS module in each sub-region is in 5G communication with a central control room, the state information of all the distributed sub-photovoltaic modules in the region is collected and uploaded, a switching command sent to a photovoltaic controller by the central control room is issued, the state monitoring of all the distributed sub-photovoltaic modules is achieved, RS485 communication is adopted among other distributed sub-photovoltaic modules in the sub-region, and each sub-region is provided with an independent switch.
A distributed photovoltaic module working mode switching system based on 5G communication comprises:
an acquisition module: acquiring the sub-operation state of each distributed sub-photovoltaic module, and transmitting the sub-operation state to a central control room based on 5G communication;
a control module: the central control room generates a sub-switching command based on the scheduling command and the sub-running state, and transmits the sub-switching command to the distributed sub-photovoltaic modules;
an execution module: the distributed sub-photovoltaic modules switch the working state based on the sub-switching command.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Detailed Description
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are described herein for the purpose of illustration and explanation and not limitation.
Example 1
The invention provides a method for switching working modes of a distributed photovoltaic module based on 5G communication, which comprises the following steps of:
step 1: acquiring the sub-operation state of each distributed sub-photovoltaic module, and transmitting the sub-operation state to a central control room based on 5G communication;
step 2: the central control room generates a sub-switching command based on the scheduling command and the sub-running state, and transmits the sub-switching command to the distributed sub-photovoltaic modules;
and step 3: the distributed sub-photovoltaic modules switch the working state based on the sub-switching command.
In this embodiment, the sub-operation states are the generated power, the generated time length, and the operation state of each sub-photovoltaic module.
In this embodiment, the scheduling command is a grid-connected power generation index issued by a national grid, for example, 50kw of power generation in 1 day of 7 months.
In this embodiment, the sub-switching command is a state switching command corresponding to each sub-pv device, such as switching the state of the sub-pv device from the a state to the B state.
The beneficial effect of above-mentioned design is: by collecting the sub-operation state of each distributed sub-photovoltaic module, the central control room can conveniently switch the working mode according to the state of each distributed sub-photovoltaic module, so that the control capability of the distributed photovoltaic modules is improved, the intelligent degree of an electric field is improved, the working states of the distributed photovoltaic modules are coordinated through distributed setting and a 5G network, and the cooperative communication and control of the photovoltaic modules are conveniently realized.
Example 2
Based on embodiment 1, an embodiment of the present invention provides a method for switching working modes of a distributed photovoltaic module based on 5G communication, where in step 1, a sub-operation state of each distributed sub-photovoltaic module is collected, and the sub-operation state is transmitted to a central control room based on 5G communication, as shown in fig. 1, the method includes:
the sub-photovoltaic modules receive a state query request sent by a central control room, analyze the state query request to obtain target item codes and address codes of the target sub-photovoltaic modules, divide the address codes according to a preset method to obtain a plurality of corresponding sub-address codes, analyze the sub-address codes to obtain local addresses, and query whether the local addresses of the sub-photovoltaic modules are in a target local address table;
if the local address of the sub-photovoltaic module is in the target local address table, generating sub-first project data based on the target project code, adding the sub-address code corresponding to the sub-photovoltaic module into the first project data to obtain second project data, and transmitting the second project data to a central control room;
and if the local address of the sub-photovoltaic module is not in the target local address table, not sending data to the central control room.
In this embodiment, the status query request is information that the central office requests connection with the distributed sub-photovoltaic modules.
In this embodiment, the target item code is a code representing the generated power, the generated time length, and the operation state.
In this embodiment, the preset method is a four-bit division method, for example, 1111, 1010, 1101, 0010 is divided into 1111 and 1010 and 1101 and 0010.
In this embodiment, the local address table is a local address of a sub-photovoltaic module that can establish a connection with the central control room.
The beneficial effect of above-mentioned design is: through the local address information of the sub-photovoltaic modules, the information of a certain photovoltaic module can be directionally inquired conveniently by the central control room, so that the inquiry efficiency is improved, and the accuracy of the inquiry instruction is ensured.
Example 3
On the basis of embodiment 1, the embodiment of the invention provides a method for switching working modes of a distributed photovoltaic module based on 5G communication, comprising the following steps of: the central control room generates a sub-switching command based on the scheduling command and the sub-operation state, and transmits the sub-switching command to the distributed sub-photovoltaic module, as shown in fig. 1, further includes:
generating query feedback data based on the sub-second item data, and determining missing data in the query feedback data based on the state query request so as to obtain untransmitted data and unidentifiable data of the target sub-photovoltaic module;
detecting the network connection state of a target sub-photovoltaic module which does not transmit data, if the network connection state is smooth, extracting the format of a local address of the target sub-photovoltaic module to obtain a format code, and analyzing the format code to obtain the format characteristic of the local address;
establishing a decision function between the format characteristics and a preset effective format by using a deep belief network, and judging whether the local area address is effective or not according to the decision function;
if so, acquiring a front-end code and a rear-end code of the local address;
otherwise, the local area address is sent to the client side to be invalid, and the query cannot be carried out;
generating a downloading address code based on the front end code and the rear end code of the local address, downloading the address of the target sub-photovoltaic module based on the downloading address, and sending a state query request to the target sub-photovoltaic module again;
when the target sub-photovoltaic module is subjected to address downloading, the downloading address code is subjected to segmentation processing to obtain a plurality of sub-code sections, and based on a preset database, a format type corresponding to each sub-code section is determined;
selecting a sub-coding section corresponding to a preset access format type from the format type, analyzing the sub-coding section corresponding to the area type, determining format information corresponding to the download address code based on a field-area mapping relation, determining a download address of a target sub-photovoltaic module based on the format information and a preset number of the target sub-photovoltaic module, performing address coverage on the target sub-photovoltaic module based on the download address, and sending a state query request to the target sub-photovoltaic module again so as to obtain a sub-running state of the target sub-photovoltaic module;
the method comprises the steps of carrying out packet capturing processing on unidentified data to obtain a data message, extracting a message rule of the data message to obtain message characteristics, analyzing the similarity between the message characteristics and standard message characteristics in a preset database, correcting a data message by taking the standard message characteristics with the largest similarity as a template to obtain a corrected data message, and converting the unidentified data into identifiable data based on the corrected data message to obtain a sub-operation state of a sub-photovoltaic module.
In this embodiment, the query feedback data is obtained by comparing data uploaded by the sub-distributed photovoltaic modules with items in the status query request to obtain missing data and modules that do not upload data.
In this embodiment, the network connection status is detected as detecting network connectivity between the central control room and the photovoltaic module.
In this embodiment, the format extraction is to extract the first two-bit array of the local address, i.e., the format encoding.
In this embodiment, the format feature is a feature of format encoding.
In this embodiment, the deep belief network establishing the decision function between the format feature and the preset effective format by using the deep belief network includes performing confidence calculation on the principal component feature vector based on a preset effective domain name rule by using the deep belief network to obtain the decision function.
In this embodiment, the download address code is to obtain the local address of the target pv sub-assembly, such as 198.120.0.72, where 198 and 120 are the front address of the target pv sub-assembly, the distribution corresponds to 001 and 002 front codes, 0 is the back address, corresponds to 000 back codes, and 72 is the target pv sub-assembly code number.
In this embodiment, the field-to-region mapping is a mapping of a front address to a front code and a back address to a back code.
In this embodiment, the sub-code segment is a binary code segment representing a plurality of address formats.
In this embodiment, the address overlay is to overlay the download address of the target sub-photovoltaic module with the original local address.
In this embodiment, the packet capture process is to extract original data that cannot identify data, that is, a message composed of binary number groups.
The beneficial effect of above-mentioned design is: through carrying out network connection state detection, address downloading to the sub-photovoltaic module of target, grab the packet processing to unable discernment data, the photovoltaic module of intercommunication unable transmission data, the data of analysis unable discernment has improved the degree of controlling of central control room to photovoltaic module.
Example 4
On the basis of embodiment 1, an embodiment of the present invention provides a method for switching a working mode of a distributed photovoltaic module based on 5G communication, where the sub-operation state includes: and the grid-connected state, the output power and the stored electric quantity of each sub-photovoltaic module.
Example 5
On the basis of embodiment 1, the embodiment of the invention provides a method for switching working modes of a distributed photovoltaic module based on 5G communication, and the method comprises the following steps of: the central control room generates a sub-switching command based on the scheduling command and the sub-operation state, and transmits the sub-switching command to the distributed sub-photovoltaic modules, as shown in fig. 1, including:
determining the total station pre-output power based on the scheduling command, and determining the current output power of the total station based on the sub-operation state of the sub-photovoltaic assembly, so as to obtain the pre-adjustment output power:
when the output power is preset to be negative power, analyzing the grid-connected sub-photovoltaic module: judging whether the grid-connected sub-photovoltaic module is in a low output power state for a long time or not by taking 20% of the illumination time of the region where the grid-connected sub-photovoltaic module is located as a threshold line, if the grid-connected sub-photovoltaic module is in the low output power state for a long time, marking the grid-connected sub-photovoltaic module in the low output power state as a pre-off sub-photovoltaic module, and judging the relation between the total power of the pre-off sub-photovoltaic module and the pre-adjusted output power;
if the total power of the pre-off-grid sub-photovoltaic modules is not equal to the pre-adjusted output power, calculating the sub-pre-adjusted power required by each grid-connected sub-photovoltaic module which is not in a low output power state;
when the pre-adjusted output power is positive power, determining the planned number of the pre-grid-connected sub-photovoltaic modules based on the pre-adjusted output power and a preset grid-connected guide table, sequencing the non-grid-connected sub-photovoltaic modules based on the stored electric quantity, and selecting the planned number of the non-grid-connected sub-photovoltaic modules with the largest stored electric quantity as the pre-grid-connected sub-photovoltaic modules;
and generating corresponding sub-switching commands based on the pre-off-network sub-photovoltaic modules, the sub-pre-adjusted power and the pre-on-network sub-photovoltaic modules, and transmitting each sub-switching command to the corresponding distributed sub-photovoltaic modules.
In this embodiment, the scheduling command is a power generation task issued by the national grid, and includes power generation amount and power generation time, and if the scheduling command indicates that the photovoltaic station generates 50kw of power, the photovoltaic station adjusts the working mode of the sub-photovoltaic modules, that is, grid-connected power generation reaches 50 kw.
In this embodiment, the total station pre-output power is the total power to be output by the photovoltaic station according to the requirement of the scheduling command, for example, the total output power of all sub-photovoltaic modules of the station is the sum.
In this embodiment, the pre-offline sub-pv assembly is a sub-pv assembly that is expected to switch the operating mode to the offline operating mode.
In this embodiment, the pre-output power is a power generation index issued by scheduling.
In this embodiment, the threshold line is 20% of the time of day.
In this embodiment, the grid-connection guide table is a comparison relationship between the adjustment power and the adjustment quantity of the photovoltaic modules.
The beneficial effect of above-mentioned design is: by identifying the state of each photovoltaic module and then reducing the power, the photovoltaic modules in the low output power state are preferentially disconnected, and the photovoltaic modules with large storage electric quantity are preferentially connected to the grid when the grid is connected, so that the photovoltaic station has higher luminous efficiency and is more intelligent.
Example 6
On the basis of embodiment 1, the embodiment of the invention provides a method for switching working modes of a distributed photovoltaic module based on 5G communication, which is characterized in that the method comprises the following steps: the distributed sub-pv modules switch the operating state based on the sub-switching command, as shown in fig. 1, including:
after receiving the sub-switching command, the distributed sub-photovoltaic module analyzes the sub-switching command to obtain a target local address of the sub-switching command, compares whether the target local address is consistent with the equipment local address or not, sends an error report to a central control room if the target local address is not consistent with the equipment local address, and executes the sub-switching command if the target local address is consistent with the equipment local address;
when the sub-switching command is a grid disconnection command, switching the distributed sub-photovoltaic module to a load state, turning off the grid connection switch, and switching the inverter of the distributed sub-photovoltaic module from current control to voltage control after the grid connection switch is completely disconnected to complete grid disconnection operation;
when the sub-switching command is a grid-connected command, voltage acquisition is carried out on a power grid to obtain the amplitude and frequency of the voltage of the power grid, the voltage amplitude and frequency of the distributed sub-photovoltaic module are adjusted to be consistent with the amplitude and frequency of the voltage of the power grid, an inverter of the distributed sub-photovoltaic module is switched from voltage control to current control, and a grid-connected switch is closed while switching is carried out;
and when the sub-switching command is power regulation, regulating the output current of the distributed sub-photovoltaic module until the output power reaches a given value.
In this embodiment, the load state is that the photovoltaic module charges the energy storage device.
In the embodiment, the current control and the voltage control are in two control states, when the photovoltaic module is connected to the grid, the voltage at two ends of the photovoltaic module is large, the voltage control is dangerous, the current control is adopted, when the photovoltaic module is disconnected from the grid, the voltage control is accurate, and the voltage control is sampled.
The beneficial effect of above-mentioned design is: by comparing whether the target local address is consistent with the equipment local address or not, the misoperation probability is reduced, the safety is improved, and after the working mode is switched, the control mode is changed, so that the mode switching of the photovoltaic module is safer and more controllable.
Example 7
A method for switching working modes of a distributed photovoltaic module based on 5G communication is characterized by comprising the following steps of 3: after the distributed sub-pv modules switch the operating state based on the sub-switching command, as shown in fig. 1, the method includes:
and after the distributed sub-photovoltaic modules are switched to work states, state change information is sent to the central control room, and the central control room updates the main control graph based on the state change information.
Example 8
On the basis of embodiment 6, an embodiment of the present invention provides a method for switching a working mode of a distributed photovoltaic module based on 5G communication, which is characterized in that, in step 1: acquiring the sub-operation state of each distributed sub-photovoltaic module, and transmitting the sub-operation state to a central control room based on 5G communication; the method comprises the following steps:
dividing all distributed photovoltaic modules into regions, wherein each sub-region comprises a GPRS module and no more than 255 distributed sub-photovoltaic modules, the distributed sub-photovoltaic modules in each sub-region are connected with the GPRS module in the region through RS485 buses, the GPRS module in each sub-region is in 5G communication with a central control room, the state information of all the distributed sub-photovoltaic modules in the region is collected and uploaded, a switching command sent to a photovoltaic controller by the central control room is issued, the state monitoring of all the distributed sub-photovoltaic modules is achieved, RS485 communication is adopted among other distributed sub-photovoltaic modules in the sub-region, and each sub-region is provided with an independent switch.
The beneficial effect of above-mentioned design is: through carrying out the subregion to distributing type photovoltaic module, conveniently seek photovoltaic module's specific position to each other do not influence between the region, when a region breaks down, other regions still can normally work, and the RS485 communication of sampling makes can communicate each other between the photovoltaic module, has saved the cost.
Example 9
A system for switching operation modes of a distributed photovoltaic module based on 5G communication, as shown in fig. 2, includes:
an acquisition module: acquiring the sub-operation state of each distributed sub-photovoltaic module, and transmitting the sub-operation state to a central control room based on 5G communication;
a control module: the central control room generates a sub-switching command based on the scheduling command and the sub-running state, and transmits the sub-switching command to the distributed sub-photovoltaic modules;
an execution module: the distributed sub-photovoltaic modules switch the working state based on the sub-switching command.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.