Barrier control circuit and barrier control method

By designing a gate control circuit including a short-circuit drive module and a lower bridge arm drive module, the problem of difficulty in controlling braking when the motor is powered off and the gate is rotated is solved, and the bus voltage is stabilized and the gate is safely braked.

CN119396061BActive Publication Date: 2025-04-29HANGZHOU HIKVISION DIGITAL TECHNOLOGY CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411972642.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-30
Publication Date
2025-04-29
Estimated Expiration
2044-12-30

AI Technical Summary

Technical Problem

When the motor is in a power-off state and the gate rotates, it is difficult to control the gate brake in time, resulting in a sudden increase in the bus voltage and may damage the connected devices.

Method used

A gate control circuit is designed, including a short-circuit drive module, an upper bridge arm drive module, a lower bridge arm drive module, a motor and gate. When the motor outputs the first voltage signal, the short-circuit drive module sends a short-circuit control signal to the down bridge arm drive module, so that the motor is in an active short-circuit state, and the brake is achieved.

Benefits of technology

It effectively suppresses the rapid increase in bus voltage, avoids overvoltage damage to the components connected to the gate bus, improves the service life of the gate control circuit, and realizes the effect of timely controlling the gate brake when the motor is powered off.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119396061B_ABST
    Figure CN119396061B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses a barrier gate control circuit and a barrier gate control method, which are used to solve the problem that it is difficult to control the barrier gate braking in time when the motor is in a power-off state and the barrier gate rotates. In the barrier gate control circuit, the barrier gate is connected between the upper bridge arm drive module and the lower bridge arm drive module through the barrier gate bus; the upper bridge arm drive module and the lower bridge arm drive module are both connected to the motor; the short-circuit drive module is respectively connected to the barrier gate bus and the lower bridge arm drive module; the motor, in the first state, outputs a first voltage signal; the first state includes: the motor is in a power-off state and the barrier gate rotates; the short-circuit drive module sends a short-circuit control signal to the lower bridge arm drive module when the motor outputs the first voltage signal; the lower bridge arm drive module is turned on under the control of the short-circuit control signal; when the lower bridge arm drive module is turned on, the motor is in an active short-circuit state, and the barrier gate brakes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of barrier gate control, and in particular to a barrier gate control circuit and a barrier gate control method. Background Art

[0002] For the gate control system, when it is shut down and not powered on, the gate pole may suddenly fall. In this case, the gravity of the gate pole will pull the motor to rotate, and the moving motor will become a generator, thereby generating electricity in the reverse direction to the gate control system. The generated electricity will be injected into the bus voltage through the three-phase bridge, causing the bus voltage to increase. Especially for the springless gate, since there is no spring to pull it, the gate pole will fall very quickly, and the faster the speed means the greater the power generation of the motor, which will cause the bus voltage to rise rapidly and greatly exceed the withstand voltage of the devices connected to the bus, causing overvoltage damage to the devices connected to the bus. Therefore, it is particularly necessary to control the gate brake in time during the process of the gate pole falling.

[0003] However, because the motor generates electricity very quickly, the control module in the barrier control system has not yet been powered on or even if it is powered on, it is too late to react, so the barrier brake cannot be controlled by the control module. Therefore, there is no good solution to this problem in software control, which has become a pain point in the barrier industry. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a barrier gate control circuit and a barrier gate control method to solve the current problem that it is difficult to control the barrier gate braking in time when the motor is in a power-off state and the barrier gate is rotating.

[0005] To solve the above technical problems, the embodiments of the present application are implemented as follows:

[0006] On the one hand, an embodiment of the present application provides a barrier gate control circuit, including a short-circuit drive module, an upper bridge arm drive module, a lower bridge arm drive module, a motor and a barrier gate; wherein,

[0007] The barrier gate is connected between the upper bridge arm driving module and the lower bridge arm driving module through the barrier gate bus; the upper bridge arm driving module and the lower bridge arm driving module are both connected to the motor; the short-circuit driving module is respectively connected to the barrier gate bus and the lower bridge arm driving module;

[0008] The motor, in a first state, outputs a first voltage signal; the first state includes: the motor is in a power-off state and the barrier is rotating;

[0009] The short-circuit driving module sends a short-circuit control signal to the lower bridge arm driving module when the motor outputs the first voltage signal;

[0010] The lower bridge arm driving module is turned on under the control of the short-circuit control signal; when the lower bridge arm driving module is turned on, the motor is in an active short-circuit state and the barrier is braked.

[0011] On the other hand, an embodiment of the present application provides a gate control method, which is applied to the above-mentioned gate control circuit; the method includes:

[0012] When the motor is in a power-off state and the barrier gate rotates, generating a first voltage signal;

[0013] generating a short-circuit control signal based on the first voltage signal;

[0014] Based on the short-circuit control signal, the motor is controlled to be in an active short-circuit state, and the barrier brake is controlled.

[0015] On the other hand, an embodiment of the present application also provides an electronic device, including a processor; and a memory arranged to store computer-executable instructions, wherein the computer-executable instructions are configured to be executed by the processor, and the computer-executable instructions are executed by the processor to implement the above-mentioned gate control method.

[0016] On the other hand, an embodiment of the present application provides a storage medium for storing computer-executable instructions, which implement the above-mentioned gate control method when executed by a processor.

[0017] On the other hand, an embodiment of the present application provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the above-mentioned gate control method is implemented.

[0018] The barrier gate control circuit provided by the embodiment of the present application is adopted, and the barrier gate is connected between the upper bridge arm driving module and the lower bridge arm driving module through the barrier gate bus, and the upper bridge arm driving module and the lower bridge arm driving module are both connected to the motor, and the short-circuit driving module is respectively connected to the barrier gate bus and the lower bridge arm driving module. Among them, when the motor is in a power-off state and the barrier gate rotates, the motor will output a first voltage signal, and the first voltage signal is the voltage signal generated by the motor. The voltage signal can be transmitted to the barrier gate bus through the connection relationship between the components in the barrier gate control circuit, resulting in an increase in the bus voltage, thereby causing overvoltage damage to the components connected to the barrier gate bus. In this regard, in the technical solution, the short-circuit driving module can send a short-circuit control signal to the lower bridge arm driving module when the motor outputs the first voltage signal, and the lower bridge arm driving module can be turned on under the control of the short-circuit control signal. When the lower bridge arm driving module is turned on, the motor stator winding forms a closed loop, so that the motor is in an active short-circuit state. At this time, the back electromotive force energy generated by the motor will be released through the stator winding, the motor movement speed will be suppressed, and the motor power generation energy will also be reduced accordingly, so that the voltage signal generated by the motor power generation is reduced. At the same time, the motor output end generates a corresponding braking torque to brake the barrier. It can be seen that this technical solution can achieve the effect of timely controlling the braking of the barrier gate through the hardware circuit when the motor is in a power-off state and the barrier gate is rotating. Moreover, during the barrier gate braking process, the voltage signal generated by the motor power generation and the rotation speed of the barrier gate are reduced, thereby suppressing the rapid rise of the bus voltage, so that the bus voltage is always within a safe voltage range, avoiding overvoltage damage to the components connected to the barrier gate bus, and increasing the service life of the barrier gate control circuit. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0020] Figure 1 is a schematic block diagram of a gate control circuit according to an embodiment of the present application;

[0021] Figure 2 is a schematic block diagram of a gate control circuit according to another embodiment of the present application;

[0022] Figure 3 is a schematic block diagram of a gate control circuit according to another embodiment of the present application;

[0023] Figure 4is a structural schematic diagram of a pre-driving unit according to an embodiment of the present application;

[0024] Figure 5 is a schematic block diagram of a gate control circuit according to another embodiment of the present application;

[0025] Figure 6 is a structural schematic diagram of a short-circuit driving module according to an embodiment of the present application;

[0026] Figure 7 is a schematic block diagram of a gate control circuit according to another embodiment of the present application;

[0027] Figure 8 is a schematic block diagram of a gate control circuit according to another embodiment of the present application;

[0028] Fig. 9 is a structural diagram of a trigger module according to an embodiment of the present application;

[0029] Fig.10 is a structural schematic diagram of a circuit parameter detection module according to an embodiment of the present application;

[0030] Fig.11 is a structural diagram of a circuit parameter detection module according to another embodiment of the present application;

[0031] Fig.12 is a structural diagram of a circuit parameter detection module according to another embodiment of the present application;

[0032] Fig.13 is a schematic block diagram of a gate control circuit according to another embodiment of the present application;

[0033] Fig.14 is a structural schematic diagram of a power conversion module according to an embodiment of the present application;

[0034] Fig.15 is a schematic flow chart of a gate control method according to an embodiment of the present application;

[0035] Fig.16 It is a schematic block diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0036] The embodiments of the present application provide a barrier gate control circuit and a barrier gate control method to solve the current problem that it is difficult to control the barrier gate braking in time when the motor is in a power-off state and the barrier gate is rotating.

[0037] In order to enable those skilled in the art to better understand the technical solutions in this application, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.

[0038] Figure 1 is a schematic block diagram of a gate control circuit according to an embodiment of the present application, such as Figure 1 As shown, the barrier control circuit includes a short-circuit drive module 10, an upper bridge arm drive module 20, a lower bridge arm drive module 30, a motor 40 and a barrier 50. Among them, the barrier 50 is connected between the upper bridge arm drive module 20 and the lower bridge arm drive module 30 through the barrier bus. The upper bridge arm drive module 20 and the lower bridge arm drive module 30 are both connected to the motor 40. The short-circuit drive module 10 is connected to the barrier bus and the lower bridge arm drive module 30, respectively.

[0039] Among them, the barrier gate, also known as a vehicle blocker, is a channel entrance and exit management device specially used to restrict the travel of motor vehicles on the road. It is now widely used in scenes such as highway toll stations and parking lots to manage the entry and exit of vehicles. The barrier gate busbar may include a first busbar and a second busbar, and the polarities of the first busbar and the second busbar are different. In this embodiment, taking the polarity of the first busbar as the positive pole and the polarity of the second busbar as the negative pole as an example, the connection relationship between the components in the barrier gate control circuit is described in detail.

[0040] like Figure 1 As shown, the gate 50 is connected to the upper bridge arm driving module 20 through the first bus 510, and is connected to the lower bridge arm driving module 30 through the second bus 520. The upper bridge arm driving module 20 is connected to the lower bridge arm driving module 30, and the short-circuit driving module 10 is connected to the first bus 510.

[0041] In this embodiment, the motor can output a first voltage signal in a first state. The first state includes: the motor is in a power-off state and the barrier gate rotates. The short-circuit drive module can send a short-circuit control signal to the lower bridge arm drive module when the motor outputs the first voltage signal. The lower bridge arm drive module can be turned on under the control of the short-circuit control signal. When the lower bridge arm drive module is turned on, the motor is in an active short-circuit state and the barrier gate is braked.

[0042] Optionally, the motor may be a three-phase motor, and the upper bridge arm driving module and the lower bridge arm driving module may form a three-phase bridge for driving the three-phase motor. When applied in a gate control circuit, the three-phase motor may be a brushless DC motor.

[0043] The barrier gate control circuit provided by the embodiment of the present application is adopted, and the barrier gate is connected between the upper bridge arm driving module and the lower bridge arm driving module through the barrier gate bus, and the upper bridge arm driving module and the lower bridge arm driving module are both connected to the motor, and the short-circuit driving module is respectively connected to the barrier gate bus and the lower bridge arm driving module. Among them, when the motor is in a power-off state and the barrier gate rotates, the motor will output a first voltage signal, and the first voltage signal is the voltage signal generated by the motor. The voltage signal can be transmitted to the barrier gate bus through the connection relationship between the components in the barrier gate control circuit, resulting in an increase in the bus voltage, thereby causing overvoltage damage to the components connected to the barrier gate bus. In this regard, in the technical solution, the short-circuit driving module can send a short-circuit control signal to the lower bridge arm driving module when the motor outputs the first voltage signal, and the lower bridge arm driving module can be turned on under the control of the short-circuit control signal. When the lower bridge arm driving module is turned on, the motor stator winding forms a closed loop, so that the motor is in an active short-circuit state. At this time, the back electromotive force energy generated by the motor will be released through the stator winding, the motor movement speed will be suppressed, and the motor power generation energy will be reduced accordingly, so that the voltage signal generated by the motor power generation is reduced. At the same time, the motor output end generates a corresponding braking torque, so that the barrier gate is braked. It can be seen that this technical solution can achieve the effect of timely controlling the braking of the barrier gate through the hardware circuit when the motor is in a power-off state and the barrier gate is rotating. In addition, during the braking process of the barrier gate, the voltage signal generated by the motor power generation and the rotation speed of the barrier gate are reduced, thereby suppressing the rapid rise of the bus voltage, so that the bus voltage is always in a safe voltage range, avoiding overvoltage damage to the components connected to the barrier gate bus, and improving the service life of the barrier gate control circuit.

[0044] In one embodiment, Figure 2 As shown, the gate control circuit includes a power supply module 60 and a control module 70. The power supply module 60 is connected to the gate bus. The control module 70 is connected to the upper bridge arm driving module 20, the lower bridge arm driving module 30 and the short circuit driving module 10 respectively.

[0045] To make the connection between components clearer, Figure 2 The gate 50 is no longer shown in the gate control circuit shown. Figure 2 is Figure 1 The schematic block diagram of the gate control circuit is obtained by refining it based on the above. Therefore, Figure 2 Zhongyu Figure 1 For the connection relationship between components with the same label, please refer to Figure 1 , I will not go into details here.

[0046] like Figure 2As shown, the power supply module 60 may include a power supply 610 and a third diode D7. The power supply 610 is connected to the second bus 520 and the anode of the third diode D7, respectively. The cathode of the third diode D7 is connected to the first bus 510. In this way, the power supply and the first bus are separated by the third diode. When the motor outputs the first voltage signal, the third diode is cut off, which can effectively prevent the energy generated by the motor in reverse from flowing back into the power supply through the gate bus, thereby avoiding the excessive bus voltage from directly damaging the power supply.

[0047] Optionally, only one power interface may be provided at the power supply position in the barrier control circuit. In this way, an external power supply can be connected to the barrier control circuit through the power interface, thereby achieving the effect of powering the barrier control circuit with an external power supply, which is conducive to reducing the design complexity and maintenance difficulty of the barrier control circuit.

[0048] In this embodiment, the power supply module is used to supply power to the gate control circuit. The control module can send a first control signal to the short-circuit drive module when the motor is in a working state; and send a second control signal to the upper bridge arm drive module and the lower bridge arm drive module. The short-circuit drive module can be disconnected under the control of the first control signal. The upper bridge arm drive module and the lower bridge arm drive module can drive the motor to work under the control of the second control signal.

[0049] When the power supply module supplies power normally, the motor is in a working state; when the power supply module stops supplying power, the motor is in a power-off state. Optionally, the control module may be a single-chip microcomputer, such as an MCU (Microcontroller Unit).

[0050] The control module provided in this embodiment is the control core of the gate control circuit, but the premise for it to work is that there is electricity to work. Once the motor is in a power-off state, the control module will fail, that is, it cannot send any control signal. In other words, when the motor is in a power-off state, the control module will stop sending the first control signal to the short-circuit drive module; and stop sending the second control signal to the upper bridge arm drive module and the lower bridge arm drive module.

[0051] In one embodiment, the gate control circuit may include a pre-driving module, which is connected between the short-circuit driving module and the lower bridge arm driving module, and between the control module and the upper bridge arm driving module.

[0052] In this embodiment, taking driving a three-phase motor as an example, the connection relationship of the pre-driving module in the gate control circuit is described in detail. Figure 3As shown, the three-phase motor Motor includes a U phase, a V phase and a W phase. The upper bridge arm driving module includes a third transistor Q3, a fourth transistor Q4 and a fifth transistor Q5. The lower bridge arm driving module includes a sixth transistor Q6, a seventh transistor Q7 and an eighth transistor Q8.

[0053] Optionally, the six transistors from the third transistor Q3 to the eighth transistor Q8 may all be NMOS transistors; or, the third transistor Q3, the fourth transistor Q4 and the fifth transistor Q5 are PMOS transistors, and the sixth transistor Q6, the seventh transistor Q7 and the eighth transistor Q8 are NMOS transistors.

[0054] Figure 3 Taking the six transistors as NMOS tubes as an example, the connection relationship between the upper bridge arm driving module, the lower bridge arm driving module and the three-phase motor is described in detail. Among them, the drain of the third transistor Q3, the drain of the fourth transistor Q4 and the drain of the fifth transistor Q5 are connected and connected to the first bus 510; the source of the sixth transistor Q6, the source of the seventh transistor Q7 and the source of the eighth transistor Q8 are connected and connected to the second bus 520; the second bus 520 is grounded. The source of the third transistor Q3 is connected to the drain of the sixth transistor Q6, and the midpoint of the connection is connected to the U phase of the three-phase motor; the source of the fourth transistor Q4 is connected to the drain of the seventh transistor Q7, and the midpoint of the connection is connected to the V phase of the three-phase motor; the source of the fifth transistor Q5 is connected to the drain of the eighth transistor Q8, and the midpoint of the connection is connected to the W phase of the three-phase motor. The gate of the third transistor Q3 is connected to the HO1 signal output terminal of the pre-driving module through the ninth resistor R11, and the tenth resistor R12 is connected between the gate and the source of the third transistor Q3; the gate of the fourth transistor Q4 is connected to the HO2 signal output terminal of the pre-driving module through the eleventh resistor R13, and the twelfth resistor R14 is connected between the gate and the source of the fourth transistor Q4; the gate of the fifth transistor Q5 is connected to the HO3 signal output terminal of the pre-driving module through the thirteenth resistor R15, and the fourteenth resistor R16 is connected between the gate and the source of the fifth transistor Q5; The gate of the sixth transistor Q6 is connected to the LO1 signal output terminal of the pre-driving module through the fifteenth resistor R17, and the sixteenth resistor R18 is connected between the gate and the source of the sixth transistor Q6; the gate of the seventh transistor Q7 is connected to the LO2 signal output terminal of the pre-driving module through the seventeenth resistor R19, and the eighteenth resistor R20 is connected between the gate and the source of the seventh transistor Q7; the gate of the eighth transistor Q8 is connected to the LO3 signal output terminal of the pre-driving module through the nineteenth resistor R21, and the twentieth resistor R22 is connected between the gate and the source of the eighth transistor Q8.

[0055] like Figure 3As shown, the pre-driver module 80 may include a first pre-driver unit 810, a second pre-driver unit 820 and a third pre-driver unit 830. The first pre-driver unit 810 is connected to the H1 signal output terminal and the L1 signal output terminal of the control module 70 respectively, and is used to receive the H1 signal and the L1 signal outputted by the control module, convert the H1 signal into the HO1 signal, and convert the L1 signal into the LO1 signal, so as to send the HO1 signal to the third transistor Q3 through the HO1 signal output terminal on the first pre-driver unit, and send the LO1 signal to the sixth transistor Q6 through the LO1 signal output terminal on the first pre-driver unit.

[0056] The second pre-driving unit 820 is connected to the H2 signal output terminal and the L2 signal output terminal of the control module 70 respectively, and is used to receive the H2 signal and the L2 signal output by the control module, convert the H2 signal into the HO2 signal, and convert the L2 signal into the LO2 signal, so as to send the HO2 signal to the fourth transistor Q4 through the HO2 signal output terminal on the second pre-driving unit, and send the LO2 signal to the seventh transistor Q7 through the LO2 signal output terminal on the second pre-driving unit.

[0057] The third pre-driver unit 830 is connected to the H3 signal output terminal and the L3 signal output terminal of the control module 70 respectively, and is used to receive the H3 signal and the L3 signal output by the control module, convert the H3 signal into the HO3 signal, and convert the L3 signal into the LO3 signal, so as to send the HO3 signal to the fifth transistor Q5 through the HO3 signal output terminal on the third pre-driver unit, and send the LO3 signal to the eighth transistor Q8 through the LO3 signal output terminal on the third pre-driver unit.

[0058] like Figure 3As shown, the short-circuit driving module 10 is connected between the L1 signal output terminal of the control module 70 and the first pre-driving unit 810, and is connected between the L2 signal output terminal of the control module 70 and the second pre-driving unit 820, and is connected between the L3 signal output terminal of the control module 70 and the third pre-driving unit 830. Based on this, when the motor outputs the first voltage signal, the short-circuit control signal is sent to the first pre-driving unit, the second pre-driving unit, and the third pre-driving unit, respectively. The first pre-driver unit can convert the short-circuit control signal into the LO1 signal, thereby sending the LO1 signal to the sixth transistor Q6 through the LO1 signal output terminal on the first pre-driver unit, so that the sixth transistor Q6 is turned on; the second pre-driver unit can convert the short-circuit control signal into the LO2 signal, thereby sending the LO2 signal to the seventh transistor Q7 through the LO2 signal output terminal on the second pre-driver unit, so that the seventh transistor Q7 is turned on; the third pre-driver unit can convert the short-circuit control signal into the LO3 signal, thereby sending the LO3 signal to the eighth transistor Q8 through the LO3 signal output terminal on the third pre-driver unit, so that the eighth transistor Q8 is turned on. This allows the three-phase motor to form a three-phase short circuit through the three lower bridges of the three-phase bridge, so that the three-phase motor is in an active short-circuit state.

[0059] It should be noted that Figure 3 is Figure 2 The schematic block diagram of the gate control circuit is obtained by refining it based on the above. Therefore, Figure 3 Zhongyu Figure 2 For the connection relationship between components with the same label, please refer to Figure 2 The arrows in the figure indicate the direction of signal flow.

[0060] In this embodiment, when the motor is in the working state, the control module can output a second control signal (including one or more of the H1 signal, H2 signal, H3 signal, L1 signal, L2 signal and L3 signal) according to the set control logic to control the conduction and disconnection of the three-phase bridge, so as to drive the three-phase motor to rotate through the three-phase bridge, and then control the operation of the gate through the rotating three-phase motor. When the motor is in the power-off state and the gate rotates, the current generated by the motor will flow back through the parasitic diodes inside the transistors of the upper and lower bridges, and feed back to the gate bus, so that the bus voltage increases. In this regard, the technical solution can send a short-circuit control signal to the pre-driving module based on the first voltage signal output by the motor through the short-circuit driving module, so that the pre-driving module converts the short-circuit control signal into the corresponding LO1 signal, LO2 signal and LO3 signal, thereby driving the three lower bridges (including the sixth transistor Q6, the seventh transistor Q7 and the eighth transistor Q8) of the three-phase bridge to turn on, so that the motor is in an active short-circuit state and the gate is braked.

[0061] In one embodiment, Figure 4 As shown, the first pre-drive unit may include a motor drive element U1, the working voltage of U1 is 12V (volts), pin 1 of U1 is connected to the 12V working voltage, pin 2 of U1 is connected to the H1 signal output terminal of the control module, pin 3 of U1 is connected to the L1 signal output terminal of the control module, pin 4 of U1 is grounded and connected to the 12V working voltage through the second capacitor C2, pin 5 of U1 is the LO1 signal output terminal, pin 6 of U1 is respectively connected to the U phase of the three-phase motor and the third capacitor C3, pin 7 of U1 is the HO1 signal output terminal, pin 8 of U1 and the third capacitor C3 are both connected to the cathode of the fourth diode D8, and the anode of the fourth diode D8 is connected to the 12V working voltage through the twenty-first resistor R23.

[0062] The second pre-drive unit may include a motor drive element U2, the working voltage of U2 is 12V, pin 1 of U2 is connected to the 12V working voltage, pin 2 of U2 is connected to the H2 signal output terminal of the control module, pin 3 of U2 is connected to the L2 signal output terminal of the control module, pin 4 of U2 is grounded and connected to the 12V working voltage through a fourth capacitor C4, pin 5 of U2 is the LO2 signal output terminal, pin 6 of U2 is respectively connected to the V phase of the three-phase motor and the fifth capacitor C5, pin 7 of U2 is the HO2 signal output terminal, pin 8 of U2 and the fifth capacitor C5 are both connected to the cathode of the fifth diode D9, and the anode of the fifth diode D9 is connected to the 12V working voltage through the twenty-second resistor R24.

[0063] The third pre-drive unit may include a motor drive element U3, the working voltage of U3 is 12V, pin 1 of U3 is connected to the 12V working voltage, pin 2 of U3 is connected to the H3 signal output terminal of the control module, pin 3 of U3 is connected to the L3 signal output terminal of the control module, pin 4 of U3 is grounded and connected to the 12V working voltage through the sixth capacitor C6, pin 5 of U3 is the LO3 signal output terminal, pin 6 of U2 is respectively connected to the W phase of the three-phase motor and the seventh capacitor C7, pin 7 of U3 is the HO3 signal output terminal, pin 8 of U3 and the seventh capacitor C7 are both connected to the cathode of the sixth diode D10, and the anode of the sixth diode D10 is connected to the 12V working voltage through the twenty-third resistor R25.

[0064] It should be noted that Figure 4 Only the internal circuits of the first pre-drive unit, the second pre-drive unit and the third pre-drive unit are shown in the figure. Other components in the gate control circuit are not shown in the figure. Figure 4 Therefore, the connection between other components in the gate control circuit is represented by marking the connection wires where they are suspended. Figure 4 In, with Figure 3 Two endpoints with the same label are connected.

[0065] The third capacitor C3, the fifth capacitor C5 and the seventh capacitor C7 are bootstrap capacitors.

[0066] In this embodiment, 12V supplies power to the motor drive components U1, U2 and U3 on the one hand, and charges the bootstrap capacitor C3 through R21 and D8 on the other hand, charges the bootstrap capacitor C5 through R22 and D9, and charges the bootstrap capacitor C7 through R23 and D10. R21, R22 and R23 are used to limit the input current of 12V. D8, D9 and D10 are mainly used to prevent the voltage of the U phase, V phase and W phase of the three-phase motor from being reversely fed back to 12V.

[0067] In this embodiment, when the motor is in working state, since the driving capability of the second control signal (including one or more of the H1 signal, H2 signal, H3 signal, L1 signal, L2 signal and L3 signal) output by the control module is insufficient to directly drive the transistors of the upper and lower bridges, it is necessary to power amplify the second control signal through the motor driving element.

[0068] exist Figure 4 In the circuit shown, the motor driving element U1 can proportionally amplify the input H1 signal into a HO1 signal and output it, and can proportionally amplify the input L1 signal into a LO1 signal and output it; the motor driving element U2 can proportionally amplify the input H2 signal into a HO2 signal and output it, and can proportionally amplify the input L2 signal into a LO2 signal and output it; the motor driving element U3 can proportionally amplify the input H3 signal into a HO3 signal and output it, and can proportionally amplify the input L3 signal into a LO3 signal and output it.

[0069] In addition, the 3rd pin of the motor driving element U1 is also used to connect to the L1_Self_IN signal output terminal of the short-circuit driving module, the 3rd pin of the motor driving element U2 is also used to connect to the L2_Self_IN signal output terminal of the short-circuit driving module, and the 3rd pin of the motor driving element U3 is also used to connect to the L3_Self_IN signal output terminal of the short-circuit driving module. Among them, the L1_Self_IN signal output terminal, the L2_Self_IN signal output terminal and the L3_Self_IN signal output terminal are all used to output short-circuit control signals. In this way, when the motor is in a power-off state and the barrier is rotating, the motor driving element U1 is mainly used to proportionally amplify the short-circuit control signal output by the L1_Self_IN signal output terminal into a LO1 signal and output it. Similarly, the motor driving element U2 is mainly used to proportionally amplify the short-circuit control signal output by the L2_Self_IN signal output terminal into a LO2 signal and output it. The motor driving element U3 is mainly used to proportionally amplify the short-circuit control signal output by the L3_Self_IN signal output terminal into a LO3 signal and output it.

[0070] In one embodiment, the short-circuit driving module includes a first triode Q9, a second triode Q10 and a first transistor Q1. The first triode is connected to the gate bus, the second triode and the first transistor respectively. The second triode is connected to the first transistor. The first transistor is connected to the gate bus and the lower bridge arm driving module respectively.

[0071] In this embodiment, when the motor outputs the first voltage signal, the first transistor is disconnected, and the second transistor and the first transistor are both turned on. When the first transistor is turned on, the short-circuit driving module generates a short-circuit control signal.

[0072] Continue to use Figure 3 The gate control circuit shown in the figure is used to explain in detail the connection relationship between the components in the short-circuit driving module in this embodiment. Figure 5 As shown, the first triode Q9 is respectively connected to the first bus 510, the second triode Q10 and the first transistor Q1. The second triode Q10 is connected to the first transistor Q1. The first transistor Q1 is connected to the first bus 510, and is respectively connected to the connection between the L1 signal output terminal of the control module 70 and the first pre-driver unit 810, the connection between the L2 signal output terminal of the control module 70 and the second pre-driver unit 820, and the connection between the L3 signal output terminal of the control module 70 and the third pre-driver unit 830.

[0073] In addition, the first transistor Q9 is also connected to the control module 70. Through this connection relationship, the control module can send a first control signal to the first transistor when the motor is in a working state. When the first control signal is input to the short-circuit drive module, the first transistor is turned on, the second transistor and the first transistor are both disconnected, and the short-circuit control signal cannot be generated, making the short-circuit drive module invalid. At this time, the three-phase bridge is controlled by the second control signal output by the control module and cyclically turned on, thereby driving the three-phase motor to rotate through the three-phase bridge, and then controlling the gate to work through the rotating three-phase motor. When the motor is in a power-off state and the gate rotates, since the control module is not powered on, the control module will stop sending the first control signal to the first transistor, so that the first transistor is disconnected, the second transistor and the first transistor are both turned on, so that the short-circuit control signal can be generated, and the short-circuit drive module can function. It can be seen that by setting the connection relationship between the first transistor and the control module, the short-circuit drive module can be controlled to fail or function by whether the control module is powered on or not, so that the barrier control circuit can play a corresponding role in both the working state and the power-off state (for example, in the working state, the barrier is controlled to work according to the set control logic; in the power-off state, if the barrier rotates, the barrier is braked in time), realizing a better barrier control circuit.

[0074] It should be noted that Figure 5 is Figure 3 The schematic block diagram obtained by refining the short-circuit driving module 10 is based on the above, therefore, Figure 5 Zhongyu Figure 3 For the connection relationship between components with the same label, please refer to Figure 3 , I will not go into details here.

[0075] In one embodiment, the collector of the first triode is connected to the gate bus, the base of the second triode and the source of the first transistor respectively. The base and emitter of the first triode are connected. The collector of the second triode is connected to the gate of the first transistor, and the base and emitter of the second triode are connected. The source of the first transistor is connected to the gate bus, and the drain of the first transistor is connected to the lower bridge arm driving module. Optionally, the first transistor is a PMOS tube.

[0076] In one embodiment, the short-circuit driving module may include a first diode. The anode of the first diode is connected to the drain of the first transistor, and the cathode of the first diode is connected to the lower bridge arm driving module. In this way, when the motor outputs the first voltage signal, the first diode is turned on, and the short-circuit control signal can be output through the first diode. When the control module outputs the second control signal, the first diode is turned off, so that the second control signal cannot flow into the short-circuit driving module.

[0077] In one embodiment, the short circuit driving module may include a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a fifth resistor, a sixth resistor R8, a seventh resistor R9, an eighth resistor R10 and a first capacitor C1.

[0078] like Figure 6 As shown, the first resistor R1 is connected between the control module and the base of the first triode Q9. The second resistor R2 is connected to the base and emitter of the first triode Q9 respectively. The collector of the first triode Q9 is connected between the gate bus and the source of the first transistor Q1 through the third resistor R3. The gate of the first transistor Q1 is connected to the collector of the second triode Q10 through the fourth resistor R4. The drain of the first transistor Q1 is connected to the anode of the first diode through the fifth resistor. One end of the sixth resistor R8 is connected between the third resistor R3 and the source of the first transistor Q1, and the other end of the sixth resistor R8 is connected to the gate of the first transistor Q1. One end of the first capacitor C1 is connected between the third resistor R3 and the sixth resistor R8, and the other end of the first capacitor C1 is connected between the sixth resistor R8 and the gate of the first transistor Q1. The seventh resistor R9 is connected between the collector of the first triode Q9 and the base of the second triode Q10. The eighth resistor R10 is connected to the base and emitter of the second triode Q10 respectively.

[0079] The fifth resistor may include a resistor R5, a resistor R6 and a resistor R7. Figure 6 As shown, the emitter of the first transistor Q9 and the emitter of the second transistor Q10 are grounded. The drain of the first transistor Q1 is connected to the resistor R5, the resistor R6 and the resistor R7 respectively. R5 is connected to the anode of the first diode D1, and the cathode of the first diode D1 is used to Figure 4 The 3rd pin of the motor driving element U1 is connected to the L1_Self_IN signal output terminal. R6 is connected to the anode of the first diode D2, and the cathode of the first diode D2 is used to Figure 4 The 3rd pin of the motor driving element U2 is connected to the L2_Self_IN signal output terminal. R7 is connected to the anode of the first diode D3, and the cathode of the first diode D3 is used to Figure 4 The 3-pin connection of the motor driving element U3 shown is the L3_Self_IN signal output terminal.

[0080] It should be noted that Figure 6 Other components in the gate control circuit are not reflected in the figure. Therefore, the connection between each device in the short-circuit drive module and other components in the gate control circuit, as well as the connection that is far apart in the short-circuit drive module, is represented by marking the connection line at the point where it is suspended. Figure 6 In, with Figure 4 The two endpoints with the same label are connected. In addition, MCU_5V_Control is marked at the suspended part of the connecting line to represent the connection between the first resistor R1 and the control module, and MCU_5V_Control is the first control signal. And, 5V_Signal is marked at the suspended part of the connecting line to represent the connection between the drain of the first transistor Q1 and the resistor R5, the resistor R6 and the resistor R7. In this embodiment, the gate bus is used to provide a 5V operating voltage for the short-circuit drive module, so 5V is marked at the suspended part of the connecting line to represent the connection between the third resistor R3 and the gate bus.

[0081] In this embodiment, when the motor is in the power-off state and the barrier gate rotates, since the control module is not powered on, the MCU_5V_Control signal will not be output. Therefore, the first transistor Q9 does not work, and the 5V working voltage input to the short-circuit drive module is divided by R3, R9 and R10 to drive the second transistor Q10 to turn on. When the second transistor Q10 is turned on, R4 is equivalent to grounding, so the 5V working voltage will be divided by R8 and R4 at the same time to turn on the first transistor Q1. When the first transistor Q1 is turned on, the 5V_Signal signal is valid. The valid 5V_Signal signal will be divided into three valid short-circuit control signals through R5 and D1, R6 and D2, and R7 and D3 respectively. The three valid short-circuit control signals will be output through the L1_Self_IN signal output terminal, the L2_Self_IN signal output terminal and the L3_Self_IN signal output terminal respectively. After such as Figure 4 After amplification, the motor driving element shown can send the amplified LO1 signal, LO2 signal and LO3 signal to the three lower bridge transistors Q6, Q7 and Q8 of the three-phase bridge respectively, so as to drive Q6, Q7 and Q8 to turn on respectively. Once Q6, Q7 and Q8 are turned on, the three-phase motor forms a three-phase short circuit through the three lower bridge transistors.

[0082] When the motor is in working state, since the control module is powered on normally and can work normally, the MCU_5V_Control signal is valid. After the MCU_5V_Control signal is divided by R1 and R2, the first transistor Q9 is turned on. Once the first transistor Q9 is turned on, the collector ground of the first transistor Q9 becomes a low level, and the second transistor Q10 will be disconnected. If the second transistor Q10 is disconnected, the first transistor Q1 is also disconnected. When the first transistor Q1 is disconnected, the 5V working voltage cannot pass through Q1, so the 5V_Signal signal fails and the short-circuit control signal cannot be generated, which will not affect the normal operation of the gate.

[0083] By adopting the short-circuit drive module provided in this embodiment, by setting electronic components such as resistors, capacitors, diodes, triodes, transistors, and determining the connection relationship between the electronic components, it is possible to output a short-circuit control signal when the motor is in a power-off state and the barrier is rotating, so as to control the three lower bridge transistors of the three-phase bridge to be turned on, so that the three-phase motor is in an active short-circuit state, thereby braking the barrier. Compared with the solution of using a mechanical switch (such as a relay) to achieve a three-phase short circuit of the motor, on the one hand, the circuit design cost is lower, and on the other hand, the response speed of the electronic components is faster, and there will be no mechanical contact mis-touch or poor contact, so it is more reliable. In addition, the service life of the electronic components is relatively long.

[0084] In one embodiment, if the PMOS self-turn-on circuit is named Figure 6 In the circuit composed of the first transistor Q9, the second transistor Q10 and the first transistor Q1, then, combined with Figure 5 and Figure 6 , we can get Figure 7 The gate control circuit shown in FIG. 1 , wherein the resistors R5, R6 and R7 are not shown in FIG. Figure 7 middle.

[0085] In one embodiment, the gate control circuit may include a circuit parameter detection module 90 and a trigger module 100. The trigger module is connected between the control module and the upper bridge arm driving module. The circuit parameter detection module is connected to the gate bus and the trigger module respectively.

[0086] In this embodiment, the circuit parameter detection module can detect the first circuit parameter in the barrier gate control circuit when the motor is in a working state, and send a third control signal to the trigger module when the first circuit parameter and the circuit parameter threshold satisfy a preset size relationship. The trigger module can control the upper bridge arm drive module to disconnect under the control of the third control signal. When the upper bridge arm drive module is disconnected and the lower bridge arm drive module is turned on, the motor is in an active short circuit state and the barrier gate is braked.

[0087] Among them, the first circuit parameter may include the input voltage, bus voltage, bus current, etc. of the power supply. The circuit parameter threshold may be a reference voltage. In the case where the reference voltage is set as the circuit parameter threshold, if the first circuit parameter is the input voltage, the preset size relationship between the input voltage and the reference voltage may be that the input voltage is less than the reference voltage; if the first circuit parameter is the bus voltage, the preset size relationship between the bus voltage and the reference voltage may be that the bus voltage is greater than the reference voltage; if the first circuit parameter is the bus current, the detected bus current needs to be converted into a detection voltage first, and the preset size relationship between the detection voltage and the reference voltage may be that the detection voltage is greater than the reference voltage.

[0088] Continue to use Figure 7 The gate control circuit shown in the figure describes in detail the connection relationship between the circuit parameter detection module 90 and the trigger module 100 provided in this embodiment and other components in the gate control circuit. Figure 8 As shown, the trigger module 100 is connected between the H1 signal output terminal of the control module 70 and the first pre-driving unit 810, and is connected between the H2 signal output terminal of the control module 70 and the second pre-driving unit 820, and is connected between the H3 signal output terminal of the control module 70 and the third pre-driving unit 830. The circuit parameter detection module 90 is connected to the trigger module 100, and is respectively connected to the anode of the third diode D7, the first bus 510, and the second bus 520.

[0089] Among them, at the anode of D7, the input voltage of the power supply can be detected, at the first bus, the bus voltage can be detected, and at the second bus, the bus current can be sampled.

[0090] In this embodiment, if the first circuit parameter and the circuit parameter threshold satisfy the preset size relationship, it means that the gate control circuit has power failure, overvoltage, overcurrent, etc. Once the special motor control system of the gate appears the above-mentioned bad operating state, if it cannot be slowed down and stopped as soon as possible, the gate pole may fall suddenly. Especially for special gates such as springless gates, due to the lack of spring traction, once it falls uncontrollably, the falling speed will be very fast, and such a fast speed will cause extremely dangerous car or person smashing accidents. In this regard, in this technical solution, the circuit parameter detection module can send a third control signal to the trigger module when the preset size relationship is satisfied between the first circuit parameter and the circuit parameter threshold. The effect of judging whether the gate control circuit has a bad operating state in real time based on the set circuit parameter threshold is realized, which is conducive to the timely discovery of the bad operating state of the gate control circuit. In addition, the trigger module can control the upper bridge arm drive module to disconnect under the control of the third control signal. At this time, the lower bridge arm drive module can still be cyclically turned on under the control of the preset control logic. Since the upper bridge arm drive module is always in the disconnected state, once the lower bridge arm drive module is turned on, the motor stator winding forms a closed loop, which will put the motor in an active short-circuit state. At this time, the back electromotive force energy generated by the motor will be released through the stator winding, and the motor output end will generate a corresponding braking torque, causing the gate to brake. It can be seen that this technical solution can achieve the effect of timely controlling the brake of the gate through the hardware circuit when the gate control circuit is in a bad operating state, effectively reducing the risk of the gate hitting a car or a person.

[0091] In one embodiment, the trigger module may include a third triode Q11, a fourth triode Q12 and a second transistor Q2. The third triode is connected to the circuit parameter detection module and the fourth triode respectively. The fourth triode is connected to the second transistor. The second transistor is connected between the control module and the upper bridge arm driving module. In this embodiment, under the control of the third control signal, the third triode is turned on, the fourth triode is turned off, and the second transistor is turned on.

[0092] In one embodiment, the base of the third triode is connected to the circuit parameter detection module. The base and emitter of the third triode are connected. The collector of the third triode is respectively connected to the collector of the fourth triode, the base of the fourth triode and the gate of the second transistor. The emitter of the third triode is connected to the emitter of the fourth triode. The collector of the fourth triode is connected to the gate of the second transistor. The gate and source of the second transistor are connected. The drain of the second transistor is connected between the control module and the upper bridge arm driving module. Wherein, the second transistor is an NMOS tube.

[0093] In one embodiment, the trigger module may include a second diode. The cathode of the second diode is connected to the drain of the second transistor. The anode of the second diode is connected between the control module and the upper bridge arm driving module. In this way, under the control of the third control signal, the second diode is turned on, and the H1 signal, H2 signal and H3 signal output by the control module can be short-circuited to the ground via the trigger module, thereby disconnecting the upper bridge arm driving module.

[0094] In one embodiment, the trigger module may include a twenty-fourth resistor R26, a twenty-fifth resistor R27, a twenty-sixth resistor R28, a twenty-seventh resistor R29, a twenty-eighth resistor R30, a twenty-ninth resistor R31, a thirtieth resistor R32 and a thirty-first resistor R33.

[0095] like Fig. 9 As shown, the twenty-fourth resistor R26 is connected between the base of the third triode Q11 and the circuit parameter detection module. The twenty-fifth resistor R27 is connected to the base and emitter of the third triode Q11 respectively. The collector of the third triode Q11 is connected to the collector of the fourth triode Q12 through the twenty-sixth resistor R28 and the twenty-seventh resistor R29 in sequence. The twenty-eighth resistor R30 is connected between the collector of the third triode Q11 and the base of the fourth triode Q12. One end of the twenty-ninth resistor R31 is connected to the base of the fourth triode Q12, and the other end of the twenty-ninth resistor R31 is connected between the emitter of the third triode Q11 and the emitter of the fourth triode Q12. The thirtieth resistor R32 is connected between the gate of the second transistor Q2 and the collector of the fourth triode Q12. The thirty-first resistor R33 is connected to the gate and source of the second transistor Q2 respectively.

[0096] The twenty-fourth resistor R26 can be connected to the circuit parameter detection module through a diode. Fig. 9As shown, the twenty-fourth resistor R26 is respectively connected to the cathode of the seventh diode D11, the cathode of the eighth diode D12 and the cathode of the ninth diode D13, the anode of the seventh diode D11 is used to be connected to the VIN_Fault signal output terminal of the circuit parameter detection module, the anode of the eighth diode D12 is used to be connected to the VBUS_Fault signal output terminal of the circuit parameter detection module, and the anode of the ninth diode D13 is used to be connected to the I_Fault signal output terminal of the circuit parameter detection module. Among them, the VIN_Fault signal output terminal can be used to output a third control signal to the trigger module when the motor is in a working state and the input voltage in the gate control circuit is less than the reference voltage. The VBUS_Fault signal output terminal can be used to output a third control signal to the trigger module when the motor is in a working state and the bus voltage in the gate control circuit is greater than the reference voltage. The I_Fault signal output terminal can be used to output a third control signal to the trigger module when the motor is in a working state and the detection voltage corresponding to the bus current in the gate control circuit is greater than the reference voltage.

[0097] like Fig. 9 As shown, the emitter of the third transistor Q11 is grounded, and the twenty-sixth resistor R28 is connected to the 5V working voltage. The collector of the fourth transistor Q12 can output a MOS_Control signal. The MOS_Control signal is transmitted to the gate of the second transistor Q2 through the thirtieth resistor R32, and the source of the second transistor Q2 is grounded. The drain of the second transistor Q2 is respectively connected to the cathode of the second diode D4, the cathode of the second diode D5, and the cathode of the second diode D6, the anode of the second diode D4 is used to connect to the H1 signal output terminal of the control module, the anode of the second diode D5 is used to connect to the H2 signal output terminal of the control module, and the anode of the second diode D6 is used to connect to the H3 signal output terminal of the control module.

[0098] It should be noted that Fig. 9 Other components in the gate control circuit are not reflected in the figure. Therefore, the connection between each device in the trigger module and other components in the gate control circuit, as well as the connection that is far away in the trigger module, is represented by marking the connection line in the air. Fig. 9 In, with Figure 8 Two endpoints with the same label are connected.

[0099] In this embodiment, when the motor is in working state and the first circuit parameter in the gate control circuit meets the preset size relationship with the circuit parameter threshold, the third control signal sent to the trigger module by the circuit parameter detection module may include a power-off signal VIN_Fault, a bus overvoltage signal VBUS_Fault and an overcurrent signal I_Fault. Among them, D11, D12 and D13 form an "OR" logic circuit. When there is at least one high-level signal among the three signals of the power-off signal VIN_Fault, the bus overvoltage signal VBUS_Fault and the overcurrent signal I_Fault, the high-level signal can drive Q11 to turn on after being divided by R26 and R27. At this time, the collector of Q11 is equivalent to grounding, and the input voltage of R30 is approximately 0, so Q12 cannot be driven to open, that is, Q12 is disconnected. The 5V working voltage outputs the signal MOS_Control through R29, and this signal MOS_Control is 5V, which is a valid signal. In the case where the above three signals are all low-level signals, the low-level signal cannot drive Q11 to turn on, that is, Q11 is disconnected. At this time, the 5V working voltage will pass through R28, R30, and then to R31 for voltage division, and then be used to drive Q12 to turn on. When Q12 is turned on, the collector of Q12 is equivalent to being grounded. At this time, the 5V working voltage reaches the ground through R29, and the signal MOS_Control is almost 0V, which is an invalid signal.

[0100] When the signal MOS_Control is a valid signal, the signal drives Q2 to turn on after being divided by R32 and R33. When Q2 is turned on, it is equivalent to the drain and source of Q2 being short-circuited and grounded. At this time, the H1 signal output by the control module is short-circuited to the ground through D4, the H2 signal output by the control module is short-circuited to the ground through D5, and the H3 signal output by the control module is short-circuited to the ground through D6, which is equivalent to the control signal used to drive the upper bridge transistor becoming an invalid signal. However, since the control signal (including L1 signal, L2 signal and L3 signal) output by the control module to drive the lower bridge transistor is not affected, the lower bridge transistor of the three-phase bridge can be driven normally to turn on. Once the lower bridge transistor is turned on, the three phases of the motor will form a three-phase active short circuit through the lower bridge transistor.

[0101] When the signal MOS_Control is an invalid signal, it means that the barrier control circuit has not had any bad operation. The signal cannot drive Q2 to conduct after being divided by R32 and R33. When Q2 is disconnected, the H1 signal, H2 signal and H3 signal output by the control module cannot be short-circuited to the ground by their respective diodes, and because the diodes are reverse cutoff, the three signals are separated from each other and will not crosstalk with each other, so the barrier control circuit can work normally.

[0102] In one embodiment, the circuit parameter detection module includes an input voltage detection unit and a first comparison unit. The input voltage detection unit is connected to the power supply module and the first comparison unit, respectively. The first comparison unit is connected to the trigger module. In this embodiment, the input voltage detection unit can detect the input voltage of the power supply module and send the input voltage to the first comparison unit. The first comparison unit can compare the input voltage with the reference voltage, and send a third control signal to the trigger module when the input voltage is less than the reference voltage.

[0103] The input voltage of the power supply module is the input voltage of the power supply, and the input voltage can be measured at the anode of the third diode D7.

[0104] In one embodiment, the input voltage detection unit may include a thirty-second resistor R34, a thirty-third resistor R35, a thirty-fourth resistor R36 and an eighth capacitor C8, and the first comparison unit may include a first comparator U13A.

[0105] like Fig.10 As shown, the power supply module is connected to the first input terminal of the first comparator U13A through the thirty-second resistor R34 and the thirty-third resistor R35 in sequence. One end of the thirty-fourth resistor R36 is connected between the thirty-second resistor R34 and the thirty-third resistor R35, and the other end of the thirty-fourth resistor R36 is grounded. One end of the eighth capacitor C8 is connected to the first input terminal of the first comparator U13A, and the other end of the eighth capacitor C8 is grounded. The second input terminal of the first comparator U13A is used to input the reference voltage 1.65V_REF, and the output terminal of the first comparator U13A is connected to the trigger module.

[0106] The input voltage VIN can be collected by connecting R34 to the anode of the third diode D7 in the power supply module. Fig.10 In the example, VIN is marked at the floating part of the connection line to represent this connection relationship. Pin 2 of U13A is the first input terminal, pin 3 of U13A is the second input terminal, pin 4 of U13A is grounded, pin 8 of U13A is connected to the 5V working voltage, and pin 1 of U13A is the VIN_Fault signal output terminal.

[0107] In this embodiment, the VIN signal is divided by R34 and R36 to obtain the VIN1 signal, which is then filtered by R35 and C8 and input to the "-" terminal of U13A. When the power supply is normally supplied, the VIN1 signal is greater than 1.65V_REF, so U13A outputs a low-level signal; when the power supply is powered off, the VIN signal does not exist, and the VIN1 signal is less than 1.65V_REF, so U13A outputs a high-level signal.

[0108] In one embodiment, the circuit parameter detection module includes a bus circuit parameter detection unit and a second comparison unit. The bus circuit parameter detection unit is connected to the gate bus and the second comparison unit respectively, and the second comparison unit is connected to the trigger module. In this embodiment, the bus circuit parameter detection unit can determine the detection voltage according to the detected bus circuit parameters, and send the detection voltage to the second comparison unit. The second comparison unit can compare the detection voltage with the reference voltage, so that when the detection voltage is greater than the reference voltage, a third control signal is sent to the trigger module.

[0109] The bus circuit parameters may include bus voltage and bus current. The bus circuit parameter detection unit may be used to detect the bus voltage and bus current. In the case of detecting the bus voltage, the bus circuit parameter detection unit may determine the detected bus voltage as the detection voltage. In the case of detecting the bus current, the bus circuit parameter detection unit may determine the corresponding detection voltage according to the detected bus current.

[0110] In the case of detecting the bus voltage, the bus circuit parameter detection unit may include a thirty-fifth resistor R37, a thirty-sixth resistor R38, a thirty-seventh resistor R39 and a ninth capacitor C9, and the second comparison unit may include a second comparator U13B.

[0111] like Fig.11 As shown, the gate busbar is connected to the first input terminal of the second comparator U13B through the thirty-fifth resistor R37 and the thirty-sixth resistor R38 in sequence. One end of the thirty-seventh resistor R39 is connected between the thirty-fifth resistor R37 and the thirty-sixth resistor R38, and the other end of the thirty-seventh resistor R39 is grounded. One end of the ninth capacitor C9 is connected to the first input terminal of the second comparator U13B, and the other end of the ninth capacitor C9 is grounded. The second input terminal of the second comparator U13B is used to input the reference voltage 1.65V_REF, and the output terminal of the second comparator U13B is connected to the trigger module.

[0112] The bus voltage VBUS can be collected by connecting R37 to the first bus 510. Fig.11 In the example, VBUS is marked at the place where the connection line is suspended. Pin 5 of U13B is the first input terminal, pin 6 of U13B is the second input terminal, pin 4 of U13B is grounded, pin 8 of U13B is connected to the 5V working voltage, and pin 7 of U13B is the VBUS_Fault signal output terminal.

[0113] In this embodiment, the VBUS signal is divided by R37 and R39 to obtain VBUS1, and then filtered by R38 and C9, and then input to the "+" terminal of U13B. When the bus voltage is normal, the VBUS signal is less than 1.65V_REF, so U13B outputs a low-level signal; when the bus voltage is over-voltage, the VBUS signal is greater than 1.65V_REF, so U13B outputs a high-level signal.

[0114] When detecting the bus current, the bus circuit parameter detection unit may include a thirty-eighth resistor R40, a thirty-ninth resistor R41, a fortieth resistor R42, a forty-first resistor R43, a forty-second resistor R44, a forty-third resistor R45, a tenth capacitor C10 and an operational amplifier U12A, and the second comparison unit may include a third comparator U7B.

[0115] like Fig.12 As shown, the gate busbar is connected to the first input terminal of the operational amplifier U12A through the thirty-eighth resistor R40, and is connected to the second input terminal of the operational amplifier U12A through the thirty-ninth resistor R41 and the fortieth resistor R42 in sequence. One end of the forty-first resistor R43 is connected to the first input terminal of the operational amplifier U12A, and the other end of the forty-first resistor R43 is used to input the reference voltage 1.65V_REF. The forty-second resistor R44 is connected between the second input terminal and the output terminal of the operational amplifier U12A. The output terminal of the operational amplifier U12A is connected to the first input terminal ( Fig.12 In the figure, the connection relationship is represented by marking Vcom at the place where the connection line is suspended. One end of the tenth capacitor C10 is connected to the first input end of the third comparator U7B, and the other end of the tenth capacitor C10 is grounded. The second input end of the third comparator U7B is used to input the reference voltage 1.65V_REF, and the output end of the third comparator U7B is connected to the trigger module.

[0116] The bus current Icom can be collected by connecting R40 to the second bus 520. Fig.12 In the example, Icom is marked at the place where the connecting line is suspended. Pin 3 of U12A is the first input terminal, pin 2 of U12A is the second input terminal, R41 is grounded, pin 1 of U12A is the output terminal, pin 4 of U12A is grounded, and pin 8 of U12A is connected to the 5V working voltage.

[0117] In this embodiment, R41 is a sampling resistor, and the bus current Icom through R41 is converted into a differential voltage (i.e., detection voltage) and input to the positive and negative terminals of U12A. Among them, the "+" terminal of U12A is connected to 1.65V_REF, which is mainly used to provide DC bias; R40 and R43, R42 and R44 are all ratio resistors of the op amp, which are used to adjust the amplification factor of the op amp, and the amplification factor is equal to R43 / R40; the differential voltage amplified by the op amp is output at the 1 terminal of U12A, and after RC filtering by R45 and C10, it is input to the "+" terminal of U7B. Among them, the detection voltage value amplified by the op amp is calculated as Vcom=R41*Icom*(R43 / R40)+1.65V_REF.

[0118] The detection voltage Vcom is input to the "+" end of the comparator U7B. When the Vcom value is greater than 1.65V_REF at the "-" end of U7B, it means that the bus current is overcurrent, and the output value I_Fault of U7B is high. When the Vcom value is less than 1.65V_REF at the "-" end of U7B, it means that the bus current is within the normal range, and the output value I_Fault of U7B is low.

[0119] By adopting the circuit parameter detection module and trigger module provided in this embodiment, by setting electronic components such as resistors, capacitors, diodes, triodes, transistors, operational amplifiers, comparators, and determining the connection relationship between each electronic component, it is possible to detect the first circuit parameter in the gate control circuit when the motor is in a working state, and send a third control signal to the trigger module when the first circuit parameter and the circuit parameter threshold meet the preset size relationship. The trigger module can control the three upper bridge transistors of the three-phase bridge to be disconnected under the control of the third control signal. At this time, the three lower bridge transistors of the three-phase bridge can still be cyclically turned on under the control of the preset control logic. Since the three upper bridge transistors are always in the disconnected state, once one or more of the three lower bridge transistors are turned on, the motor stator winding forms a closed loop, which will put the motor in an active short-circuit state. At this time, the back electromotive force energy generated by the motor will be released through the stator winding, and the motor output end will generate a corresponding braking torque, so that the gate is braked. Compared with the scheme of using mechanical switches (such as relays) to achieve the three-phase short circuit of the motor, on the one hand, the circuit design cost is lower, and on the other hand, the electronic components have a faster response speed and will not cause mechanical contact miscontact or poor contact, so it is more reliable. In addition, the service life of electronic components is relatively long.

[0120] It is understandable that although the lower bridge arm drive module is cyclically turned on under the control of the preset control logic, that is to say, there is a situation where the lower bridge arm drive module is disconnected, but, on the one hand, among the eight switching states of the three-phase bridge arm, only one is to completely disconnect the transistors in the lower bridge arm drive module. At this time, the three-phase motor will achieve a three-phase short circuit through the upper bridge transistor. It can be seen that the probability of the lower bridge arm drive module being completely disconnected is very small. On the other hand, even if the lower bridge arm drive module is completely disconnected, since the control logic is to cyclically turn on the upper bridge arm drive module and the lower bridge arm drive module, the situation where the lower bridge arm drive module is completely disconnected will not last long. Once any one or more transistors in the lower bridge arm drive module are turned on, the motor can be put into an active short circuit state, thereby braking the gate.

[0121] In one embodiment, Fig.13 As shown, the gate control circuit may include a power conversion module 110. The power conversion module 110 is respectively connected between the first bus 510 and the short-circuit driving module 10, between the first bus 510 and the pre-driving module 80, between the first bus 510 and the circuit parameter detection module 90, and between the first bus 510 and the trigger module 100.

[0122] In this embodiment, the power conversion module can provide working voltage for the short-circuit drive module and the pre-drive module when the motor outputs the first voltage signal. Alternatively, when the motor is in a working state, it can provide working voltage for the pre-drive module, the trigger module and the circuit parameter detection module; and provide a reference voltage for the circuit parameter detection module.

[0123] Optionally, the power conversion module can convert the voltage on the first bus into a 12V working voltage, and convert the 12V working voltage to obtain a 5V working voltage, and convert the 5V working voltage to obtain a reference voltage 1.65V_REF. The 12V working voltage is used to provide the pre-driver module, the 5V working voltage is used to provide the trigger module and the circuit parameter detection module, and the reference voltage 1.65V_REF is used to provide the circuit parameter detection module.

[0124] It should be noted that Fig.13 is Figure 8 The schematic block diagram of the gate control circuit is obtained by refining it based on the above. Therefore, Fig.13 Zhongyu Figure 8 For the connection relationship between components with the same label, please refer to Figure 8 , which will not be elaborated here. Fig.13 In the trigger module shown, the second transistor Q2, the second diodes D4, D5 and D6 are used to represent Fig. 9 The circuit structure shown.

[0125] like Fig.14 As shown, the power conversion module may include a 12V working voltage generating unit, a 5V working voltage generating unit and a reference voltage 1.65V_REF generating unit. Among them, the 12V working voltage generating unit may include a component U4, an inductor L1, an eleventh capacitor C11, a twelfth capacitor C12, a thirteenth capacitor C13, and a forty-fourth resistor R46 to a forty-eighth resistor R50. Among them, C11 is an input capacitor, which is mainly used to stabilize the input voltage; C13 is an output capacitor to stabilize the output voltage; R48 and C12 are bootstrap circuits, which are used to ensure that the switch circuit inside the component U4 works normally; R46 and R47 form a voltage divider circuit, and when there is an input voltage, when the EN pin of U4 is at a high level, U4 starts to work. Inductor L1 and output capacitor C13 are essential components for the buck circuit to convert energy. R49 and R50 form a feedback circuit, and the output voltage value is set by the voltage divider ratio of R49 and R50.

[0126] The 5V working voltage generating unit may include the component U5, the inductor L2, the fourteenth capacitor C14, the fifteenth capacitor C15, the sixteenth capacitor C16, the forty-ninth resistor R51 to the fifty-third resistor R55. Similarly, C14 is an input capacitor, which is mainly used to stabilize the input voltage; C16 is an output capacitor to stabilize the output voltage; R53 and C15 are bootstrap circuits, which are used to ensure that the switch circuit inside the component U5 works normally; R51 and R52 form a voltage divider circuit, and when there is input voltage, when the EN pin of U5 is at a high level, U5 starts to work. Inductor L2 and output capacitor C16 are essential components for the buck circuit to convert energy. R54 and R55 form a feedback circuit, and the output voltage value is set by the voltage divider ratio of R54 and R55.

[0127] The reference voltage 1.65V_REF generating unit may include a reference source U6, a fifty-fourth resistor R56 to a fifty-sixth resistor R58 and a seventeenth capacitor C17. R56 is used to adjust the input current of 5V; R57 and R58 obtain an accurate 1.65V voltage through resistor voltage division, and C17 is used to stabilize 1.65V.

[0128] Combine the following Fig.13 The barrier gate control circuit shown in the figure illustrates the working principle of the barrier gate control circuit provided by the present application. In this embodiment, the control module in the barrier gate control circuit can only work when the power supply module is normally powered. Therefore, based on whether the power supply module is powered, the motor in the barrier gate control circuit will have two states: working state or power-off state.

[0129] When the motor is in a power-off state, the control module stops sending the first control signal to the short-circuit drive module; and stops sending the second control signal to the upper bridge arm drive module and the lower bridge arm drive module. At this time, the short-circuit drive module is turned on and the motor stops working. At the same time, since the power supply module does not supply power, the bus voltage is lower than the start-up voltage of the power conversion module, causing the power conversion module to stop working, thereby causing the short-circuit drive module and the pre-drive module to fail to work.

[0130] When the motor is in a power-off state and the gate is rotating, the current generated by the motor will flow back through the parasitic diodes inside the transistors of the upper and lower bridges, and feed back to the gate bus, causing the bus voltage to increase. When the bus voltage rises to the start-up voltage of the power conversion module, the power conversion module starts to work and can convert the bus voltage, thereby providing working voltage for the short-circuit drive module and the pre-drive module. At this time, the short-circuit drive module is turned on and has a working voltage, so it can send a short-circuit control signal to the pre-drive module, so that the pre-drive module converts the short-circuit control signal into the corresponding LO1 signal, LO2 signal and LO3 signal, thereby driving the three lower bridges of the three-phase bridge (including the sixth transistor Q6, the seventh transistor Q7 and the eighth transistor Q8) to turn on, thereby putting the motor in an active short-circuit state and braking the gate.

[0131] It is understandable that when the three lower bridges of the three-phase bridge are turned on, the motor is in an active short-circuit state, and the motor itself generates a reaction force to inhibit the motor from rotating further, thereby reducing the bus voltage. Once the bus voltage is lower than the start-up voltage of the power conversion module, the power conversion module stops working, causing the short-circuit drive module and the pre-drive module to fail to work, which causes the three-phase self-locking state of the three-phase motor to disappear. At this time, if the gate is still rotating, the motor continues to generate electricity, and the bus voltage continues to rise. Once the bus voltage rises to the start-up voltage of the power conversion module, the short-circuit drive module and the pre-drive module work again, causing the motor to be in an active short-circuit state again. This cycle is repeated to suppress the reverse power generation of the motor in the power-off state until the gate stops rotating.

[0132] When the motor is in working state, the control module can send a first control signal to the short-circuit driving module, so that the short-circuit driving module is disconnected under the control of the first control signal. At the same time, the control module outputs a second control signal (including one or more of the H1 signal, H2 signal, H3 signal, L1 signal, L2 signal and L3 signal) according to the preset control logic to control the conduction and disconnection of the three-phase bridge, thereby driving the three-phase motor to rotate through the three-phase bridge, and then controlling the operation of the gate through the rotating three-phase motor.

[0133] When the motor is in working state and the first circuit parameter in the barrier control circuit meets the preset size relationship with the circuit parameter threshold, the circuit parameter detection module can send a third control signal to the trigger module, and the trigger module can control the upper bridge arm drive module to disconnect under the control of the third control signal. Since the lower bridge arm drive module can still be cyclically turned on under the control of the preset control logic, when the upper bridge arm drive module is disconnected, once the lower bridge arm drive module is turned on (that is, one or more of the lower bridge transistors are turned on), the motor stator winding forms a closed loop, which will put the motor in an active short-circuit state. At this time, the back electromotive force energy generated by the motor will be released through the stator winding, and the motor output end will generate a corresponding braking torque, so that the barrier brakes.

[0134] The above is a barrier gate control circuit provided in an embodiment of the present application. Based on the same idea, an embodiment of the present application also provides a barrier gate control method.

[0135] Fig.15 is a schematic flow chart of a gate control method according to an embodiment of the present application. In this embodiment, the gate control method is applied to Figures 1 to 14 The gate control circuit shown in Figure 1 is as follows. Fig.15 As shown, the method includes:

[0136] S1502, when the motor is in a power-off state and the barrier is rotating, a first voltage signal is generated.

[0137] S1504, generating a short-circuit control signal based on the first voltage signal.

[0138] S1506, based on the short-circuit control signal, controlling the motor to be in an active short-circuit state, and controlling the barrier brake.

[0139] By adopting the technical solution of the embodiment of the present application, when the motor is in a power-off state and the barrier gate rotates, the barrier gate control circuit can generate a short-circuit control signal based on the first voltage signal, thereby controlling the motor to be in an active short-circuit state based on the short-circuit control signal, and controlling the barrier gate braking. It can be seen that the technical solution can achieve the effect of timely controlling the barrier gate braking when the motor is in a power-off state and the barrier gate rotates through the hardware circuit. Among them, the first voltage signal is the voltage signal generated by the motor power generation. The voltage signal can be transmitted to the barrier gate bus through the connection relationship between the components in the barrier gate control circuit, resulting in an increase in the bus voltage, thereby causing overvoltage damage to the components connected to the barrier gate bus. In this regard, the technical solution can control the motor to be in an active short-circuit state. At this time, the back electromotive force energy generated by the motor will be released through the stator winding, the motor movement speed will be suppressed, and the motor power generation energy will be reduced accordingly, so that the voltage signal generated by the motor power generation is reduced. At the same time, the motor output end generates a corresponding braking torque, so that the barrier gate is braked. During the barrier brake process, the voltage signal generated by the motor and the rotation speed of the barrier are reduced, thereby suppressing the rapid rise of the bus voltage, so that the bus voltage is always within a safe voltage range, avoiding overvoltage damage to the components connected to the barrier bus, and increasing the service life of the barrier control circuit.

[0140] In one embodiment, when the motor is in a working state, a first circuit parameter in the barrier gate control circuit can be detected. When a preset size relationship is satisfied between the first circuit parameter and the circuit parameter threshold, the motor is controlled to be in an active short-circuit state, and the barrier gate is controlled to brake.

[0141] The first circuit parameter may include an input voltage, a bus voltage, a bus current, etc. of the power supply. The circuit parameter threshold may be a reference voltage. Accordingly, the preset magnitude relationship may include that the input voltage is less than the reference voltage, the bus voltage is greater than the reference voltage, and the detection voltage corresponding to the bus current is greater than the reference voltage.

[0142] In this embodiment, when the motor is in working state, if the first circuit parameter and the circuit parameter threshold satisfy the preset size relationship, it means that the gate control circuit has power failure, overvoltage, overcurrent, etc. Once the special motor control system such as the gate has the above-mentioned bad operating state, if it cannot be decelerated and stopped as soon as possible, the gate pole may fall suddenly. Especially for special gates such as springless gates, due to the lack of spring traction, once it falls uncontrollably, the falling speed will be very fast, and such a fast speed will cause extremely dangerous car or person smashing accidents. In this regard, in this technical solution, the circuit parameter detection module can send a third control signal to the trigger module when the preset size relationship is satisfied between the first circuit parameter and the circuit parameter threshold. The effect of judging whether the gate control circuit has a bad operating state in real time based on the set circuit parameter threshold is realized, which is conducive to the timely discovery of the bad operating state of the gate control circuit. In addition, the trigger module can control the upper bridge arm drive module to disconnect under the control of the third control signal. At this time, the lower bridge arm drive module can still be cyclically turned on under the control of the preset control logic. Since the upper bridge arm drive module is always in the disconnected state, once the lower bridge arm drive module is turned on, the motor stator winding forms a closed loop, which will put the motor in an active short-circuit state. At this time, the back electromotive force energy generated by the motor will be released through the stator winding, and the motor output end will generate a corresponding braking torque, causing the gate to brake. It can be seen that this technical solution can achieve the effect of timely controlling the brake of the gate through the hardware circuit when the gate control circuit is in a bad operating state, effectively reducing the risk of the gate hitting a car or a person.

[0143] Those skilled in the art should understand that Fig.15 The barrier gate control method in the present invention can be applied to the barrier gate control circuit in the previous article. The control details described therein should be similar to the circuit description in the previous article. To avoid redundancy, it will not be described here.

[0144] In summary, specific embodiments of the present subject matter have been described. Other embodiments are within the scope of the appended claims. In some cases, the actions recorded in the claims can be performed in a different order and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or sequential order shown to achieve the desired results. In some embodiments, multitasking and parallel processing can be advantageous.

[0145] The above is a gate control circuit and a gate control method provided by the embodiments of the present application. Based on the same idea, the embodiments of the present application also provide an electronic device, such as Fig.16As shown. The electronic device may have relatively large differences due to different configurations or performances, and may include one or more processors 1601 and memory 1602, and one or more applications or data may be stored in the memory 1602. Among them, the memory 1602 may be a short-term storage or a permanent storage. The application stored in the memory 1602 may include one or more modules (not shown in the figure), and each module may include a series of computer executable instructions in the electronic device. Furthermore, the processor 1601 may be configured to communicate with the memory 1602 to execute a series of computer executable instructions in the memory 1602 on the electronic device. The electronic device may also include one or more power supplies 1603, one or more wired or wireless network interfaces 1604, one or more input and output interfaces 1605, and one or more keyboards 1606.

[0146] Specifically in this embodiment, the electronic device includes a memory and one or more applications, wherein the one or more applications are stored in the memory, and the one or more applications may include one or more modules, and each module may include a series of computer executable instructions for the electronic device, and the one or more applications are configured to be executed by one or more processors, including computer executable instructions for performing the following:

[0147] When the motor is in a power-off state and the barrier gate is rotating, a first voltage signal is generated;

[0148] generating a short-circuit control signal based on the first voltage signal;

[0149] Based on the short-circuit control signal, the motor is controlled to be in an active short-circuit state, and the barrier brake is controlled.

[0150] By adopting the technical solution of the embodiment of the present application, when the motor is in a power-off state and the barrier gate rotates, the barrier gate control circuit can generate a short-circuit control signal based on the first voltage signal, thereby controlling the motor to be in an active short-circuit state based on the short-circuit control signal, and controlling the barrier gate braking. It can be seen that the technical solution can achieve the effect of timely controlling the barrier gate braking when the motor is in a power-off state and the barrier gate rotates through the hardware circuit. Among them, the first voltage signal is the voltage signal generated by the motor power generation. The voltage signal can be transmitted to the barrier gate bus through the connection relationship between the components in the barrier gate control circuit, resulting in an increase in the bus voltage, thereby causing overvoltage damage to the components connected to the barrier gate bus. In this regard, the technical solution can control the motor to be in an active short-circuit state. At this time, the back electromotive force energy generated by the motor will be released through the stator winding, the motor movement speed will be suppressed, and the motor power generation energy will be reduced accordingly, so that the voltage signal generated by the motor power generation is reduced. At the same time, the motor output end generates a corresponding braking torque, so that the barrier gate is braked. During the barrier brake process, the voltage signal generated by the motor and the rotation speed of the barrier are reduced, thereby suppressing the rapid rise of the bus voltage, so that the bus voltage is always within a safe voltage range, avoiding overvoltage damage to the components connected to the barrier bus, and increasing the service life of the barrier control circuit.

[0151] An embodiment of the present application also proposes a storage medium, which stores one or more computer programs, and the one or more computer programs include computer executable instructions. When the computer executable instructions are executed by an electronic device including multiple application programs, the electronic device can execute the various processes of the above-mentioned gate control method embodiment and achieve the same technical effect. To avoid repetition, they are not repeated here.

[0152] The embodiment of the present application also proposes a computer program product, which includes a computer program. When the computer program is executed by a processor, the various processes of the above-mentioned gate control method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0153] The systems, devices, modules or units described in the above embodiments may be implemented by computer components or entities, or by products having certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0154] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0155] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may adopt 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 codes.

[0156] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes 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 generate 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.

[0157] 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.

[0158] 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.

[0159] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0160] Memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.

[0161] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined in this article, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0162] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0163] The present application may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0164] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0165] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A gate control circuit, characterized in that: It includes a short-circuit drive module, an upper bridge arm drive module, a lower bridge arm drive module, a motor and a gate; wherein, The barrier gate is connected between the upper bridge arm driving module and the lower bridge arm driving module through a barrier gate bus; the upper bridge arm driving module and the lower bridge arm driving module are both connected to the motor; the barrier gate bus includes a first bus and a second bus; the barrier gate is connected to the upper bridge arm driving module through the first bus, and is connected to the lower bridge arm driving module through the second bus; the short-circuit driving module is connected to the first bus and the lower bridge arm driving module respectively; The motor, in a first state, outputs a first voltage signal; the first state includes: the motor is in a power-off state and the barrier is rotating; The short-circuit driving module sends a short-circuit control signal to the lower bridge arm driving module when the motor outputs the first voltage signal; The lower bridge arm driving module is turned on under the control of the short-circuit control signal; when the lower bridge arm driving module is turned on, the motor is in an active short-circuit state and the barrier is braked.

2. The gate control circuit according to claim 1, characterized in that: The short-circuit driving module includes a first triode, a second triode and a first transistor; The first transistor is connected to the gate bus, the second transistor and the first transistor respectively; the second transistor is connected to the first transistor; the first transistor is connected to the gate bus and the lower bridge arm driving module respectively; When the motor outputs the first voltage signal, the first transistor is turned off, and the second transistor and the first transistor are both turned on; The short-circuit driving module generates the short-circuit control signal when the first transistor is turned on.

3. The gate control circuit according to claim 2, characterized in that: The collector of the first transistor is connected to the gate bus, the base of the second transistor and the source of the first transistor respectively; the base and emitter of the first transistor are connected; The collector of the second transistor is connected to the gate of the first transistor; the base and emitter of the second transistor are connected; The source of the first transistor is connected to the gate bus; the drain of the first transistor is connected to the lower bridge arm driving module.

4. The gate control circuit according to claim 3, characterized in that: The short-circuit driving module also includes a first diode; The anode of the first diode is connected to the drain of the first transistor; the cathode of the first diode is connected to the lower bridge arm driving module; When the motor outputs the first voltage signal, the first diode is turned on.

5. The gate control circuit according to claim 4, characterized in that: The gate control circuit also includes a power supply module and a control module; The power supply module is connected to the gate busbar; the control module is connected to the upper bridge arm driving module, the lower bridge arm driving module and the short circuit driving module respectively; The power supply module is used to supply power to the gate control circuit; The control module sends a first control signal to the short-circuit driving module when the motor is in a working state; and sends a second control signal to the upper bridge arm driving module and the lower bridge arm driving module; The short-circuit driving module is disconnected under the control of the first control signal; The upper bridge arm driving module and the lower bridge arm driving module drive the motor to operate under the control of the second control signal.

6. The barrier gate control circuit according to claim 5, characterized in that: The short-circuit driving module further includes a first resistor, a second resistor, a third resistor, a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor, an eighth resistor and a first capacitor; The first resistor is connected between the control module and the base of the first transistor; the second resistor is connected to the base and emitter of the first transistor respectively; The collector of the first transistor is connected between the gate bus and the source of the first transistor through the third resistor; the gate of the first transistor is connected to the collector of the second transistor through the fourth resistor; the drain of the first transistor is connected to the anode of the first diode through the fifth resistor; One end of the sixth resistor is connected between the third resistor and the source of the first transistor, and the other end of the sixth resistor is connected to the gate of the first transistor; one end of the first capacitor is connected between the third resistor and the sixth resistor, and the other end of the first capacitor is connected between the sixth resistor and the gate of the first transistor; The seventh resistor is connected between the collector of the first transistor and the base of the second transistor; the eighth resistor is connected to the base and emitter of the second transistor respectively.

7. The gate control circuit according to claim 5, characterized in that: The gate control circuit also includes a circuit parameter detection module and a trigger module; The trigger module is connected between the control module and the upper bridge arm driving module; the circuit parameter detection module is connected to the gate bus and the trigger module respectively; The circuit parameter detection module detects a first circuit parameter in the barrier control circuit when the motor is in a working state; and sends a third control signal to the trigger module when the first circuit parameter satisfies a preset magnitude relationship with a circuit parameter threshold; The trigger module controls the upper bridge arm driving module to be disconnected under the control of the third control signal; When the upper bridge arm driving module is disconnected and the lower bridge arm driving module is turned on, the motor is in an active short-circuit state and the barrier is braked.

8. The gate control circuit according to claim 7, characterized in that: The trigger module includes a third triode, a fourth triode and a second transistor; The third transistor is connected to the circuit parameter detection module and the fourth transistor respectively; the fourth transistor is connected to the second transistor; the second transistor is connected between the control module and the upper bridge arm driving module; Under the control of the third control signal, the third transistor is turned on, the fourth transistor is turned off, and the second transistor is turned on.

9. The gate control circuit according to claim 8, characterized in that: The base of the third triode is connected to the circuit parameter detection module; the base and emitter of the third triode are connected; the collector of the third triode is respectively connected to the collector of the fourth triode, the base of the fourth triode and the gate of the second transistor; the emitter of the third triode is connected to the emitter of the fourth triode; The collector of the fourth transistor is connected to the gate of the second transistor; The gate and source of the second transistor are connected; the drain of the second transistor is connected between the control module and the upper bridge arm driving module.

10. The gate control circuit according to claim 9, characterized in that: The trigger module also includes a second diode; The cathode of the second diode is connected to the drain of the second transistor; the anode of the second diode is connected between the control module and the upper bridge arm driving module; Under the control of the third control signal, the second diode is turned on.

11. The gate control circuit according to claim 7, characterized in that: The circuit parameter detection module includes an input voltage detection unit and a first comparison unit; The input voltage detection unit is connected to the power supply module and the first comparison unit respectively; the first comparison unit is connected to the trigger module; The input voltage detection unit detects the input voltage of the power supply module; and sends the input voltage to the first comparison unit; The first comparison unit compares the input voltage with a reference voltage; and sends the third control signal to the trigger module when the input voltage is less than the reference voltage.

12. The barrier gate control circuit according to claim 7, characterized in that: The circuit parameter detection module includes a bus circuit parameter detection unit and a second comparison unit; The bus circuit parameter detection unit is connected to the gate bus and the second comparison unit respectively; the second comparison unit is connected to the trigger module; The bus circuit parameter detection unit determines a detection voltage according to the detected bus circuit parameter; and sends the detection voltage to the second comparison unit; The second comparison unit compares the detection voltage with a reference voltage; and sends the third control signal to the trigger module when the detection voltage is greater than the reference voltage.

13. A gate control method, characterized in that: Applicable to a gate control circuit as claimed in any one of claims 1 to 12; the method comprising: When the motor is in a power-off state and the barrier gate rotates, generating a first voltage signal; generating a short-circuit control signal based on the first voltage signal; Based on the short-circuit control signal, the motor is controlled to be in an active short-circuit state, and the barrier brake is controlled.

14. The gate control method according to claim 13, characterized in that: The method further comprises: When the motor is in a working state, detecting a first circuit parameter in the barrier control circuit; When the first circuit parameter satisfies a preset size relationship with a circuit parameter threshold, the motor is controlled to be in an active short-circuit state, and the barrier brake is controlled.

Citation Information

Patent Citations

  • Control method and system for active short circuit of electric control system of electric vehicle

    CN119189684A