CN116846064A - Photovoltaic equipment networking control method, system, equipment and medium - Google Patents

Photovoltaic equipment networking control method, system, equipment and medium Download PDF

Info

Publication number
CN116846064A
CN116846064A CN202310588101.4A CN202310588101A CN116846064A CN 116846064 A CN116846064 A CN 116846064A CN 202310588101 A CN202310588101 A CN 202310588101A CN 116846064 A CN116846064 A CN 116846064A
Authority
CN
China
Prior art keywords
host
photovoltaic
information
equipment
slave
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310588101.4A
Other languages
Chinese (zh)
Inventor
张震
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Sigeyuan Intelligent Technology Co ltd
Original Assignee
Shanghai Sigeyuan Intelligent Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Sigeyuan Intelligent Technology Co ltd filed Critical Shanghai Sigeyuan Intelligent Technology Co ltd
Priority to CN202310588101.4A priority Critical patent/CN116846064A/en
Publication of CN116846064A publication Critical patent/CN116846064A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J13/00Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network
    • H02J13/00006Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by information or instructions transport means between the monitoring, controlling or managing units and monitored, controlled or operated power network element or electrical equipment
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J13/00Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network
    • H02J13/00004Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by the power network being locally controlled
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J13/00Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network
    • H02J13/00032Systems characterised by the controlled or operated power network elements or equipment, the power network elements or equipment not otherwise provided for
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J3/00Circuit arrangements for ac mains or ac distribution networks
    • H02J3/38Arrangements for parallely feeding a single network by two or more generators, converters or transformers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • H04L12/4645Details on frame tagging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J2300/00Systems for supplying or distributing electric power characterised by decentralized, dispersed, or local generation
    • H02J2300/20The dispersed energy generation being of renewable origin
    • H02J2300/22The renewable source being solar energy
    • H02J2300/24The renewable source being solar energy of photovoltaic origin

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer Security & Cryptography (AREA)
  • Supply And Distribution Of Alternating Current (AREA)

Abstract

The invention provides a photovoltaic equipment networking control method, a system, equipment and a medium, which comprise the following steps: after each photovoltaic device is electrified, starting master-slave competition for each photovoltaic device; each photovoltaic device broadcasts a host competition frame, receives and analyzes the host competition frames sent by other photovoltaic devices, and obtains competition strategy information; if the equipment information carried by any one of the photovoltaic equipment is the highest priority in the competition strategy information, determining the current any one of the photovoltaic equipment as a host, and enabling the host to broadcast a host heartbeat frame; if the equipment information carried by any one of the photovoltaic equipment is not the highest priority in the competition strategy information, determining any one of the photovoltaic equipment as a slave; and the host computer is used for receiving the equipment information of each slave computer, and management is carried out based on the equipment information of each slave computer, so that the photovoltaic equipment networking control is completed. The power station equipment networking is realized by constructing the concept of the same-level virtual host, so that the station-opening efficiency and the operation fault tolerance of the power station are improved, and the technical requirements of field implementation personnel and the station-opening cost are reduced.

Description

Photovoltaic equipment networking control method, system, equipment and medium
Technical Field
The invention belongs to the field of photovoltaic power generation control, and particularly relates to a photovoltaic equipment networking control method, a system, equipment and a medium.
Background
In recent years, with the rapid progress of photovoltaic energy storage technologies, especially the rapid development of photovoltaic (energy storage inverter) technologies, the demand for modular design is higher and higher, the power required by the system is higher and higher, and more products start to increase the parallel operation function so as to meet the demand for modular design.
However, in a photovoltaic power station formed by photovoltaic equipment, when the photovoltaic equipment is started, the equipment information is often manually input and checked and manually checked by manual cooperation for a plurality of times, so that the time and labor are wasted, the efficiency is low, the startup of the plurality of pieces of equipment cannot be successfully completed due to the fact that the main equipment concept and the auxiliary equipment concept are not partially provided, and the like, and the networking efficiency of the photovoltaic equipment in the photovoltaic power station is low and errors are easy to occur.
Disclosure of Invention
In view of the above drawbacks of the prior art, the present invention is directed to providing a method, a system, an apparatus, and a medium for controlling networking of photovoltaic devices, which are used for solving the problems of low networking efficiency and easy error in the networking control of the photovoltaic devices in the prior art.
To achieve the above and other related objects, a first aspect of the present invention provides a photovoltaic device networking control method, which is applied to a photovoltaic device, including: after each photovoltaic device is electrified, starting master-slave competition for each photovoltaic device in the same network; each photovoltaic device broadcasts a host competition frame, receives and analyzes host competition frames sent by other photovoltaic devices, and obtains competition strategy information, wherein the competition strategy information at least comprises device information carried by the photovoltaic devices; comparing the equipment information carried by each piece of photovoltaic equipment with the equipment information priority carried in the competition strategy information to determine whether the equipment information carried by the photovoltaic equipment is the highest priority; if the equipment information carried by any one of the photovoltaic equipment is the highest priority in the competition strategy information, determining the current any one of the photovoltaic equipment as a host, and enabling the host to broadcast the host heartbeat frame; if the equipment information carried by any one of the photovoltaic equipment is not the highest priority in the competition strategy information, determining any one of the photovoltaic equipment as a slave; after the host is determined, the host is utilized to receive the equipment information of each slave, and each slave is managed based on the equipment information of each slave, so that the photovoltaic equipment networking control is completed.
In an embodiment of the first aspect, before the starting master-slave competition for each of the photovoltaic devices in the same network, the method further includes:
each photovoltaic device monitors whether the heartbeat frame of the host is received within a first preset time; if the host heartbeat frame is received within the first preset time, determining the photovoltaic equipment which receives the host heartbeat frame as a slave; if the first preset time is exceeded and the host heartbeat frame is not received, triggering each photovoltaic device to start master-slave competition; if the host heartbeat frame is not received within the first preset time, continuing to monitor until the first preset time is reached.
In an embodiment of the first aspect, after the photovoltaic device is determined to be a slave, the method further includes:
monitoring the heartbeat frame of the host computer in real time by utilizing the slave computer; if the slave receives the heartbeat frame of the master within the second preset time, enabling each slave to keep in a slave working mode; if the slave machine does not receive the heartbeat frame of the master machine within the second preset time, the slave machines exit from the slave machine working mode, and all the photovoltaic devices are triggered to start master-slave competition again.
In an embodiment of the first aspect, each of the photovoltaic devices supports hot backup, and receives and stores, in real time, power station information synchronized with the rest of the photovoltaic devices in the same network.
In an embodiment of the first aspect, if the slave does not receive the heartbeat frame of the host within a second preset time, determining that the host fails, and re-determining a new host by triggering the photovoltaic device in the same network to start master-slave competition again; replacing the host with the new host, which has the host fault, and recovering data of the failed host based on the power station information of each photovoltaic device of the hot backup; and the new host sends the fault information to the cloud.
In an embodiment of the first aspect, before the receiving, by the master, device information of each slave, the method further includes:
detecting a network link of a network formed by the host computer and the slave computer, and determining whether a router exists in the network link; if the router does not exist in the network link, the host and the slave are respectively configured based on a dynamic host configuration protocol, a first server and a first client are determined, a network address is distributed to the slave serving as the first client by using the first server, and the first server reports slave information broadcasted by each slave serving as power station information based on a wireless network.
In an embodiment of the first aspect, if a router exists in the network link, configuring the master and the slave as the second client based on a dynamic host configuration protocol, and configuring the router as the second server; allocating a network address to the second client by using the second server, wherein the second client receives the network address and broadcasts the network address; judging whether the second server is connected with a cloud end through a network; if the second server cannot be connected with the cloud end through the network, the host computer reports the slave information broadcasted by each slave machine as power station information based on a wireless network; and if the second server is connected with the cloud end through the network, the host computer reports the slave information broadcasted by each slave as power station information based on the second server.
In an embodiment of the first aspect, the receiving, by the master, device information of each of the slaves, managing each of the slaves based on the device information of each of the slaves, includes:
the host receives the start-up information, and checks the power stations where the host and the slave are located according to the start-up information; the start-up information comprises the equipment number, the equipment information and the equipment data of the photovoltaic equipment; if the power station meets the verification condition, the host is configured in response to the cloud, so that the host broadcasts configuration information to perform parameter configuration to complete the power station opening.
In an embodiment of the first aspect, the method further includes receiving, by the master, device information of each of the slaves, managing each of the slaves based on the device information of each of the slaves, and further including:
establishing a communication link with a cloud by using a control terminal, and completing login by verifying an account of the control terminal; after successful login, if the control terminal acquires the identification information of any photovoltaic equipment in the power station, and verifies the identification information; if the identification information passes verification, switching the photovoltaic equipment corresponding to the identification information to a host computer unique to the power station, and sending power station information to the host computer; the host receives the start-up information, and checks the power stations where the host and the slave are located according to the start-up information; the start-up information comprises the equipment number, the equipment information and the equipment data of the photovoltaic equipment; if the power station meets the verification condition, the host is configured in response to the cloud, so that the host broadcasts configuration information to perform parameter configuration to complete the power station opening.
In an embodiment of the first aspect, the host contention frame includes at least one of: photovoltaic equipment serial number, photovoltaic equipment hardware address number, system running time, photovoltaic equipment unique identification code and network card physical address; the contention policy information is a maximum value or a minimum value of the host contention frame.
In an embodiment of the first aspect, each of the photovoltaic devices broadcasts a host contention frame, receives and parses host contention frames sent by other photovoltaic devices to obtain contention policy information, and further includes:
the photovoltaic devices are arranged according to the priority order according to different device types, a priority list is determined, wherein each photovoltaic device is determined by the hardware configuration of each device program operation, and the hardware configuration comprises a central processing unit, a hard disk and a memory; if the device types of the photovoltaic devices are different, each photovoltaic device is caused to broadcast one host contention frame; receiving different host competition frames sent by other photovoltaic devices, determining the priority order of the current photovoltaic device under each host competition frame according to the priority list, screening the host competition frame corresponding to the highest priority order, and determining the host competition frame as the competition strategy information of the current photovoltaic device
In an embodiment of the first aspect, after the broadcasting, by the host, the host heartbeat frame further includes:
if any one of the photovoltaic devices receives the host heartbeat frame, determining a slave machine from the photovoltaic device currently receiving the host heartbeat frame; if any one of the photovoltaic devices does not receive the host heartbeat frame and the time for executing the host competition frame does not exceed the preset competition time, the current photovoltaic device is triggered to broadcast a master-slave competition frame again; and if any photovoltaic equipment does not receive the host heartbeat frame and the time for executing the host competition frame exceeds the preset competition time, triggering the current photovoltaic equipment to judge whether the equipment information carried by the photovoltaic equipment is the highest priority.
In an embodiment of the first aspect, the photovoltaic apparatus at least includes a photovoltaic unit, an inverter, and an energy storage device; selecting a plurality of photovoltaic devices of the same type to respectively construct sub-networks, and connecting the sub-networks according to a photovoltaic power station topological structure to construct a local area network; the device information corresponding to the photovoltaic devices in each sub-network is unique identifiable photovoltaic device information, and the identifiable photovoltaic device information at least comprises one of the following: device identification code, device unique response identifier, device unique response mode, device unique response scheme.
A second aspect of the present invention provides a photovoltaic device networking control system, the control system comprising: the monitoring triggering module is used for starting master-slave competition for each photovoltaic device in the same network after each photovoltaic device is electrified; the master-slave competition module is used for broadcasting a host competition frame by each photovoltaic device, receiving and analyzing the host competition frames sent by other photovoltaic devices, and obtaining competition strategy information, wherein the competition strategy information at least comprises device information carried by the photovoltaic devices; the priority comparison module is used for comparing the equipment information carried by each piece of photovoltaic equipment with the equipment information priority carried in the competition strategy information to determine whether the equipment information carried by the photovoltaic equipment is the highest priority; the host determining module is used for determining any one of the photovoltaic devices as a host and enabling the host to broadcast the host heartbeat frame if the device information carried by any one of the photovoltaic devices is the highest priority in the competition strategy information; the slave machine determining module is used for determining any photovoltaic equipment as a slave machine if the equipment information carried by any photovoltaic equipment is not the highest priority in the competition strategy information; and the networking control module is used for receiving the equipment information of each slave machine by using the host machine after the host machine is determined, managing each slave machine based on the equipment information of each slave machine, and completing the photovoltaic equipment networking control.
A third aspect of the present invention provides a photovoltaic device networking control device, including:
one or more processing devices; a memory for storing one or more programs; and when the one or more programs are executed by the one or more processing devices, the one or more processing devices are enabled to realize the photovoltaic equipment networking control method.
A fourth aspect of the present invention provides a computer-readable storage medium having stored thereon a computer program for causing the computer to execute the above-described photovoltaic device networking control method.
As described above, the photovoltaic equipment networking control method, system, equipment and medium according to the present invention have the following beneficial effects:
after the photovoltaic equipment is monitored to be electrified, master-slave competition is started for each photovoltaic equipment in the same network; each photovoltaic device broadcasts a host competition frame, receives and analyzes the host competition frames sent by other photovoltaic devices, and obtains competition strategy information; if the equipment information carried by any one of the photovoltaic equipment is the highest priority in the competition strategy information, determining the current any one of the photovoltaic equipment as a host, and enabling the host to broadcast the host heartbeat frame; if the equipment information carried by any one of the photovoltaic equipment is not the highest priority in the competition strategy information, determining any one of the photovoltaic equipment as a slave; and the host manages the slaves based on the equipment information of the slaves, and the photovoltaic equipment networking control is completed.
Under the parallel airport scene, each photovoltaic device spontaneously competes with the master slave, the site device networking can be achieved without changing a physical layer by constructing the concept of the same-level virtual host, and all the slaves are uniformly scheduled and managed by the virtual host, so that on one hand, no additional devices are required to be added, and the physical layer is not required to distinguish the master from the slave, thereby reducing the start-up cost; on the other hand, the manual input of equipment information is avoided, the technical requirements on constructors are reduced, and the operation content is reduced, in other words, the invention improves the station opening efficiency of the power station, reduces the technical requirements of field implementation personnel, and also improves the operation fault tolerance.
Drawings
FIG. 1 shows a schematic diagram of a photovoltaic power plant system implementation provided by the invention;
fig. 2 shows a flowchart of a photovoltaic device networking control method provided by the invention;
FIG. 3 is a flow chart of a concurrent airport scene competition host provided by the present invention;
FIG. 4 is a flowchart of a host-machine-anomaly-single-machine re-competition host provided by the invention;
fig. 5 shows a network link probing diagram of a photovoltaic device according to the present invention;
fig. 6 shows a parallel operation competition flow chart of a photovoltaic device provided by the invention;
fig. 7 shows a one-touch operation flow chart of any one photovoltaic device provided by the invention;
Fig. 8 shows a block diagram of a photovoltaic device networking control system provided by the application;
fig. 9 is a schematic structural diagram of an electronic device suitable for implementing an embodiment of the present application.
Detailed Description
Other advantages and effects of the present application will become apparent to those skilled in the art from the following disclosure, which describes the embodiments of the present application with reference to specific examples. The application may be practiced or carried out in other embodiments that depart from the specific details, and the details of the present description may be modified or varied from the spirit and scope of the present application. It should be noted that the following embodiments and features in the embodiments may be combined with each other without conflict.
It should be noted that the illustrations provided in the following embodiments merely illustrate the basic concept of the present application by way of illustration, and only the components related to the present application are shown in the drawings and are not drawn according to the number, shape and size of the components in actual implementation, and the form, number and proportion of the components in actual implementation may be arbitrarily changed, and the layout of the components may be more complicated.
In the present application, the photovoltaic devices include, but are not limited to, a photovoltaic panel string, a power converter, a battery, an energy storage converter, an inverter, and the like, and the photovoltaic devices are connected to each other through a network by means of LAN, CAN, WLAN, and the like.
A power converter: for voltage conversion of an input DC power, in some embodiments of the application, for example, a Direct Current (DC)/Direct Current (DC) boost function may be implemented to convert a low voltage DC from a DC power source (e.g., a solar panel) to a high voltage DC output, for example, in a photovoltaic power generation system, the low voltage DC may be converted to a DC voltage output meeting inverter input DC voltage requirements for maximum power tracking of the solar panel such that the panel outputs at maximum power.
Energy storage converter: having a bi-directional DC/DC conversion function, in some embodiments of the present application, may be connected to and perform a charge-discharge function on a DC power source (e.g., a battery).
An inverter: the input direct current is converted into alternating current by Direct Current (DC)/Alternating Current (AC) conversion and output.
Referring to fig. 1, a schematic diagram of an implementation of a photovoltaic power station system according to the present application is shown.
The system may include at least one power converter 102 (e.g., n power converters 102a, …,102 n), at least one inverter 110 (e.g., k inverters 110a, …,110 k). The input of the power converter 102 is connected to at least one photovoltaic panel string 101, each of which may comprise one or more solar panels. In some embodiments, each power converter may be connected in series with one photovoltaic panel string, e.g., power converter 102a may be connected in series with solar panel string 101a. In other embodiments, each power converter may be connected in series with multiple strings of photovoltaic panels. The power converter 102 is a DC/DC converter having a step-up function, and can convert a low-voltage direct current output from the panel string 101 into a direct-current voltage output satisfying the inverter input direct-current voltage requirement. The output of the power converter 102 is connected to the input of the inverter 110 via a power line 105 (e.g., a direct current power line). After passing through the power converter 102, the direct current output by the photovoltaic panel string 101 is transmitted to the inverter 110 through the power line 105, and the inverter 110 converts the received direct current into an alternating current for output, for example, to a power grid. In the case of multiple power converters 102 or inverters 110, the output terminals of each power converter may be connected in parallel and the input terminals of each inverter may be connected in parallel.
As shown in fig. 1, the outputs of the power converters 102a, … 102n are connected in parallel and the inputs of the inverters 110a, … 110k are connected in parallel. The output terminals of the parallel power converters 102a, … 102n are connected to the input terminals of the parallel inverters 10a, … 110k via the power line 105.
In some embodiments, an energy storage unit may be connected in parallel in the system, so as to store the redundant electric energy of the photovoltaic panel string 101, and supply power whenever needed.
The energy storage unit may include at least one energy storage converter 104 (e.g., m energy storage converters 104a, …,104 m) and at least one battery 103 (e.g., m batteries 103a, …,103 m) connected to the energy storage converter 104. Each of the energy storage converters 104 may be connected to a plurality of batteries, or may be connected to one battery. Examples of the battery 103 may include, but are not limited to, a battery cabinet.
In some embodiments of the present application, the energy storage converter 104 may have a bidirectional DC/DC conversion function to charge and discharge the electric energy of the battery 103. In the case of a plurality of energy storage converters 104, the outputs of the plurality of energy storage converters 104 are likewise connected in parallel to the power line 105. For example, as shown in fig. 1, the energy storage converters 104a, …,104m are connected in parallel and then connected to the power line 105.
In some embodiments of the present application, in case the voltage of the battery 103 is sufficient, the battery 103 may be directly connected to the inverter 110 without the energy storage converter 104, i.e., the energy storage unit includes only the battery 103 and does not include the energy storage converter 104, instead of the battery 103 being connected to the inverter 110 through the energy storage converter 104. In some embodiments of the application, examples of the battery 103 include, but are not limited to, a battery cabinet. The battery 103 is connected in parallel with the power converter 102 and is also connected to an input terminal of the inverter 110 via a power line.
In the photovoltaic power station, when the parallel operation is started, manual equipment input is often needed, equipment information is checked, time and labor are wasted, efficiency is low, and problems of complex work procedures of a cloth yard, strong professional line requirements of constructors and the like are easily caused by partial situations without master-slave equipment concepts and the like.
In the prior art, on one hand, physical equipment such as a station level controller is required to be introduced, so that the product cost is increased; on the other hand, the physical equipment is used to introduce a concept of master-slave equipment, a physical layer is also required to distinguish master and slave, and the master and slave are all required to be manually input, so that the requirements on constructors are high, and the operation is complex.
Referring to fig. 2, a flowchart of a photovoltaic device networking control method provided by the present application includes:
step S201, after each photovoltaic device is powered on, starting master-slave competition for each photovoltaic device in the same network;
specifically, after the photovoltaic equipment is electrified, whether the photovoltaic equipment is electrified or not is determined by monitoring the electrified state of the photovoltaic equipment. The photovoltaic devices may be the same device node in the photovoltaic power station, or may be different types of device nodes in the photovoltaic power station, for example, the photovoltaic devices include, but are not limited to, photovoltaic panel strings, power converters, batteries, energy storage converters, inverters, and the like, which are not limited herein.
It should be noted that, here, the same network is in the same local area network where each of the photovoltaic devices is located, which is favorable for the mutual communication of each of the photovoltaic devices, that is, all the photovoltaic devices perform master-slave competition in the same communication link in a unified manner through the physical link layer. The master-slave competition method provided by the application is applied to the photovoltaic equipment networking system and is used for competing out the host, so that the photovoltaic equipment networking system can communicate with the outside through the host. Because the photovoltaic equipment networking system is integrally formed outside, a master-slave competition mechanism is required to be arranged between the photovoltaic equipment, only one host responds to communication at the same time, and when the current host is abnormal, the slave can be used for carrying out master-slave competition again to determine the reliability of communication control of the new host.
Step S202, each photovoltaic device broadcasts a host competition frame, receives and analyzes the host competition frames sent by other photovoltaic devices, and obtains competition strategy information; the competition strategy information at least comprises equipment information carried by the photovoltaic equipment;
specifically, each photovoltaic device sends a host contention frame in a broadcast manner, and meanwhile, the photovoltaic device also receives and parses the host contention frame sent by other photovoltaic devices, so as to obtain contention policy information, where the contention policy information at least includes device information carried by the photovoltaic device, and it is to be noted that the device information carried by the photovoltaic device must exist in the contention policy information.
The host contention frame includes at least one of: photovoltaic equipment serial number, photovoltaic equipment hardware address number, system running time, photovoltaic equipment unique identification code and network card physical address; the contention policy information is a maximum value or a minimum value of the host contention frame.
For example, the host contention frame content includes, but is not limited to, a device serial number, a device hardware address number, a device system run time, a universally unique identification number, a network card physical address, and the like.
The competing policies include, but are not limited to, taking a minimum device serial number, taking a maximum device serial number, taking a minimum device hardware address number, taking a maximum system run time, taking a minimum unique identification number, taking a maximum universal unique identification number, taking a minimum network card physical address value, taking a maximum network card physical address value, and the like.
Step S203, comparing the equipment information carried by each photovoltaic equipment with the equipment information priority carried in the competition strategy information to determine whether the equipment information carried by the photovoltaic equipment is the highest priority;
specifically, the device information carried in the competition strategy information includes a plurality of types, and is ranked according to the priority order, and whether the device information carried by each photovoltaic device is the highest priority is determined by comparing the priority order positions of the device information carried by each photovoltaic device, for example, the device information belonging to the highest priority order is indicated as the highest priority, and conversely, the device information is not the highest priority.
Step S204, if the equipment information carried by any one of the photovoltaic equipment is the highest priority in the competition strategy information, determining the current any one of the photovoltaic equipment as a host, and enabling the host to broadcast a host heartbeat frame;
specifically, after the competition strategy information is determined, whether the device information carried by any photovoltaic device is the highest priority in the competition strategy information is detected, if the device information carried by any photovoltaic device is the highest priority in the competition strategy information, the current any photovoltaic device is determined to be the host, and the host sends the heartbeat frame of the host to each slave in a broadcasting mode.
It should be understood that the host heartbeat frame indicates the operational status of the host for one transmission of character information.
Step S204, if the equipment information carried by any one of the photovoltaic equipment is not the highest priority in the competition strategy information, determining any one of the photovoltaic equipment as a slave; the method comprises the steps of carrying out a first treatment on the surface of the
Specifically, whether the device information carried by any photovoltaic device is the highest priority in the competition strategy information is detected, and if the device information carried by any photovoltaic device is not the highest priority in the competition strategy information, any photovoltaic device is determined to be a slave.
Step S205, after the host is determined, the host is utilized to receive the equipment information of each slave, and each slave is managed based on the equipment information of each slave, so as to complete the photovoltaic equipment networking control.
Specifically, by constructing the concept of the same-level virtual host, site equipment networking can be achieved without changing a physical layer, multiple equipment is not required to be manually input, the virtual host is used for unified scheduling and management, the slaves are managed based on equipment information of the slaves, and photovoltaic equipment networking control is completed.
By the method, after the photovoltaic equipment is monitored to be electrified, master-slave competition is started for each photovoltaic equipment in the same network; each photovoltaic device broadcasts a host competition frame, receives and analyzes the host competition frames sent by other photovoltaic devices, and obtains competition strategy information; if the equipment information carried by any one of the photovoltaic equipment is the highest priority in the competition strategy information, determining the current any one of the photovoltaic equipment as a host, and enabling the host to broadcast a host heartbeat frame; if the equipment information carried by any one of the photovoltaic equipment is not the highest priority in the competition strategy information, determining any one of the photovoltaic equipment as a slave; and the host manages each slave based on the equipment information of each slave, and the photovoltaic equipment networking control is completed.
Under the parallel airport scene, each photovoltaic device spontaneously competes with the master slave, the site device networking can be achieved without changing a physical layer by constructing the concept of the same-level virtual host, and all the slaves are uniformly scheduled and managed by the virtual host, so that on one hand, no additional devices are required to be added, and the physical layer is not required to distinguish the master from the slave, thereby reducing the start-up cost; on the other hand, the manual input of equipment information is avoided, the technical requirements on constructors are reduced, and the operation content is reduced, in other words, the invention improves the station opening efficiency of the power station, reduces the technical requirements of field implementation personnel, and also improves the operation fault tolerance.
Referring to fig. 3, a flow chart of a parallel airport scene competition host provided by the present invention is described in detail as follows:
on the basis of the above embodiment, before starting master-slave competition for each photovoltaic device in the same network, the method further includes:
each photovoltaic device monitors whether a heartbeat frame of a host computer is received within a first preset time;
if the host heartbeat frame is received within the first preset time, determining the photovoltaic equipment which receives the host heartbeat frame as a slave;
if the first preset time is exceeded and the heartbeat frame of the host is not received, triggering each photovoltaic device to start master-slave competition;
If the host heartbeat frame is not received within the first preset time, continuing to monitor until the first preset time is reached.
Specifically, since the host broadcasts a host heartbeat frame every first preset time, for example, the slave receives the host heartbeat frame to respond; if any photovoltaic device is monitored to receive the host heartbeat frame, the host heartbeat frame is transmitted in a broadcasting mode, the host is proved to exist when any device node detects the host heartbeat frame, the photovoltaic device receiving the host heartbeat frame is determined to be a slave, and master-slave competition is abandoned.
In addition, if the first preset time is exceeded and the host heartbeat frame is not received, triggering each photovoltaic device to start master-slave competition, wherein the first preset time is set according to the user requirement, for example, 10 seconds, 15 seconds and the like.
If the host heartbeat frame is not received within the first preset time, continuing to monitor the host heartbeat frame of the photovoltaic equipment until the first preset time is reached, for example, if the first preset time is exceeded and the host heartbeat frame is not received, triggering each photovoltaic equipment to start master-slave competition; and if the host heartbeat frame is received within the first preset time, determining the photovoltaic equipment for receiving the host heartbeat frame as a slave.
Finally, keeping monitoring the action of the host heartbeat frame, and if the host heartbeat frame is not received, continuing broadcasting the host heartbeat frame according to the host rule; and if the heartbeat frame of the host computer is received, determining the current photovoltaic equipment as the slave computer.
According to some embodiments of the invention, the host heartbeat frame can be used for rapidly determining that each photovoltaic device enters the slave working mode, and simultaneously, the host heartbeat frame is used for triggering each photovoltaic device to start master-slave competition so as to rapidly determine the host and the slave.
In some embodiments, referring to fig. 4, a flowchart of a host device re-competing for a host device with an abnormal host device provided by the present invention is provided, after a photovoltaic device determines that the device information carried by any photovoltaic device is not the highest priority in the competing policy information, for example, after any photovoltaic device is determined as the slave device, or after any photovoltaic device is monitored to receive a host heartbeat frame, after a photovoltaic device receiving the host heartbeat frame is determined as the slave device, further including:
monitoring a heartbeat frame of a host computer in real time by using a slave computer;
if the slave receives the heartbeat frame of the master within the second preset time, enabling each slave to keep the slave working mode; wherein the second preset time is longer than the first preset time;
If the slave machine does not receive the heartbeat frame of the master machine within the second preset time, each slave machine exits from the slave machine working mode, and all the photovoltaic devices are triggered to start master-slave competition again.
In this embodiment, it should be noted that, unlike fig. 3, the slave continues to monitor the heartbeat frame of the master, and if the new heartbeat frame of the master is monitored normally, the slave continues to operate in the working mode. If the host heartbeat is not received beyond the second preset time, the host contention mode is started, and the specific contention process is the same as that of fig. 3, and will not be described in detail here.
It should be noted that each photovoltaic device supports hot backup, receives and stores the synchronous power station information of the rest photovoltaic devices in the same network in real time, so that the slaves complete hot backup, and thus, all slaves support hot backup and can be automatically switched to the master under the fault scene of the master.
If the slave machine does not receive the heartbeat frame of the host machine within the second preset time, determining that the host machine fails, starting master-slave competition again by triggering photovoltaic equipment in the same network, and determining a new host machine again;
and switching by using the new host, replacing the host with the fault, recovering data of the fault host based on the equipment information of each photovoltaic equipment of the hot backup, and sending the fault information to the cloud terminal for backup by using the new host.
It should be understood that the host is the power station in its identity, the recovered data is the power station data, and the abnormal host is reported as the unique identification of the device.
Specifically, the mode can complete the competition of the host at any moment due to the failure of the host, and any slave can automatically replace the host to collect the work of the power station under the scene of the failure of the host because each slave supports hot standby. The new host can report the fault to the cloud by replacing the fault host, and meanwhile, the normal operation of the power station is not affected to the greatest extent.
Specifically, if the slave machine does not receive the heartbeat frame of the host machine for 30 seconds continuously, the host machine is considered to be faulty, and similarly, if the continuous times of receiving the reply of the slave machine after the host machine sends the heartbeat frame are greater than 3 times, the slave machine is considered to be faulty; when the master and the slave consider that the opposite side fails and then start to receive the heartbeat frame of the opposite side, the failure of the opposite side is considered to be relieved.
Optionally, in some embodiments, after the host broadcasts the host heartbeat frame, the method further includes:
if any photovoltaic device receives the heartbeat frame of the host, determining a slave from the photovoltaic device currently receiving the heartbeat frame of the host;
if any photovoltaic device does not receive the host heartbeat frame and the time for executing the host competition frame does not exceed the preset competition time, the current photovoltaic device is triggered to broadcast the master-slave competition frame again;
If any photovoltaic device does not receive the host heartbeat frame and the time for executing the host competition frame exceeds the preset competition time, triggering the current photovoltaic device to judge whether the device information carried by the current photovoltaic device is the highest priority.
It should be understood that the preset contention time is a period of executing host contention, if no host heartbeat frame is received at the end of the period of time, whether the device information carried by the photovoltaic device is the highest priority or not can be judged according to the host contention frame, so that the contradiction phenomenon that the host heartbeat frame is received and whether the device information carried by the photovoltaic device is the highest priority or not is avoided, and further, the user who is the host and the user who is the slave can be unambiguously determined, and the efficiency and the accuracy of the photovoltaic device networking are improved.
In some embodiments, referring to fig. 5, a network link detection diagram of a photovoltaic device provided by the present invention, before receiving device information of each slave by using a master, further includes:
detecting a network link of a network formed by the host and the slave, and determining whether a router exists in the network link;
if the router does not exist in the network link, the host and the slave are respectively configured based on a dynamic host configuration protocol, a first server and a first client are determined, the first server is utilized to distribute network addresses to the slaves serving as the first client, and the first server reports slave information broadcasted by each slave as power station information based on a wireless network.
In this embodiment, the master and the slave detect the link simultaneously, and detect the router in the link; if no line router is detected, the slave is started DHCP CLIENT, the host is started DHCP SERVER to distribute addresses to the slave, after distribution is completed, the slave broadcasts slave information, and the host is started 4G or 5G mobile network and cloud interconnection report power station information to wait for the start.
On the basis of the embodiment, if the router exists in the network link, configuring the host and the slave as a second client based on a dynamic host configuration protocol, and configuring the router as a second server;
distributing a network address to a second client by using a second server, and receiving the network address and broadcasting the network address by the second client;
judging whether the second server is connected with the cloud end through a network;
if the second server cannot be connected with the cloud end through the network, the host computer reports the slave information broadcasted by each slave machine as power station information based on the wireless network;
if the second server is connected with the cloud end through the network, the host computer reports the slave information broadcasted by each slave as power station information based on the second server.
In this embodiment, if a router is detected, all devices default to open the device DHCP CLIENT service to apply IP to the router, the host detects whether the route can communicate with the cloud, and if the route cannot communicate with the cloud, the host opens the 4G or 5G mobile network and the cloud to report the information of the power station to wait for the start. If the route can communicate with the cloud, the power station information is reported through the route to wait for opening.
By the method, the link detection is performed based on the wired link, the host and the slave automatically determine whether to perform route switching based on the link state, and the power station information can be ensured to be transmitted to the cloud.
In some embodiments, referring to fig. 6, a parallel operation competition flow chart of a photovoltaic device is provided, in this flow, all photovoltaic devices default to initiate host competition, after the competition of the photovoltaic devices is completed, the host establishes a power station, and the slave performs hot backup.
Further, the host computer builds power station information, reports the power station information to the cloud end, waits for a response of the cloud end, and responds to the cloud end to configure the host computer, so that the host computer broadcasts configuration information to perform parameter configuration to complete the power station opening.
The method for managing each slave machine based on the device information of each slave machine by using the master machine to receive the device information of each slave machine includes:
the host receives the start information and checks the power station where the host and the slave are located according to the start information; the start-up information comprises the equipment number, the equipment information and the equipment data of the photovoltaic equipment;
if the power station meets the verification condition, the host is configured in response to the cloud, so that the host broadcasts configuration information to perform parameter configuration to complete the power station opening.
By the method, the host in the power station is checked after receiving the equipment information of each slave station and the master station, the equipment information of the power station is checked according to the equipment quantity, the equipment information and the equipment data of the photovoltaic equipment, after the power station meets the check condition, the host is configured in response to the cloud, so that the host broadcasts the configuration information to perform parameter configuration to complete the power station switching, thus, all the photovoltaic equipment in the photovoltaic power station is automatically networked, the equipment information of the photovoltaic equipment is automatically identified, manual registration and input is omitted, the labor cost is reduced, and the possibility of manual error is avoided.
In other embodiments, the method further includes receiving, by the master, device information of each slave, managing each slave based on the device information of each slave, and further comprising:
establishing a communication link by using the control terminal and the cloud, and finishing login by verifying the account number of the control terminal;
after the login is successful, if the control terminal acquires the identification information of any photovoltaic equipment in the power station, and verifies the identification information;
if the identification information passes verification, the photovoltaic equipment corresponding to the identification information is switched to a host computer unique to the power station, and the power station information is sent to the host computer;
The host receives the start information and checks the power station where the host and the slave are located according to the start information; the start-up information comprises the equipment number, the equipment information and the equipment data of the photovoltaic equipment;
if the power station meets the verification condition, the host is configured in response to the cloud, so that the host broadcasts configuration information to perform parameter configuration to complete the power station opening.
In the embodiment, all photovoltaic equipment in the photovoltaic power station is automatically networked, and the problems that the efficiency of manually inputting and networking the photovoltaic equipment is low and mistakes are easy to occur are solved.
Referring to fig. 7, a one-touch switching flowchart of any photovoltaic device provided by the present invention is described in detail as follows:
in the process, a default power station is connected with the network and is operated at the cloud;
the field personnel logs in the cloud through a remote (i.e. control terminal) APP (i.e. application program), and the login account is optionally provided with a device for code scanning and opening.
Cloud end compares the code scanning equipment information and downloads power station information;
the field personnel checks the power station information, wherein the power station information comprises the number of devices, the device information, the device data and the like;
the field personnel upload the account opening parameters of the equipment to the cloud;
issuing all the configuration to a power station host by a cloud;
Broadcasting unified parameter configuration by a power station host;
and (5) completing the opening.
In other embodiments, each photovoltaic device broadcasts a host contention frame, receives and parses the host contention frame sent by other photovoltaic devices to obtain contention policy information, and further includes:
the photovoltaic devices are arranged according to the priority order according to different device types, a priority list is determined, wherein each photovoltaic device is determined by the hardware configuration of each device program operation, and the hardware configuration comprises a central processing unit, a hard disk and a memory;
if the device types of the photovoltaic devices are different, each photovoltaic device is caused to broadcast a host contention frame;
and receiving different host competition frames sent by other photovoltaic devices, determining the priority order of the current photovoltaic device under each host competition frame according to the priority list, screening the host competition frame corresponding to the highest priority order, and determining the host competition frame as competition strategy information of the current photovoltaic device.
Specifically, in this embodiment, the photovoltaic device includes a photovoltaic panel string, a power converter, a battery, an energy storage converter and an inverter, and because the hardware configurations carried by the photovoltaic devices such as the photovoltaic panel string, the power converter, the battery, the energy storage converter and the inverter are different, the priority order of the photovoltaic devices such as the photovoltaic panel string, the power converter, the battery, the energy storage converter and the inverter is determined by evaluating the central processor, the hard disk and the memory in the hardware configuration, so as to obtain the priority list.
Here, since the device types of the photovoltaic devices are different, each photovoltaic device is prompted to broadcast a host contention frame, where the host contention frame is sent in a broadcast manner, that is, each photovoltaic device receives multiple host contention frames, that is, the same photovoltaic device has different priorities under different host contention frames, and the host contention frame corresponding to the highest priority is screened to determine the contention policy information of the current photovoltaic device, that is, the priority corresponding to each photovoltaic device is the highest in itself. And finally, judging whether the equipment information carried by each photovoltaic equipment is the highest priority (only one of all the photovoltaic equipment is the highest priority) in the competition strategy information, and further determining which photovoltaic equipment is the host.
By the method, which of the photovoltaic cell panel group string, the power converter, the battery, the energy storage converter and the inverter is the host and which is the slave are determined, in the embodiment, the site equipment networking can be achieved without changing a physical layer by constructing the concept of the same-level virtual host, and all the slaves are uniformly scheduled and managed by the virtual host, so that on one hand, no additional equipment is required to be added, and the physical layer is not required to distinguish between the master and the slave, thereby reducing the start-up cost; on the other hand, the manual input of equipment information is avoided, the technical requirements on constructors are reduced, and the operation content is reduced, in other words, the invention improves the station opening efficiency of the power station, reduces the technical requirements of field implementation personnel, and also improves the operation fault tolerance.
Optionally, in some embodiments, the photovoltaic apparatus comprises at least a photovoltaic unit, an inverter, and an energy storage device; selecting a plurality of photovoltaic devices of the same type to respectively construct sub-networks, and connecting the sub-networks according to a photovoltaic power station topological structure to construct a local area network; the device information corresponding to the photovoltaic devices in each subnet is unique identifiable photovoltaic device information, and the identifiable photovoltaic device information at least comprises one of the following: device identification code, device unique response identifier, device unique response mode, device unique response scheme.
For example, a subnet 1 is constructed among a plurality of photovoltaic units, a subnet 2 is constructed by a plurality of inverters, a subnet 3 is constructed by a plurality of energy storage devices, each subnet is networked according to a photovoltaic power station topological structure, a larger local area network is constructed, each subnet determines a host as a connection node through the networking control mode of the application, and a plurality of connection nodes are networked to form the local area network.
Here, it should be understood that each subnet determines, in master-slave competition, based on identifiable photovoltaic device information, in combination with the prioritization of the photovoltaic devices in the master-slave competition frame.
Own device identification code: the special field is used for digital decryption to identify the type of the equipment when the equipment information is broadcast by the equipment, for example, certain established rules are used for replying the equipment information, and the associated information is identified through unified rules.
Own device unique answer identifier: reply is made by a device pre-made encryption/non-encryption scheme, such as TLS encryption reply device information.
Own device unique response mode: the device replies by broadcasting its own information, and the other device links the device by another protocol, such as UDP broadcasting, TCP links the reply device information.
By the mode, master-slave competition among the subnets is not interfered with each other, so that the competition efficiency is improved; in addition, after the connection nodes of the hosts of all the subnets are determined, the same mode networking is adopted for different types of node equipment, the current object state is not changed, the stability of competing objects is ensured, and management confusion is not caused.
In some embodiments, referring to fig. 8, a block diagram of a photovoltaic device networking control system 800 according to the present invention includes:
the monitoring triggering module 801 is configured to start master-slave competition for each photovoltaic device in the same network after each photovoltaic device is powered on;
the master-slave competition module 802 is configured to broadcast a host competition frame by each photovoltaic device, receive and parse the host competition frame sent by other photovoltaic devices, and obtain competition policy information, where the competition policy information at least includes device information carried by the photovoltaic devices;
A priority comparison module 803, configured to compare the device information carried by each photovoltaic device with the device information priority carried in the competition policy information, and determine whether the device information carried by the photovoltaic device is the highest priority;
the host determining module 804 is configured to determine, if the device information carried by any one of the photovoltaic devices is the highest priority in the competing policy information, the current any one of the photovoltaic devices as a host, and cause the host to broadcast a host heartbeat frame;
the slave determining module 805 is configured to determine, if the device information carried by any one of the photovoltaic devices is not the highest priority in the competing policy information, that any one of the photovoltaic devices is a slave;
and the networking control module 806 receives the equipment information of each slave computer by using the host computer after the host computer is determined, manages each slave computer based on the equipment information of each slave computer, and completes the photovoltaic equipment networking control.
It should be further noted that, the photovoltaic device networking control method and the photovoltaic device networking control system are in a one-to-one correspondence relationship, where technical details and technical effects related to the photovoltaic device networking control system are the same as those of the above identification method, and are not described in detail herein, please refer to the above photovoltaic device networking control method.
Under the parallel airport scene, each photovoltaic device spontaneously competes with the master slave, the site device networking can be achieved without changing a physical layer by constructing the concept of the same-level virtual host, and all the slaves are uniformly scheduled and managed by the virtual host, so that on one hand, no additional devices are required to be added, and the physical layer is not required to distinguish the master from the slave, thereby reducing the start-up cost; on the other hand, the manual input of equipment information is avoided, the technical requirements on constructors are reduced, and the operation content is reduced, in other words, the application improves the station opening efficiency of the power station, reduces the technical requirements of field implementation personnel, and also improves the operation fault tolerance.
Referring now to fig. 9, fig. 9 is a schematic diagram of an electronic device suitable for implementing an embodiment of the present application. It should be noted that, the electronic device 900 shown in fig. 9 is only an example, and should not impose any limitation on the functions and the application scope of the embodiments of the present application.
As shown in fig. 9, the electronic apparatus 900 includes a central processing unit (Central Processing Unit, CPU) 901 which can perform various appropriate actions and processes, such as performing the methods in the above-described embodiments, in accordance with a program stored in a Read-Only Memory (ROM) 902 or a program loaded from a storage portion 908 into a random access Memory (Random Access Memory, RAM) 903. In the RAM903, various programs and data required for system operation are also stored. The CPU 901, ROM 902, and RAM903 are connected to each other through a bus 904. An Input/Output (I/O) interface 905 is also connected to bus 904.
The following components are connected to the I/O interface 905: an input section 906 including a keyboard, a mouse, and the like; an output section 907 including a speaker and the like, such as a Cathode Ray Tube (CRT), a liquid crystal display (Liquid Crystal Display, LCD), and the like; a storage portion 908 including a hard disk or the like; and a communication section 909 including a network interface card such as a LAN (Local Area Network ) card, a modem, or the like. The communication section 909 performs communication processing via a network such as the internet. The drive 910 is also connected to the I/O interface 905 as needed. Removable media 911 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is installed as needed on the drive 910 so that a computer program read out therefrom is installed as needed into the storage section 908.
In particular, according to embodiments of the present application, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present application include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising a computer program for performing the method shown in the flowchart. In such an embodiment, the computer program may be downloaded and installed from the network via the communication portion 909 and/or installed from the removable medium 911. When the computer program is executed by a Central Processing Unit (CPU) 901, various functions defined in the system of the present application are performed.
It should be noted that, the computer readable medium shown in the embodiments of the present application may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium may be, for example, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-Only Memory (ROM), an erasable programmable read-Only Memory (Erasable Programmable Read Only Memory, EPROM), flash Memory, an optical fiber, a portable compact disc read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer-readable signal medium may comprise a data signal propagated in baseband or as part of a carrier wave, with a computer-readable computer program embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing.
A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. A computer program embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. Where each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units involved in the embodiments of the present application may be implemented by software, or may be implemented by hardware, and the described units may also be provided in a processor. Wherein the names of the units do not constitute a limitation of the units themselves in some cases.
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor of a computer, causes the computer to perform a photovoltaic device networking control method as before. The computer-readable storage medium may be included in the electronic device described in the above embodiment or may exist alone without being incorporated in the electronic device.
The above embodiments are merely illustrative of the principles of the present application and its effectiveness, and are not intended to limit the application. Modifications and variations may be made to the above-described embodiments by those skilled in the art without departing from the spirit and scope of the application. Accordingly, it is intended that all equivalent modifications and variations of the application be covered by the claims, which are within the ordinary skill of the art, be within the spirit and scope of the present disclosure.

Claims (16)

1. The networking control method of the photovoltaic equipment is characterized by being applied to the photovoltaic equipment and comprising the following steps of:
after each photovoltaic device is electrified, starting master-slave competition for each photovoltaic device in the same network;
each photovoltaic device broadcasts a host competition frame, receives and analyzes host competition frames sent by other photovoltaic devices, and obtains competition strategy information, wherein the competition strategy information at least comprises device information carried by the photovoltaic devices;
comparing the equipment information carried by each piece of photovoltaic equipment with the equipment information priority carried in the competition strategy information to determine whether the equipment information carried by the photovoltaic equipment is the highest priority;
if the equipment information carried by any one of the photovoltaic equipment is the highest priority in the competition strategy information, determining the current any one of the photovoltaic equipment as a host, and enabling the host to broadcast the host heartbeat frame;
if the equipment information carried by any one of the photovoltaic equipment is not the highest priority in the competition strategy information, determining any one of the photovoltaic equipment as a slave;
after the host is determined, the host is utilized to receive the equipment information of each slave, and each slave is managed based on the equipment information of each slave, so that the photovoltaic equipment networking control is completed.
2. The method for controlling networking of photovoltaic devices according to claim 1, further comprising, before the master-slave competition is started for each of the photovoltaic devices in the same network:
each photovoltaic device monitors whether the heartbeat frame of the host is received within a first preset time;
if the host heartbeat frame is received within the first preset time, determining the photovoltaic equipment which receives the host heartbeat frame as a slave;
if the first preset time is exceeded and the host heartbeat frame is not received, triggering each photovoltaic device to start master-slave competition;
if the host heartbeat frame is not received within the first preset time, continuing to monitor until the first preset time is reached.
3. The photovoltaic device networking control method of claim 1, further comprising, after the photovoltaic device is determined to be a slave:
monitoring the heartbeat frame of the host computer in real time by utilizing the slave computer;
if the slave receives the heartbeat frame of the master within the second preset time, enabling each slave to keep in a slave working mode;
if the slave machine does not receive the heartbeat frame of the master machine within the second preset time, the slave machines exit from the slave machine working mode, and all the photovoltaic devices are triggered to start master-slave competition again.
4. A photovoltaic device networking control method according to claim 3, wherein each photovoltaic device supports hot standby, and receives and stores in real time the station information synchronized with the rest of the photovoltaic devices in the same network.
5. The photovoltaic device networking control method according to claim 4, wherein if the slave does not receive a heartbeat frame of the host within a second preset time, determining that the host fails, and re-determining a new host by triggering the photovoltaic device in the same network to start master-slave competition again;
replacing the host with the new host, which has the host fault, and recovering data of the failed host based on the power station information of each photovoltaic device of the hot backup;
and the new host sends the fault information to the cloud.
6. The photovoltaic device networking control method according to claim 1 or 2, further comprising, before the receiving, by the master, device information of each of the slaves:
detecting a network link of a network formed by the host computer and the slave computer, and determining whether a router exists in the network link;
if the router does not exist in the network link, the host and the slave are respectively configured based on a dynamic host configuration protocol, a first server and a first client are determined, a network address is distributed to the slave serving as the first client by using the first server, and the first server reports slave information broadcasted by each slave serving as power station information based on a wireless network.
7. The method according to claim 6, wherein if a router exists in the network link, the host and the slave are configured as a second client based on a dynamic host configuration protocol, and the router is configured as a second server;
allocating a network address to the second client by using the second server, wherein the second client receives the network address and broadcasts the network address;
judging whether the second server is connected with a cloud end through a network;
if the second server cannot be connected with the cloud end through the network, the host computer reports the slave information broadcasted by each slave machine as power station information based on a wireless network;
and if the second server is connected with the cloud end through the network, the host computer reports the slave information broadcasted by each slave as power station information based on the second server.
8. The photovoltaic device networking control method according to any one of claims 1 to 5, characterized in that receiving, with the host, device information of each of the slaves, managing each of the slaves based on the device information of each of the slaves, comprising:
the host receives the start-up information, and checks the power stations where the host and the slave are located according to the start-up information; the start-up information comprises the equipment number, the equipment information and the equipment data of the photovoltaic equipment;
If the power station meets the verification condition, the host is configured in response to the cloud, so that the host broadcasts configuration information to perform parameter configuration to complete the power station opening.
9. The photovoltaic device networking control method according to any one of claims 1 to 5, characterized in that receiving, with the host, device information of each of the slaves, managing each of the slaves based on the device information of each of the slaves, further comprising:
establishing a communication link with a cloud by using a control terminal, and completing login by verifying an account of the control terminal;
after successful login, if the control terminal acquires the identification information of any photovoltaic equipment in the power station, and verifies the identification information;
if the identification information passes verification, switching the photovoltaic equipment corresponding to the identification information to a host computer unique to the power station, and sending power station information to the host computer;
the host receives the start-up information, and checks the power stations where the host and the slave are located according to the start-up information; the start-up information comprises the equipment number, the equipment information and the equipment data of the photovoltaic equipment;
if the power station meets the verification condition, the host is configured in response to the cloud, so that the host broadcasts configuration information to perform parameter configuration to complete the power station opening.
10. The photovoltaic device networking control method of any of claims 1 to 5, wherein the host contention frame comprises at least one of: photovoltaic equipment serial number, photovoltaic equipment hardware address number, system running time, photovoltaic equipment unique identification code and network card physical address; the contention policy information is a maximum value or a minimum value of the host contention frame.
11. The method according to any one of claims 1 to 5, wherein each of the photovoltaic devices broadcasts a host contention frame, receives and parses host contention frames transmitted by other photovoltaic devices to obtain contention policy information, and further comprising:
the photovoltaic devices are arranged according to the priority order according to different device types, a priority list is determined, wherein each photovoltaic device is determined by the hardware configuration of each device program operation, and the hardware configuration comprises a central processing unit, a hard disk and a memory;
if the device types of the photovoltaic devices are different, each photovoltaic device is caused to broadcast one host contention frame;
and receiving different host competition frames sent by other photovoltaic devices, determining the priority sequence of the current photovoltaic device under each host competition frame according to the priority list, screening the host competition frame corresponding to the highest priority sequence, and determining the host competition frame as the competition strategy information of the current photovoltaic device.
12. The method for controlling networking of a photovoltaic device according to claim 1, wherein after the host broadcasts the host heartbeat frame, further comprising:
if any one of the photovoltaic devices receives the host heartbeat frame, determining a slave machine from the photovoltaic device currently receiving the host heartbeat frame;
if any one of the photovoltaic devices does not receive the host heartbeat frame and the time for executing the host competition frame does not exceed the preset competition time, the current photovoltaic device is triggered to broadcast a master-slave competition frame again;
and if any photovoltaic equipment does not receive the host heartbeat frame and the time for executing the host competition frame exceeds the preset competition time, triggering the current photovoltaic equipment to judge whether the equipment information carried by the photovoltaic equipment is the highest priority.
13. The photovoltaic device networking control method of claim 1, wherein the photovoltaic device comprises at least a photovoltaic unit, an inverter and an energy storage device; selecting a plurality of photovoltaic devices of the same type to respectively construct sub-networks, and connecting the sub-networks according to a photovoltaic power station topological structure to construct a local area network; the device information corresponding to the photovoltaic devices in each sub-network is unique identifiable photovoltaic device information, and the identifiable photovoltaic device information at least comprises one of the following: device identification code, device unique response identifier, device unique response mode, device unique response scheme.
14. A photovoltaic device networking control system, the control system comprising:
the monitoring triggering module is used for starting master-slave competition for each photovoltaic device in the same network after each photovoltaic device is electrified;
the master-slave competition module is used for broadcasting a host competition frame by each photovoltaic device, receiving and analyzing the host competition frames sent by other photovoltaic devices, and obtaining competition strategy information, wherein the competition strategy information at least comprises device information carried by the photovoltaic devices;
the priority comparison module is used for comparing the equipment information carried by each piece of photovoltaic equipment with the equipment information priority carried in the competition strategy information to determine whether the equipment information carried by the photovoltaic equipment is the highest priority;
the host determining module is used for determining any one of the photovoltaic devices as a host and enabling the host to broadcast the host heartbeat frame if the device information carried by any one of the photovoltaic devices is the highest priority in the competition strategy information;
the slave machine determining module is used for determining any photovoltaic equipment as a slave machine if the equipment information carried by any photovoltaic equipment is not the highest priority in the competition strategy information;
And the networking control module is used for receiving the equipment information of each slave machine by using the host machine after the host machine is determined, managing each slave machine based on the equipment information of each slave machine, and completing the photovoltaic equipment networking control.
15. A photovoltaic device networking control device, comprising:
one or more processing devices;
a memory for storing one or more programs; when the one or more programs are executed by the one or more processing devices, the one or more processing devices are caused to implement the photovoltaic apparatus networking control method of any one of claims 1 to 13.
16. A computer-readable storage medium having stored thereon a computer program for causing a computer to execute the photovoltaic device networking control method according to any one of claims 1 to 13.
CN202310588101.4A 2023-05-23 2023-05-23 Photovoltaic equipment networking control method, system, equipment and medium Pending CN116846064A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310588101.4A CN116846064A (en) 2023-05-23 2023-05-23 Photovoltaic equipment networking control method, system, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310588101.4A CN116846064A (en) 2023-05-23 2023-05-23 Photovoltaic equipment networking control method, system, equipment and medium

Publications (1)

Publication Number Publication Date
CN116846064A true CN116846064A (en) 2023-10-03

Family

ID=88166026

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310588101.4A Pending CN116846064A (en) 2023-05-23 2023-05-23 Photovoltaic equipment networking control method, system, equipment and medium

Country Status (1)

Country Link
CN (1) CN116846064A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117176685A (en) * 2023-11-03 2023-12-05 广东省洛仑兹技术股份有限公司 ID competition method, device and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117176685A (en) * 2023-11-03 2023-12-05 广东省洛仑兹技术股份有限公司 ID competition method, device and storage medium
CN117176685B (en) * 2023-11-03 2024-04-30 广东省洛仑兹技术股份有限公司 ID competition method, device and storage medium

Similar Documents

Publication Publication Date Title
JP6517494B2 (en) Power converter, control method and computer program
EP2630771B1 (en) Microgrid control system
WO2020010887A1 (en) Network deployment method and apparatus
CN109450662B (en) Ad hoc network communication manager, networking method and ad hoc network communication system
JP2014519300A (en) Method and apparatus for supplying electrical energy
US9906948B2 (en) Wireless communication system, wireless devices, and method for setting addresses of same
US20140122140A1 (en) Advanced managed service customer edge router
US20120260120A1 (en) Controller Election
CN101986656B (en) Self-adaptive control system of photovoltaic network
CN116846064A (en) Photovoltaic equipment networking control method, system, equipment and medium
CN102833083A (en) Data center power supply device control system and method
US11334136B1 (en) Power loss siren
CN104615102B (en) Wind generating set management system and method for wind power plant
CN212846495U (en) Test system for rail train control logic
US11101689B2 (en) Systems and methods for providing network connection resiliency in power supply devices
CN113037889A (en) Slave machine address allocation method for energy storage battery management system
KR102471128B1 (en) Bi-directional inverter with solar inverter function
WO2011160702A1 (en) Wind park network system
CN103546308A (en) Method, device and system for distributing wireless controller network
CN110601194A (en) Energy distribution method, device and system and energy router
WO2024083027A1 (en) Energy block parallel communication method and apparatus
CN110430117B (en) High-concurrency tunnel system and method for connecting cloud network and user intranet
CN105518966A (en) Shared backup power data centers
CN103916280B (en) A kind of blade server management network active DHCP distribution method
CN114338670B (en) Edge cloud platform and network-connected traffic three-level cloud control platform with same

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination