Power equipment, control method and related device
By switching to protection mode when the communication interface of the power device fails to receive communication messages or the number of disconnections reaches a threshold, the problem of power devices going out of control due to communication loss or network instability is solved, thus improving the safety and reliability of the device.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-04
- Publication Date
- 2026-03-27
AI Technical Summary
When communication between the power equipment and the monitoring equipment is lost or the network is unstable, the power equipment cannot receive control commands, resulting in equipment malfunction and reduced safety and reliability.
If the duration for which the communication interface does not receive a communication message is greater than or equal to the first time threshold or the number of disconnections is greater than or equal to the preset number, the controller will switch the power device to protection mode, including off-grid operation or shutdown mode.
By automatically switching to protection mode, the risk of power equipment runaway is reduced, and safety and reliability are improved.
Smart Images

Figure CN121749486A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of power equipment technology, and in particular to a power device, control method and related apparatus. Background Technology
[0002] Power devices are power electronic devices that convert electricity into electrical outputs, such as combiner boxes, DC-DC converters, and inverters. Power devices are one of the key components of modern energy systems (such as photovoltaic systems and energy storage systems).
[0003] To ensure the safety and reliability of power equipment, maintenance personnel can monitor and control it using monitoring devices. However, if communication between the monitoring device and the power equipment is lost or the network is unstable, the power equipment may be unable to receive control commands sent by the monitoring device, leading to loss of control and reduced safety and reliability. Summary of the Invention
[0004] In view of the above problems, this application provides a power device, control method and related apparatus, which aims to improve the safety and reliability of the power device.
[0005] The embodiments of this application disclose the following technical solutions:
[0006] In a first aspect, embodiments of this application provide a power device, including: a controller and a communication interface; the controller is connected to the communication interface;
[0007] The controller is used to switch the operating mode of the power device to protection mode when the duration of no communication message received by the communication interface is greater than or equal to a first time threshold; or, when the number of disconnections is greater than or equal to a preset number; wherein, the first time threshold is greater than zero, and the number of disconnections is the number of times the duration of no communication message received by the communication interface is less than the first time threshold.
[0008] In conjunction with the first aspect, in one possible implementation, the controller is configured to switch the operating mode of the power device to protection mode if the number of disconnections is greater than or equal to a preset number within a second time threshold; wherein the second time threshold is greater than or equal to the product of the preset number and the first time threshold.
[0009] In conjunction with the first aspect, in one possible implementation, the controller is used to switch the operating mode of the power variable device to protection mode when the number of disconnections is greater than or equal to a preset number within a third time threshold; wherein the third time threshold is greater than or equal to a first time threshold and less than a second time threshold, the duration is less than or equal to a fourth time threshold, and the fourth time threshold is greater than zero and less than the first time threshold.
[0010] In conjunction with the first aspect, in one possible implementation, the controller is also configured to use the end time of the fifth time threshold as the start time of the duration if no communication message is received within the fifth time threshold.
[0011] In conjunction with the first aspect, in one possible implementation, the protection mode is either off-grid operation mode or shutdown mode.
[0012] In conjunction with the first aspect, in one possible implementation, when the protection mode is off-grid operation mode, the controller is also used to control the power equipment to shut down after the power equipment has been running in off-grid operation mode for a preset time.
[0013] In conjunction with the first aspect, in one possible implementation, the controller is also used to send an alarm message after the operating mode of the control power device is switched to protection mode.
[0014] Secondly, embodiments of this application provide a control method for a power device, the method comprising:
[0015] If the duration during which the communication interface of the power device does not receive a communication message is greater than or equal to the first time threshold, the operating mode of the power device is switched to protection mode.
[0016] or,
[0017] If the number of disconnections is greater than or equal to a preset number, the operating mode of the control power device is switched to protection mode; wherein, the first time threshold is greater than zero, and the number of disconnections is the number of times the duration during which the communication interface does not receive a communication message is less than the first time threshold.
[0018] In conjunction with the second aspect, in one possible implementation, when the duration is less than a first time threshold and the number of disconnections is greater than or equal to a preset number, the operating mode of the control power device is switched to protection mode, including:
[0019] If the number of disconnections is greater than or equal to a preset number within a second time threshold, the operating mode of the control power device is switched to protection mode; wherein, the second time threshold is greater than or equal to the product of the preset number and the first time threshold.
[0020] In conjunction with the second aspect, in one possible implementation, when the duration is less than a first time threshold and the number of disconnections is greater than or equal to a preset number, the operating mode of the control power device is switched to protection mode, including:
[0021] If the number of disconnections is greater than or equal to the preset number within the third time threshold, the operating mode of the power control device is switched to protection mode; wherein, the third time threshold is greater than or equal to the first time threshold and less than the second time threshold, the duration is less than or equal to the fourth time threshold, and the fourth time threshold is greater than zero and less than the first time threshold.
[0022] In conjunction with the second aspect, one possible implementation method also includes:
[0023] If no communication message is received within the fifth time threshold, the end time of the fifth time threshold will be taken as the start time of the duration.
[0024] In conjunction with the second aspect, in one possible implementation, when the protection mode is off-grid operation mode, the method further includes: controlling the power equipment to shut down after the power equipment has been running in off-grid operation mode for a preset time.
[0025] In conjunction with the second aspect, in one possible implementation, the method further includes sending an alarm message after the operating mode of the control power device is switched to protection mode.
[0026] Thirdly, embodiments of this application provide a power supply system that includes the power device as described in the first aspect.
[0027] Fourthly, embodiments of this application provide a control device, including a processor and a memory, wherein the processor is connected to the memory, the memory is used to store programs, instructions or code, and the processor is used to execute the programs, instructions or code in the memory to perform the control method of the power device as described in the first aspect.
[0028] Fifthly, embodiments of this application provide a computer-readable storage medium storing a computer program, which is loaded by a processor to execute the power device control method as described in the first aspect.
[0029] The power device provided in this application includes a controller and a communication interface. The controller is connected to the communication interface and is used to switch the operating mode of the power device to protection mode when the duration for which the controller has not received a communication message is greater than or equal to a first time threshold; or, when the number of disconnections with a duration greater than zero and less than the first time threshold is greater than or equal to a preset number, the controller switches the operating mode of the power device to protection mode. The first time threshold is greater than zero. Thus, when the controller of the power device determines that the communication status between the power device and the external device is disconnected based on the duration of the communication message, it automatically switches to protection mode, which can reduce the risk of power device malfunction and improve the safety and reliability of the power device. Attached Figure Description
[0030] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0031] Figure 1 This is a schematic diagram illustrating the communication between a power device and multiple back-end systems.
[0032] Figure 2 This is a schematic diagram of the structure of a power device provided in an embodiment of this application;
[0033] Figure 3a A schematic diagram illustrating a single disconnection provided in an embodiment of this application;
[0034] Figure 3b This is a schematic diagram illustrating multiple disconnections provided in an embodiment of this application;
[0035] Figure 3c This is another schematic diagram illustrating multiple disconnections provided in an embodiment of this application;
[0036] Figure 4 This is a schematic diagram of a power supply system provided in an embodiment of this application;
[0037] Figure 5 A flowchart illustrating a control method for a power device provided in an embodiment of this application;
[0038] Figure 6 A schematic diagram of a long-term single disconnection provided in an embodiment of this application;
[0039] Figure 7 This application provides a schematic diagram of a process for handling multiple short-term disconnections in an embodiment of the present application.
[0040] Figure 8 This is a schematic diagram of the structure of a control device provided in an embodiment of this application. Detailed Implementation
[0041] To ensure the safety and reliability of power equipment, maintenance personnel can monitor and control the power equipment through various types of monitoring equipment (hereinafter referred to as the back-end). For example, the back-end can be a data acquisition and monitoring control system, an automatic power generation control system, a preset performance control system, etc.
[0042] However, when communication between the monitoring equipment and the power equipment is lost or the network is unstable, the power equipment may be unable to receive control commands sent by the external controller, which may further lead to the power equipment going out of control and reduce the safety and reliability of the power equipment.
[0043] As an example, such as Figure 1 As shown, the power device communicates with three backends (backend 1, backend 2, and backend 3). For example, the power device can send requests to the three backends, and each backend can respond accordingly. Assume backend 1 is used to monitor the power device's operation and issue a shutdown command when the operation is in a preset state. If communication between backend 1 and the power device is lost or the network is unstable, the power device may fail to receive the shutdown command from backend 1, thus failing to shut down as expected. This could lead to the power device going out of control, thereby reducing its safety and reliability.
[0044] To improve the safety and reliability of power devices, this application provides a power device, a control method, and related apparatus. The power device includes a controller and a communication interface. The controller is connected to the communication interface and is used to switch the operating mode of the power device to a protection mode when the duration for which the controller has not received a communication message is greater than or equal to a first time threshold; or, when the number of disconnections with a duration greater than zero and less than the first time threshold is greater than or equal to a preset number, the controller switches the operating mode of the power device to a protection mode. The first time threshold is greater than zero. Thus, when the controller of the power device determines that the communication status between the power device and the external device is disconnected based on the duration of the communication message, it automatically switches to protection mode, which can reduce the risk of power device malfunction and improve the safety and reliability of the power device.
[0045] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present application.
[0046] See Figure 2 The figure shows a power device provided in an embodiment of this application, combined with... Figure 2 As shown, the power device 20 provided in this application embodiment may include: a controller 21 and a communication interface 22, wherein the controller 21 is connected to the communication interface 22.
[0047] It should be understood that, since there may be communication loss or network instability between the power device and the monitoring device, in this embodiment of the application, the controller inside the power device detects the communication status between the power device and the monitoring device, so that when the communication status is disconnected, the controller switches the power device's own working mode to protection mode to achieve the purpose of protecting the power device.
[0048] A communication interface refers to the channel through which power devices exchange data and communicate with multiple monitoring devices. The communication interface specifies the physical characteristics, electrical characteristics, and protocol specifications of data transmission, ensuring that information can be accurately and efficiently transmitted between the power devices and multiple monitoring devices. In one possible implementation, the communication interface can be a wired communication interface, or a wireless communication interface, or a combination of both.
[0049] A wired communication interface refers to a connection component that uses physical cables to enable data transmission and communication between power devices and monitoring devices. As an example, the communication interface could be an RS845 interface.
[0050] A wireless communication interface refers to an interface that enables power devices to transmit and communicate data without physical cables. Wireless communication interfaces can use wireless signals such as radio waves and infrared light as transmission media to achieve data exchange between power devices and monitoring equipment. As examples, communication interfaces can be WiFi, 4G / 5G, Bluetooth, etc.
[0051] The controller 21 is configured to switch the operating mode of the power device to protection mode when the duration of the period during which the controller 21 does not receive a communication message is greater than or equal to a first time threshold; or, when the number of disconnections is greater than or equal to a preset number; wherein the first time threshold is greater than zero, and the number of disconnections is the number of times the duration is greater than zero and less than the first time threshold.
[0052] A communication message refers to a structured data unit used in a communication system to transmit information between a power device and multiple backends. In the embodiments of this application, the communication message is a periodic message. For example, the power device receives a communication message (also called a response result) sent by the backend at a time interval of 1 second; or, for example, the power device sends a request at a time interval of 2 seconds and receives a communication message sent by the backend 2 seconds later.
[0053] It should be noted that, in the embodiments of this application, the communication message is a message sent by the background to the power device. The communication message can be a message actively sent by the background to the power device, or it can be a response result (i.e., a communication message) after the power device actively sends a request to the background. No specific limitation is made here.
[0054] It should be noted that the power device in this embodiment can communicate with multiple backends, and there can be periodic communication messages between the power device and each backend. That is, the controller can detect the communication status between the power device and multiple backends. This embodiment uses the communication between the power device and one backend as an example for illustrative purposes. The connection method and control process between the power device and each of the multiple backends are the same as the connection method and control process for a single backend, and will not be described again hereafter.
[0055] Duration refers to the timeout period during which the controller does not receive communication messages sent by the background, such as 1 second, 2 seconds, 10 seconds, etc., without specific limitations.
[0056] A time threshold refers to a pre-set time limit or time constraint used as the basis for triggering a specific operation, state transition, or decision. In the embodiments of this application, the first time threshold refers to the maximum allowed duration, and the first time threshold is greater than zero.
[0057] The number of disconnections refers to the number of times the communication between the power device and the backend is disconnected. A duration greater than zero indicates that the communication between the power device and the backend is disconnected. In other words, the number of disconnections is the number of times the communication interface has not received a communication message for a duration less than the first time threshold.
[0058] The preset number of disconnections refers to the maximum number of disconnections that are allowed in advance, such as 3 times, 5 times, 10 times, etc., without any specific limit here.
[0059] Operating mode refers to the different modes or conditions in which a power device operates, such as standby, startup, running, current limiting / power limiting, etc., without specific limitations here.
[0060] Protection mode refers to the operating mode used to protect power equipment. In one possible implementation, the protection mode can be off-grid operation mode or shutdown mode. Off-grid operation mode means that the power equipment does not rely on an external power grid or remote control, but relies solely on its own connected local power source (such as battery packs, solar panels, etc.) to independently supply power to the load. Shutdown mode means that the power equipment is shut down (also known as being turned off).
[0061] It should be understood that if the protection mode is off-grid operation mode, the power device can operate independently without relying on the control of the monitoring device. In this way, the power device can use its own control rules to constrain itself, reducing the uncontrollability of the power device caused by the communication status being disconnected in the background. At the same time, it can allow the system to continue to operate, improve the safety and reliability of the power device, and also improve the reliability of the system.
[0062] It should be understood that if the protection mode is shutdown mode, the power equipment can be shut down, reducing safety issues caused by power equipment malfunction, reducing the scope of the fault, and improving the safety and reliability of the power equipment.
[0063] It should be noted that, in one possible implementation, when the protection mode is off-grid operation mode, the controller 21 is also used to control the power equipment to shut down after the power equipment has been running in off-grid operation mode for a preset time.
[0064] The preset time refers to the maximum time that the power device can operate in off-grid mode, such as 10 minutes, 1 minute, 1 hour, etc., without any specific limitation.
[0065] It should be understood that since the power device cannot be monitored by the backend after its working mode is switched to off-grid operation mode, the backend cannot determine the status of the power device and issue relevant control commands. If the power device malfunctions, it may be unable to monitor or control itself, which may lead to the power device going out of control. Therefore, in order to avoid the power device going out of control, this application embodiment controls the power device to stop after the power device has been running in off-grid operation mode for a preset time. This can improve the safety and reliability of the power device to a certain extent while allowing it to continue to operate.
[0066] If the duration of no communication message received is greater than or equal to the first time threshold, it means that no communication message has been received within the maximum allowed time limit. This indicates that the communication between the power device and the backend is disconnected. In this case, the controller needs to switch the power device's operating mode to protection mode to protect the power device.
[0067] As an example, combined Figure 3a As shown, assuming the first time threshold is 60 seconds and the protection mode is shutdown mode, if the duration is greater than or equal to 60 seconds, the controller will switch the power device's operating mode to shutdown mode, at which time the power device's power output will be 0.
[0068] If the number of disconnections is greater than or equal to the preset number, it means that the maximum allowed time limit has not been exceeded, but there are multiple disconnections (i.e., the number of disconnections is greater than or equal to the preset number). This indicates that the communication between the power device and the backend is disconnected. In this case, the controller needs to switch the working mode of the power device to protection mode to achieve the purpose of protecting the power device.
[0069] As an example, combined Figure 3b As shown, assuming the first time threshold is 10 seconds, the protection mode is shutdown mode, and the preset number of times is 4, then if the duration of a single instance is less than 10 seconds and the number of disconnections is 4, the controller will switch the working mode of the power device to shutdown mode, at which time the power output of the power device will be 0.
[0070] In one possible implementation, the controller 21 can also be used to send an alarm message after the operating mode of the power device is switched to protection mode. The alarm message indicates that the communication between the power device and the backend is disconnected. The alarm message can be displayed on the power device's display device, such as an alarm indicator light, a touchscreen pop-up, a buzzer, etc. The alarm message can also be sent by the power device's controller to other backends, which will then notify maintenance personnel.
[0071] It should be understood that by sending alarm messages, the controller enables maintenance personnel to quickly locate the cause of the fault and perform maintenance, thereby improving the safety and reliability of the power equipment.
[0072] It should be understood that, in the embodiments of this application, the controller of the power device determines whether the communication status between the power device and the backend is disconnected by the duration, without relying on the backend for monitoring and control, thereby realizing the self-detection of the communication status. When it is determined that the communication status is disconnected (i.e., the duration is greater than or equal to the first time threshold; or, the duration is less than the first time threshold and the number of disconnections is greater than or equal to the preset number), the controller switches the working mode of the power device to the protection mode, thereby achieving the purpose of protecting the power device and improving the safety and reliability of the power device.
[0073] Based on the power device provided in the above embodiments, if the controller switches the power device's operating mode to protection mode when the number of disconnections exceeds a preset number, false protection may be triggered. For example, assuming the first time threshold is 30 seconds and the preset number is 3 times, if the number of disconnections is 3 within 3 days, the controller will switch the power device's operating mode to protection mode. However, in actual application scenarios, 3 disconnections within 3 days may not affect the communication between the power device and the backend, thus leading to false protection triggering.
[0074] Therefore, in one possible implementation, the controller 21 can be used to switch the operating mode of the power device to protection mode when the number of disconnections is greater than or equal to a preset number within a second time threshold.
[0075] The second time threshold refers to the maximum allowed time for the number of disconnections to exceed or equal to a preset number. The second time threshold is greater than or equal to a preset threshold, which is the product of the preset number of disconnections and the first time threshold. For example, if the first time threshold is 3 seconds and the preset number of disconnections is 3, then the second time threshold is greater than or equal to 9 seconds.
[0076] It should be noted that power devices may experience brief signal interference or communication failures for various reasons, resulting in a single instance lasting less than the first time threshold. However, such brief and non-essential disconnections may be counted as disconnections, and when the number of disconnections reaches a preset number, the power device's operating mode may be mistakenly switched to protection mode. To reduce the likelihood of the power device switching to protection mode due to mistaken triggering, in this embodiment, the second time threshold can be set to be greater than or equal to the product of the preset number and the first time threshold, thus providing a buffer time for brief and non-essential disconnections.
[0077] It should be understood that, in order to distinguish between normal fluctuations (normal fluctuations refer to brief and non-essential disconnections) and substantial faults (substantial faults refer to communication failures between power devices and monitoring devices), by setting the second time threshold to be greater than or equal to the preset threshold, it can be ensured to a certain extent that disconnections that occur multiple times within a certain period of time and last for a certain duration will be identified as substantial faults, thereby triggering the power device to switch its operating mode to protection mode. This can improve the accuracy of fault diagnosis and avoid misjudging normal fluctuations as faults.
[0078] In this embodiment of the application, by making the second time threshold greater than or equal to a preset threshold, where the preset threshold is the product of the preset number of times and the first time threshold, the possibility of frequently switching to protection mode due to brief disconnections can be reduced, ensuring that the power device can operate normally and improving the availability of the power device.
[0079] If the number of disconnections within the second time threshold is greater than or equal to the preset number, it means that the duration has not exceeded the maximum allowed time limit. However, if there are multiple disconnections within the second time threshold (i.e., the number of disconnections is greater than or equal to the preset number), it indicates that the communication between the power device and the backend is disconnected. In this case, the controller needs to switch the working mode of the power device to protection mode to achieve the purpose of protecting the power device.
[0080] As an example, combined Figure 3cAs shown, assuming the first time threshold is 10 seconds, the protection mode is shutdown mode, the preset number of disconnections is 4, and the second time threshold is 100 seconds, then if the duration is less than 10 seconds and the number of disconnections within 100 seconds is 4, the controller will switch the power device's operating mode to shutdown mode, at which time the power device's power output will be 0.
[0081] In this embodiment of the application, in order to improve the accuracy of the judgment of the communication status and reduce the probability of triggering false protection, this embodiment of the application uses the duration being less than a first time threshold and the number of disconnections within a second time threshold being greater than or equal to a preset number as the condition for triggering the power device to switch its working mode to protection mode. In this way, the safety and reliability of the power device can be improved to a certain extent, and the probability of triggering false protection can also be reduced.
[0082] Based on the power device provided in the above embodiments, in one possible implementation, the controller 21 can be used to control the power device to switch its working mode to protection mode when the number of disconnections is greater than or equal to a preset number within a third time threshold.
[0083] Among them, the third time threshold is greater than or equal to the first time threshold and less than the second time threshold, the duration is less than or equal to the fourth time threshold, and the fourth time threshold is greater than zero and less than the first time threshold.
[0084] It should be understood that if the duration of no communication message received is less than the first time threshold, there may be multiple disconnections in a short period of time. In order to improve the reliability of communication, the duration can be set to be less than or equal to the fourth time threshold. The fourth time threshold is greater than zero and less than the first time threshold. In this way, monitoring can be carried out for situations where the duration is less than the first time threshold.
[0085] Meanwhile, setting the fourth time threshold requires a balance between response speed and accuracy. If the fourth time threshold is set too low, the inverter may become overly sensitive to brief disconnections, leading to frequent shutdowns. Conversely, if the fourth time threshold is set too high, it may fail to respond promptly to persistent disconnections. Therefore, in this embodiment, by setting it to be greater than or equal to the first time threshold and less than the second time threshold, system stability can be guaranteed while ensuring the inverter can shut down promptly in the event of a persistent disconnection.
[0086] Based on the power device provided in the above embodiments, in one possible implementation, the controller 21 can be used to take the end time of the fifth time threshold as the start time of the duration if no communication message is received within the fifth time threshold.
[0087] The fifth time threshold refers to the maximum allowed time during which a power device has not received a communication message. The starting time of the fifth time threshold is the time when the last communication message was received.
[0088] It should be understood that since the communication messages are periodic messages, when the communication status is normal, the power device will receive the communication messages at a preset time interval. For example, if the preset period is 2 seconds, the power device can receive the communication messages at a time interval of 2 seconds. That is, the maximum allowed time for not receiving a communication message is the preset time interval, which means that the fifth time threshold is the preset time interval after the last time a communication message was received.
[0089] It should be understood that if a communication message is received within the fifth time threshold, it can be characterized as a normal communication status between the power device and the backend; if no communication message is received within the fifth time threshold, it can be characterized as an abnormal communication time between the power device and the backend. In this case, the end time of the fifth time threshold can be used as the start time of the duration to facilitate the timing of the duration and improve the accuracy of the duration to a certain extent.
[0090] Based on the power devices provided in the above embodiments, this application also provides a power supply system, combined with... Figure 4 As shown, the power supply system 40 may include the power device described in any of the above embodiments.
[0091] A power supply system refers to a system used to provide electrical energy. As one possible implementation method, a power supply system can be a photovoltaic system, an energy storage system, a wind power system, a hydropower system, etc., without making specific limitations here.
[0092] A photovoltaic (PV) system refers to a system that directly converts sunlight into electrical energy using solar panels. An energy storage system refers to a system that converts electrical energy into other forms (such as chemical energy or potential energy) for storage and releases it when needed. A wind power system refers to a system that converts wind energy into electrical energy. A hydropower system refers to a system that uses water flow to drive turbines to generate electricity.
[0093] Based on the power device provided in the above embodiments, this application also provides a control method for the power device, see [link to relevant documentation]. Figure 5 This figure is a schematic flowchart of the control method for a power device provided in an embodiment of this application. Combined with... Figure 5 As shown, the power device control method provided in this application embodiment can be applied to the power device described in any of the above embodiments, and the control method may include:
[0094] S501: Get the duration of no communication messages received;
[0095] S502: If the duration is greater than or equal to the first time threshold, the operating mode of the control power device is switched to protection mode.
[0096] S503: When the number of disconnections is greater than or equal to the preset number, the operating mode of the control power device is switched to protection mode; the number of disconnections is the number of times the duration is greater than zero and less than the first time threshold.
[0097] In one possible implementation, step S503 includes: if the number of disconnections is greater than or equal to a preset number within a second time threshold, the operating mode of the control power device is switched to protection mode; wherein the second time threshold is greater than or equal to the product of the preset number and the first time threshold.
[0098] In one possible implementation, step S503 includes: if the number of disconnections is greater than or equal to a preset number within a third time threshold, the operating mode of the control power transformer is switched to protection mode; wherein the third time threshold is greater than or equal to a first time threshold and less than a second time threshold, the duration is less than or equal to a fourth time threshold, and the fourth time threshold is greater than zero and less than the first time threshold.
[0099] In one possible implementation, the method further includes: if no communication message is received within the fifth time threshold, taking the end time of the fifth time threshold as the start time of the duration.
[0100] In one possible implementation, when the protection mode is off-grid operation mode, it also includes: controlling the power equipment to shut down after the power equipment has been running in off-grid operation mode for a preset time.
[0101] One possible implementation also includes sending an alarm message after the operating mode of the control power device is switched to protection mode.
[0102] The control method for the power device provided in this application has the same beneficial effects as the power device provided in the above embodiments, and therefore will not be described again.
[0103] Based on the power device control method provided in the above embodiments, this application also provides a long-term single-time disconnection process, combined with Figure 6 As shown in the embodiment of this application, the process for a long-term single disconnection can be as follows:
[0104] S61: Determine if the minimum communication loss time is greater than 0; if the minimum communication loss time is greater than 0, proceed to step S62; if the minimum communication loss time is equal to 0, end the process.
[0105] The minimum communication loss time refers to the start time of communication loss, such as 1 or 2 seconds. If the minimum communication loss time is greater than 0, it indicates that the communication status between the power device and the backend is abnormal; if the minimum communication loss time is equal to 0, it indicates that the communication status between the power device and the backend is normal.
[0106] S62: Determine if the duration is greater than 0; if the duration is greater than 0, proceed to step S63; if the duration is equal to 0, end the process.
[0107] S63: Trigger the duration timing logic and determine whether the duration is greater than or equal to the first time threshold; if it is greater than or equal to the first time threshold, proceed to step S64; if the duration is less than the first time threshold, return to step S61.
[0108] S64: Switch the operating mode of the control power device to protection mode.
[0109] It should be understood that the long-term single disconnection process provided in this application embodiment (i.e., the duration is greater than or equal to the first time threshold) can automatically switch to protection mode when the controller of the power device determines that the communication status between the power device and the external device is disconnected by the duration of the communication message. This can reduce the risk of power device runaway and improve the safety and reliability of the power device.
[0110] Based on the power device control method provided in the above embodiments, this application also provides a process for short-term multiple disconnections, combined with... Figure 7 As shown in the embodiment of this application, the process for multiple short-term disconnections can be as follows:
[0111] S71: Determine if the minimum communication loss time is greater than 0; if the minimum communication loss time is greater than 0, proceed to step S72; if the minimum communication loss time is equal to 0, end the process.
[0112] S72: Determine if the duration is greater than 0; if the duration is greater than 0, proceed to step S73; if the duration is equal to 0, end the process.
[0113] S73: Trigger the duration timing logic and determine whether the duration is greater than or equal to the fourth time threshold; if it is less than the fourth time threshold, execute the end process; if the duration is greater than or equal to the fourth time threshold, execute step S74.
[0114] S74: Increase the number of disconnections by 1.
[0115] S75: Determine if the number of disconnections is equal to the preset number; if the number of disconnections is greater than or equal to the preset number, proceed to step S76; if the number of disconnections is less than the preset number, proceed to step S71.
[0116] S76: Determine whether the number of disconnections has been completed within the third time threshold; if the number of disconnections has been completed within the third time threshold, proceed to step S77; if the number of disconnections has not been completed within the third time threshold, proceed to step S78.
[0117] S77: Switches the operating mode of the control power device to protection mode.
[0118] S78: Delete disconnection counts outside the third time threshold and proceed to step S71.
[0119] It should be understood that the short-term multiple disconnection process provided in this application embodiment (i.e., the number of disconnections within the third time threshold is greater than or equal to the preset number) can automatically switch to protection mode when the controller of the power device determines that the communication status between the power device and the external device is disconnected by the duration of the communication message. This can reduce the risk of power device runaway and improve the safety and reliability of the power device.
[0120] In one possible implementation, see Figure 8 The figure is a schematic diagram of a control device provided in an embodiment of this application.
[0121] The control device may include a memory 811 and a processor 812. The processor 812 may be connected to the power device and can drive the various switches within the power device. For example... Figure 8 As shown, the memory can be random access memory (RAM), flash memory, read-only memory (ROM), EPROM, non-volatile read-only memory (Electronic Programmable ROM), registers, hard disks, removable disks, etc.
[0122] The memory 811 can store computer instructions. When the computer instructions stored in the memory 811 are executed by the processor 812, the processor 812 can be used to execute the control method of the power device. The memory 811 can also store data, such as information like the first threshold, the second threshold, and the third threshold involved in the above embodiments.
[0123] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. A computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the flow or function according to the embodiments of this application is generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape) or a semiconductor medium (e.g., solid-state disk (SSD)).
[0124] This application also provides a readable storage medium for storing the methods provided in the above embodiments. Examples include random access memory (RAM), flash memory, read-only memory (ROM), EPROM, non-volatile read-only memory (EPROM), registers, hard disks, removable disks, or any other form of storage medium in the art.
[0125] In the embodiments of this application, the terms "first" and "second" (if they exist) are used only as name identifiers and do not represent the order of first and second.
[0126] It should be noted that the various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. Regarding the methods disclosed in the embodiments, since they correspond to the product embodiments disclosed in the embodiments, the description is relatively simple; relevant parts can be referred to in the description of the product embodiments.
[0127] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A power device, characterized by, The method comprises: a controller and a communication interface; the controller is connected with the communication interface; the controller is configured to control the power device to switch to a protection mode in a case that a duration that the communication interface does not receive a communication packet is greater than or equal to a first time threshold; or, in a case that a number of disconnections is greater than or equal to a preset number; wherein the first time threshold is greater than zero, and the number of disconnections is a number of times that the duration that the communication interface does not receive the communication packet is less than the first time threshold.
2. The power device of claim 1, wherein, the controller is configured to control the power device to switch to the protection mode in a case that the number of disconnections is greater than or equal to the preset number within a second time threshold; wherein the second time threshold is greater than or equal to a product between the preset number and the first time threshold.
3. The power device of claim 1, wherein, the controller is configured to control the power device to switch to the protection mode in a case that the number of disconnections is greater than or equal to the preset number within a third time threshold; wherein the third time threshold is greater than or equal to the first time threshold and less than the second time threshold, the duration is less than or equal to a fourth time threshold, and the fourth time threshold is greater than zero and less than the first time threshold.
4. The power device of claim 1, wherein, the controller is further configured to take an ending moment of a fifth time threshold as a starting moment of the duration in a case that the communication packet is not received within the fifth time threshold.
5. The power device of claim 1, wherein, the protection mode is an off-grid operation mode or a shutdown mode.
6. The power device of claim 5, wherein, when the protection mode is the off-grid operation mode, the controller is further configured to control the power device to shut down after the power device operates according to the off-grid operation mode for a preset time.
7. The power device according to any one of claims 1 to 6, characterized in that, the controller is further configured to send an alarm message after controlling the power device to switch to the protection mode.
8. A control method of a power device, characterized by, The method comprises: controlling a power device to switch to a protection mode in a case that a duration that a communication interface of the power device does not receive a communication packet is greater than or equal to a first time threshold; or, in a case that a number of disconnections is greater than or equal to a preset number; wherein the first time threshold is greater than zero, and the number of disconnections is a number of times that the duration that the communication interface does not receive the communication packet is less than the first time threshold. controlling the power device to switch to the protection mode in a case that the number of disconnections is greater than or equal to the preset number within a second time threshold; wherein the second time threshold is greater than or equal to a product between the preset number and the first time threshold. controlling the power device to switch to the protection mode in a case that the number of disconnections is greater than or equal to the preset number within a third time threshold; wherein the third time threshold is greater than or equal to the first time threshold and less than the second time threshold, the duration is less than or equal to a fourth time threshold, and the fourth time threshold is greater than zero and less than the first time threshold.
9. The control method of a power device according to claim 8, characterized by, controlling the power device to switch to the protection mode in a case that the number of disconnections is greater than or equal to the preset number within a fifth time threshold; wherein the fifth time threshold is greater than zero and less than the first time threshold. the protection mode is an off-grid operation mode or a shutdown mode.
10. The control method of a power device according to claim 8, characterized by, when the protection mode is the off-grid operation mode, the controller is further configured to control the power device to shut down after the power device operates according to the off-grid operation mode for a preset time. the controller is further configured to send an alarm message after controlling the power device to switch to the protection mode. In a case that the number of disconnections is greater than or equal to the preset number within a third time threshold, the working mode of the power device is switched to the protection mode; wherein the third time threshold is greater than or equal to the first time threshold and less than the second time threshold, the duration is less than or equal to a fourth time threshold, and the fourth time threshold is greater than zero and less than the first time threshold.
11. The control method of a power device according to claim 8, characterized by, The method further comprises: In a case that the communication packet is not received within a fifth time threshold, an ending time of the fifth time threshold is taken as a starting time of the duration.
12. The control method of a power device according to claim 8, characterized by, When the protection mode is an off-grid operation mode, the method further comprises: after the power device operates in the off-grid operation mode for a preset time, the power device is controlled to stop.
13. The method of controlling a power device according to any one of claims 8 to 12, characterized by, The method further comprises: after the working mode of the power device is switched to the protection mode, an alarm message is sent.
14. A power supply system characterized by comprising: The system comprises the power device according to any one of claims 1-7.
15. A control device characterized by comprising: The system comprises a processor and a memory, the processor is connected with the memory, the memory is used for storing programs, instructions or codes, and the processor is used for executing the programs, instructions or codes in the memory to complete the control method of the power device according to any one of claims 8-13.
16. A computer readable storage medium characterized by: A computer program is stored, and the computer program is loaded by a processor to execute the control method of the power device according to any one of claims 8-13.