Automatic power-off brake controller, device and control method
Through the automatic power-loss brake controller, the motor status is judged in real time and the switch of the brake is controlled, which solves the problem of premature opening of the brake when the motor is powered on and cannot be turned off in time when the brake is faulty, improves the reliability of the system and reduces the risk of heating .
Patent Information
- Application Number
- CN201811114566.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-09-25
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2038-09-25
AI Technical Summary
In an automated system, it may take some time to excite after the motor is powered on, which causes the brake to be opened prematurely, causing the fault risk; at the same time, the brake is still open when the motor fails, increasing the risk of heating, and the brake cannot be held in the event of power loss. Timely shutdown will affect system reliability.
The automatic power-loss brake controller is adopted, including a phase voltage detection module and a microcontroller, and the working status is judged by collecting the phase voltage signal of the motor, and the switch of the brake is controlled in real time to ensure that the brake is closed in time when the motor fails, so as to avoid accidents. , and reduce the driving current of the brake to reduce heating when the motor is working normally.
It improves the reliability of the automation system in the event of power loss, ensures that the brake is opened or closed in time when needed, avoids accidents, and reduces the heating of the brake and extends the service life of the system.
Smart Images

Figure CN109167339B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of automation technology, and in particular to an automatic power-off brake controller, equipment and control method. Background Art
[0002] In the field of automation, vertically moving slides are often required, in which a power failure protector is a necessary protection mechanism. The electromagnet of the brake is connected to the power supply of the motor driver, and when the motor driver is powered on, the brake automatically opens.
[0003] At present, the most common method is the direct connection method, which connects the electromagnet of the brake to the power supply of the motor driver. When the motor driver is powered on, the brake automatically opens. However, after the motor driver is powered on, it may take some time for the motor to be excited, but at this time the brake is already open, and there is a hidden danger of failure; the brake is always connected to the power supply, and the current is constant, causing the brake to heat up; if there is a motor failure, de-enabling, etc., the motor loses excitation. The brake is still open, and there is a hidden danger of failure. For this reason, there is a technology that adds a control circuit between the electromagnet of the brake and the power supply of the motor driver. When the motor driver is powered on, the brake is opened after a certain delay. When the brake is opened, the current of the brake is reduced after a delay. At this time, the brake remains open, but the heating of the brake can be reduced.
[0004] However, when the motor needs to move immediately after power-on, the brake may not be opened, causing the motor to be unable to rotate. If the motor fails or is disabled, the motor loses excitation and the brake is still open, there is a risk of failure. Summary of the invention
[0005] In view of this, the present invention provides an automatic power-off brake controller, device and control method to improve the reliability of the automation system in the event of power failure and reduce the heat generation of the brake.
[0006] In order to achieve the above object, the present invention adopts the following technical solutions:
[0007] In one embodiment of the present invention, an automatic power-off brake controller includes:
[0008] A phase voltage detection module is connected to the motor and is used to collect the phase voltage signal of the motor;
[0009] A microcontroller is connected to the phase voltage detection module, and is used to determine whether the working state of the motor is normal according to the phase voltage signal, and output a closing signal to the switching power supply of the brake when the working state of the motor is normal, and output an opening signal to the switching power supply when the working state of the motor is abnormal.
[0010] In one embodiment of the present invention, an electric device includes:
[0011] Holding brake, used to lock the lead screw;
[0012] A switch power supply, used for closing or opening the brake;
[0013] A motor, used for providing a transmission force for the lead screw;
[0014] A motor driver, used for providing a driving signal for the motor;
[0015] A phase voltage detection module, connected to the motor, for collecting a phase voltage signal of the motor;
[0016] A microcontroller is connected to the phase voltage detection module, and is used to determine whether the working state of the motor is normal according to the phase voltage signal, and output a closing signal to the switching power supply when the working state of the motor is normal, and output an opening signal to the switching power supply when the working state of the motor is abnormal.
[0017] In one embodiment of the present invention, an automatic power-off brake control method includes:
[0018] Collect phase voltage signals of the motor;
[0019] Whether the working state of the motor is normal is judged according to the phase voltage signal, and when it is judged that the working state of the motor is normal, a closing signal is output to the switching power supply of the brake, and when it is judged that the working state of the motor is abnormal, an opening signal is output to the switching power supply.
[0020] In one embodiment of the present invention, a computer-readable storage medium stores a computer program, which implements the steps of the method described in the above embodiment when executed by a processor.
[0021] The automatic power-off brake controller, electric equipment, automatic power-off brake control method, and computer-readable storage medium of the present invention collect the phase voltage signal of the motor, judge whether the working state of the motor is normal according to the phase voltage signal, and control the closing of the brake when the working state of the motor is normal, and control the opening of the brake when the working state of the motor is abnormal. Since the action of controlling the power-off brake can be executed in real time according to the judgment result of the motor state, the brake can be opened in time even in the occasion where movement is required immediately after power-on, and even in the event of motor failure, de-enabling, etc., the motor loses excitation, and the brake can be closed in time, and the brake fixes the lead screw, thereby locking the table and avoiding accidents. Therefore, this scheme can improve the reliability of the automation system in the case of power failure. In addition, the power-off brake is controlled to be opened or closed according to the motor state, and the brake will not always be connected to the power supply, so the heating of the brake can be reduced. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0023] Figure 1 It is a structural schematic diagram of an automatic power-off brake controller according to an embodiment of the present invention;
[0024] Figure 2 is a schematic diagram of the structure of a microcontroller in one embodiment of the present invention;
[0025] Figure 3 is a structural schematic diagram of a phase voltage detection module in one embodiment of the present invention;
[0026] Figure 4 is a schematic structural diagram of an electric device according to an embodiment of the present invention;
[0027] Figure 5 It is a circuit diagram of an automatic power-off brake controller according to a specific embodiment of the present invention;
[0028] Figure 6 It is a flow chart of an automatic power-off brake control method according to an embodiment of the present invention. DETAILED DESCRIPTION
[0029] To make the purpose, technical solution and advantages of the embodiments of the present invention more clear, the embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings. Here, the exemplary embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention.
[0030] Figure 1 Schematic diagram of the structure of an automatic power-off brake controller according to an embodiment of the present invention. Figure 1 In some embodiments, the automatic power-off brake controller 100 may include: a phase voltage detection module 110 and a microcontroller 120 .
[0031] The phase voltage detection module 110 is connected to the motor 210 and is used to collect the phase voltage signal of the motor 210; the microcontroller 120 is connected to the phase voltage detection module 110 and is used to determine whether the working state of the motor 210 is normal according to the phase voltage signal, and output a closing signal to the switching power supply 220 of the brake 230 when the working state of the motor 210 is determined to be normal, and output an opening signal to the switching power supply 220 when the working state of the motor 210 is determined to be abnormal.
[0032] The motor 210 may be a motor that can drive the lead screw to move linearly. The motor 210 may use alternating current, such as two-phase or three-phase power, or direct current as a power source. The phase voltage signal of the motor 210 may be a phase angle or a voltage amplitude, such as the phase angle of each phase of alternating current, the voltage of direct current, etc. The microcontroller 120 may be a single-chip microcomputer that may have functions such as comparison judgment and analog-to-digital conversion.
[0033] The brake 230 may include an electromagnet and a friction plate. When the electromagnet is not powered on, the friction plate can lock the lead screw by elastic force (the brake is closed). When the electromagnet is powered on, the friction plate can be sucked up (the brake is open) and leave the lead screw. The mechanism for locking the electric slide can be realized by using the brake to hold the lead screw. For example, the electric slide can be composed of a combination of a table, a lead screw, a base plate and a motor drive, and can be driven by a motor to drive the workpiece to automatically move linearly, or a mechanism called an electric cylinder, a linear module, etc. When the slide loses power, the motor 210 loses excitation and the lead screw becomes free. In the case where the lead screw does not have a self-locking function, the table also becomes free. At this time, if there is a large axial force on the table or the slide is in a vertical working state, the table will move uncontrollably, causing an accident.
[0034] In this embodiment, by collecting the phase voltage signal of the motor, it is determined whether the working state of the motor is normal according to the phase voltage signal, and the brake is controlled to be closed when the working state of the motor is normal, and the brake is controlled to be opened when the working state of the motor is abnormal. Since the action of controlling the power-off brake can be executed in real time according to the judgment result of the motor state, the brake can be opened in time even when the movement is required immediately after power-on, and even if the motor fails, is disabled, etc., the motor loses excitation, the brake can be closed in time, and the brake fixes the lead screw, thereby locking the table and avoiding accidents. Therefore, the automatic power-off brake controller of this embodiment can improve the reliability of the automation system in the case of power failure. After detecting that the motor has been working normally for a certain period of time, such as: 2 seconds. Under the premise of ensuring that the brake is still in the open state, the brake drive current can be reduced to reduce the heating of the brake. The method of reducing the drive current is to reduce the duty cycle of the drive current through the single-chip microcomputer.
[0035] Figure 2 Schematic diagram of the structure of a microcontroller in one embodiment of the present invention. Figure 2 In some embodiments, the microcontroller 120 may include: a first comparison module 121. The first comparison module 121 is used to compare and determine whether the phase angles of the phase voltage signals of the AC are the same, so as to determine whether the working state of the motor is normal.
[0036] In some other embodiments, the microcontroller 120 may include: a second comparison module 122. The second comparison module 122 is used to compare and determine whether the voltage value of the DC phase voltage signal is greater than a set voltage to determine whether the working state of the motor is normal. The set voltage is, for example, 220V.
[0037] In some other embodiments, the microcontroller 120 may include: a first comparison module 121 and a second comparison module 122. When the phase voltage signal of the motor 210 is a phase angle, each phase voltage phase angle may correspond to a first comparison module 121 and / or a second comparison module 122. For example, three phase angles may correspond to three first comparison modules 121 and / or second comparison modules 122. The first comparison module 121 and the second comparison module 122 may be implemented using a comparator.
[0038] Figure 3 Schematic diagram of the structure of the phase voltage detection module in one embodiment of the present invention. Figure 3 In some embodiments, the phase voltage detection module 110 may include: a first voltage-dividing resistor 111A and a second voltage-dividing resistor 112A; one end of the first voltage-dividing resistor 111A is connected to the motor 210, and the other end is connected to one end of the second voltage-dividing resistor 112A, and the other end of the second voltage-dividing resistor 112A is grounded; the node between the first voltage-dividing resistor 111A and the second voltage-dividing resistor 112A is connected to the microcontroller 120.
[0039] When the power supply of the motor 210 is direct current, the phase voltage signal may be a voltage value, and at this time, the phase voltage detection module 110 may only include the first voltage-dividing resistor 111A and the second voltage-dividing resistor 112A. When the power supply of the motor 210 is two-phase alternating current, the phase voltage signal may include four phase angles, and the angle between the phase angles is 90°. The phase voltage detection module 110 may include the first voltage-dividing resistors 111A, 111B, 111C, 111D and the second voltage-dividing resistors 112A, 112B, 112C, 112D, and one end of the first voltage-dividing resistors 111A, 111B, 111C, 111D is respectively connected to the positive and negative voltages of the two phases. When the power supply of the motor 210 is three-phase alternating current, the phase voltage signal may include three phase angles, and the included angle between the phase angles is 120°. The phase voltage detection module 110 may include first voltage-dividing resistors 111A, 111B, 111C and second voltage-dividing resistors 112A, 112B, 112C, and one end of the first voltage-dividing resistors 111A, 111B, 111C are respectively connected to the three phase voltages.
[0040] The first voltage-dividing resistors may be the same, and the second voltage-dividing resistors may be the same. The voltage-dividing resistors can be used to collect the input voltage signal required by the microcontroller 120. The sizes of the first voltage-dividing resistors and the second voltage-dividing resistors can be determined according to the requirements of the microcontroller 120.
[0041] In other embodiments, the phase voltage detection module 110 may further include other voltage-dividing resistors, which may be connected to the series circuit of the first voltage-dividing resistor and the second voltage-dividing resistor.
[0042] In some embodiments, the microcontroller 120 may include: an analog-to-digital conversion module. The analog-to-digital conversion module is used to convert the analog phase voltage signal into a digital phase voltage signal. Each signal in the phase voltage signal, such as the phase angle, can use a separate analog-to-digital conversion module to generate a corresponding converted digital signal, and each converted digital signal can be processed using a separate module, such as a first comparison module and a second comparison module.
[0043] An embodiment of the present invention further provides an electric device, which includes the automatic power-off brake controller of the above embodiment. The part about the automatic power-off brake controller can be implemented with reference to the above embodiment, so the repeated parts will not be repeated.
[0044] Figure 4 Schematic diagram of the structure of an electric device according to an embodiment of the present invention. Figure 4 In some embodiments, the electric device may include: a brake 230 , a switch power supply 220 , a motor 210 , a motor driver 250 , a phase voltage detection module 110 , a microcontroller 120 , etc. In other embodiments, the electric device may further include a power module 240 .
[0045] A power supply module 240 is used to provide power to the electric device; a brake 230 is used to lock the screw; a switching power supply 220 is used to close or open the brake 230; a motor 210 is used to provide a transmission force for the screw; a motor driver 250 is used to provide a driving signal for the motor 210; a phase voltage detection module 110 is connected to the motor 210 and is used to collect the phase voltage signal of the motor 210; a microcontroller 120 is connected to the phase voltage detection module 110 and is used to determine whether the working state of the motor 210 is normal based on the phase voltage signal, and output a closing signal to the switching power supply 220 when the working state of the motor 210 is judged to be normal, and output an opening signal to the switching power supply 220 when the working state of the motor 210 is judged to be abnormal.
[0046] The electric device may also include other various required components, such as a slide, etc. The electric device may be an electric slide, an electric cylinder, a linear module, etc. The automatic power-off brake controller 100 may include a phase voltage detection module 110 and a microcontroller 120, and may also include a switching power supply 220, and the inclusion relationship is not limited.
[0047] The electric equipment of this embodiment is provided with the automatic power-off brake controller of the above embodiment. Even in the case where movement is required immediately after power-on, the brake can be opened in time. Even in the case of motor failure, deactivation, etc., the motor loses excitation, and the brake can be closed in time. The brake fixes the lead screw, thereby locking the table and avoiding accidents. Therefore, the reliability of the automation system in the case of power failure can be improved. Moreover, the power-off brake is controlled to be opened or closed according to the motor state, and the brake will not always be connected to the power supply, so the heating of the brake can be reduced.
[0048] Figure 5 1 is a circuit diagram of an automatic power-off brake controller according to a specific embodiment of the present invention. Figure 5 The first interface JP1 in the automatic power-off brake controller can be connected to the switch power supply 220, the second interface JP2 can be connected to the brake 230, the third interface JP3 is a programming interface, and the fourth interface JP4 can be connected to the motor 210. The microcontroller in the automatic power-off brake controller is implemented by a single-chip microcomputer, such as a single-chip microcomputer of model ATMEGA8.
[0049] The two-phase positive and negative voltages of the motor 210 are connected to the series circuit of the third resistor R3 and the seventh resistor R7, the series circuit of the fourth resistor R4 and the eighth resistor R8, the series circuit of the fifth resistor R5 and the ninth resistor R9, and the series circuit of the sixth resistor R6 and the tenth resistor R10 via ports A+, A-, B+, and B-, respectively. The node between the third resistor R3 and the seventh resistor R7, the node between the fourth resistor R4 and the eighth resistor R8, the node between the fifth resistor R5 and the ninth resistor R9, and the node between the sixth resistor R6 and the tenth resistor R10 are connected to the ports AD0, AD1, AD2, and AD3 of the single-chip computer, respectively, for analog-to-digital conversion. The third resistor R3, the fourth resistor R4, the fifth resistor R5, and the sixth resistor R6 are first voltage-dividing resistors, which may have the same component parameters. The seventh resistor R7, the eighth resistor R8, the ninth resistor R9, and the tenth resistor R10 are second voltage-dividing resistors, which may have the same component parameters.
[0050] A first capacitor C1, a voltage stabilizing chip U3, a second capacitor C2 and a third capacitor C3 are connected between the first interface JP1 and the single chip microcomputer. A first resistor R1, a photoelectric relay U2, a fourth capacitor C4 and an anti-reverse diode D1 are connected between the single chip microcomputer and the second interface JP2.
[0051] When the power is turned on, the motor driver is powered on, and the motor is excited after a period of time. When the power is turned on, the power-off brake controller also starts working. The motor phase voltage detection module checks the phase voltage of the motor. When the motor is excited, the motor phase voltage will reach a certain threshold. At this time, the microcontroller uses the motor phase voltage detection module to determine whether the motor is excited. When the motor is detected to be excited, the microcontroller opens the brake by controlling the switch.
[0052] In the control of the motor driver, a brake control circuit can be added. However, there are many types of motors in industrial systems, and there are many types and models of drivers. It is difficult to make all drivers support brake control. The present invention determines the state of the motor by detecting the motor phase voltage, and controls the opening and closing of the brake based on this. After the brake is opened, if the motor is still normally excited, the drive current of the brake is reduced to reduce the heat of the brake. In the case of motor failure, short circuit, open circuit, or phase loss, the motor phase voltage will be abnormal. At this time, the drive current of the brake is immediately turned off to lock the brake. It can improve the reliability of the automation system in the case of power failure without changing the structure of the motor driver, reduce the heat of the brake, reduce energy consumption, and extend the life of the brake.
[0053] Based on Figure 1 The invention concept of the automatic power-off brake controller shown in the figure is the same, and the embodiment of the present invention also provides an automatic power-off brake control method, as described in the following embodiment. Since the principle of solving the problem by the automatic power-off brake control method is similar to that of the automatic power-off brake controller, the implementation of the automatic power-off brake control method can refer to the implementation of the automatic power-off brake controller, and the repeated parts will not be repeated.
[0054] Figure 6 FIG. 1 is a flow chart of an automatic power-off brake control method according to an embodiment of the present invention. Figure 6 , the automatic power-off brake control method of some embodiments may include:
[0055] Step S310: collecting phase voltage signals of the motor;
[0056] Step S320: Determine whether the working state of the motor is normal according to the phase voltage signal, and output a closing signal to the switching power supply of the brake when the working state of the motor is normal, and output an opening signal to the switching power supply when the working state of the motor is abnormal.
[0057] In some embodiments, in the above step S320, judging whether the working state of the motor is normal according to the phase voltage signal may include: judging whether the working state of the motor is normal by comparing and judging whether the phase angles of the phase voltage signals of the AC are the same.
[0058] In other embodiments, in the above step S320, judging whether the working state of the motor is normal according to the phase voltage signal may include: judging whether the working state of the motor is normal by comparing and judging whether the voltage value of the DC phase voltage signal is greater than a set voltage.
[0059] In some other embodiments, in the above step S320, whether the working state of the motor is normal is determined by comparing and determining whether the phase angles of the phase voltage signals of the alternating current are the same, which may include: determining whether the working state of the motor is normal by comparing and determining whether the phase angles of the phase voltage signals of the two-phase alternating current are all 90°, or determining whether the working state of the motor is normal by comparing and determining whether the phase angles of the phase voltage signals of the three-phase alternating current are all 120°.
[0060] An embodiment of the present invention further provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method described in the above embodiment when executing the program.
[0061] An embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps of the method described in the above embodiment are implemented.
[0062] In summary, the automatic power-off brake controller, electric device, automatic power-off brake control method, computer device and computer-readable storage medium of the embodiment of the present invention collect the phase voltage signal of the motor, judge whether the working state of the motor is normal according to the phase voltage signal, and control the closing of the brake when the working state of the motor is normal, and control the opening of the brake when the working state of the motor is abnormal. Since the action of controlling the power-off brake can be executed in real time according to the judgment result of the motor state, the brake can be opened in time even in the occasion where movement is required immediately after power-on, and even in the event of motor failure, de-enabling, etc., the motor loses excitation, the brake can be closed in time, and the brake fixes the lead screw, thereby locking the table and avoiding accidents. Therefore, the automatic power-off brake controller of this embodiment can improve the reliability of the automation system in the case of power failure. In addition, the power-off brake is controlled to be opened or closed according to the motor state, and the brake will not always be connected to the power supply, so the heating of the brake can be reduced.
[0063] In the description of this specification, the description with reference to the terms "one embodiment", "a specific embodiment", "some embodiments", "for example", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. The order of steps involved in each embodiment is used to schematically illustrate the implementation of the present invention, and the order of steps is not limited and can be appropriately adjusted as needed.
[0064] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0065] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0066] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0067] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0068] The specific embodiments described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. An automatic power-off brake controller, characterized in that: include: A phase voltage detection module, connected to the motor, for collecting a phase voltage signal of the motor; a microcontroller connected to the phase voltage detection module, and configured to determine whether the working state of the motor is normal according to the phase voltage signal, and output a closing signal to the switch power supply of the brake when the working state of the motor is normal, and output an opening signal to the switch power supply when the working state of the motor is abnormal; The microcontroller comprises: A first comparison module, used for comparing and determining whether the phase angles of the phase voltage signals of the AC are the same, so as to determine whether the working state of the motor is normal; A second comparison module is used to compare and determine whether the voltage value of the DC phase voltage signal is greater than a set voltage, so as to determine whether the working state of the motor is normal; The first comparison module and the second comparison module, when the phase voltage signal of the motor is a phase angle, each phase voltage phase angle corresponds to a first comparison module and / or a second comparison module.
2. The automatic power-off brake controller according to claim 1, characterized in that: The phase voltage detection module includes: a first voltage-dividing resistor and a second voltage-dividing resistor; one end of the first voltage-dividing resistor is connected to the motor, and the other end is connected to one end of the second voltage-dividing resistor, and the other end of the second voltage-dividing resistor is grounded; and a node between the first voltage-dividing resistor and the second voltage-dividing resistor is connected to the microcontroller.
3. The automatic power-off brake controller according to claim 1, characterized in that: The microcontroller comprises: The analog-to-digital conversion module is used to convert the analog phase voltage signal into a digital phase voltage signal.
4. An electric device, characterized in that: include: Holding brake, used to lock the lead screw; A switch power supply, used for closing or opening the brake; A motor, used for providing a transmission force for the lead screw; A motor driver, used for providing a driving signal to the motor; A phase voltage detection module, connected to the motor, for collecting a phase voltage signal of the motor; a microcontroller connected to the phase voltage detection module, and configured to determine whether the working state of the motor is normal according to the phase voltage signal, and output a closing signal to the switching power supply when the working state of the motor is determined to be normal, and output an opening signal to the switching power supply when the working state of the motor is determined to be abnormal; The microcontroller comprises: A first comparison module, used for comparing and determining whether the phase angles of the phase voltage signals of the AC are the same, so as to determine whether the working state of the motor is normal; A second comparison module is used to compare and determine whether the voltage value of the DC phase voltage signal is greater than a set voltage, so as to determine whether the working state of the motor is normal; The first comparison module and the second comparison module, when the phase voltage signal of the motor is a phase angle, each phase voltage phase angle corresponds to a first comparison module and / or a second comparison module.
5. An automatic power-off brake control method, characterized in that: include: Collect phase voltage signals of the motor; Determine whether the working state of the motor is normal according to the phase voltage signal, and output a closing signal to the switch power supply of the brake when the working state of the motor is normal, and output an opening signal to the switch power supply when the working state of the motor is abnormal; The step of judging whether the working state of the motor is normal according to the phase voltage signal comprises: Comparing and judging whether the phase angles of the phase voltage signals of the alternating current are the same, so as to judge whether the working state of the motor is normal; Comparing and determining whether the voltage value of the DC phase voltage signal is greater than a set voltage, so as to determine whether the working state of the motor is normal; The first comparison module and the second comparison module, when the phase voltage signal of the motor is a phase angle, each phase voltage phase angle corresponds to a first comparison module and / or a second comparison module.
6. The automatic power-off brake control method according to claim 5, characterized in that: Judging whether the working state of the motor is normal according to the phase voltage signal includes: Whether the phase angles of the phase voltage signals of the alternating current are the same is determined by comparison to determine whether the working state of the motor is normal.
7. The automatic power-off brake control method according to claim 5, characterized in that: Judging whether the working state of the motor is normal according to the phase voltage signal includes: By comparing and judging whether the voltage value of the DC phase voltage signal is greater than a set voltage, it is judged whether the working state of the motor is normal.
8. The automatic power-off brake control method according to claim 6, characterized in that: By comparing and judging whether the phase angles of the phase voltage signals of the alternating current are the same, judging whether the working state of the motor is normal includes: Whether the working state of the motor is normal is determined by comparing and determining whether the phase angles of the phase voltage signals of the two-phase alternating current are all 90°, or whether the working state of the motor is normal is determined by comparing and determining whether the phase angles of the phase voltage signals of the three-phase alternating current are all 120°.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method according to claims 5 to 8 are implemented.
