Electrical device, method of controlling electrical device, and computer readable storage medium

By making short-circuit fault judgment in the electrical device before closing, the damage problem that the direct closing without prediagnosis may cause to the circuit and switch is solved, and the reliability and user experience of the circuit are improved.

CN119726555APending Publication Date: 2025-03-28SCHNEIDER ELECTRIC (CHINA) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311278240.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-28
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

In electrical devices, if the switch is closed directly without short-circuit prediagnosis, it may have an irrecoverable impact on the circuit and switch.

Method used

In the state where the mechanical switch of the electrical device is closed, one of the multiple electronic switches is closed within a predetermined time period before the zero crossing point of the input voltage of the bus circuit connected to the electrical device, and the current value or voltage value of the sampling resistor is obtained, and whether a short circuit fault exists based on these values ​​is determined whether to allow closing.

Benefits of technology

By judging short circuit faults before closing, the reliability of the line is improved, the repeated suction and connection of electronic switches is avoided, the service life of the electrical device is extended, and the user's freedom of choice and experience are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119726555A_ABST
    Figure CN119726555A_ABST
Patent Text Reader

Abstract

Embodiments of the present disclosure provide an electrical device, a method of controlling a solid state circuit breaker electrical device, and a computer readable storage medium. The method comprises the following steps: in a state that a mechanical switch of the electrical device is closed, within a preset time period before a zero crossing point of an input voltage of a bus circuit connected with the electrical device, closing one of a plurality of electronic switches of the electrical device; acquiring a current value or a voltage value of a sampling resistor in the electrical device in a preset time period; and in response to determining that the acquired current value or voltage value is smaller than or equal to the preset threshold value, enabling an indicating component to indicate that the bus circuit does not have the short-circuit fault. In this way, repeated actuation of an electronic switch of an electrical device such as a solid-state circuit breaker can be effectively avoided, thereby significantly prolonging the service life of the electronic switch of the electrical device, and thereby improving the service life and user experience of the electrical device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Example embodiments of the present disclosure generally relate to the field of electrical devices, and more particularly to an electrical device, a method of controlling the electrical device, and a computer storage medium. Background Art

[0002] A short circuit is a situation when two points with different potentials in a normal circuit are incorrectly directly connected or connected by a conductor with very small impedance (or resistance). The current intensity during a short circuit is very high, often damaging electrical equipment or causing a fire. The hazards caused by short circuits can be avoided as much as possible through prevention (such as using circuits that comply with building and electrical usage specifications) or using fuses (such as fuses), circuit breakers or other overload protectors to disconnect the circuit when the current is too large. For example, when using a circuit breaker, after a short circuit occurs, the circuit breaker will trip to disconnect the circuit to protect the electrical appliances and circuits. However, when a short circuit occurs, if the circuit is closed directly without pre-diagnosis of the short circuit, it may cause irreversible effects on both the circuit and the switch. Summary of the invention

[0003] Embodiments of the present disclosure provide an electrical device, a method for controlling the electrical device, and a computer storage medium.

[0004] In a first aspect of the present disclosure, a method for controlling an electrical device is provided. The method includes closing one of a plurality of electronic switches of the electrical device within a predetermined time period before the zero-crossing point of the input voltage of a bus circuit to which the electrical device is connected, while a mechanical switch of the electrical device is closed; obtaining a current value or a voltage value of a sampling resistor in the electrical device within the predetermined time period; and in response to determining that the obtained current value or voltage value is less than or equal to a predetermined threshold value, causing an indicating component to indicate that there is no short-circuit fault in the bus circuit.

[0005] By adopting the method according to the embodiment of the present disclosure, a short-circuit fault can be judged before closing the switch, thereby improving the reliability of the line. In addition, according to the embodiment of the present disclosure, the electronic switch of an electrical device such as a solid-state circuit breaker can be effectively prevented from repeatedly closing, thereby significantly extending the service life of the electronic switch of the electrical device, and thereby improving the life of the electrical device. In addition, the method allows the user to choose whether to reclose the switch and the number of reclosing times, thereby improving the user's freedom of choice and thereby improving the user experience.

[0006] In some embodiments, the method also includes: in response to determining that the acquired current value or voltage value is greater than a predetermined threshold, closing one of the multiple electronic switches within a predetermined time period before each zero crossing of a subsequent predetermined number of zero crossings to obtain the current value or voltage value of the sampling resistor in the electrical device within the corresponding predetermined time period; and in response to determining that the acquired current value or voltage value is less than or equal to the predetermined threshold, causing the indicating component to indicate that there is no short circuit fault in the bus circuit.

[0007] In some embodiments, the method further includes: in response to determining that the current values ​​or voltage values ​​of the sampling resistor acquired in a subsequent predetermined number of predetermined time periods are greater than a predetermined threshold, keeping the plurality of electronic switches and the mechanical switches open.

[0008] In some embodiments, the method further includes: in response to determining that the current values ​​or voltage values ​​of the sampling resistor acquired in a subsequent predetermined number of predetermined time periods are greater than a predetermined threshold, causing the indicating component to indicate that a short circuit fault exists in the bus circuit.

[0009] In some embodiments, the method further includes: acquiring a period or frequency of the input voltage; and determining a zero-crossing point of the input voltage according to the period or frequency.

[0010] In a second aspect of the present disclosure, an electrical device is provided. The electrical device includes: a mechanical switch; a plurality of electronic switches connected in series with the mechanical switch; a sampling circuit including a sampling resistor; and a control unit, the control unit being coupled to at least the plurality of electronic switches, and the control unit being configured to: when the mechanical switch is closed, close one of the plurality of electronic switches within a predetermined time period before the zero-crossing point of the input voltage of the bus circuit to which the electrical device is connected; obtain a current value or a voltage value of the sampling resistor within the predetermined time period; and in response to determining that the obtained current value or voltage value is less than or equal to a predetermined threshold value, enable an indication component to indicate that there is no short-circuit fault in the bus circuit.

[0011] In some embodiments, the control unit is further configured to: in response to determining that the acquired current value or voltage value is greater than a predetermined threshold, close one of the multiple electronic switches within a predetermined time period before each zero crossing point of a subsequent predetermined number of zero crossing points to obtain the current value or voltage value of the sampling resistor within the corresponding predetermined time period; and in response to determining that the acquired current value or voltage value is less than or equal to the predetermined threshold, cause the indicating component to indicate that there is no short circuit fault in the bus circuit.

[0012] In some embodiments, the control unit is further configured to: in response to determining that the current values ​​or voltage values ​​of the sampling resistor acquired in a subsequent predetermined number of predetermined time periods are greater than a predetermined threshold, keep the plurality of electronic switches and the mechanical switches open.

[0013] In some embodiments, the control unit is further configured to: in response to determining that the current values ​​or voltage values ​​of the sampling resistor acquired in a subsequent predetermined number of predetermined time periods are greater than a predetermined threshold, enable the indicating component to indicate that a short circuit fault exists in the bus circuit.

[0014] In some embodiments, the control unit is further configured to: obtain a period or frequency of the input voltage; and determine a zero-crossing point of the input voltage according to the period or frequency.

[0015] In a third aspect of the present disclosure, a computer-readable storage medium is provided, wherein a computer program is stored on the computer-readable storage medium, and the computer program can be executed by a processor to implement the method of the first aspect.

[0016] It should be understood that the contents described in this content section are not intended to limit the key features or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:

[0018] Figure 1 A simplified block diagram showing an example structure of an electrical device according to some embodiments of the present disclosure;

[0019] Figure 2 A schematic flow chart of a method for controlling an electrical device according to some embodiments of the present disclosure is shown;

[0020] Figure 3 and Figure 4 A waveform diagram showing a process of controlling an electrical device using a method according to some embodiments of the present disclosure;

[0021] Figure 5 and Figure 6 A simulation waveform diagram showing a process of controlling an electrical device using a method according to some embodiments of the present disclosure; and

[0022] Figure 7 A flow chart of an example method for controlling an electrical device according to some embodiments of the present disclosure is shown. DETAILED DESCRIPTION

[0023] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0024] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may be included below. The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may be included below.

[0025] As briefly mentioned above, in order to avoid the harm caused by short circuits as much as possible, you can take precautions (such as using circuits that comply with building and electrical specifications) or use fuses (such as fuses), circuit breakers or other overload protectors. In some cases, electrical devices such as solid-state circuit breakers are used to deal with short circuit faults in the circuit. When a short circuit fault occurs, the electrical device can trip and open the switch to protect the voltage and circuit safety. When a short circuit occurs, if the switch is closed directly without short circuit pre-diagnosis, it may cause irreversible effects on both the circuit and the switch.

[0026] The embodiments of the present disclosure provide a method for controlling an electrical device and an electrical device to solve or at least partially solve the above-mentioned problems or other potential problems existing in the traditional solution. The electrical device mentioned herein may include a solid-state circuit breaker. Of course, it should be understood that the electrical device mentioned herein may also include any appropriate electrical device having an electronic switch 102, a mechanical switch 101, and at least the electronic switch 102 can be controlled by a control unit 104. Figure 1 A schematic diagram showing the structural principle of an electrical device according to an embodiment of the present disclosure is shown in FIG. Figure 1 As shown, the electrical device according to the embodiment of the present disclosure includes a mechanical switch 101, an electronic switch 102, a sampling circuit and a control unit 104. The control unit 104 may include a microprocessor (MCU) arranged in the electrical device.

[0027] The mechanical switch 101 and the electronic switch 102 are connected in series. When closing the electrical device, the mechanical switch 101 is usually closed first, and then the control unit 104 controls the electronic switch 102 to close, so as to achieve the conduction of the circuit. When opening or tripping, the electronic switch 102 line is usually controlled to be disconnected, and then the mechanical switch 101 is controlled to be disconnected.

[0028] According to an embodiment of the present disclosure, the electrical device includes a plurality of electronic switches 102. Figure 1 In the illustrated embodiment, the electrical device includes two electronic switches 102. Of course, the embodiments of the present disclosure are not limited to this. The electronic switch 102 used can use a field effect transistor (FET), such as a junction field effect transistor (JFET) and a metal-oxide semiconductor field effect transistor (MOSFET). The gate of the field effect transistor can be coupled to the control signal output port of the control unit 104, so that the control unit 104 can control the on and off of the field effect transistor (i.e., the electronic switch 102). In some embodiments, the electronic switch 102 can also include an insulated gate bipolar transistor (IGBT) or any other suitable type of transistor.

[0029] The electrical device may further include an indicating component, such as at least one of a display, an indicator light, and an audio output module (a speaker or a horn), to indicate the status of the electrical device and the entire circuit in an appropriate manner.

[0030] The sampling circuit of the electrical device generally includes a sampling resistor 103 arranged at an appropriate position of the circuit of the electrical device (for example, between two electronic switches 102). The control unit 104 can obtain the voltage on the sampling resistor 103 by appropriate means and determine the current flowing through the sampling resistor 103 according to the resistance value of the sampling resistor 103 to implement current or voltage sampling. The method according to the embodiment of the present disclosure can determine whether there is still a short circuit fault in the bus circuit according to the comparison of the obtained current value and voltage value with the threshold value.

[0031] Figure 2 FIG. 1 is a flow chart showing a method for controlling an electrical device according to an embodiment of the present disclosure. Figure 2 As shown, for example, when the electrical device is tripped due to a short circuit fault in the bus circuit, the mechanical switch 101 and the electronic switch 102 are both in a disconnected state. Of course, it should be understood that the premise for executing this method may not be the case of a short circuit fault, that is, the mechanical switch 101 and the electronic switch 102 may also be disconnected manually by the user or through the control unit 104.

[0032] When both the mechanical switch 101 and the electronic switch 102 are in the disconnected state, in order to determine whether there is still a short circuit fault in the bus circuit, the mechanical switch 101 needs to be closed (it can be controlled by the control unit 104 or closed manually). After the mechanical switch 101 is closed, the control unit 104 will control any one of the multiple electronic switches 102 to be closed within a predetermined time period before the zero crossing point of the input voltage of the bus circuit. For example, the predetermined time period may refer to a time period of 1ms to 5ms (for example, 1.5ms) from before the voltage crosses the zero point to the zero crossing point. After the voltage crosses the zero point, the closed electronic switch will automatically disconnect. The predetermined time period also corresponds to a certain phase angle, so it can also be said that an electronic switch 102 is controlled to close a small phase angle (also referred to as an angle) near the voltage zero crossing point, such as Figure 3 and Figure 4 shown.

[0033] It should be understood that the voltage zero crossing in this article may refer to the voltage zero crossing at an interval of half a cycle, or it may be the voltage zero crossing at an interval of one cycle. For the voltage zero crossing at an interval of half a cycle, different electronic switches are turned on near two adjacent voltage zero crossings. For the voltage zero crossing at an interval of one cycle, the same electronic switch is turned on near two adjacent voltage zero crossings. The concept of the present disclosure will be mainly described below by taking the example of turning on different electronic switches near the voltage zero crossing at an interval of half a cycle. It should be understood that the situation of turning on the same electronic switch near the voltage zero crossing at an interval of one cycle is also similar, and will not be described separately below.

[0034] Then, the current value or voltage value flowing through the sampling resistor 103 during this time period is obtained from the current sampling circuit. If the current value or voltage value is less than or equal to the predetermined threshold, it indicates that there is no circuit fault in the bus circuit, and the user can perform subsequent closing operations. At this time, the control unit 104 can enable the indicating component to indicate that there is no short circuit fault in the bus circuit in an appropriate manner.

[0035] Figure 3 and Figure 4 FIG. 2 shows a timing diagram of line diagnosis using the method according to an embodiment of the present disclosure. Figure 3 As shown, within a predetermined time period before the zero-crossing point of the input voltage of the bus circuit (also referred to as the bus voltage), the control unit 104 closes one of the electronic switches 102. In this process, if the current value or voltage value (the sampling current value in the figure) measured on the sampling resistor 103 is less than the predetermined threshold, it means that there is no circuit fault in the bus circuit, and the user can perform subsequent closing operations.

[0036] Figure 4The same timing process is shown, except that the current on the sampling resistor 103 collected is greater than the predetermined threshold value within the predetermined time period before the voltage zero-crossing point at which one of the electronic switches 102 is closed, indicating that the short-circuit fault still exists in the bus circuit at this time. In this case, considering that the existence time of the short-circuit fault is often short, the diagnosis can be performed several more times when it is detected that the short-circuit fault still exists. That is, in some embodiments, if it is determined that the current value or voltage value on the sampling resistor 103 obtained is greater than the predetermined threshold value, the control unit 104 will close the corresponding electronic switch 102 within the predetermined time period before each zero-crossing point of the subsequent predetermined number of zero-crossing points, and respectively detect the current value of the sampling resistor 103 within the corresponding predetermined time period.

[0037] Of course, the predetermined number or the predetermined number of times here can be set arbitrarily as needed. For example, the predetermined number of times can be 1, 2, 3 or more times, and the embodiments of the present disclosure do not specifically limit this. For example, assuming that the predetermined number of times is 3 times, if the current detected after closing an electronic switch 102 (hereinafter referred to as the first electronic switch) for the first time in a predetermined time period before the voltage crosses zero, is greater than the predetermined threshold, then the predetermined time period before the voltage crosses zero in the next half cycle (such as Figure 4 and Figure 5 After closing another electronic switch 102 (hereinafter referred to as the second electronic switch) and detecting the current on the sampling resistor 103. If the current value detected for the second time is less than or equal to the predetermined threshold, it indicates that the short-circuit fault has been eliminated. At this time, the indicating component can indicate that there is no short-circuit fault in the bus circuit, and no subsequent diagnosis is performed.

[0038] If the current value detected after the second electronic switch 102 is closed for the second time in the predetermined time period before the voltage crosses zero, is still greater than the predetermined threshold, a third diagnosis will be performed, that is, the first electronic switch 102 is closed again in the predetermined time period before the voltage crosses zero in the next half cycle, and the current on the sampling resistor 103 is detected. If the predetermined number of times is more, a similar process is performed until the current value or voltage value on the sampling resistor 103 measured in a certain diagnosis is less than the predetermined threshold or reaches the predetermined number of times.

[0039] Specifically, if the current value or voltage value (the sampling current value in the figure) on the sampling resistor 103 measured after one of the electronic switches is turned on is less than the predetermined threshold, it means that there is no circuit fault in the bus circuit, and the user can be allowed to perform subsequent closing operations without continuing subsequent detection. If the current values ​​obtained by n detections are all greater than the predetermined threshold when the predetermined number of times is n (n is a non-zero natural number), it means that there is still a short-circuit fault in the bus circuit. At this time, the control unit 104 can keep the electronic switch 102 and the mechanical switch 101 of the electrical device in the disconnected state. In some embodiments, the control unit 104 can also make the indicating component indicate that there is a short-circuit fault in the bus circuit in this case, and remind the user not to close the switch and eliminate the short-circuit fault in the bus circuit in time.

[0040] Figure 5 and Figure 6 shows a simulation waveform diagram of executing the method according to an embodiment of the present disclosure, Figure 5 and Figure 6 In FIG. 1 , from top to bottom are the waveform of the voltage of the bus circuit, the control signal waveform of the electronic switch 102, the waveform of the sampled voltage on the sampling resistor 103, and the voltage waveform of the load connected to the bus circuit. Figure 5 and Figure 6 It can be seen from the waveform diagram that the method according to the embodiment of the present disclosure can also use the comparison between the sampled voltage value on the sampling resistor 103 and the threshold value to determine whether a short circuit fault still exists in the circuit.

[0041] exist Figure 5 In the simulation diagram shown, a short circuit fault occurs in the bus circuit during the time period of 4ms-7ms. When a short circuit occurs, the sampling resistor 103 collects a large current (reflected as the peak voltage in the waveform of the sampling voltage on the sampling resistor 103), and the control unit 104 turns off the electronic switch 102 (the voltage drop in the control signal waveform of the electronic switch 102 is 0). Due to the short circuit in the loop, the load voltage is 0.

[0042] The input voltage of the bus circuit passes through zero at 10ms, and the control unit 104 turns on an electronic switch 102 for a small angle within a predetermined time period (8.5ms-10ms) before the input voltage of the bus circuit passes through zero. At this time, since the electronic switch 102 is turned on and the loop is turned on, there will be a voltage signal on the sampling resistor 103 and the load.

[0043] like Figure 5As shown, by acquiring the voltage on the sampling resistor 103, the control unit 104 converts it into a current value (or uses it directly without conversion), and by comparing it with a predetermined threshold value, it is found that the sampled current value or voltage value is less than the predetermined threshold value, which indicates that the short-circuit fault in the circuit has been cleared. At this time, the control unit 104 can make the indicating component indicate that the short-circuit fault has been eliminated, allowing the user to close the switch. For simulation, the simulation software is used in the figure to simulate the closing process to verify the effectiveness of the method according to the embodiment of the present disclosure, that is, the control unit 104 drives the electronic switch 102, and the closing is successful at this time.

[0044] like Figure 6 In the simulation diagram shown, a short circuit fault occurs in the bus circuit during the period of 5ms-10ms. When a short circuit occurs, the sampling resistor 103 collects a large current (reflected as the peak voltage in the waveform of the sampling voltage on the sampling resistor 103), and the control unit 104 turns off the electronic switch 102 (the voltage drop in the control signal waveform of the electronic switch 102 is 0). Due to the short circuit in the loop, the load voltage is 0.

[0045] The input voltage of the bus circuit passes through zero at 10ms, and the control unit 104 turns on an electronic switch 102 for a small angle within a predetermined time period (8.5ms-10ms) before the input voltage of the bus circuit passes through zero. At this time, since the electronic switch 102 is turned on and the short circuit fault has not been cleared, there is still a large voltage on the sampling resistor 103, and since the short circuit still exists, the voltage on the load is 0.

[0046] By acquiring the voltage on the sampling resistor 103, the control unit 104 converts it into a current value (or uses it directly without conversion), and compares it with a predetermined threshold value. If it is found that the sampled current value or voltage value is greater than the predetermined threshold value, it means that the short-circuit fault in the circuit has not been cleared, and the electronic switch 102 is still kept disconnected. Since the number of retries set for this simulation is 1, the control unit 104 will not continue to diagnose, and while disconnecting the electronic switch 102, the indicating component indicates that the bus circuit still has a short-circuit fault, to prompt the user not to close the switch and perform circuit maintenance to eliminate the short-circuit fault.

[0047] Figure 7 1 is a flow chart showing an example method 700 for controlling an electrical device according to some embodiments of the present disclosure. The method 700 may be implemented, for example, at a control unit. Figure 7 Method 700 is described. It should be appreciated that method 700 may include additional acts not shown and / or may omit acts shown, and the scope of the present disclosure is not limited in this respect.

[0048] In block 710, in a state where the mechanical switch 101 of the electrical device is closed, the control unit 104 closes one of the multiple electronic switches 102 of the electrical device within a predetermined time period before the zero-crossing point of the input voltage of the bus circuit to which the electrical device is connected. In block 720, the control unit 104 acquires the current value or voltage value of the sampling resistor 103 in the electrical device within the predetermined time period. In block 730, in response to determining that the acquired current value or voltage value is less than or equal to a predetermined threshold, the control unit 104 enables the indicating component to indicate that there is no short-circuit fault in the bus circuit.

[0049] In some embodiments, if the control unit 104 determines that the acquired current value or voltage value is greater than a predetermined threshold value, the control unit 104 closes one of the multiple electronic switches 102 in a predetermined time period before each zero-crossing point of a subsequent predetermined number of zero-crossing points, so as to acquire the current value or voltage value of the sampling resistor 103 in the electrical device in the corresponding predetermined time period. If during this process, the control unit 104 determines that the acquired current value or voltage value is less than or equal to the predetermined threshold value, the control unit 104 may enable the indicating component to indicate that there is no short-circuit fault in the bus circuit or the short-circuit fault has been eliminated.

[0050] In some embodiments, if it is determined that the current value or voltage value of the sampling resistor 103 acquired in the subsequent predetermined number of predetermined time periods is greater than a predetermined threshold, the control unit 104 may keep the electronic switch 102 and the mechanical switch 101 of the electrical device disconnected.

[0051] In some embodiments, if it is determined that the current value or voltage value of the sampling resistor 103 acquired in the subsequent predetermined number of predetermined time periods is greater than a predetermined threshold, the control unit 104 may enable the indicating component to indicate that a short circuit fault exists in the bus circuit.

[0052] In some embodiments, the control unit 104 may also obtain the period or frequency of the input voltage of the bus circuit in an appropriate manner, and determine the zero-crossing point of the input voltage according to the period or frequency. Subsequently, the above-mentioned action of closing an electronic switch near the zero-crossing point may be performed as required to implement circuit diagnosis.

[0053] According to an exemplary implementation of the present disclosure, a computer-readable storage medium is further provided, on which computer-executable instructions are stored, wherein the computer-executable instructions are executed by a processor to implement the above-described method 700. According to an exemplary implementation of the present disclosure, a computer program product is further provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, and the computer-executable instructions are executed by a processor to implement the above-described method.

[0054] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices, equipment, and computer program products implemented according to the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.

[0055] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0056] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, so that the instructions executed on the computer, other programmable data processing apparatus, or other device implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0057] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple implementations of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of a module, program segment or instruction includes one or more executable instructions for realizing the logical function of the specification. In some implementations as replacements, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be realized by a special hardware-based system that performs the function or action of the specification, or can be realized by a combination of special hardware and computer instructions.

[0058] The above descriptions of various implementations of the present disclosure are exemplary, non-exhaustive, and not limited to the disclosed implementations. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described implementations. The selection of terms used herein is intended to best explain the principles of the implementations, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the various implementations disclosed herein.

Claims

1. A method for controlling an electrical device, comprising: When the mechanical switch (101) of the electrical device is closed, within a predetermined time period before the zero crossing point of the input voltage of the bus circuit to which the electrical device is connected, one of the plurality of electronic switches (102) of the electrical device is closed; Acquiring a current value or a voltage value of a sampling resistor (103) in the electrical device within the predetermined time period; as well as In response to determining that the acquired current value or the acquired voltage value is less than or equal to a predetermined threshold, the indicating component is caused to indicate that there is no short circuit fault in the bus circuit.

2. The method according to claim 1, further comprising: In response to determining that the acquired current value or voltage value is greater than a predetermined threshold, closing one electronic switch (102) among the plurality of electronic switches (102) in a predetermined time period before each zero-crossing point of a subsequent predetermined number of zero-crossing points, so as to acquire a current value or a voltage value of a sampling resistor (103) in the electrical device in the corresponding predetermined time period; as well as In response to determining that the acquired current value or the acquired voltage value is less than or equal to a predetermined threshold, the indicating component is caused to indicate that there is no short circuit fault in the bus circuit.

3. The method according to claim 2, further comprising: In response to determining that the current values ​​or voltage values ​​of the sampling resistor (103) acquired in a subsequent predetermined number of predetermined time periods are greater than the predetermined threshold, the plurality of electronic switches (102) and the mechanical switch (101) are kept disconnected.

4. The method according to claim 2, further comprising: In response to determining that the current value or voltage value of the sampling resistor (103) obtained in the subsequent predetermined number of predetermined time periods is greater than the predetermined threshold, the indicating component indicates that a short circuit fault exists in the bus circuit.

5. The method according to any one of claims 1 to 4, further comprising: Obtaining the period or frequency of the input voltage; as well as The zero-crossing point of the input voltage is determined according to the period or the frequency.

6. An electrical device comprising: Mechanical switch (101); A plurality of electronic switches (102) connected in series with the mechanical switch (101); A sampling circuit, comprising a sampling resistor (103); as well as A control unit (104), the control unit (104) being coupled to at least the plurality of electronic switches (102), and the control unit (104) being configured to: When the mechanical switch (101) is in a closed state, closing one of the plurality of electronic switches (102) within a predetermined time period before the zero crossing point of the input voltage of the bus circuit to which the electrical device is connected; Acquiring a current value or a voltage value of the sampling resistor (103) within the predetermined time period; as well as In response to determining that the acquired current value or the acquired voltage value is less than or equal to a predetermined threshold, the indicating component is caused to indicate that there is no short circuit fault in the bus circuit.

7. The electrical device according to claim 6, wherein the control unit (104) is further configured to: In response to determining that the acquired current value or voltage value is greater than a predetermined threshold, within a predetermined time period before each zero-crossing point of a subsequent predetermined number of zero-crossing points, one electronic switch (102) among the plurality of electronic switches (102) is closed to acquire the current value or voltage value of the sampling resistor (103) within the corresponding predetermined time period; and In response to determining that the acquired current value or the acquired voltage value is less than or equal to a predetermined threshold, the indicating component is caused to indicate that there is no short circuit fault in the bus circuit.

8. The electrical device according to claim 7, wherein the control unit (104) is further configured to: In response to determining that the current values ​​or voltage values ​​of the sampling resistor (103) acquired in a subsequent predetermined number of predetermined time periods are greater than the predetermined threshold, the plurality of electronic switches (102) and the mechanical switch (101) are kept disconnected.

9. The electrical device according to claim 7, wherein the control unit (104) is further configured to: In response to determining that the current value or voltage value of the sampling resistor (103) obtained in the subsequent predetermined number of predetermined time periods is greater than the predetermined threshold, the indicating component indicates that a short circuit fault exists in the bus circuit.

10. The electrical device according to any one of claims 6 to 9, wherein the control unit (104) is further configured to: obtaining a period or frequency of the input voltage; and The zero-crossing point of the input voltage is determined according to the period or the frequency.

11. A computer-readable storage medium having a computer program stored thereon, wherein the computer program can be executed by a processor to implement the method according to any one of claims 1 to 5.