Barrier Gate Control Circuit and Barrier Gate Control Method
By designing circuit parameter detection module and trigger module in the gate control circuit, timely judgment and response to poor operating status is achieved, timely braking of the gate is solved, and dangerous problems caused by bad operating status in the gate control system are solved.
Patent Information
- Application Number
- CN202411979085.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2025-05-30
- Estimated Expiration
- 2044-12-30
AI Technical Summary
In the gate control system, when there is a bad operating state (such as power loss, overcurrent, overvoltage, etc.), it is difficult to control the gate brake in time, resulting in the gate rod falling suddenly, causing dangerous accidents to smash the car or hit people.
Design a gate control circuit, including circuit parameter detection module, trigger module, upper bridge arm drive module, lower bridge arm drive module, motor and gate. By detecting the circuit parameters, we judge whether it is in a bad operating state, and send a control signal when it is reached, controlling the upper bridge arm drive module to be disconnected, resulting in the motor being in an active short-circuit state, thereby achieving braking of the gate.
It realizes that when the gate control circuit has a bad operating state, the gate brake is controlled in time, reducing the risk of gate smashing cars or people.
Smart Images

Figure CN119420236B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of barrier control, and in particular, to a barrier control circuit and a barrier control method. Background Art
[0002] During the operation of a barrier control system, certain abnormal states may occur, such as power failure, overcurrent, overvoltage, etc. Once such an abnormal operating state occurs in this special motor control system of the barrier, it is possible for the barrier rod to suddenly fall. Especially for special barriers such as springless barriers, since there is no spring pulling, once an uncontrollable fall occurs, the falling speed will be very fast, and such a fast speed will cause extremely dangerous car or person smashing accidents. Therefore, it is particularly necessary to timely control the braking of the barrier when an abnormal operating state occurs in the barrier control system. Summary of the Invention
[0003] The purpose of the embodiments of this application is to provide a barrier control circuit and a barrier control method to solve the problem that it is difficult to timely control the braking of the barrier when an abnormal operating state occurs in the barrier control circuit.
[0004] To solve the above technical problems, the embodiments of this application are implemented as follows:
[0005] On the one hand, the embodiments of this application provide a barrier control circuit, including a circuit parameter detection module, a trigger module, an upper bridge arm drive module, a lower bridge arm drive module, a motor, and a barrier; wherein,
[0006] The barrier is connected between the upper bridge arm drive module and the lower bridge arm drive module through a barrier bus; both the upper bridge arm drive module and the lower bridge arm drive module are connected to the motor; the trigger module is connected to the upper bridge arm drive module; the circuit parameter detection module is respectively connected to the barrier bus and the trigger module;
[0007] 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 first control signal to the trigger module when a preset magnitude relationship is satisfied between the first circuit parameter and a circuit parameter threshold;
[0008] The trigger module controls the disconnection of the upper bridge arm drive module under the control of the first control signal; when the upper bridge arm drive module is disconnected and the lower bridge arm drive module is conducting, the motor is in an active short - circuit state, and the barrier brakes.
[0009] On the other hand, the embodiments of this application provide a barrier control method, which is applied to the above - mentioned barrier control circuit; the method includes:
[0010] When the motor is in the working state, detect the first circuit parameter in the gate control circuit;
[0011] When the preset size relationship is satisfied between the first circuit parameter and the circuit parameter threshold, control the motor to be in the active short - circuit state and control the gate to brake.
[0012] On the other hand, an embodiment of the present application further provides an electronic device, including a processor; and a memory arranged to store computer - executable instructions, the computer - executable instructions being configured to be executed by the processor, and the computer - executable instructions being executed by the processor to implement the above - mentioned gate control method.
[0013] On the other hand, an embodiment of the present application provides a storage medium for storing computer - executable instructions, and the computer - executable instructions implement the above - mentioned gate control method when being executed by a processor.
[0014] On the other hand, an embodiment of the present application provides a computer program product, the computer program product includes a computer program, and the computer program implements the above - mentioned gate control method when being executed by a processor.
[0015] With the gate control circuit provided by the embodiment of the present application, the gate is connected between the upper - bridge - arm driving module and the lower - bridge - arm driving module through a gate bus. Both the upper - bridge - arm driving module and the lower - bridge - arm driving module are connected to the motor, the triggering module is connected to the upper - bridge - arm driving module, and the circuit parameter detection module is respectively connected to the gate bus and the triggering module. Among them, the circuit parameter detection module can detect the first circuit parameter in the gate control circuit when the motor is in the working state, and send a first control signal to the triggering module when the preset size relationship is satisfied between the first circuit parameter and the circuit parameter threshold. It realizes the effect of judging in real time whether the gate control circuit has an abnormal operating state based on the set circuit parameter threshold, which is beneficial to the timely discovery of the abnormal operating state of the gate control circuit. And, the triggering module can control the upper - bridge - arm driving module to disconnect under the control of the first control signal. At this time, the lower - bridge - arm driving module can still conduct cyclically under the control of the preset control logic. Since the upper - bridge - arm driving module is always in the disconnected state, once the lower - bridge - arm driving module conducts and the stator winding of the motor forms a closed loop, the motor will be in the active short - circuit state. At this time, the back - electromotive - force energy generated by the motor will be released through the stator winding, and a corresponding braking torque will be generated at the output end of the motor, causing the gate to brake. It can be seen that this technical solution can, through the hardware circuit, achieve the effect of timely controlling the gate to brake when the gate control circuit has an abnormal operating state, effectively reducing the risk of the gate hitting a vehicle or a person. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] To more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments described in the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0017] Figure 1 It is a schematic block diagram of a gate control circuit according to an embodiment of the present application;
[0018] Figure 2 It is a schematic block diagram of a gate control circuit according to another embodiment of the present application;
[0019] Figure 3 It is a schematic block diagram of a gate control circuit according to another embodiment of the present application;
[0020] Figure 4 It is a schematic structural diagram of a pre-driving unit according to an embodiment of the present application;
[0021] Figure 5 It is a schematic structural diagram of a trigger module according to an embodiment of the present application;
[0022] Figure 6 It is a schematic structural diagram of a circuit parameter detection module according to an embodiment of the present application;
[0023] Figure 7 It is a schematic structural diagram of a circuit parameter detection module according to another embodiment of the present application;
[0024] Figure 8 It is a schematic structural diagram of a circuit parameter detection module according to another embodiment of the present application;
[0025] Figure 9 It is a schematic block diagram of a gate control circuit according to another embodiment of the present application;
[0026] Figure 10 It is a schematic structural diagram of a short-circuit driving module according to an embodiment of the present application;
[0027] Figure 11 It is a schematic flow chart of a gate control method according to an embodiment of the present application;
[0028] Figure 12 It is a schematic block diagram of an electronic device according to an embodiment of the present application. Specific embodiments
[0029] Embodiments of the present application provide a barrier control circuit and a barrier control method, which are used to solve the problem that it is difficult to control the braking of the barrier in time when the barrier control circuit is in an abnormal operating state currently.
[0030] In order to enable those skilled in the art to better understand the technical solutions in the present application, the following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
[0031] Figure 1 is a schematic block diagram of a barrier control circuit according to an embodiment of the present application. As Figure 1 shown, the barrier control circuit includes a circuit parameter detection module 10, a trigger module 20, an upper bridge arm driving module 30, a lower bridge arm driving module 40, a motor 50, and a barrier 60. Among them, the barrier 60 is connected between the upper bridge arm driving module 30 and the lower bridge arm driving module 40 through a barrier bus. Both the upper bridge arm driving module 30 and the lower bridge arm driving module 40 are connected to the motor 50. The trigger module 20 is connected to the upper bridge arm driving module 30. The circuit parameter detection module 10 is respectively connected to the barrier bus and the trigger module 20.
[0032] Among them, the barrier, also known as a vehicle stopper, is a dedicated device for managing the access of vehicle passages on roads to restrict the driving of motor vehicles. It is widely used in scenarios such as highway toll stations and parking lots to manage the entry and exit of vehicles. The barrier bus can include a first bus and a second bus, and the polarities of the first bus and the second bus are different. In this embodiment, taking the polarity of the first bus as positive and the polarity of the second bus as negative as an example, the connection relationships between the components in the barrier control circuit are described in detail.
[0033] As Figure 1 shown, the barrier 60 is connected to the upper bridge arm driving module 30 through the first bus 610 and is connected to the lower bridge arm driving module 40 through the second bus 620. The upper bridge arm driving module 30 and the lower bridge arm driving module 40 are connected, and the circuit parameter detection module 10 is respectively connected to the first bus 610 and the second bus 620. Among them, the bus voltage can be detected at the first bus. The bus current can be sampled at the second bus.
[0034] In this embodiment, the circuit parameter detection module can detect the first circuit parameter in the gate control circuit when the motor is in the working state. When the first circuit parameter and the circuit parameter threshold satisfy a preset magnitude relationship, a first control signal is sent to the trigger module. The trigger module can control the upper bridge arm driving module to disconnect under the control of the first control signal. When the upper bridge arm driving module is disconnected and the lower bridge arm driving module is conducting, the motor is in the active short-circuit state and the gate brakes.
[0035] Among them, the first circuit parameter can include the bus voltage, bus current, etc. The reference voltage can be set as the circuit parameter threshold. Based on this, when the first circuit parameter is the bus voltage, the preset magnitude relationship between the bus voltage and the reference voltage can be that the bus voltage is greater than the reference voltage. In this way, by detecting the bus voltage and comparing it with the circuit parameter threshold, it is possible to accurately determine whether the gate control circuit has an overvoltage, an abnormal operating state. When the first circuit parameter is the bus current, the detected bus current needs to be first converted into a detection voltage. The preset magnitude relationship between the detection voltage and the reference voltage can be that the detection voltage is greater than the reference voltage. In this way, by detecting the bus current, converting it into a detection voltage, and comparing it with the circuit parameter threshold, it is possible to accurately determine whether the gate control circuit has an overcurrent, an abnormal operating state.
[0036] Optionally, the motor can be a three-phase motor, and the upper bridge arm driving module and the lower bridge arm driving module can form a three-phase bridge for driving the three-phase motor. Applied in the gate control circuit, the three-phase motor can be a brushless DC motor.
[0037] Using the gate control circuit provided by the embodiment of the present application, the gate is connected between the upper bridge arm driving module and the lower bridge arm driving module through the gate bus. Both the upper bridge arm driving module and the lower bridge arm driving module are connected to the motor. The triggering module is connected to the upper bridge arm driving module, and the circuit parameter detection module is respectively connected to the gate bus and the triggering module. Among them, the circuit parameter detection module can detect the first circuit parameter in the gate control circuit when the motor is in the working state, and send a first control signal to the triggering module when the first circuit parameter and the circuit parameter threshold satisfy a preset magnitude relationship. The effect of real-time judgment on whether the gate control circuit appears in an abnormal operating state based on the set circuit parameter threshold is achieved, which is beneficial to the timely discovery of the abnormal operating state of the gate control circuit. And, the triggering module can control the upper bridge arm driving module to disconnect under the control of the first control signal. At this time, the lower bridge arm driving module can still conduct cyclically under the control of the preset control logic. Since the upper bridge arm driving module is always in the disconnected state, once the lower bridge arm driving module conducts and the motor stator winding forms a closed loop, the motor will be in the active short-circuit state. At this time, the back electromotive force energy generated by the motor will be released through the stator winding, and a corresponding braking torque will be generated at the motor output end, causing the gate to brake. It can be seen that this technical solution can realize the effect of timely controlling the gate to brake when the gate control circuit appears in an abnormal operating state through the hardware circuit, effectively reducing the risk of the gate hitting a vehicle or a person.
[0038] In one embodiment, as Figure 2 shown, the gate control circuit includes a power supply module 70 and a control module 80. The power supply module 70 is connected to the gate bus. The control module 80 is respectively connected to the upper bridge arm driving module 30 and the lower bridge arm driving module 40. Among them, the triggering module 20 is connected between the control module 80 and the upper bridge arm driving module 30.
[0039] To make the connection relationship of each component clearer, Figure 2 the gate 60 is not shown in the gate control circuit shown. In addition, since Figure 2 is a schematic block diagram obtained by refining the gate control circuit on the basis of Figure 1 , therefore, Figure 2 the connection relationship between the components with the same reference numerals in Figure 1 please refer to Figure 1 , which will not be elaborated here.
[0040] Among them, the power supply module 70 may include a power supply 710 and a third diode D7. As Figure 2As shown in the figure, the power supply 710 is respectively connected to the second bus 620 and the anode of the third diode D7. The cathode of the third diode D7 is connected to the first bus 610. In this way, the power supply and the first bus are separated by the third diode, which can effectively prevent the energy of reverse power generation during the operation of the motor from flowing back into the power supply through the barrier gate bus, thus avoiding direct damage to the power supply caused by excessive bus voltage.
[0041] Optionally, a power interface can be set only at the power supply position in the barrier gate control circuit. In this way, the external power supply can be connected to the barrier gate control circuit through this power interface, achieving the effect of powering the barrier gate control circuit with the external power supply, which is beneficial to reducing the design complexity and maintenance difficulty of the barrier gate control circuit.
[0042] In this embodiment, the power supply module is used to supply power to the barrier gate control circuit. The control module can send a second control signal to the upper bridge arm driving module and the lower bridge arm driving module when the motor is in the working state. The upper bridge arm driving module and the lower bridge arm driving module can drive the motor to work under the control of the second control signal.
[0043] Among them, when the power supply module supplies power normally, the motor is in the working state; when the power supply module stops supplying power, the motor is in the power-off state. Optionally, the control module can use a single-chip microcomputer, such as an MCU (Microcontroller Unit, micro control unit).
[0044] The control module provided in this embodiment is the control core of the barrier gate control circuit. The upper bridge arm driving module and the lower bridge arm driving module will be turned on and off cyclically under the control of the second control signal output by the control module to drive the motor to work. In this technical solution, by connecting the trigger module to the upper bridge arm driving module, the trigger module can trigger the upper bridge arm driving module to disconnect when the barrier gate control circuit appears in an abnormal operating state, so as to indirectly realize the active short circuit of the motor. In the process of realizing the active short circuit of the motor, complex calculations do not need to be carried out through the control module. Therefore, it is beneficial to reduce the algorithm complexity of the control module, thereby reducing the maintenance difficulty of the control module.
[0045] In one embodiment, the barrier gate control circuit may include a pre-driving module. The pre-driving module is connected between the control module and the lower bridge arm driving module, and is also connected between the trigger module and the upper bridge arm driving module.
[0046] In this embodiment, taking the drive of a three-phase motor as an example, the connection relationship of the pre-driving module in the barrier gate control circuit is described in detail. As 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.
[0047] Optionally, the six transistors from the third transistor Q3 to the eighth transistor Q8 can all be NMOS transistors; alternatively, 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.
[0048] Figure 3 Taking the case where all six transistors are NMOS transistors as an example, the connection relationships among the upper-bridge-arm driving module, the lower-bridge-arm driving module, and the three-phase motor are introduced in detail. Among them, the drains of the third transistor Q3, the fourth transistor Q4, and the fifth transistor Q5 are connected and connected to the first bus 610; the sources of the sixth transistor Q6, the seventh transistor Q7, and the eighth transistor Q8 are connected and connected to the second bus 620; the second bus 620 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 line 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 line 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 line 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 a twenty-first resistor R21, and a twenty-second resistor R22 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 a twenty-third resistor R23, and a twenty-fourth resistor R24 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 a twenty-fifth resistor R25, and a twenty-sixth resistor R26 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 a twenty-seventh resistor R27, and a twenty-eighth resistor R28 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 a twenty-ninth resistor R29, and a thirtieth resistor R30 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 a thirty-first resistor R31, and a thirty-second resistor R32 is connected between the gate and the source of the eighth transistor Q8.
[0049] As Figure 3As shown, the pre-driving module 90 may include a first pre-driving unit 910, a second pre-driving unit 920, and a third pre-driving unit 930. Among them, the first pre-driving unit 910 is respectively connected to the H1 signal output terminal and the L1 signal output terminal of the control module 80, and is used to receive the H1 signal and the L1 signal output by the control module, convert the H1 signal into an HO1 signal, and convert the L1 signal into an LO1 signal. Thus, through the HO1 signal output terminal on the first pre-driving unit, the HO1 signal is sent to the third transistor Q3, and through the LO1 signal output terminal on the first pre-driving unit, the LO1 signal is sent to the sixth transistor Q6.
[0050] The second pre-driving unit 920 is respectively connected to the H2 signal output terminal and the L2 signal output terminal of the control module 80, and is used to receive the H2 signal and the L2 signal output by the control module, convert the H2 signal into an HO2 signal, and convert the L2 signal into an LO2 signal. Thus, through the HO2 signal output terminal on the second pre-driving unit, the HO2 signal is sent to the fourth transistor Q4, and through the LO2 signal output terminal on the second pre-driving unit, the LO2 signal is sent to the seventh transistor Q7.
[0051] The third pre-driving unit 930 is respectively connected to the H3 signal output terminal and the L3 signal output terminal of the control module 80, and is used to receive the H3 signal and the L3 signal output by the control module, convert the H3 signal into an HO3 signal, and convert the L3 signal into an LO3 signal. Thus, through the HO3 signal output terminal on the third pre-driving unit, the HO3 signal is sent to the fifth transistor Q5, and through the LO3 signal output terminal on the third pre-driving unit, the LO3 signal is sent to the eighth transistor Q8.
[0052] As Figure 3 shown, the trigger module 20 is connected between the H1 signal output terminal of the control module 80 and the first pre-driving unit 910, and is connected between the H2 signal output terminal of the control module 80 and the second pre-driving unit 920, and is connected between the H3 signal output terminal of the control module 80 and the third pre-driving unit 930. The circuit parameter detection module 10 is connected to the anode of the third diode D7.
[0053] Among them, at the anode of the third diode, the input voltage of the power supply can be detected. If the reference voltage is set as the circuit parameter threshold, then, when the first circuit parameter is the input voltage of the power supply, the preset magnitude relationship between the input voltage and the reference voltage can be that the input voltage is less than the reference voltage. In this way, by detecting the input voltage and comparing it with the circuit parameter threshold, it is possible to accurately determine whether the barrier control circuit has the bad operating state of power failure.
[0054] It should be noted that Figure 3 is at Figure 2A schematic block diagram obtained by refining the gate control circuit on the basis of Figure 3 in Figure 2 For the connection relationship between components with the same reference numerals in Figure 2 , please refer to
[0055] 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 a preset 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 gate to work through the rotating three-phase motor. When the motor is in the working state and the first circuit parameter in the gate control circuit satisfies a preset magnitude relationship with the circuit parameter threshold, the circuit parameter detection module can send a first control signal to the trigger module. The trigger module can control the upper arm driving module to disconnect under the control of the first control signal. Since the lower arm driving module can still conduct cyclically under the control of the preset control logic at this time, when the upper arm driving module disconnects, once the lower arm driving module conducts (that is, one or more of the lower transistors conduct), the motor stator winding forms a closed loop, and the motor will be in the active short-circuit state. At this time, the back electromotive force energy generated by the motor will be released through the stator winding, and a corresponding braking torque will be generated at the motor output end, causing the gate to brake.
[0056] It can be understood that although the lower arm driving module conducts cyclically under the control of the preset control logic, that is, there is a situation where the lower arm driving module disconnects. However, on the one hand, among the eight switching states of the three-phase bridge arms, only one state completely disconnects each transistor in the lower arm driving module. At this time, the three-phase motor will achieve three-phase short circuit through the upper transistors. It can be seen that the probability of the lower arm driving module being completely disconnected is very small. On the other hand, even if the situation where the lower arm driving module is completely disconnected occurs, since the control logic conducts the upper arm driving module and the lower arm driving module cyclically, the situation where the lower arm driving module is completely disconnected will not last long. Once any one or more transistors in the lower arm driving module conduct, the motor can be in the active short-circuit state, thus causing the gate to brake.
[0057] In one embodiment, such as Figure 4As shown, the first pre-driving unit may include a motor driving element U1. The operating voltage of U1 is 12V (volts). Pin 1 of U1 is connected to the 12V operating 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 operating voltage through the fourth capacitor C4. Pin 5 of U1 is the LO1 signal output terminal. Pin 6 of U1 is connected to both the U phase of the three-phase motor and the fifth capacitor C5. Pin 7 of U1 is the HO1 signal output terminal. Pin 8 of U1 and the fifth capacitor C5 are both connected to the cathode of the fourth diode D8. The anode of the fourth diode D8 is connected to the 12V operating voltage through the thirty-third resistor R33.
[0058] The second pre-driving unit may include a motor driving element U2. The operating voltage of U2 is 12V. Pin 1 of U2 is connected to the 12V operating 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 operating voltage through the sixth capacitor C6. Pin 5 of U2 is the LO2 signal output terminal. Pin 6 of U2 is connected to both the V phase of the three-phase motor and the seventh capacitor C7. Pin 7 of U2 is the HO2 signal output terminal. Pin 8 of U2 and the seventh capacitor C7 are both connected to the cathode of the fifth diode D9. The anode of the fifth diode D9 is connected to the 12V operating voltage through the thirty-fourth resistor R34.
[0059] The third pre-driving unit may include a motor driving element U3. The operating voltage of U3 is 12V. Pin 1 of U3 is connected to the 12V operating 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 operating voltage through the eighth capacitor C8. Pin 5 of U3 is the LO3 signal output terminal. Pin 6 of U2 (should be Pin 6 of U3) is connected to both the W phase of the three-phase motor and the ninth capacitor C9. Pin 7 of U3 is the HO3 signal output terminal. Pin 8 of U3 and the ninth capacitor C9 are both connected to the cathode of the sixth diode D10. The anode of the sixth diode D10 is connected to the 12V operating voltage through the thirty-fifth resistor R35.
[0060] It should be noted that Figure 4 only shows the internal circuit conditions of the three pre-driving units, namely the first pre-driving unit, the second pre-driving unit, and the third pre-driving unit. Other components in the barrier control circuit are not shown in Figure 4 Therefore, the connections with other components in the barrier control circuit are characterized by labeling at the suspended connection points. In Figure 4 the two endpoints with the same label are connected. Figure 3 In
[0061] Among them, the fifth capacitor C5, the seventh capacitor C7, and the ninth capacitor C9 are bootstrap capacitors.
[0062] In this embodiment, 12V supplies power to the motor driving elements U1, U2, and U3 on the one hand, and on the other hand, charges the bootstrap capacitor C5 through R33 and D8, charges the bootstrap capacitor C7 through R34 and D9, and charges the bootstrap capacitor C9 through R35 and D10. R33, R34, and R35 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 flowing back to 12V reversely.
[0063] In this embodiment, when the motor is in the working state, since the driving ability 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 amplify the power of the second control signal through the motor driving element.
[0064] In Figure 4 In the shown circuit, the motor driving element U1 can amplify the input H1 signal proportionally to the HO1 signal and output it, and can amplify the input L1 signal proportionally to the LO1 signal and output it; the motor driving element U2 can amplify the input H2 signal proportionally to the HO2 signal and output it, and can amplify the input L2 signal proportionally to the LO2 signal and output it; the motor driving element U3 can amplify the input H3 signal proportionally to the HO3 signal and output it, and can amplify the input L3 signal proportionally to the LO3 signal and output it.
[0065] In addition, the 3rd pin of the motor driving element U1 is also used to connect to the output terminal of the L1_Self_IN signal of the short-circuit driving module, the 3rd pin of the motor driving element U2 is also used to connect to the output terminal of the L2_Self_IN signal of the short-circuit driving module, and the 3rd pin of the motor driving element U3 is also used to connect to the output terminal of the L3_Self_IN signal of the short-circuit driving module. Among them, the output terminals of the L1_Self_IN signal, the L2_Self_IN signal, and the L3_Self_IN signal are all used to output short-circuit control signals. In this way, when the motor is in the power-off state and the barrier rotates, the motor driving element U1 is mainly used to amplify the short-circuit control signal output by the output terminal of the L1_Self_IN signal proportionally to the LO1 signal and output it. Similarly, the motor driving element U2 is mainly used to amplify the short-circuit control signal output by the output terminal of the L2_Self_IN signal proportionally to the LO2 signal and output it, and the motor driving element U3 is mainly used to amplify the short-circuit control signal output by the output terminal of the L3_Self_IN signal proportionally to the LO3 signal and output it.
[0066] In one embodiment, the trigger module includes a first triode Q9, a second triode Q10, and a first transistor Q1. Among them, the first triode is respectively connected to the circuit parameter detection module and the second triode. The second triode is connected to the first transistor. The first transistor is connected to the upper bridge arm driving module. In this embodiment, under the control of the first control signal, the first triode conducts, the second triode disconnects, and the first transistor conducts.
[0067] In one embodiment, the base of the first triode is connected to the circuit parameter detection module. The base and the emitter of the first triode are connected. The collector of the first triode is respectively connected to the collector of the second triode, the base of the second triode, and the gate of the first transistor. The emitter of the first triode is connected to the emitter of the second triode. The collector of the second triode is connected to the gate of the first transistor. The gate and the source of the first transistor are connected. The drain of the first transistor is connected to the upper bridge arm driving module. Among them, the first transistor is an NMOS transistor.
[0068] In one embodiment, the trigger module may include a first diode. The cathode of the first diode is connected to the drain of the first transistor. The anode of the first diode is connected to the upper bridge arm driving module. In this way, under the control of the first control signal, the first diode conducts.
[0069] In one embodiment, the trigger module may include a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a fifth resistor R5, a sixth resistor R6, a seventh resistor R7, and an eighth resistor R8.
[0070] As Figure 5 shown, the first resistor R1 is connected between the base of the first triode Q9 and the circuit parameter detection module. The second resistor R2 is respectively connected to the base and the emitter of the first triode Q9. The collector of the first triode Q9 is sequentially connected to the collector of the second triode Q10 through the third resistor R3 and the fourth resistor R4. The fifth resistor R5 is connected between the collector of the first triode Q9 and the base of the second triode Q10. One end of the sixth resistor R6 is connected to the base of the second triode Q10, and the other end of the sixth resistor R6 is connected between the emitter of the first triode Q9 and the emitter of the second triode Q10. The seventh resistor R7 is connected between the gate of the first transistor Q1 and the collector of the second triode Q10. The eighth resistor R8 is respectively connected to the gate and the source of the first transistor Q1.
[0071] Among them, the first resistor R1 can be connected to the circuit parameter detection module through a diode. As Figure 5As shown, the first resistor R1 is respectively connected to the cathodes of the seventh diode D11, the eighth diode D12, and the ninth diode D13. The anode of the seventh diode D11 is used to connect to the VIN_Fault signal output terminal of the circuit parameter detection module. The anode of the eighth diode D12 is used to connect to the VBUS_Fault signal output terminal of the circuit parameter detection module. The anode of the ninth diode D13 is used to connect 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 first control signal to the trigger module when the motor is in the working state and the input voltage in the gate control circuit satisfies a preset magnitude relationship with the reference voltage. The VBUS_Fault signal output terminal can be used to output a first control signal to the trigger module when the motor is in the working state and the bus voltage in the gate control circuit satisfies a preset magnitude relationship with the reference voltage. The I_Fault signal output terminal can be used to output a first control signal to the trigger module when the motor is in the working state and the detected voltage corresponding to the bus current in the gate control circuit satisfies a preset magnitude relationship with the reference voltage.
[0072] As Figure 5 shown, the emitter of the first triode Q9 is grounded, and the third resistor R3 is connected to the 5V working voltage. The MOS_Control signal can be output at the collector of the second triode Q10. The MOS_Control signal is transmitted to the gate of the first transistor Q1 through the seventh resistor R7, and the source of the first transistor Q1 is grounded. The drain of the first transistor Q1 is respectively connected to the cathodes of the first diode D1, the first diode D2, and the first diode D3. The anode of the first diode D1 is used to connect to the H1 signal output terminal of the control module. The anode of the first diode D2 is used to connect to the H2 signal output terminal of the control module. The anode of the first diode D3 is used to connect to the H3 signal output terminal of the control module.
[0073] It should be noted that Figure 5 other components in the gate control circuit are not shown. Therefore, in the way of labeling at the hanging ends of the connecting wires, the connections between each device in the trigger module and other components in the gate control circuit are characterized, as well as the connections that are far apart in the trigger module. In Figure 5 it, the two endpoints with the same label in Figure 3 are connected.
[0074] In this embodiment, when the motor is in the working state and the first circuit parameter in the gate control circuit satisfies a preset magnitude relationship with the circuit parameter threshold, the first control signal sent by the circuit parameter detection module to the trigger 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, after the high-level signal is divided by R1 and R2, it can drive Q9 to conduct. At this time, the collector of Q9 is equivalent to being grounded, and the input voltage of R5 is approximately 0, so Q10 cannot be driven to turn on, that is, Q10 is disconnected. The 5V working voltage outputs a signal MOS_Control through R4. This signal MOS_Control is 5V and is a valid signal. In the case where the above three signals are all low-level signals, the low-level signal cannot drive Q9 to turn on, that is, Q9 is disconnected. At this time, the 5V working voltage will be divided by R3, R5, and then R6, and used to drive Q10 to conduct. When Q10 conducts, the collector of Q10 is equivalent to being grounded. At this time, the 5V working voltage goes from R4 to the ground, and the signal MOS_Control is nearly 0V, which is an invalid signal.
[0075] When the signal MOS_Control is a valid signal, this signal drives Q1 to conduct after being divided by R7 and R8. When Q1 conducts, it is equivalent to the drain and source of Q1 being short-circuited to the ground. At this time, the H1 signal output by the control module is short-circuited to the ground through D1, the H2 signal output by the control module is short-circuited to the ground through D2, and the H3 signal output by the control module is short-circuited to the ground through D3. It is equivalent to that the control signal used to drive the upper bridge transistor becomes an invalid signal. Since the control signals (including the L1 signal, the L2 signal, and the L3 signal) output by the control module and used to drive the lower bridge transistor are not affected, the lower bridge transistors of the three-phase bridge can be normally driven to conduct. Once the lower bridge transistors conduct, the three phases of the motor will form a three-phase active short circuit through the lower bridge transistors.
[0076] When the signal MOS_Control is an invalid signal, it means that the gate control circuit does not have an abnormal operation situation. This signal cannot drive Q1 to conduct after being divided by R7 and R8. When Q1 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. Moreover, since the diodes are reverse cut-off, the three signals are separated from each other and will not interfere with each other, and the gate control circuit can work normally.
[0077] 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 respectively connected to the power supply module and the first comparison unit. 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 a reference voltage. When the input voltage is less than the reference voltage, a first control signal is sent to the trigger module.
[0078] Among them, the input voltage of the power supply module is the input voltage of the power supply, and this input voltage can be measured at the anode of the third diode D7.
[0079] In one embodiment, the input voltage detection unit may include a first capacitor C1, a ninth resistor R9, a tenth resistor R10, and an eleventh resistor R11, and the first comparison unit may include a first comparator U13A.
[0080] As Figure 6 shown, the power supply module is sequentially connected to the first input terminal of the first comparator U13A through the ninth resistor R9 and the tenth resistor R10. One end of the eleventh resistor R11 is connected between the ninth resistor R9 and the tenth resistor R10, and the other end of the eleventh resistor R11 is grounded. One end of the first capacitor C1 is connected to the first input terminal of the first comparator U13A, and the other end of the first capacitor C1 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.
[0081] Among them, the input voltage VIN can be collected by connecting R9 to the anode of the third diode D7 in the power supply module, Figure 6 and the connection relationship is characterized by marking VIN at the suspended part of the connection line. 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 operating voltage, and pin 1 of U13A is the VIN_Fault signal output terminal.
[0082] In this embodiment, the VIN signal is divided by R9 and R11 to obtain the VIN1 signal, and then after RC filtering by R10 and C1, it is input to the "-" end of U13A. When the power supply is normally powered, the VIN1 signal is greater than 1.65V_REF, so U13A outputs a low-level signal; when the power supply loses power, the VIN signal does not exist, and at this time the VIN1 signal is less than 1.65V_REF, so U13A outputs a high-level signal.
[0083] 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 respectively connected to the barrier gate bus and the second comparison unit. The second comparison unit is connected to the trigger module. In this embodiment, the bus circuit parameter detection unit determines a detection voltage according to the detected bus circuit parameters and sends the detection voltage to the second comparison unit. The second comparison unit can compare the detection voltage with a reference voltage, and thus send a first control signal to the trigger module when the detection voltage is greater than the reference voltage.
[0084] Among them, the bus circuit parameters may include a bus voltage and a bus current. The bus circuit parameter detection unit can be used to detect the bus voltage and the bus current. When detecting the bus voltage, the bus circuit parameter detection unit can determine the detected bus voltage as the detection voltage. When detecting the bus current, the bus circuit parameter detection unit can determine a corresponding detection voltage according to the detected bus current.
[0085] When detecting the bus voltage, the bus circuit parameter detection unit may include a second capacitor C2, a twelfth resistor R12, a thirteenth resistor R13, and a fourteenth resistor R14, and the second comparison unit may include a second comparator U13B.
[0086] As Figure 7 shown, the barrier gate bus is sequentially connected to the first input terminal of the second comparator U13B through the twelfth resistor R12 and the thirteenth resistor R13. One end of the fourteenth resistor R14 is connected between the twelfth resistor R12 and the thirteenth resistor R13, and the other end of the fourteenth resistor R14 is grounded. One end of the second capacitor C2 is connected to the first input terminal of the second comparator U13B, and the other end of the second capacitor C2 is grounded. The second input terminal of the second comparator U13B is used to input a reference voltage 1.65V_REF, and the output terminal of the second comparator U13B is connected to the trigger module.
[0087] Among them, the bus voltage VBUS can be collected by connecting R12 to the first bus 610, Figure 7 and this connection relationship is characterized by marking VBUS at the suspended end of the connection line. The 5th pin of U13B is the first input terminal, the 6th pin of U13B is the second input terminal, the 4th pin of U13B is grounded, the 8th pin of U13B is connected to a 5V operating voltage, and the 7th pin of U13B is the VBUS_Fault signal output terminal.
[0088] In this embodiment, the VBUS signal is divided by R12 and R14 to obtain VBUS1, and then after RC filtering by R13 and C2, it is 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; while when the bus is over-voltage, at this time the VBUS signal is greater than 1.65V_REF, so U13B outputs a high-level signal.
[0089] When detecting the bus current, the bus circuit parameter detection unit may include a third capacitor C3, a fifteenth resistor R15, a sixteenth resistor R16, a seventeenth resistor R17, an eighteenth resistor R18, a nineteenth resistor R19, a twentieth resistor R20, and an operational amplifier U12A, and the second comparison unit may include a third comparator U7B.
[0090] As Figure 8 shown, the gate bus is connected to the first input terminal of the operational amplifier U12A through the fifteenth resistor R15, and is sequentially connected to the second input terminal of the operational amplifier U12A through the sixteenth resistor R16 and the seventeenth resistor R17. One end of the eighteenth resistor R18 is connected to the first input terminal of the operational amplifier U12A, and the other end of the eighteenth resistor R18 is used to input the reference voltage 1.65V_REF. The nineteenth resistor R19 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 of the third comparator U7B through the twentieth resistor R20 ( Figure 8 this connection relationship is characterized by marking Vcom at the suspended end of the connection line). One end of the third capacitor C3 is connected to the first input terminal of the third comparator U7B, and the other end of the third capacitor C3 is grounded. The second input terminal of the third comparator U7B is used to input the reference voltage 1.65V_REF, and the output terminal of the third comparator U7B is connected to the trigger module.
[0091] Among them, the bus current Icom can be collected by connecting R15 to the second bus 620, Figure 8 this connection relationship is characterized by marking Icom at the suspended end of the connection line. The 3rd pin of U12A is the first input terminal, the 2nd pin of U12A is the second input terminal, R16 is grounded, the 1st pin of U12A is the output terminal, the 4th pin of U12A is grounded, and the 8th pin of U12A is connected to the 5V working voltage.
[0092] In this embodiment, R16 is a sampling resistor, and the bus current Icom passing through R16 is converted into a differential voltage (i.e., the detection voltage) and input to the positive and negative terminals of U12A. Among them, the “+” terminal of U12A is connected to 1.65V_REF, and this voltage is mainly used to provide a DC bias; R15 and R18, R17 and R19 are the proportional resistors of the operational amplifier, which are used to adjust the amplification multiple of the operational amplifier, and the amplification multiple is equal to R18 / R15; the differential voltage amplified by the operational amplifier is output at terminal 1 of U12A, and after passing through the RC filtering of R20 and C3, it is input to the “+” terminal of U7B. Among them, the detected voltage value amplified by the operational amplifier is calculated as Vcom = R16 * Icom * (R18 / R15) + 1.65V_REF.
[0093] The detection voltage Vcom is input to the “+” terminal of the comparator U7B. When the value of Vcom is greater than 1.65V_REF at the “-” terminal of U7B, it means that the bus current is overcurrent. At this time, the output value I_Fault of U7B is high level; when the value of Vcom is less than 1.65V_REF at the “-” terminal of U7B, it means that the bus current is within the normal range. At this time, the output value I_Fault of U7B is low level.
[0094] By using the circuit parameter detection module and the trigger module provided in this embodiment, by setting electronic components such as resistors, capacitors, diodes, triodes, transistors, operational amplifiers, and comparators, and determining the connection relationships between the electronic components, it is possible to detect the first circuit parameter in the gate control circuit when the motor is in the working state. When the first circuit parameter satisfies a preset magnitude relationship with the circuit parameter threshold, a first control signal is sent to the trigger module. The trigger module can, under the control of the first control signal, control the three upper-bridge transistors of the three-phase bridge to disconnect. 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 off state, once one or more of the three lower-bridge transistors are turned on and the motor stator windings form a closed loop, the motor will be in the active short-circuit state. At this time, the back electromotive force energy generated by the motor will be released through the stator windings, and a corresponding braking torque will be generated at the motor output end, causing the gate to brake. Compared with the scheme of using a mechanical switch (such as a relay) 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 response speed of the electronic components is faster, and there will be no mis-touch or poor contact of the mechanical contacts, so it is more reliable. In addition, the service life of the electronic components is relatively long.
[0095] In one embodiment, the gate control circuit includes a short-circuit drive module 100. The short-circuit drive module is respectively connected to the gate bus and the lower-arm drive module.
[0096] In this embodiment, the motor can output a first voltage signal in the first state. The first state includes: the motor is in a power-off state and the gate rotates. 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. 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 is in an active short-circuit state and the gate brakes.
[0097] In this embodiment, when the motor is in a power-off state and the gate rotates, the motor will output a first voltage signal. The first voltage signal is the voltage signal generated by the motor during power generation. Through the connection relationship between the components in the gate control circuit, this voltage signal can be transmitted to the gate bus, resulting in an increase in the bus voltage, and thus causing overvoltage damage to the components connected to the gate bus. In response to this, in this 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. 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 stator windings of the motor form a closed loop, making 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 windings, the movement speed of the motor is inhibited, and the power generation energy of the motor will also be reduced accordingly, so that the voltage signal generated by the motor during power generation decreases. At the same time, a corresponding braking torque is generated at the output end of the motor, causing the gate to brake. It can be seen that this technical solution can, through the hardware circuit, achieve the effect of timely controlling the gate to brake when the motor is in a power-off state and the gate rotates. Moreover, during the braking process of the gate, both the voltage signal generated by the motor during power generation and the rotation speed of the gate decrease, thereby suppressing the rapid rise of the bus voltage, keeping the bus voltage always within a safe voltage range, avoiding the situation of overvoltage damage to the components connected to the gate bus, and improving the service life of the gate control circuit.
[0098] Such as Figure 9As shown, the short - circuit drive module 100 is respectively connected to the first bus 610 and the control module 80. The short - circuit drive module 100 is connected between the L1 signal output terminal of the control module 80 and the first pre - drive unit 910, between the L2 signal output terminal of the control module 80 and the second pre - drive unit 920, and between the L3 signal output terminal of the control module 80 and the third pre - drive unit 930. Based on this, when the motor outputs the first voltage signal, the short - circuit control signals are respectively sent to the first pre - drive unit, the second pre - drive unit, and the third pre - drive unit. The first pre - drive unit can convert the short - circuit control signal into an LO1 signal, and then send the LO1 signal to the sixth transistor Q6 through the LO1 signal output terminal on the first pre - drive unit, making the sixth transistor Q6 turn on; the second pre - drive unit can convert the short - circuit control signal into an LO2 signal, and then send the LO2 signal to the seventh transistor Q7 through the LO2 signal output terminal on the second pre - drive unit, making the seventh transistor Q7 turn on; the third pre - drive unit can convert the short - circuit control signal into an LO3 signal, and then send the LO3 signal to the eighth transistor Q8 through the LO3 signal output terminal on the third pre - drive unit, making the eighth transistor Q8 turn on. This causes 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 the active short - circuit state.
[0099] In this embodiment, when the motor is in the power - off state and the gate rotates, the current generated by the motor during power generation will flow back through the parasitic diodes inside the transistors of the upper and lower bridges and be fed back to the gate bus, causing the bus voltage to rise. In response to this, this technical solution can, based on the first voltage signal output by the motor, send a short - circuit control signal to the pre - drive module through the short - circuit drive module, so that the pre - drive module converts the short - circuit control signal into 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, and then making the motor in the active short - circuit state and the gate brake.
[0100] In Figure 9In the shown barrier gate control circuit, the control module can send a third control signal to the short-circuit drive module when the motor is in the working state. The short-circuit drive module can be disconnected under the control of the third control signal. At this time, 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 sent by the control module. In this embodiment, the control module is the control core of the barrier gate control circuit, but the premise for it to play a role is that there is power supply for operation. Once the motor is in the power-off state, it means that the power supply module in the barrier gate control circuit stops supplying power, then this control module will fail, that is, it cannot send any control signals. That is to say, the control module will stop sending the third control signal to the short-circuit drive module when the motor is in the power-off state; and stop sending the second control signal to the upper bridge arm drive module and the lower bridge arm drive module.
[0101] It should be noted that Figure 9 is a schematic block diagram obtained by refining the barrier gate control circuit on the basis of Figure 3 . Therefore, Figure 9 the connection relationships between the components with the same labels in Figure 3 please refer to Figure 3 , and will not be elaborated here.
[0102] In one embodiment, the short-circuit drive module includes a third triode Q11, a fourth triode Q12, and a second transistor Q2. Among them, the third triode is respectively connected to the barrier gate bus, the fourth triode, and the second transistor. The fourth triode is connected to the second transistor. The second transistor is respectively connected to the barrier gate bus and the lower bridge arm drive module.
[0103] In this embodiment, when the motor outputs a first voltage signal, the third triode is disconnected, and both the fourth triode and the second transistor are turned on. The short-circuit drive module generates a short-circuit control signal when the second transistor is turned on.
[0104] In one embodiment, the collector of the third triode is respectively connected to the barrier gate bus, the base of the fourth triode, and the source of the second transistor. The base and the emitter of the third triode are connected. The collector of the fourth triode is connected to the gate of the second transistor. The base and the emitter of the fourth triode are connected. The source of the second transistor is connected to the barrier gate bus. The drain of the second transistor is connected to the lower bridge arm drive module. Optionally, the second transistor is a PMOS transistor.
[0105] In one embodiment, the short - circuit driving module may include a second diode. The anode of the second diode is connected to the drain of the second transistor. The cathode of the second diode is connected to the lower - bridge - arm driving module. In this way, when the motor outputs a first voltage signal, the second diode conducts, and the short - circuit control signal can be output through the second diode. When the control module outputs a second control signal, the second diode is cut off, so that the second control signal cannot flow into the short - circuit driving module.
[0106] In one embodiment, the short - circuit driving module may include a thirty - sixth resistor R36, a thirty - seventh resistor R37, a thirty - eighth resistor R38, a thirty - ninth resistor R39, a fortieth resistor, a forty - first resistor R43, a forty - second resistor R44, a forty - third resistor R45, and a tenth capacitor C10.
[0107] As Figure 10 shown, the thirty - sixth resistor R36 is connected between the control module and the base of the third triode Q11. The thirty - seventh resistor R37 is respectively connected to the base and the emitter of the third triode Q11. The collector of the third triode Q11 is connected between the barrier - gate bus and the source of the second transistor Q2 through the thirty - eighth resistor R38. The gate of the second transistor Q2 is connected to the collector of the fourth triode Q12 through the thirty - ninth resistor R39. The drain of the second transistor Q2 is connected to the anode of the second diode through the fortieth resistor. One end of the forty - first resistor R43 is connected between the thirty - eighth resistor R38 and the source of the second transistor Q2, and the other end of the forty - first resistor R43 is connected to the gate of the second transistor Q2. One end of the tenth capacitor C10 is connected between the thirty - eighth resistor R38 and the forty - first resistor R43, and the other end of the tenth capacitor C10 is connected between the forty - first resistor R43 and the gate of the second transistor Q2. The forty - second resistor R44 is connected between the collector of the third triode Q11 and the base of the fourth triode Q12. The forty - third resistor R45 is respectively connected to the base and the emitter of the fourth triode Q12.
[0108] Among them, the fortieth resistor may include a resistor R40, a resistor R41, and a resistor R42. As Figure 10 shown, the emitter of the third triode Q11 and the emitter of the fourth triode Q12 are grounded. The drain of the second transistor Q2 is respectively connected to the resistor R40, the resistor R41, and the resistor R42. R40 is connected to the anode of the second diode D4, and the cathode of the second diode D4 is used to be connected to Figure 4 shown, the 3 - pin of the motor driving element U1, which is the L1_Self_IN signal output terminal. R41 is connected to the anode of the second diode D5, and the cathode of the second diode D5 is used to be connected to Figure 4is connected to pin 3 of the motor drive component U2, which is the output terminal of the L2_Self_IN signal. R42 is connected to the anode of the second diode D6, and the cathode of the second diode D6 is used to connect to Figure 4 pin 3 of the motor drive component U3 shown, which is the output terminal of the L3_Self_IN signal.
[0109] It should be noted that Figure 10 other components in the barrier control circuit are not shown. Therefore, in the way of labeling at the hanging ends of the connection lines, the connections between each device in the short-circuit drive module and other components in the barrier control circuit are characterized, as well as the connections that are relatively far apart within the short-circuit drive module. In Figure 10 , the two endpoints with the same label in Figure 4 are connected. In addition, the connection between the thirty-sixth resistor R36 and the control module is characterized by marking MCU_5V_Control at the hanging end of the connection line, and MCU_5V_Control is the third control signal. And the connection between the drain of the second transistor Q2 and the resistors R40, R41 and R42 is characterized by marking 5V_Signal at the hanging end of the connection line. In this embodiment, the barrier bus is used to provide a 5V working voltage for the short-circuit drive module. Therefore, the connection between the thirty-eighth resistor R38 and the barrier bus is characterized by marking 5V at the hanging end of the connection line.
[0110] In this embodiment, when the motor is in the power-off state and the barrier rotates, since the control module is not powered on and will not output the MCU_5V_Control signal, the third triode Q11 does not work. After the 5V working voltage input to this short-circuit drive module is divided by R38, R44 and R45, it drives the fourth triode Q12 to conduct. When the fourth triode Q12 conducts, R39 is equivalent to being grounded. Therefore, the 5V working voltage will also be divided by R44 and R39 to conduct the second transistor Q2. When the second transistor Q2 conducts, the 5V_Signal signal is valid. The valid 5V_Signal signal will be divided into three valid short-circuit control signals through R40 and D4, R41 and D5, and R42 and D6 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 being amplified by the motor drive component as shown in Figure 4 , the amplified LO1 signal, LO2 signal and LO3 signal can be sent to the three lower-bridge transistors Q6, Q7 and Q8 of the three-phase bridge respectively to drive Q6, Q7 and Q8 to conduct. Once Q6, Q7 and Q8 conduct, the three-phase motor forms a three-phase short circuit through the three lower-bridge transistors.
[0111] When the motor is in the working state, since the control module is powered on normally and can work properly, the MCU_5V_Control signal is valid. After the MCU_5V_Control signal is divided by R36 and R37, the third triode Q11 is turned on. Once the third triode Q11 is turned on, the collector of the third triode Q11 is grounded and becomes low level, then the fourth triode Q12 will be turned off. If the fourth triode Q12 is turned off, the second transistor Q2 will also be turned off. When the second transistor Q2 is turned off, the 5V working voltage cannot pass through Q2, so the 5V_Signal signal fails and the short-circuit control signal cannot be generated, thus not affecting the normal operation of the barrier gate.
[0112] By using the short-circuit drive module provided in this embodiment, by setting electronic components such as resistors, capacitors, diodes, triodes, and transistors, and determining the connection relationships between the electronic components, it is possible to output a short-circuit control signal when the motor is in the power-off state and the barrier gate rotates, so as to control the three lower-bridge transistors of the three-phase bridge to conduct, making the three-phase motor in the active short-circuit state, thereby braking the barrier gate. Compared with the solution of using a mechanical switch (such as a relay) 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 response speed of the electronic components is faster, and there will be no mis-touch or poor contact of mechanical contacts, so it is more reliable. In addition, the service life of the electronic components is relatively long.
[0113] In one embodiment, the barrier gate control circuit may include a power conversion module. The power conversion module is respectively connected between the first bus and the short-circuit drive module, between the first bus and the pre-drive module, between the first bus and the circuit parameter detection module, and between the first bus and the trigger module.
[0114] In this embodiment, the power conversion module can provide a working voltage for the short-circuit drive module and the pre-drive module when the motor outputs a first voltage signal. Or, when the motor is in the working state, it provides a working voltage for the pre-drive module, the trigger module, and the circuit parameter detection module; and provides a reference voltage for the circuit parameter detection module.
[0115] Optionally, the power conversion module can convert the voltage on the first bus into a 12V working voltage, and based on the 12V working voltage, convert it into a 5V working voltage, and based on the 5V working voltage, convert it into a reference voltage 1.65V_REF. Among them, the 12V working voltage is used to supply the pre-drive module, the 5V working voltage is used to supply the trigger module and the circuit parameter detection module, and the reference voltage 1.65V_REF is used to supply the circuit parameter detection module.
[0116] The following is combined with Figure 9The shown barrier control circuit explains the working principle of the barrier control circuit provided in this application. In this embodiment, the control module in the barrier control circuit can only work when the power supply module supplies power normally. Therefore, based on whether the power supply module supplies power or not, the motor in the barrier control circuit will have two states: the working state or the power-off state.
[0117] When the motor is in the working state, the control module can send a third control signal to the short-circuit drive module to make the short-circuit drive module disconnect under the control of the third 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, so as to drive the three-phase motor to rotate through the three-phase bridge, and then control the barrier to work through the rotating three-phase motor.
[0118] When the motor is in the working state and the first circuit parameter in the barrier control circuit satisfies a preset magnitude relationship with the circuit parameter threshold, the circuit parameter detection module can send a first control signal to the trigger module, and the trigger module can control the upper arm drive module to disconnect under the control of the first control signal. Since the lower arm drive module can still conduct cyclically under the control of the preset control logic at this time, when the upper arm drive module disconnects, once the lower arm drive module conducts (that is, one or more of the lower bridge transistors conduct), the motor stator winding forms a closed loop, which will make the motor in the active short-circuit state. At this time, the back electromotive force energy generated by the motor will be released through the stator winding, and a corresponding braking torque will be generated at the motor output end, causing the barrier to brake.
[0119] When the motor is in the power-off state, the control module will stop sending the third control signal to the short-circuit drive module; and stop sending the second control signal to the upper arm drive module and the lower arm drive module. At this time, the short-circuit drive module conducts, 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 turn-on 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 be unable to work.
[0120] When the motor is in a 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 be fed back to the gate bus, causing the bus voltage to rise. When the bus voltage rises to the turn-on voltage of the power conversion module, the power conversion module starts to work and can convert the bus voltage, thereby providing operating voltage for the short-circuit drive module and the pre-drive module. At this time, the short-circuit drive module is conducting and has operating voltage, so it can send a short-circuit control signal to the pre-drive module, enabling the pre-drive module to convert the short-circuit control signal into 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 conduct, and further causing the motor to be in an active short-circuit state and the gate to brake.
[0121] It can be understood that when the three lower bridges of the three-phase bridge are conducting, the motor is in an active short-circuit state, and the motor generates a reaction force by itself to inhibit further rotation of the motor, thereby causing the bus voltage to drop. Once the bus voltage is lower than the turn-on voltage of the power conversion module, the power conversion module stops working, resulting in the inability of the short-circuit drive module and the pre-drive module 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, then the bus voltage continues to rise, and once the bus voltage rises to the turn-on 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 repeats to inhibit the reverse power generation of the motor in the power-off state until the gate stops rotating.
[0122] The above is the gate control circuit provided by the embodiment of the present application. Based on the same idea, the embodiment of the present application also provides a gate control method.
[0123] Figure 11 It is a schematic flowchart of a gate control method according to an embodiment of the present application. In this embodiment, the gate control method is applied to a gate control circuit as shown in Figures 1 to 10 As shown. As shown in Figure 11 As shown, the method includes:
[0124] S1102, when the motor is in an operating state, detect the first circuit parameter in the gate control circuit.
[0125] Among them, the first circuit parameter may include the input voltage of the power supply, the bus voltage, the bus current, etc.
[0126] S1104, when the first circuit parameter and the circuit parameter threshold satisfy a preset size relationship, control the motor to be in an active short-circuit state and control the gate to brake.
[0127] Optionally, the reference voltage can be set to the circuit parameter threshold. Based on this, when the first circuit parameter is the bus voltage, the preset magnitude relationship between the bus voltage and the reference voltage can be that the bus voltage is greater than the reference voltage. In this way, by detecting the bus voltage and comparing it with the circuit parameter threshold, it is possible to accurately determine whether the overvoltage, an abnormal operating state, occurs in the gate control circuit.
[0128] When the first circuit parameter is the bus current, it is necessary to first convert the detected bus current into a detected voltage. The preset magnitude relationship between the detected voltage and the reference voltage can be that the detected voltage is greater than the reference voltage. In this way, by detecting the bus current, converting it into a detected voltage, and comparing it with the circuit parameter threshold, it is possible to accurately determine whether the overcurrent, an abnormal operating state, occurs in the gate control circuit.
[0129] When the first circuit parameter is the input voltage of the power supply, the preset magnitude relationship between the input voltage and the reference voltage can be that the input voltage is less than the reference voltage. In this way, by detecting the input voltage and comparing it with the circuit parameter threshold, it is possible to accurately determine whether the power failure, an abnormal operating state, occurs in the gate control circuit.
[0130] Adopting the technical solution provided by the embodiment of the present application, the circuit parameter detection module can detect the first circuit parameter in the gate control circuit when the motor is in the working state, and send a first control signal to the trigger module when the first circuit parameter and the circuit parameter threshold satisfy the preset magnitude relationship. The effect of real-time judging whether the abnormal operating state occurs in the gate control circuit based on the set circuit parameter threshold is achieved, which is beneficial to the timely discovery of the abnormal operating state of the gate control circuit. Moreover, the trigger module can control the upper bridge arm driving module to disconnect under the control of the first control signal. At this time, since the lower bridge arm driving module can still conduct cyclically under the control of the preset control logic, once the lower bridge arm driving module conducts and the stator winding of the motor forms a closed loop, the motor will be in the active short-circuit state. The back electromotive force energy generated by the motor will be released through the stator winding, and a corresponding braking torque will be generated at the output end of the motor, causing the gate to brake. It can be seen that this technical solution can realize the effect of timely controlling the gate to brake when the abnormal operating state occurs in the gate control circuit through the hardware circuit, effectively reducing the risk of the gate hitting the vehicle or people.
[0131] In one embodiment, when the motor is in the power-off state and the gate rotates, a first voltage signal is generated, and based on the first voltage signal, a short-circuit control signal is generated, and based on the short-circuit control signal, the motor is controlled to be in the active short-circuit state and the gate is controlled to brake.
[0132] In this embodiment, the first voltage signal is the voltage signal generated by the motor during power generation. Through the connection relationships among the components in the gate control circuit, this voltage signal can be transmitted to the gate bus, causing the bus voltage to rise, and thus resulting in overvoltage damage to the components connected to the gate bus. In response to this, this 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's movement speed will be inhibited, and the power generation energy of the motor will also be correspondingly reduced, causing the voltage signal generated by the motor during power generation to decrease. At the same time, a corresponding braking torque is generated at the output end of the motor, causing the gate to brake. During the braking process of the gate, both the voltage signal generated by the motor during power generation and the rotation speed of the gate decrease, thereby suppressing the rapid rise of the bus voltage, keeping the bus voltage always within a safe voltage range, avoiding the situation of overvoltage damage to the components connected to the gate bus, and improving the service life of the gate control circuit.
[0133] Those skilled in the art should understand that Figure 11 the gate control method in
[0134] can be applied to the gate control circuit described above. The description of the control details should be similar to the description of the circuit part above. To avoid redundancy, it will not be elaborated here.
[0135] The above is the gate control circuit and the gate control method provided by the embodiments of this application. Based on the same idea, the embodiments of this application also provide an electronic device, as Figure 12 shown. The electronic device may vary greatly due to configuration or performance differences. It may include one or more processors 1201 and a memory 1202. One or more application programs or data may be stored in the memory 1202. Among them, the memory 1202 can be short - term storage or persistent storage. The application programs stored in the memory 1202 may include one or more modules (not shown in the figure), and each module may include a series of computer - executable instructions for the electronic device. Further, the processor 1201 can be set to communicate with the memory 1202 and execute a series of computer - executable instructions in the memory 1202 on the electronic device. The electronic device may also include one or more power supplies 1203, one or more wired or wireless network interfaces 1204, one or more input / output interfaces 1205, and one or more keyboards 1206.
[0136] Specifically, in this embodiment, the electronic device includes a memory and one or more application programs. One or more of the application programs are stored in the memory, and one or more of the application programs may include one or more modules. Each module may include a series of computer-executable instructions in the electronic device and is configured to be executed by one or more processors. The one or more application programs include computer-executable instructions for performing the following:
[0137] When the motor is in the working state, detect the first circuit parameter in the gate control circuit;
[0138] When a preset magnitude relationship is satisfied between the first circuit parameter and the circuit parameter threshold, control the motor to be in the active short-circuit state and control the gate to brake.
[0139] By adopting the technical solution provided by the embodiment of the present application, the circuit parameter detection module can detect the first circuit parameter in the gate control circuit when the motor is in the working state, and send a first control signal to the trigger module when a preset magnitude relationship is satisfied between the first circuit parameter and the circuit parameter threshold. The effect of judging in real time whether the gate control circuit has an abnormal operating state based on the set circuit parameter threshold is realized, which is beneficial to the timely discovery of the abnormal operating state of the gate control circuit. And, the trigger module can control the upper bridge arm driving module to disconnect under the control of the first control signal. At this time, since the lower bridge arm driving module can still be cyclically turned on under the control of the preset control logic, once the lower bridge arm driving module is turned on and the motor stator winding forms a closed loop, the motor will be in the active short-circuit state. The back electromotive force energy generated by the motor will be released through the stator winding, and a corresponding braking torque will be generated at the output end of the motor, causing the gate to brake. It can be seen that this technical solution can realize the effect of timely controlling the gate to brake when the gate control circuit has an abnormal operating state through the hardware circuit, effectively reducing the risk of the gate hitting a vehicle or a person.
[0140] The embodiment of the present application also proposes a storage medium. The storage medium stores one or more computer programs. 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, they can enable the electronic device to execute each process of the above-mentioned gate control method embodiment and achieve the same technical effect. To avoid repetition, it will not be elaborated here.
[0141] The embodiments of the present application also propose a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, it implements each process of the above-described embodiment of the gate control method and can achieve the same technical effects. To avoid repetition, details are not described herein again.
[0142] The systems, devices, modules or units illustrated in the above embodiments can be specifically implemented by computer components or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer can 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.
[0143] For convenience of description, when describing the above devices, various units are described separately 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.
[0144] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0145] The present application is described with reference to the flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each flow and / or block in the flowchart and / or block diagram can be implemented by computer program instructions, and the combination of flows and / or blocks in the flowchart and / or block diagram can also be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, such that the instructions executed by the processor of the computer or other programmable data processing devices generate a device for implementing the specified function in Figure 1 one or more flows and / or blocks Figure 1 one or more blocks.
[0146] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing devices to work in a specific manner, such that the instructions stored in the computer-readable memory generate a manufactured article including an instruction device that implements the specified function in Figure 1 one or more flows and / or blocks Figure 1The functions specified in one or more boxes.
[0147] These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to generate a computer-implemented process. Thus, the instructions executed on the computer or other programmable device provide for implementing the steps of the functions specified in one Figure 1 one process or multiple processes and / or boxes Figure 1 step of the functions specified in one box or multiple boxes.
[0148] In a typical configuration, a computing device includes one or more processors (CPUs), an input / output interface, a network interface, and memory.
[0149] The memory may include non-permanent memory in the form of computer-readable media, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
[0150] Computer-readable media includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. The 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 technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette tapes, magnetic disk storage or other magnetic storage devices, or any other non-transmission media that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transitory media such as modulated data signals and carrier waves.
[0151] It should also be noted that the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, commodity or device comprising a series of elements not only includes those elements, but also includes other elements not expressly listed, or also includes elements inherent to such process, method, commodity or device. Without further limitation, an element defined by the statement "comprising one..." does not exclude the presence of additional identical elements in the process, method, commodity or device comprising the said element.
[0152] This application can 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. This application can also be practiced in a distributed computing environment where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.
[0153] Each embodiment in this specification is described in a progressive manner. For the same or similar parts among the embodiments, reference can be made to each other. Each embodiment focuses on the differences from other embodiments. In particular, for system embodiments, since they are basically similar to method embodiments, the description is relatively simple, and reference can be made to the corresponding parts of the method embodiments for relevant details.
[0154] The above description is only for the embodiments of this application and is not intended to limit this application. For those skilled in the art, various changes and modifications can be made to this application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application shall be included within the scope of the claims of this application.
Claims
1. A gate control circuit, characterized in that: It includes a circuit parameter detection module, a trigger 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 the barrier gate bus; the upper bridge arm driving module and the lower bridge arm driving module are both connected to the motor; the trigger module is connected to the upper bridge arm driving module; the circuit parameter detection module is respectively connected to the barrier gate bus and the trigger module; 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 first control signal to the trigger module when the first circuit parameter satisfies a preset magnitude relationship with a circuit parameter threshold; The trigger module, under the control of the first control signal, controls the upper bridge arm driving module to be disconnected; 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; The trigger module includes a first triode, a second triode and a first transistor; Wherein, the first triode is connected to the circuit parameter detection module and the second triode respectively; the second triode is connected to the first transistor; the first transistor is connected to the upper bridge arm driving module; Under the control of the first control signal, the first transistor is turned on, the second transistor is turned off, and the first transistor is turned on.
2. The gate control circuit according to claim 1, characterized in that: The base of the first transistor is connected to the circuit parameter detection module; the base and emitter of the first transistor are connected; the collector of the first transistor is respectively connected to the collector of the second transistor, the base of the second transistor and the gate of the first transistor; the emitter of the first transistor is connected to the emitter of the second transistor; The collector of the second transistor is connected to the gate of the first transistor; The gate and source of the first transistor are connected; the drain of the first transistor is connected to the upper bridge arm driving module.
3. The gate control circuit according to claim 2, characterized in that: The trigger module also includes a first diode; The cathode of the first diode is connected to the drain of the first transistor; the anode of the first diode is connected to the upper bridge arm driving module; Under the control of the first control signal, the first diode is turned on.
4. The gate control circuit according to claim 3, characterized in that: The trigger module further includes a first resistor, a second resistor, a third resistor, a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor and an eighth resistor; The first resistor is connected between the base of the first transistor and the circuit parameter detection module; the second resistor is connected to the base and emitter of the first transistor respectively; The collector of the first transistor is connected to the collector of the second transistor through the third resistor and the fourth resistor in sequence; The fifth resistor is connected between the collector of the first transistor and the base of the second transistor; one end of the sixth resistor is connected to the base of the second transistor, and the other end of the sixth resistor is connected between the emitter of the first transistor and the emitter of the second transistor; The seventh resistor is connected between the gate of the first transistor and the collector of the second transistor; the eighth resistor is connected to the gate and source of the first transistor respectively.
5. The gate control circuit according to claim 1, 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 and the lower bridge arm driving module respectively; The power supply module is used to supply power to the gate control circuit; The control module sends a second control signal to the upper bridge arm driving module and the lower bridge arm driving module when the motor is in a working state; 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 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 first control signal to the trigger module when the input voltage is less than the reference voltage.
7. The barrier gate control circuit according to claim 6, characterized in that: The input voltage detection unit includes a first capacitor, a ninth resistor, a tenth resistor and an eleventh resistor; the first comparison unit includes a first comparator; The power supply module is connected to the first input terminal of the first comparator through the ninth resistor and the tenth resistor in sequence; one end of the eleventh resistor is connected between the ninth resistor and the tenth resistor, and the other end of the eleventh resistor is grounded; one end of the first capacitor is connected to the first input terminal of the first comparator, and the other end of the first capacitor is grounded; The second input terminal of the first comparator is used to input the reference voltage; The output end of the first comparator is connected to the trigger module.
8. The gate control circuit according to claim 1, 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 first control signal to the trigger module when the detection voltage is greater than the reference voltage.
9. The gate control circuit according to claim 8, characterized in that: The bus circuit parameter detection unit includes a second capacitor, a twelfth resistor, a thirteenth resistor and a fourteenth resistor; the second comparison unit includes a second comparator; The gate busbar is connected to the first input terminal of the second comparator through the twelfth resistor and the thirteenth resistor in sequence; one end of the fourteenth resistor is connected between the twelfth resistor and the thirteenth resistor, and the other end of the fourteenth resistor is grounded; one end of the second capacitor is connected to the first input terminal of the second comparator, and the other end of the second capacitor is grounded; The second input terminal of the second comparator is used to input the reference voltage; The output terminal of the second comparator is connected to the trigger module.
10. The gate control circuit according to claim 8, characterized in that: The bus circuit parameter detection unit includes a third capacitor, a fifteenth resistor, a sixteenth resistor, a seventeenth resistor, an eighteenth resistor, a nineteenth resistor, a twentieth resistor and an operational amplifier; the second comparison unit includes a third comparator; The gate busbar is connected to the first input terminal of the operational amplifier through the fifteenth resistor, and is connected to the second input terminal of the operational amplifier through the sixteenth resistor and the seventeenth resistor in sequence; One end of the eighteenth resistor is connected to the first input end of the operational amplifier, and the other end of the eighteenth resistor is used to input the reference voltage; the nineteenth resistor is connected between the second input end and the output end of the operational amplifier; the output end of the operational amplifier is connected to the first input end of the third comparator through the twentieth resistor; one end of the third capacitor is connected to the first input end of the third comparator, and the other end of the third capacitor is grounded; The second input terminal of the third comparator is used to input the reference voltage; the output terminal of the third comparator is connected to the trigger module.
11. A gate control method, characterized in that: Applicable to a gate control circuit as claimed in any one of claims 1 to 10; the method comprising: When the motor is in a working state, detecting a first circuit parameter in the barrier control circuit; In the case where the first circuit parameter satisfies a preset magnitude relationship with the circuit parameter threshold, generating a first control signal; Based on the first control signal, controlling the motor to be in an active short-circuit state, and controlling the barrier brake; The controlling the motor to be in an active short-circuit state based on the first control signal and controlling the barrier brake comprises: Based on the first control signal, control the first triode to be turned on, control the second triode to be turned off, and control the first transistor to be turned on; When the first transistor is turned on, the second transistor is turned off, and the first transistor is turned on, the motor is in an active short-circuit state, and the gate is braked.
Citation Information
Patent Citations
Overvoltage protection circuit, overvoltage protection method and motor controller
CN113765466A
Vehicle, and active discharging circuit and method of vehicle
CN114079373A