Method and system for controlling devices based on a light storage inverter system
By deploying a communication interface in the photovoltaic storage inverter system, communication between the inverter and external devices and device type identification are realized, which solves the problem of poor compatibility of the photovoltaic storage inverter system and improves the power utilization efficiency and system stability.
Patent Information
- Application Number
- CN202511021806.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-24
- Publication Date
- 2025-10-10
- Estimated Expiration
- 2045-07-24
AI Technical Summary
Existing photovoltaic storage inverter systems are not compatible with different types of energy storage batteries and external devices, resulting in low power utilization efficiency and poor compatibility. Large-scale hardware modifications are required to connect to new energy storage devices, increasing the cost and difficulty of system upgrades.
By deploying a communication interface in the photovoltaic storage inverter system, communication between the inverter and external devices is achieved, data query commands are issued to obtain device parameters, the device type is identified based on the parameter package, and targeted charging and discharging control is performed to improve system compatibility.
The coordinated control of the photovoltaic storage inverter system and different types of external devices is realized, which improves the system's compatibility and power utilization efficiency and ensures the stable operation of the system.
Smart Images

Figure CN120528013B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electric power technology, and in particular to a device control method and system based on a photovoltaic storage inverter system. Background Art
[0002] Solar-storage inverter systems connect photovoltaic equipment and energy storage devices and are the core system for achieving photovoltaic power generation. Solar-storage inverters have a wide range of applications in homes and industries, for example, providing backup power during power outages.
[0003] The current photovoltaic storage inverter system has a relatively simple structure and cannot be connected to external devices such as different types of energy storage batteries. It has poor compatibility and affects users' use of electricity. Summary of the Invention
[0004] The embodiments of the present application provide a device control method and system based on a photovoltaic storage inverter system to improve the compatibility of the photovoltaic storage inverter system and ensure the effective use of electric energy.
[0005] In a first aspect, an embodiment of the present application provides a device control method based on a photovoltaic storage inverter system. The photovoltaic storage inverter system is deployed with an inverter, a photovoltaic storage device, and a communication interface. The photovoltaic storage device is connected to the inverter. The communication interface is used to communicate between the inverter and an external device. The external device is used for charging and discharging. The method is applied to the inverter. The method includes:
[0006] Sending a data query instruction through the communication interface; wherein the data query instruction is used to request device parameters of the external device;
[0007] If a parameter package fed back by the communication interface is received within a preset time period, the device type of the external device is determined based on the parameter package; wherein the parameter package includes device parameters of the external device;
[0008] The charging and discharging of the external device is controlled according to the working information of the photovoltaic storage device and the device type of the external device; wherein the working information represents the power consumption of the photovoltaic storage device.
[0009] In a second aspect, an embodiment of the present application provides a device control device based on a photovoltaic storage inverter system. The photovoltaic storage inverter system is deployed with an inverter, a photovoltaic storage device, and a communication interface. The photovoltaic storage device is connected to the inverter. The communication interface is used to communicate between the inverter and an external device. The external device is used for charging and discharging. The device is applied to the inverter; the device includes:
[0010] An instruction issuing unit, configured to issue a data query instruction via the communication interface; wherein the data query instruction is used to request device parameters of an external device;
[0011] a type determination unit, configured to determine the device type of the external device based on the parameter packet fed back by the communication interface if the parameter packet is received within a preset time period; wherein the parameter packet includes device parameters of the external device;
[0012] The device control unit is used to control the charging and discharging of the external device according to the working information of the photovoltaic storage device and the device type of the external device; wherein the working information represents the power consumption of the photovoltaic storage device.
[0013] In a third aspect, an embodiment of the present application provides a photovoltaic storage inverter system, wherein the photovoltaic storage inverter system is deployed with an inverter, a photovoltaic storage device, a grid device, a buffer circuit, an electrical interface, and a communication interface. The photovoltaic storage device and the grid device are both connected to the inverter, the electrical interface is used to electrically connect the inverter to an external device, the communication interface is used to communicate between the inverter and the external device, and the external device is used for charging and discharging; the photovoltaic storage device includes at least one of a photovoltaic device, an energy storage device, and a load;
[0014] The buffer circuit includes a capacitor, a first switch, a second switch, a third switch, a fourth switch, a first resistor, and a second resistor, wherein the first switch, the second switch, the third switch, and the fourth switch are in a normally open state;
[0015] The first end of the capacitor is connected to the positive terminal of the inverter and the positive terminal of the electrical interface respectively, and the second end of the capacitor is connected to the negative terminal of the inverter and the negative terminal of the electrical interface respectively;
[0016] The first switch and the first resistor are located between the first end of the capacitor and the positive terminal of the electrical interface, and the second switch and the second resistor are located between the second end of the capacitor and the negative terminal of the electrical interface;
[0017] The first switch is connected in series with the first resistor, the second switch is connected in series with the second resistor, the first switch is connected in parallel with the third switch, and the second switch is connected in parallel with the fourth switch;
[0018] The photovoltaic storage inverter system is used to implement the implementation of the first aspect.
[0019] In a fourth aspect, an embodiment of the present application provides an electronic device, including: a memory, a processor;
[0020] The memory stores computer-executable instructions;
[0021] The processor executes the computer-executable instructions stored in the memory, so that the processor performs the implementation of the first aspect.
[0022] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the implementation method of the first aspect.
[0023] In a sixth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the implementation method of the first aspect.
[0024] The embodiments of the present application provide a device control method and system based on a photovoltaic storage inverter system. By setting a communication interface as a compatible interface, the inverter in the photovoltaic storage inverter system can communicate with different types of external devices. The inverter can obtain the parameter package of the external device and determine the type of the external device based on the parameter package. In other words, the communication interface can complete the coordinated control of devices inside and outside the system, and also has the function of identifying the type of device, thereby improving the compatibility of the system. According to the working information of photovoltaic and energy storage devices in the photovoltaic storage inverter system, targeted control is performed on external devices of different types to ensure the stable operation of the system and achieve efficient use of electric energy. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0026] Figure 1 A schematic diagram of a flow chart of a device control method based on a photovoltaic storage inverter system provided in an embodiment of the present application;
[0027] Figure 2 A schematic diagram of a flow chart of a device control method based on a photovoltaic storage inverter system provided in an embodiment of the present application;
[0028] Figure 3 A schematic diagram of the current adjustment process of the external battery during discharge provided in an embodiment of the present application;
[0029] Figure 4 A schematic diagram of a flow chart of a device control method based on a photovoltaic storage inverter system provided in an embodiment of the present application;
[0030] Figure 5 A schematic diagram of the structure of a photovoltaic storage inverter system provided in an embodiment of the present application;
[0031] Figure 6 A system architecture diagram of a solar-storage inverter system connected to a charging pile provided in an embodiment of the present application;
[0032] Figure 7A system architecture diagram of a solar-storage inverter system connected to an external battery provided in an embodiment of the present application;
[0033] Figure 8 A schematic diagram of the structure of a buffer circuit provided in an embodiment of the present application;
[0034] Figure 9 A schematic diagram of the structure of a buffer circuit provided in an embodiment of the present application;
[0035] Figure 10 A schematic diagram of the structure of a device control device based on a photovoltaic storage inverter system provided in an embodiment of the present application;
[0036] Figure 11 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0037] The above drawings illustrate specific embodiments of the present application, which will be described in more detail below. These drawings and the textual description are not intended to limit the scope of the present application in any way, but rather to illustrate the concepts of the present application to those skilled in the art by reference to specific embodiments. DETAILED DESCRIPTION
[0038] The following describes the embodiments of the present invention with reference to the accompanying drawings and preferred embodiments. Those skilled in the art will readily appreciate the other advantages and benefits of the present invention from the disclosure herein. The present invention may also be implemented or applied through various other specific embodiments, and the various details in this specification may be modified or altered based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are intended only to illustrate the present invention and are not intended to limit the scope of protection of the present invention.
[0039] It should be noted that the illustrations provided in the following embodiments are merely schematic illustrations of the basic concept of the present invention. Therefore, the illustrations only show components related to the present invention and are not drawn according to the number, shape, and size of components in actual implementation. In actual implementation, the type, quantity, and proportion of each component may be changed arbitrarily, and the component layout may also be more complex.
[0040] In the description of the present application, it should be understood that the terms "first", "second", "third" and the like are only used to distinguish similar objects, and do not have to be used to describe a specific order or sequence, nor can they be understood as indicating or implying relative importance. For those of ordinary skill in the art, the specific meaning of the above terms in the present application can be understood according to the specific circumstances. In addition, in the description of the present application, "a plurality of" means two or more, unless otherwise specified. The association between the associated objects is described, which means that there can be three relationships, for example, A and / or B can mean that A exists alone, A and B exist together, and B exists alone. The character " / " generally represents an "or" relationship between the associated objects before and after it.
[0041] It should be noted that due to the limitation of the length of the specification, all optional embodiments are not enumerated in this specification, and those skilled in the art should be able to think of any combination of technical features as long as the technical features do not contradict each other, which can constitute an optional embodiment after reading the specification. The embodiments are described in detail below.
[0042] The design concept and implementation path of the inverter are often closely related to a specific application scenario, thereby customized development. For example, it can include photovoltaic inverters, light storage inverters, light storage and charging integrated inverters, etc. These inverters are usually based on a certain type of typical scene, and are optimized in terms of hardware topology structure, software control algorithm, etc. to realize the core function in this scene.
[0043] For the light storage inverter, the structure of the light storage inverter is relatively simple, which limits the compatibility of the inverter to different types of energy storage batteries and other external devices. When new energy storage devices (such as solid-state batteries, flow batteries, etc.) or charging piles need to be connected, large-scale hardware modification of the entire inverter is often required, increasing the cost and difficulty of system upgrade. That is, the compatibility of the current light storage inverter is poor, and it is difficult to fully utilize the electric energy of different types of external devices.
[0044] The present application provides a device control method and system based on a light storage inverter system, which aims to solve the above technical problems of the prior art.
[0045] The technical solutions of the present application and how the technical solutions of the present application solve the above technical problems will be described in detail below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of the present application will be described below with reference to the accompanying drawings.
[0046] Figure 1This is a flow chart of a device control method based on a photovoltaic storage inverter system provided according to an embodiment of the present invention. The method can be executed by a device control device based on a photovoltaic storage inverter system. The photovoltaic storage inverter system is deployed with an inverter, a photovoltaic storage device, and a communication interface. The photovoltaic storage device is connected to the inverter. The communication interface is used for communication between the inverter and an external device. The external device is used for charging and discharging. The method is applied to the inverter. Figure 1 As shown, the method includes the following steps:
[0047] S101. Sending a data query instruction through a communication interface; wherein the data query instruction is used to request device parameters of an external device.
[0048] For example, a photovoltaic-storage inverter system includes a photovoltaic device. The photovoltaic device may include a photovoltaic device and an energy storage device, with the energy storage device being a built-in energy storage battery. In a photovoltaic-storage inverter system, the photovoltaic device is connected to the inverter, meaning that the photovoltaic device and the energy storage device can be connected to the inverter separately.
[0049] The photovoltaic storage inverter system in this embodiment has a compatible interface. For example, the compatible interface can be a communication interface, one end of the communication interface is connected to the inverter, and the other end is connected to an external device. The communication interface can be used to communicate between the inverter and the external device. For example, the communication interface can transmit data or issue instructions between the inverter and the external device. The external device is an external device connected to the photovoltaic storage inverter system, which can be used for charging and discharging. For example, the external device can be a battery or a charging pile. A controller is deployed in the inverter. The controller is the command center of the inverter. It is responsible for monitoring the operating status of the inverter, processing input signals, executing complex control algorithms, generating precise instructions, etc. Therefore, the communication interface can specifically be a controller connected to the inverter at one end and an external device at the other end. The device control method of this embodiment is applied to the inverter, that is, applied to the controller of the inverter.
[0050] External devices may or may not be connected to the outside of the photovoltaic storage inverter system. The inverter sends a data query instruction through the communication interface, that is, the controller of the inverter sends a data query instruction to the outside of the photovoltaic storage inverter system through the communication interface. The data query instruction is used to request the device parameters of the external device, for example, requesting to obtain the charge and discharge current limit, charge and discharge power limit, etc. In this embodiment, the inverter controller can issue data query instructions in real time or at a fixed time, or it can issue data query instructions at any time according to the user's instructions. After issuing the data query instruction, the inverter controller first performs an interface status reset operation, that is, the inverter controller can reset the status flag of the communication interface to avoid historical residual status from interfering with the current device type identification. For example, the baud rate, data bits and other parameters of the communication interface can be reset to ensure that the inverter controller can be consistent with the communication parameters of the external device that may be connected.
[0051] If the photovoltaic storage inverter system is connected to an external device, the external device can receive the data query command through the communication interface; if the photovoltaic storage inverter system is not connected to an external device, the data query command will not be received.
[0052] After receiving the data query command, the external device can feed its own device parameters back to the inverter, that is, to the inverter controller, via the communication interface. In this embodiment, the communication interface may include a TX (Transmitter) and an RX (Receiver). That is, the inverter sends the data query command via TX and receives the device parameters of the external device via RX.
[0053] S102: If a parameter package fed back by the communication interface is received within a preset time period, the device type of the external device is determined according to the parameter package; wherein the parameter package includes device parameters of the external device.
[0054] For example, the external device packages its own device parameters into a parameter package. That is, the parameter package contains the device parameters of the external device. The inverter receives the parameter package from the external device via the RX communication interface and determines the device type of the external device based on the received parameter package. For example, the device type of the external device can be determined based on information such as the capacity and content of the parameter package. In other words, the parameter packages sent by different types of external devices may vary. A mapping relationship between the parameter package and the external device type can be pre-set to determine the device type of the external device based on the parameter package.
[0055] A time period can be pre-set. The inverter will determine the device type of the external device based on the parameter package only if it receives the parameter package within the preset time period. For example, the inverter records the time when the data query command is issued and the time when the parameter package is received, and determines the time difference between the two. If the time difference is within the preset time period, the inverter can determine the device type based on the parameter package.
[0056] In this embodiment, it also includes: if the parameter package fed back by the communication interface is not received within the preset time period, the data query instruction is issued again through the communication interface, and the number of times the data query instruction is sent is updated; if the number of transmissions reaches the preset number threshold and the parameter package fed back by the communication interface is still not received within the preset time period, it is determined that the photovoltaic storage inverter system is not connected to the external device.
[0057] Specifically, after issuing a data query command, the inverter controller determines whether a parameter package has been received within a preset time period. If no parameter package is received from the communication interface within the preset time period, the inverter controller may reissue the data query command through the communication interface and update the transmission count of the data query command, for example, by incrementing the transmission count by one. After receiving the feedback parameter package, the transmission count may be reset to 0 and updated again when the next data query command is sent.
[0058] A threshold number of transmissions is preset. Each time the number of transmissions is updated, the current number of transmissions is compared with the threshold number of transmissions. If the number of transmissions reaches the threshold number of transmissions, and the inverter controller still does not receive a parameter packet within the new preset time period, it can be determined that no external device is connected to the solar-storage inverter system, and subsequent S103 does not need to be executed.
[0059] If the number of transmissions does not reach the preset threshold, and the inverter controller does not receive the parameter package within the new preset time period, the data query instruction can continue to be sent until the number of transmissions reaches the preset threshold, or the inverter controller receives the parameter package.
[0060] The beneficial effect of this arrangement is that the inverter controller eliminates temporary communication failures by repeatedly sending data query instructions, thereby accurately identifying the device type and facilitating the subsequent device control process.
[0061] In this embodiment, the device type of the external device is determined based on the parameter package, including: parsing the parameter package to obtain parameter category information; wherein the parameter category information represents the category of the device parameters in the parameter package; based on a preset association relationship, determining the device type corresponding to the parameter category information as the device type of the external device; wherein the preset association relationship represents the association relationship between the parameter category information and the device type.
[0062] Specifically, after receiving the parameter package, the inverter controller can parse the parameter package to obtain all the device parameters in the parameter package. Different types of external devices have different categories of device parameters. By parsing the parameter package, the category of the device parameters in the parameter package can be obtained, and the category of the device parameters can be determined as parameter category information. For example, if the external device is an external energy storage battery, the parameter category information of the energy storage battery may include battery status information, charge and discharge parameter information, and basic battery information. The battery status information may include the battery's SOC (State of Charge), battery SOH (State of Health), and remaining battery capacity. The charge and discharge parameters may include charge and discharge current limits and charge and discharge power limits. The basic battery information may include battery type, number of battery packs, and single cell voltage. If the external device is a charging pile, the parameter category information of the charging pile may include charging power demand information and vehicle connection status.
[0063] A pre-set association between parameter category information and device types is established. After obtaining all parameter category information in a parameter package, the device type corresponding to this parameter category information can be found based on this association and used as the device type of the external device. For example, if the parameter category information in the parameter package includes charging power demand information and vehicle connection status, the device type of the external device can be determined to be a charging station.
[0064] The beneficial effect of this setup is that if a parameter package uploaded by the communication interface is received within the specified time, the inverter controller parses the parameter package, extracts key data features, and distinguishes the type of device connected to the interface. If the parameter package contains information such as the battery SOC, charge and discharge current limits, and battery type, the current interface is determined to be connected to a battery; if the parameter package contains information such as the required power, vehicle connection status, and charging pile operating mode, the current interface is connected to a charging pile. This enables precise identification of different external devices, allowing for targeted control of different external devices, improving device control accuracy, and ensuring stable system operation.
[0065] S103 . Control charging and discharging of the external device according to the working information of the photovoltaic storage device and the device type of the external device; wherein the working information represents the power consumption of the photovoltaic storage device.
[0066] For example, the inverter controller can obtain real-time or periodic operating information about the photovoltaic storage device. This operating information may include the photovoltaic storage device's power usage, such as the photovoltaic device's power and the energy storage device's SOC. Based on the photovoltaic storage device's operating information and the type of the external device, the controller can perform targeted charging or discharging control on the external device.
[0067] For example, if the external device is a battery, the external battery can be controlled to discharge according to the SOC of the energy storage device in the photovoltaic inverter system, thereby saving the power of the built-in energy storage device; if the external device is a charging pile, the photovoltaic device or the energy storage device can be used to power the charging pile according to the power of the photovoltaic device and the power of the energy storage device, so that the charging pile can charge vehicles and other equipment.
[0068] In an embodiment of the present application, by setting a communication interface as a compatible interface, the inverter in the photovoltaic storage inverter system can communicate with different types of external devices. The inverter can obtain a parameter package for the external device and determine the type of external device based on the parameter package. In other words, the communication interface can achieve coordinated control of devices inside and outside the system and also has the function of identifying device types, thereby improving system compatibility. Based on the operating information of photovoltaic and energy storage devices in the photovoltaic storage inverter system, targeted control of external devices of different device types can be performed to ensure stable operation of the system and achieve efficient use of electrical energy.
[0069] Figure 2 This is a flow chart of a device control method based on a photovoltaic storage inverter system provided in an embodiment of the present application. Figure 1 Based on the embodiment, a device control method based on a photovoltaic storage inverter system is described in detail.
[0070] In this embodiment, charging and discharging control is performed on the external device based on the working information of the photovoltaic storage device and the device type of the external device, including: determining a target device from the photovoltaic storage inverter system based on the device type of the external device; wherein the target device includes at least one photovoltaic storage device, and the photovoltaic storage device includes at least one of a photovoltaic device, an energy storage device, and a load; obtaining the working information of the target device, and performing charging and discharging control on the external device based on the working information of the target device.
[0071] like Figure 2 As shown, the method includes:
[0072] S201. Send a data query instruction through a communication interface; wherein the data query instruction is used to request device parameters of an external device.
[0073] For example, this step may refer to the above-mentioned step S101 and will not be described in detail.
[0074] S202: If a parameter package fed back by the communication interface is received within a preset time period, the device type of the external device is determined according to the parameter package; wherein the parameter package includes device parameters of the external device.
[0075] For example, this step may refer to the above-mentioned step S102 and will not be described in detail.
[0076] S203. Determine a target device from the photovoltaic storage inverter system according to the device type of the external device; wherein the target device includes at least one photovoltaic storage device, and the photovoltaic storage device includes at least one of a photovoltaic device, an energy storage device, and a load.
[0077] For example, a plurality of photovoltaic storage devices may be connected to the photovoltaic storage inverter system, for example, the photovoltaic storage device may include a photovoltaic device, an energy storage device, a load, etc. Each photovoltaic storage device may be connected to the inverter.
[0078] When controlling different external devices, the required photovoltaic and energy storage devices may differ. Therefore, one or more photovoltaic and energy storage devices in the photovoltaic and energy storage inverter system can be identified as target devices based on the type of the external device. Specifically, the target device can include at least one of a photovoltaic device, an energy storage device, and a load. For example, a pre-defined association between the external device and the photovoltaic and energy storage device can be used. Based on this association, the photovoltaic and energy storage device corresponding to the external device can be identified as the target device.
[0079] S204: Acquire operating information of the target device, and perform charge and discharge control on the external device according to the operating information of the target device.
[0080] For example, the inverter controller can obtain operating information for each target device, such as the power of the photovoltaic device and the power of the load. Based on the operating information of the target device, the external device can be specifically controlled to enable charging and discharging. Different types of external devices can correspond to different control logic, and the inverter controller can execute the preset control logic to control charging and discharging. For example, the power of the external battery can be determined based on the power of the photovoltaic device and the load power. According to the calculated power, the current of the external battery can be controlled to achieve charging and discharging of the external battery.
[0081] In this embodiment, the device type includes an external battery, the target device includes a photovoltaic device, an energy storage device, and a load, and the operating information includes the photovoltaic power of the photovoltaic device, the load power of the load, and the state of charge (SOC) of the energy storage device. Based on the operating information of the target device, charging and discharging control of the external device is performed, including: determining the battery power based on the photovoltaic power of the photovoltaic device and the load power of the load, wherein the battery power represents the total charge and discharge power of the energy storage device and the external device; obtaining the SOC of the external device and determining the difference between the SOC of the external device and the SOC of the energy storage device; if the battery power is equal to or greater than a preset first power threshold, or the difference is less than or equal to a preset difference threshold, generating a control instruction based on the SOC of the external device and the SOC of the energy storage device, and issuing the control instruction to the external device via a communication interface; wherein the control instruction is used to control the charging and discharging of the external device; if the battery power is less than the preset first power threshold, and the difference is greater than the preset difference threshold, determining a target battery from the external device and the energy storage device based on the SOC of the external device and the SOC of the energy storage device; wherein the target battery is used for charging and discharging.
[0082] Specifically, the device type of the external device may include an external battery, which is an energy storage battery external to the photovoltaic storage inverter system. In other words, the photovoltaic storage inverter system has a built-in energy storage battery and an external energy storage battery, which can realize the photovoltaic storage mode of dual energy storage devices. Both the built-in and external energy storage batteries of the system are modules that can store energy. For the device type of external battery, the corresponding target devices may include photovoltaic devices, energy storage devices, and loads. In other words, it is necessary to obtain the operating information of photovoltaic devices, energy storage devices, and loads. The operating information of photovoltaic devices may include photovoltaic power, that is, the power of photovoltaic devices; the operating information of loads may include load power, that is, the power of loads; and the operating information of energy storage devices is the SOC of the built-in energy storage devices.
[0083] Based on the PV power and load power, the total charge and discharge power associated with energy storage can be determined as the battery power. This power represents the total charge and discharge power of the energy storage device and external devices. For example, the battery power can be calculated by subtracting the load power from the PV power.
[0084] The external device and the energy storage device are both batteries. Therefore, the SOC of each of the external device and the energy storage device can be obtained, and the difference between the SOC of the external device and the SOC of the energy storage device can be calculated.
[0085] A first power threshold and a difference threshold are pre-set, the first power threshold is a threshold for the total charge and discharge power, and the difference threshold is a threshold for the difference between the two SOCs. The battery power is compared with the first power threshold, and the difference between the SOC of the external device and the SOC of the energy storage device is compared with the difference threshold. If the battery power is equal to or greater than the preset first power threshold, or the difference is less than or equal to the preset difference threshold, a control instruction can be generated based on the SOC of the external device and the SOC of the energy storage device, and the control instruction can be sent to the external device through the communication interface. The control instruction can be used to control the charge and discharge of the external device. For example, the charge and discharge power of the external device can be determined based on the SOC of the external device and the SOC of the energy storage device, and the charge and discharge power of the external device can be sent to the external device so that the external device can operate according to the charge and discharge power.
[0086] If the battery power is less than the first power threshold, and the difference in the SOCs of the two battery groups is greater than a preset difference threshold, the SOCs of the two batteries can be compared, and the target battery can be determined based on the desired charge and discharge scenario. Based on the desired charge and discharge scenario, the target battery is then controlled to charge or discharge. For example, when discharging is required, the battery with the higher SOC of the two batteries is used as the target battery, and the battery with the higher SOC is preferentially controlled to discharge; when charging is required, the battery with the lower SOC of the two batteries is used as the target battery, and the battery with the lower SOC is preferentially controlled to charge.
[0087] This arrangement has the beneficial effect of enabling the system to operate in dual energy storage mode for external devices such as external batteries, determining the total charge and discharge power of the energy storage modules based on the photovoltaic power and load power. If the total charge and discharge power is no less than a first power threshold, or if the difference in the SOCs of the two battery groups is no greater than a preset difference threshold, targeted control is then performed based on the SOCs of the dual energy storage modules, improving device control precision, avoiding power waste, and enhancing system stability.
[0088] In this embodiment, a control instruction is generated based on the SOC of the external device and the SOC of the energy storage device, including: determining a weight of the external device based on the SOC of the external device and the SOC of the energy storage device; wherein the weight of the external device represents the importance of the external device in the charging and discharging process; determining the charging and discharging power of the external device based on the weight of the external device and the battery power; and determining a control instruction based on the charging and discharging power of the external device.
[0089] Specifically, if the battery power is equal to or greater than a preset first power threshold, or the difference is less than or equal to a preset difference threshold, the charge and discharge weights can be allocated according to the SOCs of the two batteries, thereby quickly reducing the difference between the two groups of batteries while avoiding transient overload.
[0090] That is, the weights of the external device and the energy storage device can be determined based on the SOC of the external device and the SOC of the energy storage device, respectively. The weight of the energy storage device is used as the first weight, and the weight of the external device is used as the second weight. The first weight can represent the importance of the energy storage device in the charging and discharging process, and the second weight can represent the importance of the external device in the charging and discharging process. In this embodiment, the weight allocation rule is not specifically limited. For example, the larger the SOC, the greater the weight of the battery corresponding to the SOC.
[0091] Different weights can be determined for battery charging and discharging scenarios. Specifically, when charging, a first weight and a second weight can be determined, and when discharging, new first and second weights can be determined. For an external battery, for example, during discharge, the second weight is calculated as: SOC2 / (SOC1+SOC2); during charging, the second weight is calculated as: (1-SOC2) / (2-SOC1+SOC2). Here, SOC1 is the SOC of the energy storage device, and SOC2 is the SOC of the external battery. The calculation of the first weight is similar to the second weight; simply replace SOC2 in the numerator with SOC1.
[0092] The external device's charge and discharge power can be determined based on the second weight and battery power. For example, when discharging is required, the second weight can be multiplied by the battery power to obtain the external battery's discharge power. When charging is required, the second weight can also be multiplied by the battery power to obtain the external battery's charge power. Similarly, for energy storage devices, the first weight can be multiplied by the battery power to obtain the energy storage device's charge and discharge power.
[0093] The control instructions are determined based on the charge and discharge power of the external device. The control instructions can indicate the charge and discharge power of the external device, so that the external device can operate according to the charge and discharge power. The inverter controller can also control the energy storage device to operate according to the charge and discharge power of the energy storage device.
[0094] The beneficial effect of this arrangement is that the weight of the external battery is calculated according to SOC1 and SOC2, power distribution to the external battery is achieved, the accuracy of power distribution is improved, and the utilization rate of the external device is improved.
[0095] In this embodiment, a control instruction is determined based on the charge and discharge power of the external device, including: determining a target current value of the external device based on the charge and discharge power of the external device; wherein the target current value represents the current of the external device when the charge and discharge power is stable; and generating a control instruction based on the target current value of the external device; wherein the control instruction is used to adjust the current of the external device to the target current value.
[0096] Specifically, if the external device is an external battery, the solar-to-storage inverter system requires control of an additional energy storage module, necessitating coordinated power distribution between the internal and external energy storage modules. In this embodiment, the core of power distribution can be achieved through dynamic adjustment of current commands, enabling a smooth transition from single-battery control to dual-battery control.
[0097] The battery power can be calculated based on the photovoltaic power and the load power, and the charge and discharge power of each energy storage module can be calculated based on the dual-battery SOC, thereby obtaining the current set value of each energy storage module. The energy storage module in this embodiment is a battery, which can be a built-in energy storage device or an external battery. In other words, for an external battery, the target current value of the external battery can be determined based on the charge and discharge power of the external battery. The target current value of the external battery can represent the current that the external battery needs to reach when the charge and discharge power is stable, that is, the current set value is obtained. In this embodiment, the power to current conversion process is not specifically limited. In addition, for a built-in energy storage device, the current set value of the energy storage device can also be determined based on the charge and discharge power of the energy storage device.
[0098] After obtaining the target current value of the external device, a control instruction can be generated, which can include the target current value, thereby instructing the external battery to adjust the current according to the target current value. The control instruction can be sent to the external battery, for example, via the TX of the communication interface.
[0099] To ensure stable bus voltage and current during operation of the external battery, the energy storage device and the external battery must synchronously perform current adjustment. A bidirectional boost circuit is deployed between the energy storage device and the inverter, and another bidirectional boost circuit is deployed between the external battery and the inverter. During current adjustment, the external battery's bidirectional boost circuit is gradually activated, gradually increasing the current value of the bidirectional boost circuit from 0 to the target current value over a period of time Δt. Simultaneously, the current of the internal bidirectional boost circuit is proportionally decayed, gradually allocating the power originally handled by the internal energy storage device to the external battery, maintaining a constant total charge and discharge power for both batteries. In this embodiment, the method for increasing and decreasing current is not specifically limited. For example, during the adjustment process, the target current value can be compared with the real-time current value. The resulting difference can be used by a PI (proportional-integral) controller to generate a corresponding modulation signal to adjust the current.
[0100] In this embodiment, the current value during discharge can be defined as positive, and the current value during charge can be defined as negative. Figure 3 This is a schematic diagram of the current adjustment process of the external battery during discharge. Figure 3 In the process, as time goes by, the current of the external battery can increase in a step-by-step manner. At this time, for the energy storage device, the current can be reduced in a step-by-step manner, and finally the smooth migration of the discharge power is completed.
[0101] The beneficial effect of such a setting is that by converting power into current, the control of the external battery is achieved, thereby improving the efficiency and accuracy of device control.
[0102] In this embodiment, the device type includes a charging pile, the target device includes a photovoltaic device and an energy storage device, and the working information includes the photovoltaic power of the photovoltaic device and the energy storage power of the energy storage device; according to the working information of the target device, the charging and discharging of the external device is controlled, including: determining the photovoltaic storage power according to the photovoltaic power of the photovoltaic device and the energy storage power of the energy storage device; wherein the photovoltaic storage power represents the sum of the photovoltaic power and the energy storage power; if the photovoltaic storage power is less than a preset second power threshold, obtaining a power lower limit value from the parameter package; wherein the power lower limit value represents the minimum power value allowed by the external device; according to the power lower limit value, controlling the photovoltaic device and the energy storage device to charge the external device.
[0103] Specifically, the external device type can be a charging pile, and the operating mode of the solar-storage inverter system is solar-storage-charging mode. For the charging pile, the corresponding target devices can include photovoltaic devices and energy storage devices. The operating information can include the power of the photovoltaic device as photovoltaic power and the power of the energy storage device as energy storage power.
[0104] Based on the photovoltaic power and energy storage power, the available power of the photovoltaic storage can be determined as the photovoltaic storage power. For example, the photovoltaic storage power can be the sum of the photovoltaic power and the energy storage power. A second power threshold is pre-set, and the photovoltaic storage power is compared with the second power threshold. If the photovoltaic storage power is equal to or greater than the second power threshold, it indicates that the photovoltaic system and the energy storage device can provide sufficient energy support for the charging pile, and the photovoltaic system and energy storage device can be used to power the charging pile. At this time, the charging pile is charged at the rated power or the currently available power, fully utilizing the green energy of the photovoltaic system and energy storage device, minimizing dependence on the power grid, and improving the energy utilization rate of the photovoltaic system and energy storage device. For example, during sunny days, the photovoltaic panels generate a large amount of electricity, and the energy storage device is also fully charged or highly charged. The photovoltaic panels and energy storage device can easily meet the high power requirements of the charging pile. In this embodiment, the second power threshold can be determined by a multiple of the charging pile's minimum charging power. The specific multiple can be determined based on actual conditions.
[0105] In this embodiment, when the photovoltaic storage power is equal to or greater than the second power threshold, in order to save energy, a smaller value can be determined from the photovoltaic storage power and the rated power of the charging pile, and the inverter controller controls the charging pile to charge according to the power of the smaller value.
[0106] If the photovoltaic storage power is less than the preset second power threshold, it means that the energy supply of the photovoltaic device and the energy storage device is relatively tight. In order to ensure that the charging process of the charging pile continues, the system will start the minimum power mode. The minimum power mode is to use the charging pile's lowest charging power to power the charging pile. The inverter controller can obtain the power lower limit value, that is, the minimum charging power, from the parameter package of the charging pile. According to the power lower limit value, the photovoltaic device and the energy storage device are controlled to charge the external device, so that the charging pile will continue to charge the vehicle at the lowest power. For example, in the evening or on cloudy days, when the photovoltaic panel's power generation capacity decreases and the energy storage device's power is also low, the charging pile will continue to charge the vehicle at the minimum power. Although the charging speed will be slower, it can ensure that the charging process will not be interrupted.
[0107] The beneficial effect of this setup is that for charging piles, the system implements solar-storage charging mode. The sum of the photovoltaic power and the power of the internal energy storage device is used as the solar-storage available power. If the solar-storage available power falls below a threshold, indicating that the solar-storage energy supply is relatively tight, the system activates minimum power mode, and the solar-storage device maintains charging of the charging pile at the lowest power, ensuring uninterrupted charging and improving the user's charging experience.
[0108] In this embodiment, a grid device is deployed in the photovoltaic storage inverter system, and the grid device is connected to the inverter; the method also includes: if the photovoltaic storage power is less than a preset second power threshold, controlling the grid device to charge the external device.
[0109] Specifically, if the solar storage power is lower than the second power threshold, it indicates that the energy supply of the solar storage device in the system is relatively tight. To ensure the continuous charging process of the charging pile, the minimum power mode can be activated. The minimum power is the lowest charging power of the charging pile.
[0110] While maintaining charging, the energy supply can also be actively switched to the grid equipment, using the grid to continuously power the charging pile. In other words, the solar-storage inverter system is connected to the grid, and the equipment on the connected grid acts as a grid device, through which it can obtain energy from the grid. In this embodiment, when the grid is powering the charging pile, the charging pile can continue to charge at the lower power limit or at the rated power value.
[0111] The beneficial effect of this setting is that there is no need to use the grid for power supply after the photovoltaic storage device is interrupted. It can also avoid charging interruptions caused by photovoltaic fluctuations or sudden load increases, and realize the "photovoltaic storage dominant-grid backup" uninterrupted mode. This mode can automatically and flexibly adjust the operating status of the charging pile according to the real-time power situation of the photovoltaic storage device, ensure the continuity of charging, and enhance the user's charging experience.
[0112] In an embodiment of the present application, by setting a communication interface as a compatible interface, the inverter in the photovoltaic storage inverter system can communicate with different types of external devices. The inverter can obtain a parameter package for the external device and determine the type of external device based on the parameter package. In other words, the communication interface can achieve coordinated control of devices inside and outside the system and also has the function of identifying device types, thereby improving system compatibility. Based on the operating information of photovoltaic and energy storage devices in the photovoltaic storage inverter system, targeted control of external devices of different device types can be performed to ensure stable operation of the system and achieve efficient use of electrical energy.
[0113] Figure 4 This is a flow chart of a device control method based on a photovoltaic storage inverter system provided in an embodiment of the present application. Figure 1 and Figure 2 Based on the embodiment, a device control method based on a photovoltaic storage inverter system is described in detail.
[0114] In this embodiment, a buffer circuit and an electrical interface are deployed in the photovoltaic inverter system; the buffer circuit includes a capacitor, a first switch, a second switch, a first resistor, and a second resistor, and the first switch and the second switch are in a normally open state; the first end of the capacitor is respectively connected to the positive terminal of the inverter and the positive terminal of the electrical interface, and the second end of the capacitor is respectively connected to the negative terminal of the inverter and the negative terminal of the electrical interface; the first switch and the first resistor are located between the first end of the capacitor and the positive terminal of the electrical interface, and the second switch and the second resistor are located between the second end of the capacitor and the negative terminal of the electrical interface; the first switch is connected in series with the first resistor, and the second switch is connected in series with the second resistor.
[0115] like Figure 4 As shown, the method includes:
[0116] S401. Send a data query instruction through a communication interface; wherein the data query instruction is used to request device parameters of an external device.
[0117] For example, this step may refer to the above-mentioned step S101 and will not be described in detail.
[0118] S402: If no parameter packet fed back by the communication interface is received within a preset time period, close the first switch and the second switch.
[0119] For example, the compatible interfaces in a solar-storage inverter system include an electrical interface and a communication interface. The electrical interface is equipped with a buffer circuit to achieve a soft connection, effectively protecting external devices from high bus voltage shocks when connected. The communication interface is used to achieve coordinated control of internal and external devices in the system and also has device type identification capabilities to distinguish between external batteries and charging piles. The electrical interface can connect to charging piles to provide charging services for devices such as electric vehicles, expanding system functionality. The electrical interface can also connect to external batteries to enable battery storage and release, enhancing the system's energy storage capacity.
[0120] Figure 5 This is a structural diagram of the photovoltaic storage inverter system. Figure 5 In the figure, the DC / DC is a boost circuit, and the voltage V at the capacitor is the high bus voltage. Figure 5 The end above the capacitor is the first end, and the end below the capacitor is the second end. The inverter is provided with a controller connected to the communication interface. The inverter is connected to the electrical interface through a buffer circuit.
[0121] The communication interface can be connected to the controller in the external device, so that the external device can exchange data with the controller of the inverter through its own controller. Figure 6 This diagram shows the system architecture of a solar-storage inverter system connected to a charging pile. The charging pile has its own controller that can be connected to the communication interface. Figure 7 This diagram shows the system architecture for connecting a solar-storage inverter system to an external battery. The external battery contains its own controller, which connects to the communication interface. It also contains a bidirectional boost circuit, which connects to the electrical interface.
[0122] Figure 8 Schematic diagram of the buffer circuit. Figure 8 The first and second switches are normally open. The first and second resistors are current-limiting resistors, designed to protect external devices from transient current damage caused by high bus voltages when they are connected to the electrical interface while the PV-storage inverter is operating. If the external device is connected only when the PV-storage inverter is completely shut down, meaning the bus voltage has discharged to a safe threshold, the snubber circuit can be omitted.
[0123] If the inverter controller does not receive the parameter package fed back by the communication interface within a preset time period, the first switch and the second switch may be closed. In this embodiment, if the parameter package fed back by the communication interface is not received within the preset time period, a data query instruction may be issued again through the communication interface, and the number of times the data query instruction is sent may be updated. If the number of times the instruction is sent reaches a preset threshold, and the parameter package fed back by the communication interface is still not received within the preset time period, the first switch and the second switch may be closed.
[0124] That is to say, the inverter controller determines whether it has received the parameter package sent by the external device within a preset time period. If it has not received it within the specified time, it can be preliminarily determined that there are two possible situations in the current interface: one is that the external device is not connected to the electrical interface; the other is that although the external device is connected, it fails to respond due to communication failure, the device does not start normally, etc.
[0125] The inverter controller repeatedly sends data query instructions to eliminate temporary communication failures. If a parameter package is received from the communication interface during this period, the received parameter package is parsed and identified; otherwise, the first switch and the second switch can be controlled to close, and the current data of the current sensor at the electrical interface can be detected.
[0126] S403: If no current data is collected at the electrical interface, it is determined that the solar-storage inverter system is not connected to an external device, and the first switch and the second switch are disconnected.
[0127] For example, if no current data is collected at the electrical interface, the interface status can be marked as "not connected," confirming that the PV-storage inverter system is not connected to an external device. At this point, the first and second switches can be disconnected, halting the subsequent device type identification process until the next interface identification cycle begins. By collecting current data, the connection status of the electrical interface can be accurately determined, improving the efficiency and accuracy of device control.
[0128] This embodiment also includes: if current data is collected at the electrical interface, it is determined to issue an alarm message and disconnect the first switch and the second switch; wherein the alarm message indicates that the photovoltaic storage inverter system is connected to an external device, but there is a fault in the communication interface.
[0129] Specifically, if current is detected, it indicates that the electrical interface is connected to an external device. However, if the inverter controller fails to receive the parameter packet, this indicates a possible communication interface failure. The first and second switches are disconnected, and a communication interface failure alarm is generated. This alarm indicates that the PV-storage inverter system is connected to an external device, but the communication interface is faulty. This alarm is sent to the PV-storage inverter system administrator, who is then notified to conduct an investigation to prevent uncontrolled external devices.
[0130] The beneficial effect of this setting is that it can predict system failures, send alarm information in a timely manner, improve system stability, reduce the impact on user use, and improve user experience.
[0131] In this embodiment, the buffer circuit includes a third switch and a fourth switch, and the third switch and the fourth switch are in a normally open state; the first switch, the third switch, and the first resistor are located between the first end of the capacitor and the positive terminal of the electrical interface, and the second switch, the fourth switch, and the second resistor are located between the second end of the capacitor and the negative terminal of the electrical interface; the first switch is connected in series with the first resistor, the first switch is connected in parallel with the third switch, the second switch is connected in series with the second resistor, and the second switch is connected in parallel with the fourth switch.
[0132] Specifically, Figure 9 is the structural diagram of the buffer circuit. Figure 9 The first to fourth switches in the circuit are all in a normally open state. By connecting a third switch in parallel to the first switch and a fourth switch in parallel to the second switch, subsequent current loss can be reduced and working efficiency can be improved.
[0133] In this embodiment, it also includes: if a parameter package fed back by the communication interface is received within a preset time period, the first switch and the second switch are closed; if the current data collected at the electrical interface meets the preset conditions, the third switch and the fourth switch are closed.
[0134] Specifically, during operation of the solar-storage inverter system, the bus voltage is always maintained at a high level. To protect external devices from transient shocks from the high bus voltage, upon receipt of the parameter packet, i.e., upon confirmation that an external device is connected, the first and second switches can be closed to form a circuit and pre-charge the external device. At this time, the third and fourth switches are open.
[0135] During the pre-charging process, current data can be collected in real time at the electrical interface to determine whether the current data meets a preset condition. For example, the preset condition can be whether the current data is stable. In this embodiment, the preset condition is not specifically limited. If the preset condition is met, it indicates that the external device has completed pre-charging and can officially start operation. If the preset condition is not met, it is necessary to continue monitoring the current data.
[0136] The voltage of the external device is gradually increased through the current-limiting resistor in the buffer circuit until it synchronizes with the bus voltage. When the monitored current data stabilizes, meaning that the preset conditions are met, the third and fourth switches are closed to prevent unnecessary wear and tear on the current-limiting resistors. At this point, the first and second switches can be opened or closed. The external device is safely connected and can begin normal operation.
[0137] This arrangement has the beneficial effect of precharging the external device through the buffer circuit to protect it from transient surges caused by high bus voltage. Once the current stabilizes, the third and fourth switches are closed, avoiding unnecessary losses in the current-limiting resistors. This ensures the safety of the external device while improving energy utilization.
[0138] In an embodiment of the present application, by setting a communication interface as a compatible interface, the inverter in the photovoltaic storage inverter system can communicate with different types of external devices. The inverter can obtain a parameter package for the external device and determine the type of external device based on the parameter package. In other words, the communication interface can achieve coordinated control of devices inside and outside the system and also has the function of identifying device types, thereby improving system compatibility. Based on the operating information of photovoltaic and energy storage devices in the photovoltaic storage inverter system, targeted control of external devices of different device types can be performed to ensure stable operation of the system and achieve efficient use of electrical energy.
[0139] Figure 10 This is a schematic diagram of the structure of a device control device based on a photovoltaic storage inverter system provided in an embodiment of the present application. The photovoltaic storage inverter system is deployed with an inverter, a photovoltaic storage device, and a communication interface. The photovoltaic storage device is connected to the inverter. The communication interface is used to communicate between the inverter and an external device. The external device is used for charging and discharging. The device is applied to the inverter. Figure 10 As shown, this embodiment provides a device control device 1000 based on a photovoltaic storage inverter system, including:
[0140] The instruction issuing unit 1001 is used to issue a data query instruction through the communication interface; wherein the data query instruction is used to request device parameters of an external device;
[0141] The type determination unit 1002 is configured to determine the device type of the external device based on the parameter packet fed back by the communication interface if the parameter packet is received within a preset time period; wherein the parameter packet includes device parameters of the external device;
[0142] The device control unit 1003 is used to control the charging and discharging of the external device according to the working information of the photovoltaic storage device and the device type of the external device; wherein the working information represents the power consumption of the photovoltaic storage device.
[0143] In a possible implementation, the device control unit 1003 includes:
[0144] A target determination module is configured to determine a target device from the photovoltaic storage inverter system according to the device type of the external device; wherein the target device includes at least one photovoltaic storage device, and the photovoltaic storage device includes at least one of a photovoltaic device, an energy storage device, and a load;
[0145] a device control module configured to acquire working information of the target device, and perform charging and discharging control on the external device according to the working information of the target device.
[0146] In a possible implementation, the device type includes an external battery, the target device includes a photovoltaic device, an energy storage device, and a load, and the working information includes photovoltaic power of the photovoltaic device, load power of the load, and state of charge (SOC) of the energy storage device; and the device control module is specifically configured to:
[0147] determine a battery power according to the photovoltaic power of the photovoltaic device and the load power of the load; wherein the battery power represents total charging and discharging power of the energy storage device and the external device;
[0148] acquire the SOC of the external device, and determine a difference between the SOC of the external device and the SOC of the energy storage device;
[0149] if the battery power is equal to or greater than a preset first power threshold, or the difference is less than or equal to a preset difference threshold, generate a control instruction according to the SOC of the external device and the SOC of the energy storage device, and send the control instruction to the external device through the communication interface; wherein the control instruction is used to perform charging and discharging control on the external device;
[0150] if the battery power is less than the preset first power threshold, and the difference is greater than the preset difference threshold, determine a target battery from the external device and the energy storage device according to the SOC of the external device and the SOC of the energy storage device; wherein the target battery is used to perform charging and discharging.
[0151] In a possible implementation, the device control module is specifically configured to:
[0152] determine a weight of the external device according to the SOC of the external device and the SOC of the energy storage device; wherein the weight of the external device represents an importance of the external device in the charging and discharging process;
[0153] determine a charging and discharging power of the external device according to the weight of the external device and the battery power;
[0154] determine the control instruction according to the charging and discharging power of the external device.
[0155] In a possible implementation, the device control module is specifically configured to:
[0156] Determining a target current value of the external device according to the charge and discharge power of the external device; wherein the target current value represents the current of the external device when the charge and discharge power is stable;
[0157] The control instruction is generated according to the target current value of the external device; wherein the control instruction is used to adjust the current of the external device to the target current value.
[0158] In one possible implementation, the device type includes a charging pile, the target device includes a photovoltaic device and an energy storage device, and the operating information includes the photovoltaic power of the photovoltaic device and the energy storage power of the energy storage device; the device control module is specifically configured to:
[0159] Determine the photovoltaic power storage according to the photovoltaic power of the photovoltaic device and the energy storage power of the energy storage device; wherein the photovoltaic power storage represents the sum of the photovoltaic power and the energy storage power;
[0160] If the optical storage power is less than a preset second power threshold, obtaining a power lower limit value from the parameter package; wherein the power lower limit value represents the minimum power value allowed by the external device;
[0161] According to the power lower limit value, the photovoltaic device and the energy storage device are controlled to charge the external device.
[0162] In one possible implementation, a grid device is deployed in the photovoltaic storage inverter system, and the grid device is connected to the inverter; the apparatus further includes:
[0163] A grid charging unit is used to control the grid device to charge the external device if the photovoltaic storage power is less than a preset second power threshold.
[0164] In a possible implementation, the method further includes:
[0165] a number determination unit, configured to, if no parameter packet fed back by the communication interface is received within a preset time period, send a data query instruction again through the communication interface and update the number of times the data query instruction is sent;
[0166] The number judgment unit is used to determine that the photovoltaic storage inverter system is not connected to an external device if the number of transmissions reaches a preset number threshold and the parameter packet fed back by the communication interface is still not received within a preset time period.
[0167] In one possible implementation, a buffer circuit and an electrical interface are deployed in the photovoltaic storage inverter system;
[0168] The buffer circuit includes a capacitor, a first switch, a second switch, a first resistor, and a second resistor, wherein the first switch and the second switch are in a normally open state;
[0169] The first end of the capacitor is connected to the positive terminal of the inverter and the positive terminal of the electrical interface respectively, and the second end of the capacitor is connected to the negative terminal of the inverter and the negative terminal of the electrical interface respectively;
[0170] The first switch and the first resistor are located between the first end of the capacitor and the positive terminal of the electrical interface, and the second switch and the second resistor are located between the second end of the capacitor and the negative terminal of the electrical interface;
[0171] The first switch is connected in series with the first resistor, and the second switch is connected in series with the second resistor.
[0172] In a possible implementation, the method further includes:
[0173] a switch closing unit, configured to close the first switch and the second switch if no parameter packet fed back by the communication interface is received within a preset time period;
[0174] A switch disconnecting unit is used to determine that the photovoltaic storage inverter system is not connected to an external device and disconnect the first switch and the second switch if no current data is collected at the electrical interface.
[0175] In a possible implementation, the method further includes:
[0176] An alarm unit is used to determine whether to issue an alarm message and disconnect the first switch and the second switch if current data is collected at the electrical interface; wherein the alarm message indicates that the photovoltaic storage inverter system is connected to an external device, but there is a fault in the communication interface.
[0177] In a possible implementation, the buffer circuit includes a third switch and a fourth switch, and the third switch and the fourth switch are in a normally open state;
[0178] The first switch, the third switch, and the first resistor are located between the first end of the capacitor and the positive terminal of the electrical interface, and the second switch, the fourth switch, and the second resistor are located between the second end of the capacitor and the negative terminal of the electrical interface;
[0179] The first switch is connected in series with the first resistor, the first switch is connected in parallel with the third switch, the second switch is connected in series with the second resistor, and the second switch is connected in parallel with the fourth switch.
[0180] In a possible implementation, the method further includes:
[0181] a first closing unit, configured to close the first switch and the second switch if a parameter packet fed back by the communication interface is received within a preset time period;
[0182] The second closing unit is configured to close the third switch and the fourth switch if the current data collected at the electrical interface meets a preset condition.
[0183] In a possible implementation, the type determining unit 1002 is specifically configured to:
[0184] Parsing the parameter package to obtain parameter category information; wherein the parameter category information represents the category of the device parameters in the parameter package;
[0185] Based on a preset association relationship, the device type corresponding to the parameter category information is determined to be the device type of the external device; wherein the preset association relationship represents the association relationship between the parameter category information and the device type.
[0186] This embodiment provides a device control apparatus based on a photovoltaic storage inverter system, which can execute the method provided in the above method embodiment. Its implementation principle and technical effects are similar, and are not described in detail in this embodiment.
[0187] The embodiment of the present application further provides a photovoltaic storage inverter system, in which an inverter, a photovoltaic storage device, a grid device, a buffer circuit, an electrical interface, and a communication interface are deployed. The photovoltaic storage device and the grid device are both connected to the inverter. The electrical interface is used to electrically connect the inverter to an external device. The communication interface is used to communicate between the inverter and the external device. The external device is used for charging and discharging. The photovoltaic storage device includes at least one of a photovoltaic device, an energy storage device, and a load.
[0188] The buffer circuit includes a capacitor, a first switch, a second switch, a third switch, a fourth switch, a first resistor, and a second resistor, and the first switch, the second switch, the third switch, and the fourth switch are in a normally open state;
[0189] The first end of the capacitor is connected to the positive terminal of the inverter and the positive terminal of the electrical interface respectively, and the second end of the capacitor is connected to the negative terminal of the inverter and the negative terminal of the electrical interface respectively;
[0190] The first switch and the first resistor are located between the first end of the capacitor and the positive terminal of the electrical interface, and the second switch and the second resistor are located between the second end of the capacitor and the negative terminal of the electrical interface;
[0191] The first switch is connected in series with the first resistor, the second switch is connected in series with the second resistor, the first switch is connected in parallel with the third switch, and the second switch is connected in parallel with the fourth switch.
[0192] The photovoltaic storage inverter system in the embodiment of the present application can be used to execute a device control method based on the photovoltaic storage inverter system.
[0193] Figure 11 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 11 As shown, the electronic device 1100 provided in this embodiment includes: at least one processor 1101 and a memory 1102. Optionally, the device 1100 also includes a communication component 1103. The processor 1101, the memory 1102, and the communication component 1103 are connected via a bus 1104.
[0194] During the specific implementation process, at least one processor 1101 executes the computer-executable instructions stored in the memory 1102, so that the at least one processor 1101 performs the above method.
[0195] The specific implementation process of the processor 1101 can be found in the above method embodiment. Its implementation principle and technical effects are similar and will not be repeated here in this embodiment.
[0196] In the above embodiments, it should be understood that the processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASICs), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the present invention may be directly executed by a hardware processor or by a combination of hardware and software modules within the processor.
[0197] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage.
[0198] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For the convenience of representation, the bus in the drawings of the present application does not limit to only one bus or one type of bus.
[0199] The present application also provides a computer program product, comprising a computer program, which, when executed by a processor, implements the method described above.
[0200] The present application also provides a computer readable storage medium, which stores computer execution instructions, and when a processor executes the computer execution instructions, the method described above is implemented.
[0201] The readable storage medium described above can be implemented by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general or special purpose computer.
[0202] An exemplary readable storage medium is coupled to the processor, so that the processor can read information from the readable storage medium, and can write information to the readable storage medium. Of course, the readable storage medium can also be an integral part of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (ASIC). Of course, the processor and the readable storage medium can also exist as discrete components in the device.
[0203] The division of units is only a logical functional division, and in actual implementation, there can be another division manner, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units shown or discussed can be indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0204] Units described as separate components may or may not be physically separate, and components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0205] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0206] If a function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the portion that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the various embodiments of the method of the present invention. The aforementioned storage medium includes various media that can store program code, such as USB flash drives, mobile hard drives, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical disks.
[0207] Those skilled in the art will appreciate that all or part of the steps in the above-described method embodiments can be implemented using hardware associated with program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.
[0208] Finally, it should be noted that those skilled in the art will readily identify other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. The present invention is intended to cover any variations, uses, or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art not disclosed herein. The present invention is not limited to the precise structure described above and illustrated in the accompanying drawings, and various modifications and variations may be made without departing from the scope thereof. The scope of the present invention is limited solely by the appended claims.
Claims
1. A device control method based on a photovoltaic storage inverter system, characterized in that: The photovoltaic storage inverter system is deployed with an inverter, a photovoltaic storage device, and a communication interface. The photovoltaic storage device is connected to the inverter. The communication interface is used for communication between the inverter and an external device. The external device is used for charging and discharging. The method is applied to the inverter; the method includes: Sending a data query instruction through the communication interface; wherein the data query instruction is used to request device parameters of the external device; If a parameter package fed back by the communication interface is received within a preset time period, the device type of the external device is determined based on the parameter package; wherein the parameter package includes device parameters of the external device; Controlling the charging and discharging of the external device according to the working information of the photovoltaic storage device and the device type of the external device; wherein the working information represents the power consumption of the photovoltaic storage device; The photovoltaic storage inverter system is equipped with a buffer circuit and an electrical interface; the buffer circuit includes a capacitor, a first switch, a second switch, a first resistor, and a second resistor, and the first switch and the second switch are in a normally open state; the first end of the capacitor is connected to the positive terminal of the inverter and the positive terminal of the electrical interface, respectively, and the second end of the capacitor is connected to the negative terminal of the inverter and the negative terminal of the electrical interface, respectively; the first switch and the first resistor are located between the first end of the capacitor and the positive terminal of the electrical interface, and the second switch and the second resistor are located between the second end of the capacitor and the negative terminal of the electrical interface; the first switch is connected in series with the first resistor, and the second switch is connected in series with the second resistor; If no parameter packet fed back by the communication interface is received within a preset time period, closing the first switch and the second switch; If no current data is collected at the electrical interface, it is determined that the photovoltaic storage inverter system is not connected to an external device, and the first switch and the second switch are disconnected.
2. The method according to claim 1, characterized in that The method includes controlling the charging and discharging of the external device according to the working information of the optical storage device and the device type of the external device, including: Determine a target device from the solar-storage inverter system according to the device type of the external device; wherein the target device includes at least one solar-storage device, and the solar-storage device includes at least one of a photovoltaic device, an energy storage device, and a load; The operating information of the target device is obtained, and the charging and discharging of the external device is controlled according to the operating information of the target device.
3. The method according to claim 2, characterized in that The device type includes an external battery, the target device includes a photovoltaic device, an energy storage device, and a load, the operating information includes the photovoltaic power of the photovoltaic device, the load power of the load, and the state of charge (SOC) of the energy storage device; and charging and discharging control of the external device according to the operating information of the target device includes: Determine the battery power according to the photovoltaic power of the photovoltaic device and the load power of the load; wherein the battery power represents the total charge and discharge power of the energy storage device and the external device; Obtaining the SOC of the external device, and determining a difference between the SOC of the external device and the SOC of the energy storage device; If the battery power is equal to or greater than a preset first power threshold, or the difference is less than or equal to a preset difference threshold, a control instruction is generated according to the SOC of the external device and the SOC of the energy storage device, and the control instruction is sent to the external device through the communication interface; wherein the control instruction is used to control the charging and discharging of the external device; If the battery power is less than a preset first power threshold and the difference is greater than a preset difference threshold, a target battery is determined from the external device and the energy storage device based on the SOC of the external device and the SOC of the energy storage device; wherein the target battery is used for charging and discharging.
4. The method according to claim 3, characterized in that Generating a control instruction according to the SOC of the external device and the SOC of the energy storage device, including: Determining a weight of the external device according to the SOC of the external device and the SOC of the energy storage device; wherein the weight of the external device represents the importance of the external device in the charging and discharging process; determining the charge and discharge power of the external device according to the weight of the external device and the battery power; The control instruction is determined according to the charge and discharge power of the external device.
5. The method according to claim 4, characterized in that Determining the control instruction according to the charge and discharge power of the external device includes: Determining a target current value of the external device according to the charge and discharge power of the external device; wherein the target current value represents the current of the external device when the charge and discharge power is stable; The control instruction is generated according to the target current value of the external device; wherein the control instruction is used to adjust the current of the external device to the target current value.
6. The method according to claim 2, characterized in that The device type includes a charging pile, the target device includes a photovoltaic device and an energy storage device, and the operating information includes the photovoltaic power of the photovoltaic device and the energy storage power of the energy storage device; and charging and discharging control of the external device according to the operating information of the target device includes: Determine the photovoltaic power storage according to the photovoltaic power of the photovoltaic device and the energy storage power of the energy storage device; wherein the photovoltaic power storage represents the sum of the photovoltaic power and the energy storage power; If the optical storage power is less than a preset second power threshold, obtaining a power lower limit value from the parameter package; wherein the power lower limit value represents the minimum power value allowed by the external device; According to the power lower limit value, the photovoltaic device and the energy storage device are controlled to charge the external device.
7. The method according to claim 6, characterized in that The photovoltaic storage inverter system is deployed with a grid device, and the grid device is connected to the inverter; the method further includes: If the solar storage power is less than a preset second power threshold, the grid device is controlled to charge the external device.
8. The method according to claim 1, characterized in that Also includes: If the parameter packet fed back by the communication interface is not received within a preset time period, the data query instruction is sent again through the communication interface, and the number of times the data query instruction is sent is updated; If the number of transmissions reaches a preset threshold and the parameter packet fed back by the communication interface is still not received within a preset time period, it is determined that the solar-storage inverter system is not connected to an external device.
9. The method according to claim 1, characterized in that Also includes: If current data is collected at the electrical interface, an alarm message is issued and the first switch and the second switch are disconnected; wherein the alarm message indicates that the photovoltaic storage inverter system is connected to an external device, but there is a fault in the communication interface.
10. The method according to claim 1, characterized in that The buffer circuit includes a third switch and a fourth switch, and the third switch and the fourth switch are in a normally open state; The first switch, the third switch, and the first resistor are located between the first end of the capacitor and the positive terminal of the electrical interface, and the second switch, the fourth switch, and the second resistor are located between the second end of the capacitor and the negative terminal of the electrical interface; The first switch is connected in series with the first resistor, the first switch is connected in parallel with the third switch, the second switch is connected in series with the second resistor, and the second switch is connected in parallel with the fourth switch.
11. The method according to claim 10, characterized in that Also includes: If a parameter packet fed back by the communication interface is received within a preset time period, closing the first switch and the second switch; If the current data collected at the electrical interface meets a preset condition, the third switch and the fourth switch are closed.
12. The method according to any one of claims 1 to 11, characterized in that Determining the device type of the external device according to the parameter package includes: Parsing the parameter package to obtain parameter category information; wherein the parameter category information represents the category of the device parameters in the parameter package; Based on a preset association relationship, the device type corresponding to the parameter category information is determined to be the device type of the external device; wherein the preset association relationship represents the association relationship between the parameter category information and the device type.
13. A solar-storage inverter system, characterized in that: The photovoltaic storage inverter system is equipped with an inverter, a photovoltaic storage device, a grid device, a buffer circuit, an electrical interface, and a communication interface. The photovoltaic storage device and the grid device are both connected to the inverter. The electrical interface is used to electrically connect the inverter to an external device. The communication interface is used to communicate between the inverter and the external device. The external device is used for charging and discharging. The photovoltaic storage device includes at least one of a photovoltaic device, an energy storage device, and a load. The buffer circuit includes a capacitor, a first switch, a second switch, a third switch, a fourth switch, a first resistor, and a second resistor, wherein the first switch, the second switch, the third switch, and the fourth switch are in a normally open state; The first end of the capacitor is connected to the positive terminal of the inverter and the positive terminal of the electrical interface respectively, and the second end of the capacitor is connected to the negative terminal of the inverter and the negative terminal of the electrical interface respectively; The first switch and the first resistor are located between the first end of the capacitor and the positive terminal of the electrical interface, and the second switch and the second resistor are located between the second end of the capacitor and the negative terminal of the electrical interface; The first switch is connected in series with the first resistor, the second switch is connected in series with the second resistor, the first switch is connected in parallel with the third switch, and the second switch is connected in parallel with the fourth switch; The photovoltaic storage inverter system is used to implement the method according to any one of claims 1 to 12.
Citation Information
Patent Citations
Power supply method of optical storage and charging system, optical storage and charging system and storage medium
CN117937437A
Photovoltaic grid-connected inverter and alternating current side starting method of photovoltaic grid-connected inverter
CN119109318A