CN116879796A - Fault detection method and device, electronic equipment and storage medium - Google Patents

Fault detection method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116879796A
CN116879796A CN202310787502.2A CN202310787502A CN116879796A CN 116879796 A CN116879796 A CN 116879796A CN 202310787502 A CN202310787502 A CN 202310787502A CN 116879796 A CN116879796 A CN 116879796A
Authority
CN
China
Prior art keywords
controllable switch
current
current value
fault
type
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310787502.2A
Other languages
Chinese (zh)
Inventor
黄佳楠
樊豪杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangsu Dongcheng Tools Technology Co Ltd
Original Assignee
Jiangsu Dongcheng Tools Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jiangsu Dongcheng Tools Technology Co Ltd filed Critical Jiangsu Dongcheng Tools Technology Co Ltd
Priority to CN202310787502.2A priority Critical patent/CN116879796A/en
Publication of CN116879796A publication Critical patent/CN116879796A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/50Testing of electric apparatus, lines, cables or components for short-circuits, continuity, leakage current or incorrect line connections
    • G01R31/52Testing for short-circuits, leakage current or ground faults
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/165Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values
    • G01R19/16566Circuits and arrangements for comparing voltage or current with one or several thresholds and for indicating the result not covered by subgroups G01R19/16504, G01R19/16528, G01R19/16533
    • G01R19/16571Circuits and arrangements for comparing voltage or current with one or several thresholds and for indicating the result not covered by subgroups G01R19/16504, G01R19/16528, G01R19/16533 comparing AC or DC current with one threshold, e.g. load current, over-current, surge current or fault current
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/327Testing of circuit interrupters, switches or circuit-breakers

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Emergency Protection Circuit Devices (AREA)

Abstract

The invention relates to a fault detection method, a fault detection device, electronic equipment and a storage medium. The fault detection method comprises the following steps: the first controllable switch, the second controllable switch, the third controllable switch, the fourth controllable switch and the fifth controllable switch are controlled to be disconnected; controlling the power supply line to supply sinusoidal alternating current and keeping the motor in a shutdown state; acquiring a first current value in N lines of a power supply line; a determination is made as to whether a first type of fault has occurred based on the first current value. According to the invention, after the tool is electrified, before the power-on of the tool motor is started, the first controllable switch, the second controllable switch, the third controllable switch, the fourth controllable switch and the fifth controllable switch are subjected to self-detection, so that the quality of devices is detected, the direct short circuit between power supplies is actively avoided, and the risk is avoided.

Description

Fault detection method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of motor protection technologies, and in particular, to a fault detection method, a fault detection device, an electronic device, and a storage medium.
Background
Currently, in the case of a power grid-powered electric tool with a numerical control device, a voltage change for driving the electric tool motor can be achieved, for example, by phase control. Common such power tools typically use a mechanical structure that changes the carbon brush connection to input a phase opposite to the original phase to the motor so that the motor commutates. Later along with the evolution of the technology, the original input phase of the motor is changed by using an electronic commutation technology, such as an H-bridge circuit, so that the motor is commutated.
When an H-bridge circuit is used as an electric tool for motor commutation, the L/N short circuit caused by the H-bridge short circuit is most needed to be avoided, and the L/N short circuit is very dangerous and brings great risks to the personal and property safety. Therefore, a protection method for an H-bridge circuit is generally designed, and a fuse is adopted in the current common method, specifically, the fuse is connected in series in the circuit, if the H-bridge is short-circuited, a huge current will blow the fuse, and a current loop is disconnected, so that larger loss is avoided. However, this protection method does not detect the current in the H-bridge circuit, belongs to passive protection measures, passively fuses are blown when the H-bridge is shorted, and only passively avoids the occurrence of greater risks, rather than actively finding to avoid risks.
Disclosure of Invention
In view of the above, embodiments of the present invention provide a fault detection method, a fault detection device, an electronic apparatus, and a storage medium for solving at least one of the problems in the background art.
In a first aspect, an embodiment of the present invention provides a fault detection method, which is applied to an H-bridge motor control device, where the H-bridge motor control device includes a first controllable switch, a second controllable switch, a third controllable switch, and a fourth controllable switch that form an H-bridge, a fifth controllable switch connected in series in an L line of a power supply line, and a current limiting resistor connected in parallel with the fifth controllable switch; the first controllable switch and the third controllable switch are connected in series and then connected between N lines and L lines of the power supply line, and the second controllable switch and the fourth controllable switch are connected in series and then connected between N lines and L lines of the power supply line;
the method comprises the following steps:
controlling the first controllable switch, the second controllable switch, the third controllable switch, the fourth controllable switch and the fifth controllable switch to be disconnected;
controlling the power supply line to supply sinusoidal alternating current and keeping the motor in a shutdown state;
acquiring a first current value in N lines of a power supply line;
and determining whether a first type of faults occur according to the first current value.
With reference to the first aspect of the present invention, in an optional implementation manner, the step of determining whether the first type of fault occurs according to the first current value includes:
in response to the first current value satisfying a first range, the first range is determined as being absent from the first type of fault, the first range being determined from a comparison of the first current value to a first current threshold.
With reference to the first aspect of the present invention, in an optional implementation manner, the step of determining whether the first type of fault occurs according to the first current value further includes:
in response to the first current value satisfying a second range, determining that a first type of fault occurs and generating a first alarm signal, the second range being determined from a comparison of the first current value with a first current threshold that is distinct from the first range.
With reference to the first aspect of the present invention, in an optional implementation manner, the method further includes the following steps:
in response to the failure of the first type, controlling the first controllable switch, the second controllable switch, the third controllable switch and the fourth controllable switch to be independently conducted in sequence;
acquiring a second current value in the N lines within a preset conduction period of the controllable switch in a current conduction state;
and determining whether a second type of faults occur according to the second current value.
With reference to the first aspect of the present invention, in an optional implementation manner, the step of determining whether the second type of fault occurs according to the second current value includes:
and in response to the second current value meeting a third range, determining that the second type of fault does not occur, the third range being determined from a comparison of the second current value with a first current threshold and a second current threshold, respectively.
With reference to the first aspect of the present invention, in an optional implementation manner, the step of determining whether the second type of fault occurs according to the second current value further includes:
and in response to the second current value meeting a fourth range, determining that the second type of fault occurs and generating a second alarm signal, wherein the fourth range is determined according to comparison of the second current value with a second current threshold value and a third current threshold value respectively.
With reference to the first aspect of the present invention, in an optional implementation manner, the method further includes the following steps:
and controlling the fifth controllable switch to be conducted and the motor to be started in response to the failure of the first type and the failure of the second type.
In combination with the first aspect of the present invention, in an alternative embodiment, the second current threshold is calculated by the formula (U min /R R ) X M, wherein U min R is the minimum value of alternating voltage in a preset conduction period of the current silicon controlled rectifier in a conduction state R The resistance value of the current resistor is represented by M, and M is a coefficient;
the calculation formula of the third current threshold is (U) max /R R ) X M, wherein U max Is the maximum value of the alternating voltage.
In a second aspect, an embodiment of the present invention provides a fault detection device, which is applied to an H-bridge motor control apparatus, where the H-bridge motor control apparatus includes a first controllable switch, a second controllable switch, a third controllable switch, and a fourth controllable switch that form an H-bridge, a fifth controllable switch connected in series in an L line of a power supply line, and a current limiting resistor connected in parallel with the fifth controllable switch; the first controllable switch and the third controllable switch are connected in series and then connected between N lines and L lines of the power supply line, and the second controllable switch and the fourth controllable switch are connected in series and then connected between N lines and L lines of the power supply line;
comprising the following steps:
the first control unit is used for controlling the first controllable switch, the second controllable switch, the third controllable switch, the fourth controllable switch and the fifth controllable switch to be disconnected;
the second control unit is used for controlling the power supply line to supply sinusoidal alternating current and keeping the motor in a shutdown state;
a first acquisition unit configured to acquire a first current value in N lines of a power supply line;
and the first fault determining unit is used for determining whether a first type of fault occurs according to the first current value.
In a third aspect, an embodiment of the present invention provides a fault detection electronic device, including:
a processor; and
and a memory having stored thereon computer executable instructions that when executed by the processor perform the fault detection method described above.
In a fourth aspect, embodiments of the present invention provide a storage medium having stored thereon computer-executable instructions that, when executed by a processor, perform the above-described fault detection method.
The technical scheme provided by the embodiment of the invention has the beneficial effects that: after the power supply line is electrified, and the power supply line is electrified, before the motor of the tool is started, the first, second, third, fourth controllable switches and the fifth controllable switches forming the H bridge are subjected to self-detection, the quality of devices is detected, the direct short circuit between power supplies is actively avoided, and the risk is actively avoided.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and do not constitute a limitation on the invention. In the drawings:
fig. 1 is a schematic block diagram of an H-bridge motor control apparatus in an embodiment of the present invention;
FIG. 2 is a block flow diagram of a fault detection method according to an embodiment of the present invention;
FIG. 3 is a flow chart of another fault detection method according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of an AC cycle in an embodiment of the invention;
FIG. 5 is a circuit diagram of a fault detection device in an embodiment of the present invention;
FIG. 6 is a flow chart of another fault detection method according to an embodiment of the present invention;
FIG. 7 is a schematic block diagram of a fault detection device according to an embodiment of the present invention;
fig. 8 is a functional block diagram of a fault detection electronic device in an embodiment of the present invention.
Detailed Description
In order to make the technical scheme and the beneficial effects of the invention more obvious and understandable, the following detailed description is given by way of example. Wherein the drawings are not necessarily to scale, and wherein local features may be exaggerated or reduced to more clearly show details of the local features; unless defined otherwise, technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
It should be noted that, the tool with the numerical control device drives the voltage of the motor to change through phase control, that is, inputs a phase opposite to the original phase to cause the motor to commutate, for example, an H-bridge motor control device is used to drive the motor of the tool to commutate. As shown in fig. 1, the H-bridge motor control device includes a first controllable switch, a second controllable switch, a third controllable switch and a fourth controllable switch that form an H-bridge, a fifth controllable switch connected in series in an L line of a power supply line of the power supply, and a current limiting resistor connected in parallel with the fifth controllable switch; the first controllable switch and the third controllable switch are connected in series and then connected between an N line (zero line) and an L line (fire wire) of a power supply line, and the second controllable switch and the fourth controllable switch are connected in series and then connected between the N line and the L line of the power supply line; a first wiring terminal is led out between the first controllable switch and the third controllable switch, a second wiring terminal is led out between the second controllable switch and the fourth controllable switch, and the first wiring terminal and the second wiring terminal are respectively connected with the motor. When the H-bridge motor control device drives the motor to work normally, a pair of controllable switches on the diagonal line must be conducted. For example, when the first controllable switch and the fourth controllable switch are turned on, current passes through the motor from the positive electrode of the power supply from left to right through the first controllable switch, and then returns to the negative electrode of the power supply through the fourth controllable switch, so as to drive the motor to rotate in the first direction. When the second controllable switch and the third controllable switch are turned on, current passes through the motor from the positive electrode of the power supply from right to left through the second controllable switch, then returns to the negative electrode of the power supply through the third controllable switch, and the motor is driven to rotate in a second direction (the second direction is anticlockwise if the first direction is clockwise).
The embodiment of the invention provides a fault detection method, in particular a detection method of short-circuit faults, which is applied to H-bridge motor control equipment, as shown in figure 2, and comprises the following steps:
s1, controlling the first controllable switch, the second controllable switch, the third controllable switch, the fourth controllable switch and the fifth controllable switch to be disconnected;
s2, controlling power supply lines to be electrified to provide sinusoidal alternating current, wherein the tool is electrified at the moment, but a motor of the tool is not controlled to be started, and the motor is kept in a shutdown state;
s3, acquiring a first current value in N lines of a power supply line;
s4, determining whether the first type of faults occur according to the first current value.
As shown in fig. 3, the fault detection method further includes the steps of:
s5, in response to failure of the first type, the first controllable switch, the second controllable switch, the third controllable switch and the fourth controllable switch are controlled to be sequentially and independently conducted, wherein independent conduction is represented by that only one controllable switch among the first controllable switch, the second controllable switch, the third controllable switch and the fourth controllable switch is in a conducting state at the same moment, and other controllable switches are all in a disconnecting state;
s6, acquiring a second current value in an N line in a preset conduction period of the controllable switch in a current conduction state, wherein the preset conduction period is a certain period of time in the total conduction period of the controllable switch in the current conduction state;
s7, determining whether a second type of faults occur according to the second current value.
And S8, controlling the fifth controllable switch to be conducted and the motor to be started in response to the fact that the first type of faults do not occur and the second type of faults do not occur.
In the embodiment of the invention, after the power supply line is electrified and the tool is electrified, before the motor of the tool is started, the first, second, third, fourth controllable switches and the fifth controllable switches forming the H bridge are subjected to self-detection, so that the quality of devices is detected, the direct short circuit between power supplies is actively avoided, and the risk is actively avoided.
Further, the step of determining whether the first type of fault occurs according to the first current value in S4 includes:
and S41, in response to the first current value meeting the first range, determining that the first type of fault does not occur, wherein the first range is determined according to the comparison between the first current value and the first current threshold value, and the comparison is determined to be a relationship between the two values (such as the relationship between the first current value and the first current threshold value) which can be greater than or equal to one another, or can be less than or equal to one another, or can be unequal to one another, and the comparison is determined to have the same meaning as the comparison and the description is omitted.
And S42, responding to the first current value meeting a second range, determining that the first type of faults occur, and generating a first alarm signal, wherein the first alarm signal is used for indicating the situation that the first type of faults occur, and the second range is determined according to the comparison of the first current value and a first current threshold value, which is different from the first range.
In one embodiment, the first current threshold is 0, the first range is a first current value equal to 0, and the second range is a first current value different from 0. It will be appreciated by those skilled in the art that in practical applications, regarding the case where the first current value is equal to 0, the first current value may be equal to a value slightly larger than 0, such as 0.01, etc., and may also be determined to be a case belonging to the first range. Thus, a first current value satisfying a first range is indicated as a first current value equal to 0, and a first current value satisfying a second range is indicated as a first current value not equal to 0.
And when the first current value is not equal to 0, the first controllable switch, the second controllable switch, the third controllable switch, the fourth controllable switch and the fifth controllable switch are short-circuited, namely the first type of faults occur. At this time, if each controllable switch has no problem, the first current value should be 0.
Further, the step of determining whether the second type of fault occurs according to the second current value in S7 includes:
s71, responding to the second current value to meet a third range, determining that the second type of faults do not occur, wherein the third range is determined according to comparison of the second current value with a first current threshold value and a second current threshold value respectively;
and S72, determining that the second type of faults occur and generating a second alarm signal in response to the second current value meeting a fourth range, wherein the fourth range is determined according to comparison of the second current value with a second current threshold value and a third current threshold value respectively.
In the embodiment of the invention, the first, second, third and fourth controllable switches keep the fifth controllable switch to be disconnected all the time during self-checking, the connection is not allowed, and after the self-checking is passed, the H bridge is confirmed not to be short-circuited, and the fifth controllable switch is connected, so that normal power supply can be obtained, and the risk is further actively avoided.
As one specific embodiment, the second current value satisfying the third range means that the second current value is greater than or equal to the first current threshold value and the second current value is less than or equal to the second current threshold value, and the second current value satisfying the fourth range means that the second current value is greater than the second current threshold value and the second current value is less than or equal to the third current threshold value. It will be appreciated by those skilled in the art that the second current threshold value may be used as a dividing point of the third range and the fourth range, and may be used as an end point of any one of the third range and the fourth range without overlapping the divided ranges.
The first current threshold is 0, the second current threshold is the minimum value U of the alternating voltage in the preset conduction period according to the controllable switch in the current conduction state min And currentResistance R R Determining the third current threshold as a function of the maximum value of the alternating voltage U max (peak time voltage 310V) and resistance value R of current resistor R R And (5) determining.
And if the second current value is larger than the second current threshold value and the second current value is smaller than or equal to the third current threshold value, the controllable switch connected in series with the controllable switch in the current conducting state is indicated to have a short circuit, namely the second type of fault occurs. For example, when the second current value satisfies the fourth range, if the controllable switch currently in the on state is the first controllable switch, a short circuit occurs in the third controllable switch connected in series with the first controllable switch; and if the controllable switch in the current conducting state is the second controllable switch, a short circuit occurs in a fourth controllable switch connected with the second controllable switch in series. Otherwise, if the controllable switch in the current conducting state is a third controllable switch, the first controllable switch connected in series with the third controllable switch is short-circuited; if the controllable switch in the current conducting state is a fourth controllable switch, a short circuit occurs in the second controllable switch connected with the fourth controllable switch in series. If the second current value is greater than or equal to the first current threshold and the second current value is less than or equal to the second current threshold, the controllable switches are free of any problem.
Preferably, the first controllable switch, the second controllable switch, the third controllable switch, the fourth controllable switch and the fifth controllable switch can adopt devices such as triode BJT, silicon controlled rectifier SCR, gate turn-off thyristor GTO, P-MOSFET, insulated gate bipolar transistor IGBT, MOS control thyristor MCT, static induction transistor SIT and the like, and preferably adopt silicon controlled rectifier SCR, wherein the first controllable switch is a silicon controlled rectifier Q1, the second controllable switch is a silicon controlled rectifier Q2, the third controllable switch is a silicon controlled rectifier Q3, the fourth controllable switch is a silicon controlled rectifier Q4 and the fifth controllable switch is a silicon controlled rectifier Q5. According to the turn-on principle of the silicon controlled rectifier, the silicon controlled rectifier is turned on before the zero crossing point of the alternating current sine wave, and the silicon controlled rectifier is turned off at the next zero crossing point. The alternating current period shown in fig. 4 can be obtained by detecting the zero crossing period, the alternating current period is set to be T, and the preset conduction period can be set to be between 15% and 100% of T/2, namely the minimum value T of the preset conduction period min Is (T/2). Times.15%, and the maximum value is (T/2). Times.100%.The voltage is lower and the current is lower when the conduction time is 0-15%, so that the misjudgment rate is higher, and the fault judgment accuracy can be effectively improved by adopting the preset conduction time period of between 15 and 100 percent of T/2.
The second current threshold is calculated by the formula (U min /R R ) X M, wherein U min R is the minimum value of alternating voltage in a preset conduction period of the current silicon controlled rectifier in a conduction state R The current resistor R has a resistance value, M is a coefficient, the value range of the coefficient is 0.8-1.2, and the value of the coefficient is carried out according to the sampling error and the clock error, so that the accuracy of fault judgment can be improved. The third current threshold is calculated by the formula (U max /R R ) X M, wherein U max Is the ac voltage maximum (peak time voltage 310V).
As a specific implementation manner, as shown in fig. 5, after being connected in series, the silicon controlled rectifier Q1 and the silicon controlled rectifier Q3 are connected between the N line and the L line of the power supply line, after being connected in series, the silicon controlled rectifier Q2 and the silicon controlled rectifier Q4 are connected between the N line and the L line of the power supply line, the silicon controlled rectifier Q5 is connected in series in the L line of the power supply line, the current limiting resistor R is connected in parallel with two ends of the silicon controlled rectifier Q5, and the current detection circuit is connected in series in the N line of the power supply line, and is used for detecting the first current value and the second current value. As shown in fig. 6, a specific example of the fault detection method specifically includes:
firstly, the silicon controlled rectifier Q1, the silicon controlled rectifier Q2, the silicon controlled rectifier Q3, the silicon controlled rectifier Q4 and the silicon controlled rectifier Q5 are controlled to be disconnected; and then controlling the power supply line to supply sinusoidal alternating current, keeping the motor off at the moment, if the device has no problem, the current detected by the detected current I should be 0 at the moment, if the detected current I is not equal to 0, the device has a short circuit, judging that the first type of faults occur, keeping Q1-Q5 off, and generating a first alarm signal to alarm.
Then, Q1-Q4 are individually turned on sequentially, if Q1 is turned on, and Q2, Q3, Q4 are turned off, the current detection circuit detects a current I in a preset conduction period, if the current I=0, or the current I is not more than (U min /R R ) X M, judging that Q3 fails; if the current I satisfies (U min /R R )×M<I≤(U max /R R ) And x M, judging that the Q3 is short-circuited (the second type of faults occur).
The current detection circuit detects a current I in a preset conduction period when Q1, Q3, Q4 are off if Q2 is on, if current I=0, or if current I is less than or equal to (U) min /R R ) X M, judging that Q4 has not failed; if the current I satisfies (U min /R R )×M<I≤(U max /R R ) And x M, judging that the Q4 is short-circuited (the second type of faults occur).
The current detection circuit detects a current I in a preset conduction period when Q3 is on and Q1, Q2, Q4 are off, if the current I=0, or the current I is less than or equal to (U) min /R R ) X M, judging that Q1 fails; if the current I satisfies (U min /R R )×M<I≤(U max /R R ) X M, then Q1 is determined to be shorted (a second type of fault occurs).
The current detection circuit detects a current I in a preset conduction period when Q1, Q2, Q3 are off if Q4 is on, if the current I=0, or if the current I is less than or equal to (U) min /R R ) X M, judging that Q2 has no fault; if the current I satisfies (U min /R R )×M<I≤(U max /R R ) X M, then Q2 short circuit is determined (a second type of fault occurs).
In summary, Q5 remains off and is not allowed to be turned on, and if a fault is detected according to the sequence, even if a short circuit exists between Q1, Q2, Q3, and Q4, the short circuit between LNs is not directly caused by the current limiting resistor R. If the self-test passes, Q5 is conducted, so that the motor can be normally powered.
The embodiment of the invention also provides a fault detection device, as shown in fig. 7, corresponding to the fault detection method, applied to the H-bridge motor control device, the fault detection device comprises:
a first control unit 1, configured to control the first controllable switch, the second controllable switch, the third controllable switch, the fourth controllable switch, and the fifth controllable switch to be turned off;
a second control unit 2 for controlling the power supply line to supply sinusoidal alternating current and keeping the motor in a shutdown state;
a first acquiring unit 3 for acquiring a first current value in N lines of a power supply line;
a first fault determination unit 4 for determining whether a fault of the first type is present or not based on the first current value.
Further, the first failure determination unit 4 includes:
and a failure-not-occurring first-type determining unit configured to determine that the first-type failure does not occur in response to the first current value satisfying a first range, the first range being determined based on comparison of the first current value with a first current threshold.
And the first-type fault occurrence determining unit is used for responding to the fact that the first current value meets a second range, determining that the first-type fault occurs and generating a first alarm signal, and the second range is different from the first range and is determined according to comparison of the first current value and a first current threshold value.
Further, the fault detection device further includes:
the third control unit is used for controlling the first controllable switch, the second controllable switch, the third controllable switch and the fourth controllable switch to be sequentially and independently conducted in response to the failure of the first type;
a second obtaining unit, configured to obtain a second current value in the N line in a preset conduction period of the controllable switch currently in a conduction state;
and the second fault determining unit is used for determining whether a second type of faults occur according to the second current value.
Further, the second type of failure determination unit includes:
and a failure determination unit that determines that the failure of the second type does not occur in response to the second current value satisfying a third range, the third range being determined based on comparison of the second current value with the first current threshold and the second current threshold, respectively.
And the second-class fault occurrence determining unit is used for responding to the second current value to meet a fourth range, determining that the second-class fault occurs and generating a second alarm signal, and the fourth range is determined according to comparison of the second current value with a second current threshold value and a third current threshold value respectively.
Further, the fault detection device further includes:
and the fourth control unit is used for controlling the conduction of the fifth controllable switch and the starting of the motor in response to the fact that the first type of faults do not occur and the second type of faults do not occur.
The embodiment of the invention also provides the fault detection electronic equipment. As shown in fig. 8, the electronic device 900 includes a processor 901 and a memory 902; the memory 902 has stored thereon computer executable instructions which when executed by the processor 901 perform the fault detection method described above.
The processor 901 may be a Central Processing Unit (CPU) or other form of processing unit having data processing and/or instruction execution capabilities and may control other components in the electronic device to perform desired functions.
Memory 902 may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and/or nonvolatile memory. Volatile memory can include, for example, random Access Memory (RAM) and/or cache memory (cache) and the like. The non-volatile memory may include, for example, read Only Memory (ROM), hard disk, flash memory, and the like. One or more computer program instructions may be stored on a computer readable storage medium and the processor 101 may execute the program instructions to implement the steps in the fault detection method above and/or other desired functions.
In one example, the electronic device 900 may further include: input devices and output devices, which are interconnected by a bus system and/or other forms of connection mechanisms (not shown).
In addition, the input device may also include, for example, a keyboard, a mouse, a microphone, and the like. The output means may output various information to the outside, and may include, for example, a display, a speaker, a printer, and a communication network and a remote output device connected thereto, and the like.
Of course, for simplicity, only a portion of the components of the electronic device 900 that are relevant to embodiments of the present invention are shown in fig. 8, with components such as buses, input devices/output interfaces, etc. omitted. In addition, the electronic device 900 may include any other suitable components depending on the particular application.
As shown in fig. 5, the electronic device 900 further includes a first controllable switch Q1, a second controllable switch Q2, a third controllable switch Q3, a fourth controllable switch Q4, a fifth controllable switch Q5, a current limiting resistor R, a current detection circuit, and a controllable switch peripheral circuit (including a controllable switch driving circuit). The first controllable switch Q1, the second controllable switch Q2, the third controllable switch Q3 and the fourth controllable switch Q4 form an H bridge, the first controllable switch Q1 and the third controllable switch Q3 are connected in series and then connected between N lines and L lines of a power supply circuit, and the second controllable switch Q2 and the fourth controllable switch Q4 are connected in series and then connected between N lines and L lines of the power supply circuit; a first wiring terminal is led out between the first controllable switch Q1 and the third controllable switch Q3, a second wiring terminal is led out between the second controllable switch Q2 and the fourth controllable switch Q4, the first wiring terminal and the second wiring terminal are respectively connected with a motor, the fifth controllable switch Q5 is connected in series in an L line of a power supply circuit, the current detection circuit is connected in series in an N line of the power supply circuit, and the output end of the current detection circuit is connected with the processor 901.
Preferably, the controllable switch driving circuits of the first controllable switch Q1, the second controllable switch Q2, the third controllable switch Q3, the fourth controllable switch Q4 or the fifth controllable switch Q5 may be set to be the same or different, and may be set according to actual requirements. If the controllable switch driving circuits are the same, as shown in fig. 5, taking the first controllable switch Q1 as an example, it includes a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a first photocoupler U1 and a first triode T1; the first input end of the first photoelectric coupler U1 is connected with a power supply through a first resistor R1, the second input end of the first photoelectric coupler U1 is connected with the collector of a first triode T1, the base of the first triode T1 is connected with one end of a third resistor R3, the other end of the third resistor R3 is used for inputting control signals, the emitter of the first triode T1 is grounded, the first output end of the first photoelectric coupler U1 is connected with the L line and the first end of a first controllable switch respectively after passing through a second resistor R2, the second output end of the first photoelectric coupler U1 is connected with the control end of the first controllable switch, and a fourth resistor R4 is connected between the control end and the second end of the first controllable switch in a bridging mode. The first photo coupler U1 is preferably a MOC3043, the first triode T1 is preferably an MMBT3904, and the first controllable switch Q1, the second controllable switch Q2, the third controllable switch Q3, the fourth controllable switch Q4 or the fifth controllable switch Q5 is preferably a BTA16-600BW.
Preferably, the current detection circuit includes a differential hall current sensor U5, a first capacitor C1, a second capacitor C2, and a seventeenth resistor R17, where a first differential positive end and a second differential positive end of the differential hall current sensor U5 are connected and then connected to second ends of the third controllable switch Q3 and the fourth controllable switch Q4, a first differential negative end and a second differential negative end of the differential hall current sensor U5 are connected and then connected to an N line, a power end of the differential hall current sensor U5 is connected to a power supply and one end of the first capacitor C1, another end of the first capacitor C1 is grounded, a ground of the differential hall current sensor U5 is grounded, an output end of the differential hall current sensor U5 is connected to one end of the seventeenth resistor R17, another end of the seventeenth resistor R17 is connected to one end of the processor and one end of the second capacitor C2, and another end of the second capacitor C2 is grounded. The differential hall current sensor U5 is preferably CC6920.
In the embodiment of the invention, after the power supply line is electrified and the tool is electrified, before the motor of the tool is started, the first, second, third, fourth controllable switches and the fifth controllable switches forming the H bridge are subjected to self-detection, so that the quality of devices is detected, the direct short circuit between power supplies is actively avoided, and the risk is actively avoided. And the first, second, third and fourth controllable switches keep the fifth controllable switch to be disconnected all the time during self-checking, the connection is not allowed, and after the self-checking passes, the H bridge is confirmed to be short-circuited, the fifth controllable switch is connected, so that normal power supply can be obtained, and the risk is further actively avoided. In addition, through setting up the current limiting resistor, even if there is the short circuit between first, second, third, fourth controllable switch, also can not directly make the short circuit between L line, the N line because of the existence of current limiting resistor, further actively avoid the risk.
The embodiment of the invention also provides a storage medium, and the storage medium is stored with computer executable instructions which execute the fault detection method when being run by a processor.
Embodiments of the present invention may be a system, method, and/or computer program product. The computer program product may include a computer readable storage medium having computer readable program instructions embodied thereon for causing a processor to implement aspects of embodiments of the present invention. The computer program product may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, aspects of embodiments of the present invention are implemented by personalizing electronic circuitry, such as programmable logic circuitry, field Programmable Gate Arrays (FPGAs), or Programmable Logic Arrays (PLAs), with state information for computer-readable program instructions, which may execute the computer-readable program instructions.
A computer readable storage medium may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A computer readable storage medium is a tangible device that can hold and store instructions for use by an instruction execution device. The readable storage medium may include, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: portable computer disks, hard disks, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static Random Access Memory (SRAM), portable compact disk read-only memory (CD-ROM), digital Versatile Disks (DVD), memory sticks, floppy disks, mechanical coding devices, punch cards or in-groove structures such as punch cards or grooves having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media, as used herein, are not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., optical pulses through fiber optic cables), or electrical signals transmitted through wires.
The computer readable program instructions described herein may be downloaded from a computer readable storage medium to a respective computing/processing device or to an external computer or external storage device over a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmissions, wireless transmissions, routers, firewalls, switches, gateway computers and/or edge servers. The network interface card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium in the respective computing/processing device.
Aspects of embodiments of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable medium having the instructions stored therein includes an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
It should be noted that, the fault detection method embodiment, the fault detection device embodiment, the storage medium embodiment and the electronic device embodiment provided by the embodiment of the present invention belong to the same concept; the features of the embodiments described in the present invention may be combined arbitrarily without any conflict.
It should be understood that the above examples are illustrative and are not intended to encompass all possible implementations encompassed by the claims. Various modifications and changes may be made in the above embodiments without departing from the scope of the disclosure. Likewise, the individual features of the above embodiments can also be combined arbitrarily to form further embodiments of the invention which may not be explicitly described. Therefore, the above examples merely represent several embodiments of the present invention and do not limit the scope of protection of the patent of the present invention.

Claims (11)

1. The fault detection method is applied to H-bridge motor control equipment, and the H-bridge motor control equipment comprises a first controllable switch, a second controllable switch, a third controllable switch and a fourth controllable switch which form an H-bridge, a fifth controllable switch connected in series in an L line of a power supply, and a current limiting resistor connected with the fifth controllable switch in parallel; the first controllable switch and the third controllable switch are connected in series and then connected between N lines and L lines of the power supply line, and the second controllable switch and the fourth controllable switch are connected in series and then connected between N lines and L lines of the power supply line;
the method is characterized by comprising the following steps of:
controlling the first controllable switch, the second controllable switch, the third controllable switch, the fourth controllable switch and the fifth controllable switch to be disconnected;
controlling the power supply line to supply sinusoidal alternating current and keeping the motor in a shutdown state;
acquiring a first current value in N lines of a power supply line;
and determining whether a first type of faults occur according to the first current value.
2. The fault detection method of claim 1, wherein the step of determining whether a first type of fault has occurred based on the first current value comprises:
in response to the first current value satisfying a first range, the first range is determined as being absent from the first type of fault, the first range being determined from a comparison of the first current value to a first current threshold.
3. The fault detection method of claim 2, wherein the step of determining whether a first type of fault has occurred based on the first current value further comprises:
in response to the first current value satisfying a second range, determining that a first type of fault occurs and generating a first alarm signal, the second range being determined from a comparison of the first current value with a first current threshold that is distinct from the first range.
4. The fault detection method according to claim 1, further comprising the steps of:
in response to the failure of the first type, controlling the first controllable switch, the second controllable switch, the third controllable switch and the fourth controllable switch to be independently conducted in sequence;
acquiring a second current value in the N lines within a preset conduction period of the controllable switch in a current conduction state;
and determining whether a second type of faults occur according to the second current value.
5. The fault detection method of claim 4, wherein the step of determining whether a second type of fault has occurred based on the second current value comprises:
and in response to the second current value meeting a third range, determining that the second type of fault does not occur, the third range being determined from a comparison of the second current value with a first current threshold and a second current threshold, respectively.
6. The fault detection method of claim 4, wherein the step of determining whether a second type of fault has occurred based on the second current value further comprises:
and in response to the second current value meeting a fourth range, determining that the second type of fault occurs and generating a second alarm signal, wherein the fourth range is determined according to comparison of the second current value with a second current threshold value and a third current threshold value respectively.
7. The fault detection method according to claim 1, further comprising the steps of:
and controlling the fifth controllable switch to be conducted and the motor to be started in response to the failure of the first type and the failure of the second type.
8. The fault detection method according to any one of claims 1 to 7, wherein the calculation formula of the second current threshold value is (U min /R R ) X M, wherein U min R is the minimum value of alternating voltage in a preset conduction period of the current silicon controlled rectifier in a conduction state R The resistance value of the current resistor is represented by M, and M is a coefficient;
the calculation formula of the third current threshold is (U) max /R R ) X M, wherein U max Is the maximum value of the alternating voltage.
9. The fault detection device is applied to H-bridge motor control equipment, and the H-bridge motor control equipment comprises a first controllable switch, a second controllable switch, a third controllable switch and a fourth controllable switch which form an H-bridge, a fifth controllable switch connected in series in an L line of a power supply, and a current limiting resistor connected with the fifth controllable switch in parallel; the first controllable switch and the third controllable switch are connected in series and then connected between N lines and L lines of the power supply line, and the second controllable switch and the fourth controllable switch are connected in series and then connected between N lines and L lines of the power supply line;
characterized by comprising the following steps:
the first control unit is used for controlling the first controllable switch, the second controllable switch, the third controllable switch, the fourth controllable switch and the fifth controllable switch to be disconnected;
the second control unit is used for controlling the power supply line to supply sinusoidal alternating current and keeping the motor in a shutdown state;
a first acquisition unit configured to acquire a first current value in N lines of a power supply line;
and the first fault determining unit is used for determining whether a first type of fault occurs according to the first current value.
10. A fault detection electronic device, comprising:
a processor; and
a memory having stored thereon computer executable instructions which when executed by the processor perform the fault detection method of any of claims 1-8.
11. A storage medium having stored thereon computer executable instructions which when executed by a processor perform the fault detection method of any of claims 1-8.
CN202310787502.2A 2023-06-28 2023-06-28 Fault detection method and device, electronic equipment and storage medium Pending CN116879796A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310787502.2A CN116879796A (en) 2023-06-28 2023-06-28 Fault detection method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310787502.2A CN116879796A (en) 2023-06-28 2023-06-28 Fault detection method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116879796A true CN116879796A (en) 2023-10-13

Family

ID=88256051

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310787502.2A Pending CN116879796A (en) 2023-06-28 2023-06-28 Fault detection method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116879796A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117270666A (en) * 2023-11-22 2023-12-22 苏州新云医疗设备有限公司 Power supply control method and device, electronic equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117270666A (en) * 2023-11-22 2023-12-22 苏州新云医疗设备有限公司 Power supply control method and device, electronic equipment and storage medium
CN117270666B (en) * 2023-11-22 2024-03-15 苏州新云医疗设备有限公司 Power supply control method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
Marques et al. A new diagnostic technique for real-time diagnosis of power converter faults in switched reluctance motor drives
US10355581B2 (en) Fault tolerant inverter or controlled rectifier system
KR200409218Y1 (en) Inverter
CN116879796A (en) Fault detection method and device, electronic equipment and storage medium
JP6275352B1 (en) Power converter
JP2016201922A (en) AC motor drive system and AC motor wiring abnormality detection device
JP6697181B2 (en) Electric motor drive
JP5118136B2 (en) Power supply circuit for motors with devices that provide power switching, protection against polarity reversal, and elements that limit the inflow current of capacitive elements
Maamouri et al. Fault diagnosis and fault tolerant control of a three-phase VSI supplying sensorless speed controlled induction motor drive
US9831801B2 (en) Three-phase inverter system including control circuit to detect failure in an output current sensor
CN108336942B (en) Three-phase motor drive circuit
JP4127014B2 (en) Current detection device and inverter device with current detection function
JP6459519B2 (en) Protection device for power converter
US10126375B2 (en) Diagnosis circuit and method for a power module
CN204118703U (en) A kind of protective circuit of power electronic equipment power model
JP6966233B2 (en) Drive device for three-phase motor and electronic equipment and transfer equipment using it
JP2008253008A (en) Power converter and method for deciding incorrect connection of power supply
JP2018102064A (en) Motor drive system
JP5893383B2 (en) Power converter
JP2015142452A (en) Motor drive device
JP6879188B2 (en) Drive device abnormality judgment device
JP4775547B2 (en) Inverter device
JP6273877B2 (en) Driving circuit for semiconductor switch element parallel connection circuit
KR20100050159A (en) Apparatus and computer readable storage medium for processing method of continuous operation by decreasing capacity
JP2017051070A (en) Motor driving device having dc link current detection function

Legal Events

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