Relay detection method, electronic equipment and storage medium

By adjusting the working state of the inverter relay and collecting the voltage difference, the complex and unreliable detection in the prior art is solved, and efficient and reliable relay detection is achieved.

CN119716519APending Publication Date: 2025-03-28BEIJING EPSOLAR TECH
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411861895.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-17
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

When detecting relays connected to the inverter, the prior art requires control and suction and connection one by one, resulting in complex detection process, increasing the number of control signals, and it is difficult to detect relay abnormalities before being connected to the grid, affecting the reliability of detection.

Method used

By adjusting the working states of the first group of relays and the second group of relays to the target state (closed or disconnected), and collecting the voltages of the inverter in the target state, determining the operating conditions of the relay based on the voltage difference, whether there is an adhesion or an open circuit occurs.

Benefits of technology

Reduces the detection complexity, does not need to control the relays one by one, improves the detection efficiency, and detects the relay status before the inverter is started, preventing safety hazards caused by adhesions after starting, and ensuring the reliability of the detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119716519A_ABST
    Figure CN119716519A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a relay detection method, electronic equipment and a storage medium. The relay detection method is applied to an inverter, and the inverter is connected to a power grid through a first group of relays and a second group of relays. The relay detection method comprises the following steps: adjusting the working states of a first group of relays and a second group of relays to target states according to a preset control instruction; wherein the target state comprises a closed state and / or an open state; acquiring the voltage of each phase of the inverter in a target state; and determining operation conditions of the first group of relays and the second group of relays according to the voltage. According to the relay detection method, the electronic equipment and the storage medium provided by the embodiment of the invention, the detection complexity can be reduced, and meanwhile, the detection reliability is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to relay detection technology, and in particular to a relay detection method, electronic equipment and storage medium. Background Art

[0002] With the development and widespread application of three-phase grid-connected inverters or three-phase energy storage inverters, relays are key components for connecting inverters to the grid. Their safety and reliability determine the safety of the inverter equipment and the grid. Before the inverter is connected to the grid, it is necessary to promptly detect whether the relay has adhesion, open circuit, etc., to prevent overvoltage from impacting the inverter filter capacitor or overcurrent from impacting the grid.

[0003] At present, the inventors of the present disclosure have found that in the related art, when detecting the relays connected to the inverter, it is achieved by controlling the relays of each phase of the inverter to be attracted and detected one by one, which increases the number of relay control signals and makes the detection process extremely complicated. Summary of the invention

[0004] The embodiments of the present invention provide a relay detection method, an electronic device and a storage medium to reduce detection complexity while ensuring detection reliability.

[0005] In a first aspect, an embodiment of the present invention provides a relay detection method, which is applied to an inverter, wherein the inverter is connected to a power grid through a first group of relays and a second group of relays; the relay detection method comprises:

[0006] According to a preset control instruction, the working state of the first group of relays and the second group of relays is adjusted to a target state; wherein the target state includes a closed state and / or an open state;

[0007] collecting each phase voltage of the inverter in the target state;

[0008] The operation conditions of the first group of relays and the second group of relays are determined according to the voltage.

[0009] Optionally, the inverter includes phase a, phase b and phase c, and the power grid includes phase A, phase B and phase C; the first group of relays includes a first relay, a second relay and a third relay, and the second group of relays includes a fourth relay, a fifth relay and a sixth relay;

[0010] The first relay and the fourth relay are connected in series and are located in a branch where phase a of the inverter is connected to phase A of the power grid, and the first relay is closer to the inverter than the fourth relay; the second relay and the fifth relay are connected in series and are located in a branch where phase b of the inverter is connected to phase B of the power grid, and the second relay is closer to the inverter than the fifth relay; the third relay and the sixth relay are connected in series and are located in a branch where phase c of the inverter is connected to phase C of the power grid, and the third relay is closer to the inverter than the sixth relay;

[0011] The step of adjusting the working states of the first group of relays and the second group of relays to a target state and collecting the phase voltages of the inverter in the target state includes:

[0012] The first group of relays and the second group of relays are controlled to be disconnected, and the phase voltages of the inverter and the phase voltages of the power grid, as well as the neutral point voltage of phase a of the inverter relative to the power grid are collected.

[0013] Optionally, determining the operation status of the first group of relays and the second group of relays according to the voltage includes:

[0014] If the difference between the neutral point voltage of phase a of the inverter and the phase A voltage of the grid is within a preset range, it is determined that the first relay is stuck and the fourth relay is stuck;

[0015] If the difference between the neutral point voltage of phase b of the inverter and the phase B voltage of the grid is within the preset range, it is determined that the second relay is stuck and the fifth relay is stuck;

[0016] If the difference between the neutral point voltage of phase C of the inverter relative to the grid and the C-phase voltage of the grid is within the preset range, it is determined that the third relay is stuck and the sixth relay is stuck.

[0017] Optionally, the adjusting the working states of the first group of relays and the second group of relays to a target state and collecting the phase voltages of the inverter in the target state further includes:

[0018] The first group of relays are controlled to be closed and the second group of relays are controlled to be opened, and the voltages of each phase of the inverter and each phase of the power grid, as well as the neutral point voltage of phase a of the inverter relative to the power grid are collected.

[0019] Optionally, determining the operation status of the first group of relays and the second group of relays according to the voltage includes:

[0020] If the difference between the neutral point voltage of phase a of the inverter and the phase A voltage of the grid is within a preset range, it is determined that the first relay is stuck;

[0021] If the difference between the neutral point voltage of phase b of the inverter and the phase B voltage of the grid is within the preset range, it is determined that the second relay is stuck;

[0022] If the difference between the neutral point voltage of phase C of the inverter and the C-phase voltage of the grid is within the preset range, it is determined that the third relay is stuck.

[0023] Optionally, the adjusting the working states of the first group of relays and the second group of relays to a target state and collecting the phase voltages of the inverter in the target state further includes:

[0024] The first group of relays are controlled to be disconnected and the second group of relays are controlled to be closed, and the phase voltages of the inverter and the phase voltages of the power grid, as well as the neutral point voltage of phase a of the inverter relative to the power grid are collected at this time.

[0025] Optionally, determining the operation status of the first group of relays and the second group of relays according to the voltage includes:

[0026] If the difference between the neutral point voltage of phase a of the inverter and the phase A voltage of the grid is within a preset range, determining that the fourth relay is stuck;

[0027] If the difference between the neutral point voltage of phase b of the inverter and the B-phase voltage of the power grid is within the preset range, determining that the fifth relay is stuck;

[0028] If the difference between the neutral point voltage of phase C of the inverter and the C-phase voltage of the grid is within the preset range, it is determined that the sixth relay is stuck.

[0029] Optionally, determining the operation status of the first group of relays and the second group of relays according to the voltage further includes:

[0030] If it is determined that the relays are not stuck, the inverter is controlled to start, and during the startup of the inverter, the first group of relays is disconnected and the second group of relays is closed;

[0031] When the voltage of the inverter is in phase with the voltage of the power grid and the amplitude difference is within a preset range, controlling the first group of relays to close;

[0032] When the first group of relays is closed, the inverter is controlled to stop working, and each phase voltage of the inverter and each phase voltage of the power grid, as well as the neutral point voltage of phase a of the inverter relative to the power grid are collected;

[0033] If the difference between the neutral point voltage of phase a of the inverter and the phase A voltage of the grid exceeds a preset range, determining that the first relay and / or the fourth relay is open;

[0034] If the difference between the neutral point voltage of phase b of the inverter and the phase B voltage of the grid exceeds the preset range, determining that the second relay and / or the fifth relay is open;

[0035] If the difference between the neutral point voltage of phase C of the inverter relative to the grid and the C-phase voltage of the grid exceeds the preset range, it is determined that the third relay and / or the sixth relay is open.

[0036] Optionally, after collecting the phase voltages of the inverter and the phase voltages of the power grid, the step further includes:

[0037] If the difference between the neutral point voltage of the inverter a relative to the grid and the A phase voltage of the grid, the difference between the neutral point voltage of the inverter b relative to the grid and the B phase voltage of the grid, and the difference between the neutral point voltage of the inverter c relative to the grid and the C phase voltage of the grid are all within the preset range, it is determined that each of the relays is normal.

[0038] In a second aspect, an embodiment of the present invention provides an electronic device, the electronic device comprising:

[0039] one or more processors;

[0040] A storage device for storing one or more programs;

[0041] When the one or more programs are executed by the one or more processors, the one or more processors implement the relay detection method as described in the first aspect.

[0042] In a third aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the relay detection method as described in the first aspect.

[0043] The relay detection method, electronic device and storage medium provided by the embodiment of the present invention are applied to the inverter, and the inverter is connected to the power grid through the first group of relays and the second group of relays; the relay detection method includes: adjusting the working state of the first group of relays and the second group of relays to the target state according to the preset control instruction; wherein the target state includes the closed state and / or the open state; collecting the voltage of each phase of the inverter in the target state; and determining the operation of the first group of relays and the second group of relays according to the voltage. The relay detection method, electronic device and storage medium provided by the embodiment of the present invention adjust the working state of the first group of relays and the second group of relays to the target state, and collect the voltage of each phase of the inverter in the target state, and determine the operation of the first group of relays and the second group of relays according to the collected voltage, such as whether the relays are stuck, without the need to control each relay in sequence, reducing the detection complexity, and detecting whether each relay is stuck before the inverter is started, preventing the relay from sticking after the inverter is started to cause safety hazards, thereby ensuring the detection reliability. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 This is a schematic diagram of an application scenario of a relay detection method provided by Embodiment 1 of the present invention;

[0045] Figure 2 is a flow chart of a relay detection method provided by Embodiment 1 of the present invention;

[0046] Figure 3 is a flow chart of a relay detection method provided by Embodiment 2 of the present invention;

[0047] Figure 4 is a schematic diagram of a connection between an inverter and a relay provided in a second embodiment of the present invention;

[0048] Figure 5 is a structural block diagram of a relay detection device provided by Embodiment 3 of the present invention;

[0049] Figure 6 It is a structural schematic diagram of an electronic device provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION

[0050] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.

[0051] In the related art, when the relays connected to the inverter are detected, it is achieved by controlling the relays of each phase of the inverter to attract and detect them one by one, which increases the number of relay control signals and makes the detection process extremely complicated.

[0052] Specifically, in the related art, the inverter controls the opening and closing of each phase relay through the control system. For example, the inverter generates multiple drive signals through the MCU (Microcontroller Unit) of the control system, and then uses these drive signals to control the opening and closing of the inverter side relay and the grid side relay. After that, the inverter can control the drive signal through the MCU to disconnect all relays, and then detect whether the relays are stuck or stuck at the same time.

[0053] According to the research of the inventors of the present disclosure, the detection method in the related art needs to control and detect each relay separately, which increases the number of control signals and makes the detection process extremely complicated. In addition, if there is a situation where the relay cannot be attracted, according to the above detection logic, the MCU may mistakenly judge that the relay is normal, causing the inverter to be connected to the grid in the state of a faulty relay, increasing the safety risk. At the same time, since it is necessary to detect one by one, the detection efficiency is low, which will delay the inverter's grid connection time, thereby affecting the inverter's efficiency.

[0054] In addition, the above detection logic can only infer that the relay is abnormal through the software's operating logic and loop status, and then disconnect the grid, and the inverter reports a relay failure. This method cannot detect relay abnormalities before grid connection, and can only infer relay abnormalities through the operating status after grid connection, which affects the reliability of detection.

[0055] Embodiment 1

[0056] Figure 1 Schematic diagram of an application scenario of a relay detection method provided by the first embodiment of the present invention. Figure 1 In the embodiment, both ends of the relay are electrically connected to the inverter and the power grid respectively. This embodiment can be applied to aspects such as detecting relays. The relay detection method is applied to the inverter, and the inverter is connected to the power grid through the first group of relays and the second group of relays. The method can be executed by a relay detection device, which can be integrated in an electronic device such as a computer, and the detection device can be implemented in the form of software and / or hardware.

[0057] It should be noted that the method of the embodiment of the present application can be performed by a single device, such as a computer or server. The method of this embodiment can also be applied to a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present application, and the multiple devices will interact with each other to complete the described method.

[0058] Figure 2 : is a flow chart of a relay detection method provided by Embodiment 1 of the present invention, the method specifically comprises the following steps:

[0059] Step 110: According to a preset control instruction, the working state of the first group of relays and the second group of relays is adjusted to a target state; wherein the target state includes a closed state and / or an open state.

[0060] Specifically, the preset control instruction may be an instruction including the detection information of opening the relay. The target state includes the state where both the first group of relays and the second group of relays are disconnected; the first group of relays are closed and the working state of the second group of relays remains unchanged; the working state of the first group of relays remains unchanged and the second group of relays are closed.

[0061] Step 120: Collect the voltages of each phase of the inverter in the target state.

[0062] Step 130: Determine the operating conditions of the first group of relays and the second group of relays according to the voltage.

[0063] Specifically, if the first group of relays and the second group of relays are both disconnected (the inverter is not started at this time), and the voltage difference between each phase voltage of the inverter in the collected voltage and the voltage of the corresponding phase of the power grid is within a preset range such as -1V to 1V, then it is determined that each relay in the first group of relays and the second group of relays is stuck, and the operating conditions of the first group of relays and the second group of relays can be determined without controlling each relay in turn, thereby reducing the detection complexity.

[0064] It should be noted that the specific size of the above preset range can be determined according to actual detection requirements and is not limited here.

[0065] The relay detection method provided in this embodiment adjusts the working state of the first group of relays and the second group of relays to the target state, and collects the phase voltages of the inverter in the target state, and determines the operating conditions of the first group of relays and the second group of relays, such as whether the relays are stuck, based on the collected voltages. There is no need to control each relay in sequence, which reduces the detection complexity. Before the inverter is started, it is detected whether each relay is stuck, to prevent safety hazards caused by relay sticking after the inverter is started, thereby ensuring detection reliability.

[0066] Embodiment 2

[0067] This embodiment can be applied to Figure 1 In the scenario shown in which the relay is electrically connected to the inverter and the power grid, this embodiment can be applied to aspects such as detecting the relay. The relay detection method is applied to the inverter, and the inverter is connected to the power grid through a first group of relays and a second group of relays; the method can be performed by a relay detection device, which can be integrated in an electronic device such as a computer, and the detection device can be implemented in the form of software and / or hardware.

[0068] It should be noted that the method of the embodiment of the present application can be performed by a single device, such as a computer or server. The method of this embodiment can also be applied to a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present application, and the multiple devices will interact with each other to complete the described method.

[0069] Figure 3 : is a flow chart of a relay detection method provided by Embodiment 2 of the present invention, the method specifically comprises the following steps:

[0070] Step 210: According to the preset control instruction, the first group of relays and the second group of relays are controlled to be disconnected, and the phase voltages of the inverter and the grid, as well as the neutral point voltage of phase a of the inverter relative to the grid are collected.

[0071] The preset control instruction may be an instruction including the detection information of opening the relay.

[0072] For example, Figure 4 Schematic diagram of a connection between an inverter and a relay provided by Embodiment 2 of the present invention. Figure 4 The inverter 10 is a three-phase inverter, the inverter includes a phase, b phase and c phase, the power grid 20 includes an A phase, a B phase and a C phase, Figure 4n and N in the figure are the neutral point of the inverter and the neutral point of the grid respectively; the first relay group S1 includes the first relay K1, the second relay K2 and the third relay K3, and the second relay group S2 includes the fourth relay K4, the fifth relay K5 and the sixth relay K6. The first relay K1 and the fourth relay K4 are connected in series and are located in the branch where the a phase of the inverter 10 is connected to the A phase of the grid 20, and the first relay K1 is closer to the inverter 10 than the fourth relay K4; the second relay K2 and the fifth relay K5 are connected in series and are located in the branch where the b phase of the inverter 10 is connected to the B phase of the grid 20, and the second relay K2 is closer to the inverter than the fifth relay K5; the third relay K3 and the sixth relay K6 are connected in series and are located in the branch where the c phase of the inverter 10 is connected to the C phase of the grid 20, and the third relay K3 is closer to the inverter 10 than the sixth relay K6.

[0073] Specifically, the relay detection device can generate a first control signal and a second control signal according to a preset control instruction, and transmit the first control signal to the first group of relays and the second control signal to the second group of relays, thereby controlling the working status of the first group of relays and the second group of relays.

[0074] In addition, the inverter b relative to the neutral point voltage U bN And the neutral point voltage U of the inverter c relative to the grid cN It can also be obtained through collection, or only U can be collected aN (the neutral point voltage of the inverter relative to the grid), U bN , U cN For any one of them, the other two voltages can be obtained by calculation, reducing the acquisition workload.

[0075] Step 220: If the difference between the neutral point voltage of inverter a relative to the grid and the A phase voltage of the grid, the difference between the neutral point voltage of inverter b relative to the grid and the B phase voltage of the grid, and the difference between the neutral point voltage of inverter c relative to the grid and the C phase voltage of the grid are all within a preset range, it is determined that all relays are stuck.

[0076] Specifically, if the difference between the neutral point voltage of the inverter a relative to the grid and the A phase voltage of the grid is within a preset range such as -1V to 1V, then the first relay is determined to be stuck and the fourth relay is stuck. If the difference between the neutral point voltage of the inverter b relative to the grid and the B phase voltage of the grid is within a preset range, then the second relay is determined to be stuck and the fifth relay is stuck. If the difference between the neutral point voltage of the inverter c relative to the grid and the C phase voltage of the grid is within a preset range, then the third relay is determined to be stuck and the sixth relay is stuck. If the above differences are all within the preset range, it can be determined that all relays are stuck, and there is no need to control each relay in turn, which reduces the complexity of detection.

[0077] And, the neutral point voltage U of the inverter b relative to the grid bN =U bn +U nN , U nN =U aN -U an , the neutral point voltage U of the inverter relative to the grid cN =U cn +U nN , where U an , U bn , U cn are the inverter phase a voltage, phase b voltage, phase c voltage, U aN is the neutral point voltage of the inverter relative to the grid, U nN It is the voltage between the neutral point n of the inverter and the neutral point N of the grid.

[0078] Step 230: Control the first group of relays to close and the second group of relays to open, and collect the phase voltages of the inverter and the phase voltages of the grid, as well as the neutral point voltage of phase a of the inverter relative to the grid.

[0079] Step 240: If the difference between the neutral point voltage of inverter a relative to the grid and the A phase voltage of the grid, the difference between the neutral point voltage of inverter b relative to the grid and the B phase voltage of the grid, and the difference between the neutral point voltage of inverter c relative to the grid and the C phase voltage of the grid are all within a preset range, it is determined that the first relay is stuck, the second relay is stuck, and the third relay is stuck.

[0080] Specifically, if the difference between the neutral point voltage of inverter a relative to the grid and the A phase voltage of the grid is within a preset range, the first relay is determined to be stuck; if the difference between the neutral point voltage of inverter b relative to the grid and the B phase voltage of the grid is within a preset range, the second relay is determined to be stuck; if the difference between the neutral point voltage of inverter c relative to the grid and the C phase voltage of the grid is within a preset range, the third relay is determined to be stuck.

[0081] Step 250: Control the first group of relays to be disconnected and the second group of relays to be closed, and collect the phase voltages of the inverter and the phase voltages of the grid, as well as the neutral point voltage of phase a of the inverter relative to the grid.

[0082] Step 260: If the difference between the neutral point voltage of inverter a relative to the grid and the A phase voltage of the grid, the difference between the neutral point voltage of inverter b relative to the grid and the B phase voltage of the grid, and the difference between the neutral point voltage of inverter c relative to the grid and the C phase voltage of the grid are all within a preset range, it is determined that the third relay is stuck, the fourth relay is stuck, and the fifth relay is stuck.

[0083] Specifically, if the difference between the neutral point voltage of the inverter a relative to the grid and the A phase voltage of the grid is within the preset range, the fourth relay is determined to be stuck; if the difference between the neutral point voltage of the inverter b relative to the grid and the B phase voltage of the grid is within the preset range, the fifth relay is determined to be stuck; if the difference between the neutral point voltage of the inverter c relative to the grid and the C phase voltage of the grid is within the preset range, the sixth relay is determined to be stuck.

[0084] Furthermore, among the voltages collected in the above steps 210, 230 and 250, if the difference between the neutral point voltage of inverter a relative to the grid and the A phase voltage of the grid, the difference between the neutral point voltage of inverter b relative to the grid and the B phase voltage of the grid, and the difference between the neutral point voltage of inverter c relative to the grid and the C phase voltage of the grid all exceed the preset range, it is determined that all relays are not stuck.

[0085] Step 270: When it is determined that the relays are not stuck, the inverter is controlled to start. During the startup of the inverter, the first group of relays is disconnected and the second group of relays is closed.

[0086] Specifically, during the startup of the inverter, the first group of relays is controlled to be disconnected and the second group of relays is controlled to be closed. The above steps 210-260 are all steps before the inverter is started, that is, the above steps are detection processes performed before the inverter is started, to prevent safety hazards caused by relay adhesion after the inverter is started, and to cause impact on the inverter and the power grid, thereby ensuring detection reliability.

[0087] Step 280: When the voltage of the inverter is in phase with the voltage of the grid and the amplitude difference is within a preset range, control the first group of relays to close.

[0088] Step 290: After the first group of relays are closed, the inverter is controlled to stop working, and the phase voltages of the inverter and the phase voltages of the grid, as well as the neutral point voltage of phase a of the inverter relative to the grid are collected.

[0089] Step 291: If the difference between the neutral point voltage of inverter a relative to the grid and the A phase voltage of the grid, the difference between the neutral point voltage of inverter b relative to the grid and the B phase voltage of the grid, and the difference between the neutral point voltage of inverter c relative to the grid and the C phase voltage of the grid are all beyond the preset range, it is determined that the first relay and / or the fourth relay are open, the second relay and / or the fifth relay are open, and the third relay and / or the sixth relay are open.

[0090] Specifically, if the difference between the neutral point voltage of the inverter a relative to the grid and the A phase voltage of the grid exceeds a preset range, the first relay and / or the fourth relay are determined to be open; if the difference between the neutral point voltage of the inverter b relative to the grid and the B phase voltage of the grid exceeds a preset range, the second relay and / or the fifth relay are determined to be open; if the difference between the neutral point voltage of the inverter c relative to the grid and the C phase voltage of the grid exceeds a preset range, the third relay and / or the sixth relay are determined to be open. The open relay can be determined by further detection.

[0091] In addition, if the difference between the neutral point voltage of inverter a relative to the grid and the A phase voltage of the grid, the difference between the neutral point voltage of inverter b relative to the grid and the B phase voltage of the grid, and the difference between the neutral point voltage of inverter c relative to the grid and the C phase voltage of the grid are all within the preset range, it is determined that each relay is normal.

[0092] It should be noted that the specific size of the preset range in this embodiment can be determined according to actual test requirements and is not limited here.

[0093] The relay detection method provided in the present embodiment controls the working state of the first group of relays and the working state of the second group of relays, and collects the phase voltages of the inverter and the phase voltages of the power grid at this time, as well as the neutral point voltage of phase a of the inverter relative to the power grid, and determines whether each relay in the first group of relays and the second group of relays is stuck according to the collected voltage. There is no need to control each relay in sequence, which reduces the detection complexity. In addition, it detects whether each relay is stuck before starting the inverter, so as to prevent safety hazards caused by relay sticking after the inverter is started, which may cause impact on the inverter and the power grid, thereby ensuring detection reliability.

[0094] Embodiment 3

[0095] Figure 5 is a structural block diagram of a relay detection device provided in the third embodiment of the present invention. The relay detection device is applied to an inverter, and the inverter is connected to the power grid through a first group of relays and a second group of relays; Figure 5 The relay detection device includes: a state adjustment module 310, a voltage acquisition module 320 and a relay detection module 330. The state adjustment module 310 is used to adjust the working state of the first group of relays and the second group of relays to the target state according to the preset control instruction; wherein the target state includes a closed state and / or an open state; the voltage acquisition module 320 is used to collect the voltage of each phase of the inverter when in the target state; the relay detection module 330 is used to determine the operation status of the first group of relays and the second group of relays according to the voltage.

[0096] In one embodiment, the inverter includes phase a, phase b and phase c, and the power grid includes phase A, phase B and phase C; the first group of relays includes a first relay, a second relay and a third relay, and the second group of relays includes a fourth relay, a fifth relay and a sixth relay; the first relay and the fourth relay are connected in series and are located in a branch where phase a of the inverter is connected to phase A of the power grid, and the first relay is closer to the inverter than the fourth relay; the second relay and the fifth relay are connected in series and are located in a branch where phase b of the inverter is connected to phase B of the power grid, and the second relay is closer to the inverter than the fifth relay; the third relay and the sixth relay are connected in series and are located in a branch where phase c of the inverter is connected to phase C of the power grid, and the third relay is closer to the inverter than the sixth relay; the voltage acquisition module 320 is specifically used to control the first group of relays and the second group of relays to be disconnected, and collect the voltages of each phase of the inverter and the voltages of each phase of the power grid at this time, as well as the neutral point voltage of phase a of the inverter to the power grid.

[0097] On the basis of the above implementation, the relay detection module 330 is specifically used to determine that the first relay is stuck and the fourth relay is stuck if the difference between the neutral point voltage of the inverter a relative to the grid and the A phase voltage of the grid is within a preset range; if the difference between the neutral point voltage of the inverter b relative to the grid and the B phase voltage of the grid is within a preset range, then the second relay is stuck and the fifth relay is stuck; if the difference between the neutral point voltage of the inverter c relative to the grid and the C phase voltage of the grid is within a preset range, then the third relay is stuck and the sixth relay is stuck.

[0098] In one embodiment, the voltage acquisition module 320 is specifically used to control the first group of relays to close and the second group of relays to open, and to collect the voltages of each phase of the inverter and the voltages of each phase of the power grid, as well as the neutral point voltage of the inverter a relative to the power grid. The relay detection module 330 is specifically used to determine that the first relay is stuck if the difference between the neutral point voltage of the inverter a relative to the power grid and the A phase voltage of the power grid is within a preset range; determine that the second relay is stuck if the difference between the neutral point voltage of the inverter b relative to the power grid and the B phase voltage of the power grid is within a preset range; and determine that the third relay is stuck if the difference between the neutral point voltage of the inverter c relative to the power grid and the C phase voltage of the power grid is within a preset range.

[0099] In another embodiment, the voltage acquisition module 320 is specifically used to control the first group of relays to be disconnected and the second group of relays to be closed, and to collect the voltages of each phase of the inverter and the voltages of each phase of the power grid, as well as the neutral point voltage of phase a of the inverter relative to the power grid. The relay detection module 330 is specifically used to determine that the fourth relay is stuck if the difference between the neutral point voltage of phase a of the inverter relative to the power grid and the phase A voltage of the power grid is within a preset range; determine that the fifth relay is stuck if the difference between the neutral point voltage of phase b of the inverter relative to the power grid and the phase B voltage of the power grid is within a preset range; determine that the sixth relay is stuck if the difference between the neutral point voltage of phase c of the inverter relative to the power grid and the phase C voltage of the power grid is within a preset range.

[0100] Optionally, the relay detection module 330 is specifically used to control the inverter to start if it is determined that the relays are not stuck, and the first group of relays are disconnected and the second group of relays are closed during the startup of the inverter; when the voltage of the inverter is in phase with the voltage of the power grid and the amplitude difference is within a preset range, the first group of relays are controlled to close; after the first group of relays are closed, the inverter is controlled to stop working, and the phase voltages of the inverter and the phase voltages of the power grid at this time, as well as the neutral point voltage of inverter a relative to the power grid are collected; the relay detection module 330 is specifically used to determine that the first relay and / or the fourth relay are open if the difference between the neutral point voltage of inverter a relative to the power grid and the A phase voltage of the power grid exceeds a preset range; if the difference between the neutral point voltage of inverter b relative to the power grid and the B phase voltage of the power grid exceeds the preset range, the second relay and / or the fifth relay are determined to be open; if the difference between the neutral point voltage of inverter c relative to the power grid and the C phase voltage of the power grid exceeds the preset range, the third relay and / or the sixth relay are determined to be open. If the difference between the neutral point voltage of inverter a relative to the grid and the A phase voltage of the grid, the difference between the neutral point voltage of inverter b relative to the grid and the B phase voltage of the grid, and the difference between the neutral point voltage of inverter c relative to the grid and the C phase voltage of the grid are all within the preset range, it is determined that all relays are normal.

[0101] The relay detection device provided in this embodiment and the relay detection method provided in any embodiment of the present invention belong to the same inventive concept and have corresponding beneficial effects. For technical details not detailed in this embodiment, please refer to the relay detection method provided in any embodiment of the present invention.

[0102] Embodiment 4

[0103] Figure 6 It is a structural schematic diagram of an electronic device provided in Embodiment 4 of the present invention. Figure 6 A block diagram of an exemplary electronic device 412 suitable for use in implementing embodiments of the present invention is shown. Figure 6 The electronic device 412 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0104] like Figure 6 As shown, the electronic device 412 is in the form of a general purpose device. The components of the electronic device 412 may include, but are not limited to: one or more processors 416, a storage device 428, and a bus 418 connecting different system components (including the storage device 428 and the processor 416).

[0105] Bus 418 represents one or more of several types of bus structures, including a storage device bus or storage device controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus architectures. For example, these architectures include but are not limited to Industry Subversive Alliance (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus and Peripheral Component Interconnect (PCI) bus.

[0106] The electronic device 412 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the electronic device 412, including volatile and non-volatile media, removable and non-removable media.

[0107] The storage device 428 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 430 and / or cache memory 432. The electronic device 412 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 434 may be used to read and write non-removable, non-volatile magnetic media ( Figure 6 not shown, usually called a "hard drive"). Although Figure 6Not shown in the figure, a disk drive for reading and writing a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing a removable non-volatile optical disk, such as a read-only optical disk (Compact Disc Read-Only Memory, CD-ROM), a digital video disk (Digital Video Disc-Read Only Memory, DVD-ROM) or other optical media) may be provided. In these cases, each drive may be connected to the bus 418 via one or more data medium interfaces. The storage device 428 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present invention.

[0108] A program / utility 440 having a set (at least one) of program modules 442 may be stored, for example, in storage device 428, such program modules 442 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. Program modules 442 generally perform the functions and / or methods of the embodiments described herein.

[0109] The electronic device 412 may also communicate with one or more external devices 414 (e.g., a keyboard, a pointing terminal, a display 424, etc.), may also communicate with one or more terminals that enable a user to interact with the electronic device 412, and / or communicate with any terminal that enables the electronic device 412 to communicate with one or more other computing terminals (e.g., a network card, a modem, etc.). Such communication may be performed through an input / output (I / O) interface 422. Furthermore, the electronic device 412 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 420. Figure 6 As shown, the network adapter 420 communicates with other modules of the electronic device 412 via the bus 418. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with the electronic device 412, including but not limited to: microcode, terminal drivers, redundant processors, external disk drive arrays, disk arrays (Redundant Arrays of Independent Disks, RAID) systems, tape drives, and data backup storage systems.

[0110] The processor 416 executes various functional applications and data processing by running the program stored in the storage device 428, for example, implementing the relay detection method provided in the embodiment of the present invention. The relay detection method is applied to the inverter, and the inverter is connected to the power grid through the first group of relays and the second group of relays; the relay detection method includes:

[0111] According to a preset control instruction, the working state of the first group of relays and the working state of the second group of relays are adjusted to a target state; wherein the target state includes a closed state and / or an open state;

[0112] Collect each phase voltage of the inverter in the target state;

[0113] Based on the voltage, the operation of the first group of relays and the second group of relays is determined.

[0114] Embodiment 5

[0115] Embodiment 5 of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the relay detection method provided in the embodiment of the present invention is implemented. The relay detection method is applied to an inverter, and the inverter is connected to the power grid through a first group of relays and a second group of relays. The relay detection method includes:

[0116] According to a preset control instruction, the working state of the first group of relays and the working state of the second group of relays are adjusted to a target state; wherein the target state includes a closed state and / or an open state;

[0117] Collect each phase voltage of the inverter in the target state;

[0118] Based on the voltage, the operation of the first group of relays and the second group of relays is determined.

[0119] The computer storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.

[0120] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0121] Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0122] Computer program code for performing the operations of the present invention may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or terminal. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0123] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, re-modulations, combinations and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

[0124] In addition, it should be noted that some embodiments of the present application are described above. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

Claims

1. A relay detection method, characterized in that: The relay detection method is applied to an inverter, and the inverter is connected to a power grid through a first group of relays and a second group of relays; The relay detection method comprises: According to a preset control instruction, the working state of the first group of relays and the second group of relays is adjusted to a target state; wherein the target state includes a closed state and / or an open state; collecting each phase voltage of the inverter in the target state; The operation conditions of the first group of relays and the second group of relays are determined according to the voltage.

2. The relay detection method according to claim 1, characterized in that: The inverter includes phase a, phase b and phase c, and the power grid includes phase A, phase B and phase C; the first group of relays includes a first relay, a second relay and a third relay, and the second group of relays includes a fourth relay, a fifth relay and a sixth relay; The first relay and the fourth relay are connected in series and are located in a branch where phase a of the inverter is connected to phase A of the power grid, and the first relay is closer to the inverter than the fourth relay; The second relay and the fifth relay are connected in series and are located in a branch where phase b of the inverter is connected to phase B of the power grid, and the second relay is closer to the inverter than the fifth relay; The third relay and the sixth relay are connected in series and are located in a branch where the C phase of the inverter is connected to the C phase of the power grid, and the third relay is closer to the inverter than the sixth relay; The step of adjusting the working states of the first group of relays and the second group of relays to a target state and collecting the phase voltages of the inverter in the target state includes: The first group of relays and the second group of relays are controlled to be disconnected, and the phase voltages of the inverter and the phase voltages of the power grid, as well as the neutral point voltage of phase a of the inverter relative to the power grid are collected.

3. The relay detection method according to claim 2, characterized in that: Determining the operation conditions of the first group of relays and the second group of relays according to the voltage includes: If the difference between the neutral point voltage of phase a of the inverter and the phase A voltage of the grid is within a preset range, it is determined that the first relay is stuck and the fourth relay is stuck; If the difference between the neutral point voltage of phase b of the inverter and the phase B voltage of the grid is within the preset range, it is determined that the second relay is stuck and the fifth relay is stuck; If the difference between the neutral point voltage of phase C of the inverter relative to the grid and the C-phase voltage of the grid is within the preset range, it is determined that the third relay is stuck and the sixth relay is stuck.

4. The relay detection method according to claim 2, characterized in that: The step of adjusting the working states of the first group of relays and the second group of relays to a target state and collecting the voltages of each phase of the inverter in the target state further includes: The first group of relays are controlled to be closed and the second group of relays are controlled to be opened, and the phase voltages of the inverter and the phase voltages of the power grid, as well as the neutral point voltage of phase a of the inverter relative to the power grid are collected at this time.

5. The relay detection method according to claim 4, characterized in that: Determining the operation conditions of the first group of relays and the second group of relays according to the voltage includes: If the difference between the neutral point voltage of phase a of the inverter and the phase A voltage of the grid is within a preset range, it is determined that the first relay is stuck; If the difference between the neutral point voltage of phase b of the inverter and the phase B voltage of the grid is within the preset range, it is determined that the second relay is stuck; If the difference between the neutral point voltage of phase C of the inverter and the C-phase voltage of the grid is within the preset range, it is determined that the third relay is stuck.

6. The relay detection method according to claim 2, characterized in that: The step of adjusting the working states of the first group of relays and the second group of relays to a target state and collecting the voltages of each phase of the inverter in the target state further includes: The first group of relays are controlled to be disconnected and the second group of relays are controlled to be closed, and the phase voltages of the inverter and the phase voltages of the power grid, as well as the neutral point voltage of phase a of the inverter relative to the power grid are collected at this time.

7. The relay detection method according to claim 6, characterized in that: Determining the operation conditions of the first group of relays and the second group of relays according to the voltage includes: If the difference between the neutral point voltage of phase a of the inverter and the phase A voltage of the grid is within a preset range, determining that the fourth relay is stuck; If the difference between the neutral point voltage of phase b of the inverter and the B-phase voltage of the power grid is within the preset range, determining that the fifth relay is stuck; If the difference between the neutral point voltage of phase C of the inverter and the C-phase voltage of the grid is within the preset range, it is determined that the sixth relay is stuck.

8. The relay detection method according to claim 2, characterized in that: The step of determining the operation status of the first group of relays and the second group of relays according to the voltage further includes: If it is determined that the relays are not stuck, the inverter is controlled to start, and during the startup of the inverter, the first group of relays is disconnected and the second group of relays is closed; When the voltage of the inverter is in phase with the voltage of the power grid and the amplitude difference is within a preset range, controlling the first group of relays to close; When the first group of relays is closed, the inverter is controlled to stop working, and each phase voltage of the inverter and each phase voltage of the power grid, as well as the neutral point voltage of phase a of the inverter relative to the power grid are collected; If the difference between the neutral point voltage of phase a of the inverter and the phase A voltage of the grid exceeds a preset range, determining that the first relay and / or the fourth relay is open; If the difference between the neutral point voltage of phase b of the inverter and the phase B voltage of the grid exceeds the preset range, determining that the second relay and / or the fifth relay is open; If the difference between the neutral point voltage of phase C of the inverter relative to the grid and the C-phase voltage of the grid exceeds the preset range, it is determined that the third relay and / or the sixth relay is open.

9. The relay detection method according to claim 8, characterized in that: After collecting the phase voltages of the inverter and the phase voltages of the power grid, the method further comprises: If the difference between the neutral point voltage of the inverter a relative to the grid and the A phase voltage of the grid, the difference between the neutral point voltage of the inverter b relative to the grid and the B phase voltage of the grid, and the difference between the neutral point voltage of the inverter c relative to the grid and the C phase voltage of the grid are all within the preset range, it is determined that each of the relays is normal.

10. An electronic device, characterized in that: The electronic device comprises: one or more processors; A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the relay detection method as described in any one of claims 1 to 9.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the relay detection method as described in any one of claims 1 to 9 is implemented.

Citation Information

Cited By

  • Fault detection method for internal relay of current source type grid-connected inverter

    CN121091066A

  • A current source type grid-connected inverter internal relay fault detection method

    CN121091066B