Anti-power-down multifunctional barrier gate driving circuit and corresponding multifunctional barrier gate
By designing a multi-function gate driving circuit that prevents power outage, the existing gate driving function is solved, and the gate is unable to work in abnormal power outages is achieved, and the gate is automatically restored and normal in abnormal power outages and dark environments is achieved, meeting the diverse needs of users and improving the parking lot management efficiency.
Patent Information
- Application Number
- CN202510077491.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-17
- Publication Date
- 2025-04-11
AI Technical Summary
The existing gate gate has a single function, which cannot match the changing market demand, and cannot work properly in the event of abnormal power outages, resulting in possible losses and traffic congestion in parking lots.
A multi-functional gate driving circuit that is anti-powered is designed, including a main control module, a driving module, a dial module and an output module. It can ensure that the gate can still recover and work normally when the power is abnormally outage is supplied by the main power supply or the backup power supply. In addition, the circuit integrates white LED lights and red and green LED lights for providing lighting and traffic guidance in dim environments.
The normal operation of the gate in abnormal power outages and dim environments is achieved, and losses caused by abnormal gate lifting or power outages are avoided. The diverse needs of users are met through multi-functional design, improving the management efficiency and user experience of the parking lot.
Smart Images

Figure CN119813500A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of circuit technology, and in particular to a multifunctional barrier gate driving circuit capable of preventing power failure. Background Art
[0002] In modern society, barriers are a channel management device. Moreover, barriers are widely used in parking systems. Barriers can be used to manage and regulate the entry and exit of vehicles. Existing barriers can only be raised and lowered, and the functions are relatively simple and limited in function. Under the ever-changing market demand, existing barriers have technical problems that are difficult to meet user needs.
[0003] Therefore, it is necessary to provide a multifunctional barrier driving circuit that can prevent power failure and a corresponding multifunctional barrier to solve the above technical problems. Summary of the invention
[0004] The present invention provides a multifunctional barrier drive circuit for preventing power failure and a corresponding multifunctional barrier, which effectively solve the technical problem of poor sleep quality during people's lunch break.
[0005] The present invention provides a multifunctional barrier driving circuit for preventing power failure, which comprises:
[0006] A main power supply, configured to output a first voltage;
[0007] A backup power supply, used for outputting a second voltage;
[0008] A voltage sampling module, connected to the main power supply, and configured to perform a voltage division operation on the first voltage to generate a sampling voltage;
[0009] A main control module, connected to the voltage sampling module, for comparing the voltage value of the sampled voltage with a set value. If the voltage value of the sampled voltage is greater than the set value, the main control module outputs a control signal;
[0010] a step-down module, connected to the main power supply, the backup power supply and the main control module, wherein when the step-down module receives the control signal, the step-down module performs a step-down operation on the first voltage to generate a third voltage; when the step-down module does not receive the control signal, the step-down module performs a step-down operation on the second voltage to generate a fourth voltage;
[0011] a boost module, connected to the buck module, and configured to perform a boost operation on the third voltage or the fourth voltage to generate a first supply voltage, wherein the first supply voltage is used to supply power to the driving module;
[0012] a voltage conversion module, connected to the voltage reduction module, and used to perform a voltage conversion operation on the third voltage or the fourth voltage to generate a second supply voltage, wherein the second supply voltage is used to supply power to the main control module;
[0013] Wherein, the main control module is also used to output a first control signal and a second control signal;
[0014] The driving module is connected to the main control module, and is used to generate a first driving signal based on the first control signal, and to generate a second driving signal based on the second control signal, wherein the first driving signal is used to drive the gate to perform a gate-lifting operation, and the second driving signal is used to drive the gate to perform a gate-lowering operation;
[0015] A dial module is connected to the main control module, and the dial module is used to output a dial signal, and the dial signal is used to call the parameters of the main control module to adjust the output time of the second control signal; if the barrier gate is abnormally lifted, the main control module outputs the second control signal after the time set by the abnormal barrier gate lifting based on the dial signal;
[0016] The output module includes a first interface and a second interface, wherein one end of the first interface is connected to the main control module, and the other end of the first interface is connected to a white light LED lamp; one end of the second interface is connected to the main control module, and the other end of the second interface is connected to a red light LED lamp and a green light LED lamp; when the parking lot environment becomes dark, the main control module is used to output the first LED lamp driving signal, and the first LED lamp driving signal is used to drive the white light LED lamp to light up; and the main control module is used to output the second LED lamp driving signal, and the second LED lamp driving signal is used to drive the red light LED lamp or the green light LED lamp, and the red light LED lamp and the green light LED lamp are used to indicate whether there is a vehicle in the turning vehicle channel.
[0017] In the anti-power-off multifunctional barrier drive circuit of the present invention, the main control module includes a main control chip, the main control chip includes a dial pin, a first control pin and a second control pin, the dial module includes a 4-bit dial, the 4-bit dial is connected to the dial pin, the first control pin is used to output a first control signal, and the second control pin is used to output a second control signal;
[0018] The driving module includes a driving chip, a first MOS tube and a second MOS tube, the driving chip includes a first driving input pin, a second driving input pin, a first driving output pin and a second driving output pin, the first driving input pin is connected to the first control pin, the first driving output pin is connected to the gate of the first MOS tube, the second driving input pin is connected to the second control pin, and the second driving output pin is connected to the gate of the second MOS tube;
[0019] The drain of the first MOS tube is connected to the power supply, and the gate source of the first MOS tube is connected to the motor of the gate; the drain of the second MOS tube is connected to the power supply or the main power supply, and the gate source of the second MOS tube is connected to the motor of the gate, the first drive output pin is used to output a first drive signal, and the first drive signal is used to drive the first MOS tube to turn on, thereby driving the gate to lift, and the second drive output pin is used to output a second drive signal, and the second drive signal is used to drive the second MOS tube to turn on, thereby driving the gate to lower.
[0020] In the anti-power-off multifunctional barrier driving circuit of the present invention, the main control chip includes a first driving pin and a second driving pin, the output module also includes a first LED driving chip and a second LED driving chip, the first LED driving chip includes a first LED input pin and a first LED output pin, the first LED input pin is connected to the first driving pin, the first LED output pin is connected to the first interface, and the first LED driving chip is used to drive the white light LED lamp; the second LED driving chip includes a second LED input pin and a second LED output pin, the second LED input pin is connected to the second driving pin, the second LED output pin is connected to the second interface, and the second LED driving chip is used to drive the red light LED lamp or the green light LED lamp.
[0021] In the anti-power-off multifunctional barrier driving circuit of the present invention, the driving module also includes a first current limiting resistor and a second current limiting resistor, one end of the first current limiting resistor is connected to the first control pin, and the other end of the first current limiting resistor is connected to the first drive input pin, and the first current limiting resistor is used to perform current limiting operation on the first control signal; one end of the second current limiting resistor is connected to the second control pin, and the other end of the second current limiting resistor is connected to the second drive input pin, and the first current limiting resistor is used to perform current limiting operation on the second control signal.
[0022] In the anti-power-off multifunctional barrier driving circuit of the present invention, the driving module includes a third current limiting resistor and a fourth current limiting resistor, one end of the third current limiting resistor is connected to the first driving output pin, and the other end of the third current limiting resistor is connected to the gate of the first MOS tube, and the third current limiting resistor is used to perform current limiting operation on the first driving signal; one end of the fourth current limiting resistor is connected to the second driving output pin, and the other end of the fourth current limiting resistor is connected to the gate of the second MOS tube, and the first current limiting resistor is used to perform current limiting operation on the second driving signal.
[0023] In the anti-power-off multifunctional barrier driving circuit of the present invention, the driving module includes a first clamping protection unit and a second clamping protection unit, one end of the first clamping protection unit is connected to the gate of the first MOS tube, the other end of the first clamping protection unit is connected to the source of the first MOS tube, and the first clamping protection unit is used to perform a clamping protection operation on the gate and source of the first MOS tube; one end of the second clamping protection unit is connected to the gate of the second MOS tube, the other end of the second clamping protection unit is connected to the source of the second MOS tube, and the second clamping protection unit is used to perform a clamping protection operation on the gate and source of the second MOS tube;
[0024] The first clamping protection unit includes a first protection resistor and a first protection capacitor, one end of the first protection resistor is connected to the gate of the first MOS tube, the other end of the first protection resistor is connected to the source of the first MOS tube, and the first protection capacitor is connected in parallel with the first protection resistor; the second clamping protection unit includes a second protection resistor and a second protection capacitor, one end of the second protection resistor is connected to the gate of the second MOS tube, the other end of the second protection resistor is connected to the source of the second MOS tube, and the second protection capacitor is connected in parallel with the second protection resistor.
[0025] In the anti-power-off multifunctional barrier drive circuit of the present invention, the voltage sampling module includes a voltage sampling unit, the main control module includes a main control chip, the main control chip includes a main control input pin and a main control output pin, the buck module includes an input interface, a switch MOS tube and a buck chip, the input interface includes a first input pin and a second input pin, the buck chip includes a buck input pin and a buck output pin, one end of the voltage sampling unit is connected to the main power supply, and the other end of the voltage sampling unit is connected to the main control input pin, and the voltage sampling unit is used to divide the first voltage to generate a sampling voltage;
[0026] One end of the first input pin is connected to the main power supply, and the other end of the first input pin is connected to the buck input pin; one end of the second input pin is connected to the backup power supply, and the other end of the second input pin is connected to the drain of the switch MOS tube, and the gate of the switch MOS tube is connected to the main control output pin, the main control chip is used to compare the voltage value of the sampled voltage with the set value, if the voltage value of the sampled voltage is greater than the set value, the main control module outputs a control signal, the switch MOS tube is used to be turned on based on the control signal, the source of the switch MOS tube is connected to the buck input pin, the buck chip performs a buck operation on the first voltage to generate a third voltage, or the buck chip performs a buck operation on the second voltage to generate a fourth voltage, and the buck output pin is used to output the third voltage or the fourth voltage.
[0027] In the anti-power-off multifunctional barrier driving circuit of the present invention, the boost module includes a boost chip, the boost chip includes a boost input pin and a boost output pin, the boost input pin is connected to the buck output pin, the boost chip is used to boost the third voltage or the fourth voltage to generate a first power supply voltage, and the boost output pin is used to output the first power supply voltage; the driving chip also includes a driving power supply pin, and the driving power supply pin is connected to the boost output pin.
[0028] In the anti-power-off multifunctional barrier driving circuit of the present invention, the voltage conversion module includes a voltage conversion chip, the voltage conversion chip includes a voltage conversion input pin and a voltage conversion output pin, the voltage conversion input pin is connected to the step-down output pin, the voltage conversion chip is used to perform voltage conversion operation on the third voltage or the fourth voltage to generate a second power supply voltage, the voltage conversion output pin is used to output the second power supply voltage, the main control chip also includes a main control power supply pin, and the step-down output pin is connected to the voltage conversion output pin.
[0029] A multifunctional barrier gate, comprising any of the above-mentioned multifunctional barrier gate drive circuits with anti-power-off function.
[0030] Compared with the prior art, the present invention has the following beneficial effects: the present invention provides a multifunctional barrier gate drive circuit that can prevent power failure, and the multifunctional barrier gate drive circuit that can prevent power failure includes a main control module, a drive module, a dial module and an output module. The main control module can output a first control signal and a second control signal, the drive module can generate a first drive signal based on the first control signal, and the drive module can generate a second drive signal based on the second control signal. The first drive signal can drive the barrier gate to perform a gate-lifting operation, and the second drive signal can drive the barrier gate to perform a gate-lowering operation. The dial signal can call the parameters of the main control module to adjust the output time of the second control signal. If the barrier gate is abnormally lifted, the main control module outputs the second control signal after the time set by the abnormal gate lift based on the dial signal. Therefore, after the barrier gate is abnormally lifted, the main control module controls the barrier gate to perform a gate-lowering operation based on the dial signal. If a toll parking lot is installed with a barrier gate with the circuit, losses caused by abnormal gate lift can be effectively avoided. Even if the barrier gate is abnormally lifted, the multifunctional barrier gate drive circuit can recover automatically. The gate with this circuit can maintain normal working state, and the user does not need to inspect and repair the gate. Therefore, in the case of abnormal gate lifting, the gate with this circuit can also meet the user's usage needs.
[0031] When the parking lot environment becomes dark, the main control module can output a first LED lamp driving signal, and the first LED lamp driving signal is used to drive the white light LED lamp to light up. Because the main control module can drive the white light LED lamp to emit light, the gate of this circuit can effectively avoid the problem that the gate pole is easily broken in a dim environment or at night. Therefore, the gate with this circuit can meet the needs of users in dim environments or at night. Moreover, the main control module can output a second LED lamp driving signal. The second LED lamp driving signal can drive a red light LED lamp or a green light LED lamp, and the red light LED lamp and the green light LED lamp are used to prompt whether there is a car in the turning vehicle channel. Thereby, it can be helpful to divert traffic in the parking lot and effectively avoid the problem of easy traffic congestion in the parking lot. The gate with this circuit is set with multiple functions, which effectively solves the technical problem that the existing gate has a relatively single function. Therefore, the gate with this circuit can match the diverse needs of users.
[0032] In addition, the anti-power-off multifunctional gate driving circuit also includes a main power supply, a backup power supply, a voltage sampling module, a step-down module, a step-up module, and a voltage conversion module. The main power supply can output a first voltage, and the backup power supply can output a second voltage. The voltage sampling module can perform a voltage division operation on the first voltage, and the voltage sampling module can generate a sampled voltage. The main control module can compare the voltage value of the sampled voltage with the set value. If the voltage value of the sampled voltage is greater than the set value, the main control module outputs a control signal. When the step-down module does not receive the control signal, the step-down module performs a step-down operation on the first voltage, and the step-down module can generate a third voltage. When the step-down module receives the control signal, the step-down module performs a step-down operation on the second voltage, and the step-down module can generate a fourth voltage. The step-up module can perform a step-up operation on the third voltage or the fourth voltage, and the step-up module can generate a first supply voltage, which is used to power the driving module. The voltage conversion module can perform a voltage conversion operation on the third voltage or the fourth voltage, and the voltage conversion module can generate a second supply voltage, which is used to power the main control module. Therefore, in the event of an abnormal power outage, the multifunctional barrier drive circuit can also convert the second voltage output by the backup power supply into the first power supply voltage and the second power supply voltage, thereby maintaining the power supply to the barrier. This effectively solves the technical problem that the existing barrier cannot work in the event of an abnormal power outage. If a toll parking lot is equipped with a barrier with this circuit, it can effectively avoid losses caused by abnormal power outages. In addition, the barrier can also maintain a stable working state for a long time without sudden power outages. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments. The drawings described below are only drawings corresponding to some embodiments of the present invention.
[0034] Figure 1 The present invention is a block diagram of an embodiment of a multifunctional barrier driving circuit for preventing power failure.
[0035] Figure 2 This is a circuit diagram of a main control module of an embodiment of a multifunctional barrier drive circuit for preventing power failure of the present invention.
[0036] Figure 3 This is a circuit diagram of a voltage sampling module and a voltage reduction module of an embodiment of a multifunctional barrier drive circuit for preventing power failure of the present invention.
[0037] Figure 4 A circuit diagram of a boost module of an embodiment of a multifunctional barrier drive circuit for preventing power failure of the present invention.
[0038] Figure 5 A circuit diagram of a voltage conversion module of an embodiment of a multifunctional barrier driving circuit for preventing power failure of the present invention.
[0039] Figure 6 A circuit diagram of a driving module of an embodiment of a multifunctional barrier driving circuit for preventing power failure of the present invention.
[0040] Figure 7 The circuit diagram of the dial module of an embodiment of the multifunctional barrier driving circuit for preventing power failure of the present invention.
[0041] Figure 8 This is one of the circuit diagrams of the output module of an embodiment of the multifunctional barrier driving circuit for preventing power failure of the present invention.
[0042] Fig. 9 This is the second circuit diagram of the output module of one embodiment of the multifunctional barrier driving circuit for preventing power failure of the present invention.
[0043] Fig.10 This is a circuit diagram of the third interface of an embodiment of the multifunctional barrier driving circuit for preventing power failure of the present invention.
[0044] Fig.11 A circuit diagram of an optocoupler and a fourth interface of an embodiment of a multifunctional barrier driving circuit for preventing power failure of the present invention.
[0045] Fig.12 A circuit diagram of a first wireless communication chip and a second wireless communication chip of an embodiment of a multifunctional barrier driving circuit for preventing power failure of the present invention.
[0046] Fig.13 This is a circuit diagram of a connection module of an embodiment of a multifunctional barrier drive circuit for preventing power failure of the present invention.
[0047] In the figure, 10, multi-function gate drive circuit; 11, main power supply; 111, first input pin; 12, backup power supply; 121, second input pin; 13, voltage sampling module; 131, voltage sampling unit; 14, main control module; 141, dial module; 142, energy storage unit; 15, step-down module; 151, filter unit; 152, protection unit; 16, step-up module; 17, voltage conversion module; 18, drive module; 181, first clamp Protection unit; 182, second clamping protection unit; 183, motor of barrier gate; 19, output module; 191, first interface pin; 192, first interface pin; 193, second interface pin; 194, second interface pin; 20, connection module; 21, first input terminal; 22, second input terminal; 23, third input terminal; 24, fourth input terminal; 25, first output terminal; 26, second output terminal; 27, third output terminal; 28, fourth output terminal. DETAILED DESCRIPTION
[0048] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0049] The directional terms mentioned in the present invention, such as "up", "down", "front", "back", "left", "right", "inside", "outside", "side", "top" and "bottom", are only for reference to the orientation of the drawings. The directional terms used are used to illustrate and understand the present invention, but not to limit the present invention.
[0050] The terms "first", "second", etc. in the present invention are used for descriptive purposes only and should not be understood as indicating or implying relative importance, and should not be used as a limitation on the order of precedence.
[0051] In the figures, structurally similar elements are denoted by the same reference numerals.
[0052] Please refer to Figure 1The present invention provides a multifunctional barrier gate drive circuit 10 that can prevent power failure. The multifunctional barrier gate drive circuit 10 that can prevent power failure is applied to a multifunctional barrier gate, and the multifunctional barrier gate drive circuit 10 that can prevent power failure includes a main power supply 11, a backup power supply 12, a voltage sampling module 13, a main control module 14, a step-down module 15, a step-up module 16, and a voltage conversion module 17. The main power supply 11 is used to output a first voltage, and the first voltage is 24V. The backup power supply 12 is used to output a second voltage, and the second voltage is 12V. The voltage sampling module 13 is connected to the main power supply 11, and the voltage sampling module 13 is used to divide the first voltage, and the voltage sampling module 13 can generate a sampling voltage. The main control module 14 is connected to the voltage sampling module 13, and the main control module 14 can compare the voltage value of the sampling voltage with the set value, and the set value can be 0V. If the voltage value of the sampling voltage is greater than the set value, the main control module 14 outputs a control signal.
[0053] Please refer to Figure 1 , the step-down module 15 is connected to the main power supply 11, the backup power supply 12 and the main control module 14. When the step-down module 15 receives the control signal, the step-down module 15 performs a step-down operation on the first voltage, and the step-down module 15 can generate a third voltage. When the step-down module 15 does not receive the control signal, the step-down module 15 performs a step-down operation on the second voltage, and the step-down module 15 generates a fourth voltage. Among them, the third voltage and the fourth voltage are both 5V. The boost module 16 is connected to the step-down module 15, and the boost module 16 can perform a step-up operation on the third voltage or the fourth voltage, and the boost module 16 can generate a first supply voltage. The first supply voltage is 15V, and the first supply voltage is used to power the driving module 18. The voltage conversion module 17 is connected to the step-down module 15, and the voltage conversion module 17 can perform a voltage conversion operation on the third voltage or the fourth voltage. The voltage conversion module 17 can generate a second supply voltage, and the second supply voltage is 3.3V, and the second supply voltage is used to power the main control module 14.
[0054] Please refer to Figure 1 The multifunctional barrier gate driving circuit 10 for preventing power failure also includes a driving module 18, a dialing module 181 and an output module 19. The main control module 14 can output a first control signal and a second control signal, and the driving module 18 is connected to the main control module 14. The driving module 18 can generate a first driving signal based on the first control signal, and the driving module 18 can generate a second driving signal based on the second control signal. The first driving signal can be used to drive the motor 181 of the barrier gate, thereby driving the barrier gate to perform a gate raising operation. The second driving signal can be used to drive the motor 181 of the barrier gate, thereby driving the barrier gate to perform a gate lowering operation.
[0055] Please refer to Figure 1, the dial module 181 is connected to the main control module 14, and the dial module 181 can output a dial signal. The dial signal can call the parameters of the main control module 14 to adjust the output time of the second control signal. If the barrier gate is abnormally lifted, the main control module 14 outputs the second control signal based on the dial signal after the time set for the abnormal barrier gate lifting. Therefore, after the barrier gate is abnormally lifted, the main control module 14 outputs the second control signal based on the dial signal, thereby controlling the barrier gate to perform a gate lowering operation. Even if the barrier gate is abnormally lifted, the multifunctional barrier gate drive circuit 10 can recover by itself. The barrier gate with this circuit can maintain a normal working state, and the user does not need to repair the barrier gate.
[0056] Please refer to Figure 1 , Figure 8 and Fig. 9 The output module 19 includes a first interface J5 and a second interface J6. One end of the first interface J5 is connected to the main control module 14, and the other end of the first interface J5 is connected to a white light LED lamp. One end of the second interface J6 is connected to the main control module 14, and the other end of the second interface J6 is connected to a red light LED lamp and a green light LED lamp. When the environment of the parking lot becomes dark, the main control module 14 is used to output a first LED lamp driving signal, and the first LED lamp driving signal is used to drive the white light LED lamp to light up. In addition, the main control module 14 is used to output a second LED lamp driving signal, and the second LED lamp driving signal is used to drive a red light LED lamp or a green light LED lamp, and the red light LED lamp and the green light LED lamp are used to indicate whether there is a vehicle in the turning vehicle channel.
[0057] Please refer to Figures 2 to 13 The following is a detailed description of the specific structure of the multifunctional gate driving circuit 10:
[0058] Please refer to Figure 2 and Figure 3, the voltage sampling module 13 includes a voltage sampling unit 131, and the main control module 14 includes a main control chip U1. The main control chip U1 includes a main control input pin T3C3 / ADC8 / PB0 and a main control output pin BOOT1 / PB2, and the buck module 15 includes an input interface J9, a MOS tube G10 and a buck chip U18, and the model of the buck chip U18 is LM2576. The input interface J9 includes a first input pin 18 and a second input pin 19, and the buck chip U18 includes a buck input pin in and a buck output pin out. One end of the voltage sampling unit 131 is connected to the main power supply 11 through the input interface J9, and the other end of the voltage sampling unit 131 is connected to the main control input pin T3C3 / ADC8 / PB0. The voltage sampling unit 131 is used to perform a voltage division operation on the first voltage, and the voltage sampling unit 131 can generate a sampling voltage. Among them, the voltage sampling unit 131 includes a first sampling resistor R57 and a second sampling resistor R58. One end of the first sampling resistor R57 is connected to the main power supply 11 , the other end of the first sampling resistor R57 is connected to one end of the second sampling resistor R58 , and the other end of the second sampling resistor R58 is connected to the main control input pin T3C3 / ADC8 / PB0 .
[0059] Please refer to Figure 2 and Figure 3 , one end of the first input pin 18 is connected to the main power supply 11, and the other end of the first input pin 18 is connected to the step-down input pin in. One end of the second input pin 19 is connected to the backup power supply 12, and the other end of the second input pin 19 is connected to the drain of the MOS tube G10. The gate of the MOS tube G10 is connected to the main control output pin BOOT1 / PB2, and the source of the MOS tube G10 is connected to the step-down input pin in. The main control chip U1 is used to compare the voltage value of the sampled voltage with the set value. If the voltage value of the sampled voltage is greater than the set value, the main control module 14 outputs a control signal, and the MOS tube G10 can be turned on based on the control signal. The step-down chip U18 performs a step-down operation on the first voltage, and the step-down chip U18 can generate a third voltage. Or the step-down chip performs a step-down operation on the second voltage, and the step-down chip U18 can generate a fourth voltage, and the step-down output pin out is used to output the third voltage or the fourth voltage.
[0060] Please refer to Figure 3 and Figure 4, the boost module 16 includes a boost chip U19, and the model of the boost chip U19 is MT3608. The boost chip U19 includes a boost input pin in and a boost output pin sw, and the boost input pin in is connected to the buck output pin out. The boost chip U19 is used to boost the third voltage or the fourth voltage, the boost chip U19 generates a first power supply voltage, and the boost output pin sw is used to output the first power supply voltage. The boost module 16 is also provided with a resistor R66 and a resistor R67, and the resistor R66 and the resistor R67 are both high-precision resistors with an accuracy of 1%. The resistor R66 and the resistor R67 can constitute a voltage-dividing feedback circuit, so that the first power supply voltage output by the boost chip is stably controlled at 15V.
[0061] Please refer to Figure 3 and Figure 5 The voltage conversion module 17 includes a voltage conversion chip U20. The voltage conversion chip U20 includes a voltage conversion input pin IN and a voltage conversion output pin OUT, and the voltage conversion input pin IN is connected to the step-down output pin out. The voltage conversion chip U20 is used to perform a voltage conversion operation on the third voltage or the fourth voltage, and the voltage conversion chip U20 can generate a second power supply voltage, and the voltage conversion output pin OUT is used to output the second power supply voltage.
[0062] Please refer to Figure 3 , the step-down module 15 includes a first diode D7 and a second diode D8, and the positive electrode of the first diode D7 is connected to the second input pin 19. The negative electrode of the first diode D7 is connected to the drain of the MOS tube G10, and the second diode D7 is connected in parallel with the first diode D8. The first diode D7 and the second diode D8 are used to prevent the backup power supply 12 from being reversely charged. The setting of the first diode D7 and the second diode D8 makes it difficult for the reverse voltage to reach the backup power supply 12, effectively protecting the backup power supply 12, thereby extending the service life of the backup power supply 12. In addition, the multifunctional gate drive circuit 10 also includes an MT9221 chip, which is a Hall current sampling chip. The MT9221 chip includes an IP-pin and an OUTP pin, and the main control chip U1 includes a current detection pin T3C4 / ADC9 / PB1. The IP-pin is connected to the main power supply 11 through the input interface, and the OUTP pin is connected to the current detection pin T3C4 / ADC9 / PB1. The MT9221 chip can perform current sampling operations on the main power supply 11 , so that the main control chip U1 can perform detection operations on the output current of the main power supply 11 .
[0063] Please refer to Figure 3, the step-down module 15 also includes a filter unit 151, which is connected in parallel with the step-down output pin, and the filter unit 151 is used to filter the third voltage or the fourth voltage. Among them, the filter unit 151 includes a first filter capacitor G44 and a second filter capacitor G45. The step-down module 15 also includes a protection unit 152, which is connected in parallel with the step-down output pin out and is used to protect the circuit of the subsequent stage, so as to avoid the large voltage generated by the short circuit of the main power supply 11 from damaging the circuit of the subsequent stage. Among them, the protection unit 152 includes a fuse F6 and a transient voltage suppression diode D14. When the main power supply 11 is damaged, the setting of the protection unit 152 prevents the main power supply 11 from directly short-circuiting the output, thereby causing the motor Hall powered by the third voltage and the peripheral chips powered by the third voltage to be damaged. Therefore, the protection unit 152 can further reduce the loss during decoupling protection.
[0064] Please refer to Figure 2 , the main control module 14 includes an energy storage unit 142, and the main control chip U1 includes a main control power supply pin VDDA. One end of the energy storage unit 142 is connected to the voltage conversion output pin OUT, and the other end of the energy storage unit is connected to the main control power supply pin VDDA. The energy storage unit 142 is used to perform energy storage operations on the second power supply voltage. Therefore, if an abnormal power outage occurs, the energy storage unit 142 can also quickly provide a power supply voltage for the main control chip U1. Therefore, in the case of an abnormal power outage, the main control chip U1 can also maintain a normal working state.
[0065] Please refer to Figure 2 and Figure 7 , the model of the main control chip U1 is STM32F103C8. The main control chip U1 includes a dial pin, a first control pin and a second control pin. The dial module 181 includes a 4-bit dialer, and the 4-bit dialer is connected to the dial pin. Among them, the dial pin includes a dial pin ANT I_TAMP / PC13, a dial pin OSC32_I N / PC14, a dial pin OSC32_OUT / PC15, and a dial pin PA0-WKUP / ADC0 / T2C1. The first control pin is used to output a first control signal, and the second control pin is used to output a second control signal. The first control pin includes a first control pin PA8 / T1 C1 / U1 CK, a first control pin PA9 / T1 C2 / U1 TX, and a first control pin PA10 / T1 C3 / U1 RX, and the second control pin includes a second control pin T1 C1 N / PB13, a second control pin T1 C2N / PB14, and a second control pin T1 C3N / PB15.
[0066] Please refer to Figure 6, the driving module 18 includes a driving chip, a first MOS tube and a second MOS tube, and the model of the driving chip is FAN7382M. The driving chip includes a first driving input pin, a second driving input pin, a first driving output pin and a second driving output pin, and the first driving input pin is connected to the first control pin. The first driving output pin is connected to the gate of the first MOS tube, the second driving input pin is connected to the second control pin, and the second driving output pin is connected to the gate of the second MOS tube. The drain of the first MOS tube is connected to the power supply. The power supply can output a voltage of 24V, and the gate source of the first MOS tube is connected to the motor 183 of the gate. The drain of the second MOS tube is connected to the power supply, and the gate source of the second MOS tube is connected to the motor 183 of the gate. The first driving output pin is used to output a first driving signal, and the first driving signal is used to drive the first MOS tube to conduct, thereby driving the gate to lift the gate. The second driving output pin is used to output a second driving signal, and the second driving signal is used to drive the second MOS tube to conduct, thereby driving the gate to lower the gate.
[0067] Please refer to Figure 6 The driving chip includes a driving chip U3, a driving chip U4 and a driving chip U5. The first MOS tube includes a first MOS tube G3, a first MOS tube G4 and a first MOS tube G7, and the second MOS tube includes a second MOS tube G5, a second MOS tube G6 and a second MOS tube G8. The first driving input pin hin of the driving chip U3 is connected to the first control pin PA8 / T1 C1 / U1 CK. The first driving output pin ho of the driving chip U3 is connected to the gate of the first MOS tube G3, the second driving input pin lin of the driving chip U3 is connected to the second control pin T1 C1 N / PB13, and the second driving output pin lo of the driving chip U3 is connected to the gate of the second MOS tube G5.
[0068] Please refer to Figure 6 , the first driving input pin hin of the driving chip U4 is connected to the first control pin PA9 / T1 C2 / U1 TX. The first driving output pin ho of the driving chip U4 is connected to the gate of the first MOS tube G4, the second driving input pin lin of the driving chip U4 is connected to the second control pin T1 C2N / PB14, and the second driving output pin lo of the driving chip U4 is connected to the gate of the second MOS tube G6. The first driving input pin hin of the driving chip U5 is connected to the first control pin PA10 / T1C3 / U1 RX. The first driving output pin ho of the driving chip U5 is connected to the gate of the first MOS tube G7, the second driving input pin lin of the driving chip U5 is connected to the second control pin T1 C3N / PB15, and the second driving output pin lo of the driving chip U5 is connected to the gate of the second MOS tube G8.
[0069] Please refer to Figure 6 The driver chip also includes a driver power supply pin, which is connected to the boost output pin. Among them, the driver power supply pin vcc of the driver chip U3, the driver power supply pin vcc of the driver chip U4, and the driver power supply pin vcc of the driver chip U5 are all connected to the boost output pin sw. Therefore, the first driving voltage output by the boost output pin sw can respectively power the driver chip U3, the driver chip U4, and the driver chip U5.
[0070] Please refer to Figure 2 , Figure 8 and Fig. 9 , the main control chip U1 includes a first drive pin and a second drive pin, and the output module 15 also includes a first LED driver chip and a second LED driver chip. The first LED driver chip includes a first LED input pin and a first LED output pin, and the first LED input pin is connected to the first drive pin. The first LED output pin is connected to the first interface, and the first LED driver chip is used to drive the white light LED lamp. The second LED driver chip includes a second LED input pin and a second LED output pin, and the second LED input pin is connected to the second drive pin. The second LED output pin is connected to the second interface, and the second LED driver chip is used to drive the red light LED lamp or the green light LED lamp.
[0071] Please refer to Figure 2 , Figure 8 and Fig. 9 , the first LED driver chip includes a first LED driver chip U2 and a first LED driver chip U7. The first LED driver chip includes a second LED driver chip U8 and a second LED driver chip U9. The first drive pin includes a first drive pin PA13 / JTMS / SWD IO and a first drive pin PA14 / JTCLK / SWCLK, and the first interface J5 and the second interface J6 are both connected to the power supply. The first interface J5 includes a first interface pin 191 and a first interface pin 192, and the second interface J6 includes a second interface pin 193 and a second interface pin 194. The first LED input pin vin of the first LED driver chip U2 is connected to the first drive pin PA13 / JTMS / SWD IO, and the first LED output pin vout of the first LED driver chip U2 is connected to the first interface pin 191. The first LED input pin vi n of the first LED driver chip U7 is connected to the first drive pin PA14 / JTCLK / SWCLK, and the first LED output pin vout of the first LED driver chip U7 is connected to the first interface pin 192. The first interface J5 can be connected to a white light LED lamp, and the first LED driver chip U2 and the first LED driver chip U7 are used to drive the white light LED lamp.
[0072] Please refer to Figure 2, Figure 8 and Fig. 9 , the second driving pins include a second driving pin JTDO / PB3 and a second driving pin JNTRST / PB4. The second LED input pin vi n of the second LED driver chip U8 is connected to the second driving pin JTDO / PB3, and the second LED output pin vout of the second LED driver chip U8 is connected to the second interface pin 193. The second LED input pin vi n of the second LED driver chip U9 is connected to the second driving pin JNTRST / PB4, and the second LED output pin vout of the second LED driver chip U9 is connected to the second interface pin 194. The second interface can be connected to a red LED lamp and a green LED lamp, the second LED driver chip U8 is used to drive a red LED lamp, and the second LED driver chip U9 is used to drive a green LED lamp.
[0073] Please refer to Figure 6 , the driving module 18 also includes a first current limiting resistor and a second current limiting resistor. One end of the first current limiting resistor is connected to the first control pin, the other end of the first current limiting resistor is connected to the first drive input pin, and the first current limiting resistor is used to perform current limiting operation on the first control signal. Therefore, the setting of the first current limiting resistor can prevent the first control signal with a large current from damaging the driving chip. One end of the second current limiting resistor is connected to the second control pin, the other end of the second current limiting resistor is connected to the second drive input pin, and the second current limiting resistor is used to perform current limiting operation on the second control signal. Therefore, the setting of the second current limiting resistor can prevent the second control signal with a large current from damaging the driving chip. Among them, the first current limiting resistor includes a first current limiting resistor R27, a first current limiting resistor R38, and a first current limiting resistor R39, and the second current limiting resistor includes a second current limiting resistor R28, a second current limiting resistor R40, and a second current limiting resistor R41.
[0074] Please refer to Figure 6 , the driving module 18 also includes a third current limiting resistor and a fourth current limiting resistor. One end of the third current limiting resistor is connected to the first drive output pin, the other end of the third current limiting resistor is connected to the gate of the first MOS tube, and the third current limiting resistor is used to perform current limiting operation on the first drive signal. Therefore, the setting of the third current limiting resistor can prevent the first drive signal with a large current from damaging the first MOS tube. One end of the fourth current limiting resistor is connected to the second drive output pin, the other end of the fourth current limiting resistor is connected to the gate of the second MOS tube, and the fourth current limiting resistor is used to perform current limiting operation on the second drive signal. Therefore, the setting of the fourth current limiting resistor can prevent the second drive signal with a large current from damaging the second MOS tube. Among them, the third current limiting resistor includes a third current limiting resistor R25, a third current limiting resistor R32, and a third current limiting resistor R33, and the fourth current limiting resistor includes a fourth current limiting resistor R26, a fourth current limiting resistor R36, and a fourth current limiting resistor R37.
[0075] Please refer to Figure 6 , the driving module 18 also includes a first clamping protection unit 181 and a second clamping protection unit 182. One end of the first clamping protection unit 181 is connected to the gate of the first MOS tube, and the other end of the first clamping protection unit 131 is connected to the source of the first MOS tube. The first clamping protection unit 181 is used to perform clamping protection operations on the gate and source of the first MOS tube. One end of the second clamping protection unit 182 is connected to the gate of the second MOS tube, and the other end of the second clamping protection unit 182 is connected to the source of the second MOS tube. The second clamping protection unit 182 is used to perform clamping protection operations on the gate and source of the second MOS tube. The setting of the clamping protection unit can protect the MOS tube, avoid the MOS tube from being damaged by voltage spikes, and ensure that the MOS tube maintains a stable working state.
[0076] Please refer to Figure 6 , the first clamping protection unit 181 includes a first protection resistor and a first protection capacitor. One end of the first protection resistor is connected to the gate of the first MOS tube, the other end of the first protection resistor is connected to the source of the first MOS tube, and the first protection capacitor is connected in parallel with the first protection resistor. Among them, the first protection resistor includes a first protection resistor R29, a first protection resistor R30, and a first protection resistor R31, and the first protection capacitor includes a first protection capacitor C24, a first protection capacitor C25, and a first protection capacitor C26. The second clamping protection unit 182 includes a second protection resistor and a second protection capacitor, and one end of the second protection resistor is connected to the gate of the second MOS tube. The other end of the second protection resistor is connected to the source of the second MOS tube, and the second protection capacitor is connected in parallel with the second protection resistor. Among them, the second protection resistor includes a second protection resistor R33, a second protection resistor R33, and a second protection resistor R45, and the second protection capacitor includes a second protection capacitor C29, a second protection capacitor C30, and a second protection capacitor C33.
[0077] Please refer to Fig.10 , the anti-power-off multifunctional barrier drive circuit 10 also includes a third interface J8, and the main control chip includes a PA1 / ADC1 / T2C2 pin. The PA1 / ADC1 / T2C2 pin is connected to the third interface J8, and the third interface J8 can be externally connected to an analog sensor, which can be used to measure temperature, wind speed, brightness, etc. Thus, the main control chip can detect the parameters of the parking environment. The third interface J8 can also be externally connected to a controller, so that the main control chip can perform operations such as opening the door on the barrier. Therefore, the multifunctional barrier drive circuit 10 can expand multiple functions through the interface, effectively solving the technical problem that the existing barrier is difficult to match user needs.
[0078] Please refer to Fig.11The multifunctional barrier driving circuit 10 for preventing power failure further includes an optical coupler U22 and a fourth interface J10. The optical coupler U22 includes a first input terminal 21, a second input terminal 22, a third input terminal 23, a fourth input terminal 24, a first output terminal 25, a second output terminal 26, a third output terminal 27, and a fourth output terminal 28. The main control chip U1 includes a T4C4 / PB9 pin, a PB5 pin, a PA15 / JTD I pin, and a PB12 pin. The fourth interface J10 includes a first pin KEY_MENU, a second pin KEY_DEC, a third pin KEY_I NC, and a fourth pin KEY_SET. The fourth interface J10 can be connected to an external device such as a computer.
[0079] Please refer to Fig.11 , the T4C4 / PB9 pin is used to output a first switch signal, which is used to indicate whether the barrier gate is in the raised state. The first input terminal 21 is connected to the T4C4 / PB9 pin, and the first output terminal 25 is connected to the first pin KEY_MENU. Thus, an external device such as a computer can identify whether the barrier gate is in the raised state. The PB5 pin is used to output a second switch signal, which is used to indicate whether the barrier gate is in the lowered state. The second input terminal 22 is connected to the PB5 pin, and the second output terminal 26 is connected to the second pin KEY_DEC. Thus, an external device such as a computer can identify whether the barrier gate is in the lowered state. The PA15 / JTD I pin is used to output a third switch signal, which is used to indicate whether the ground sensor is in the on state. The third input terminal 23 is connected to the PA15 / JTD I pin, and the third output terminal 27 is connected to the third pin KEY_I NC. Thus, an external device such as a computer can identify whether the ground sensor is in the on state. The PB12 pin is used to output a fourth switch signal, which is used to indicate whether the anti-pinch device is in the on state. The fourth input terminal 24 is connected to the PB12 pin, and the fourth output terminal 28 is connected to the fourth pin KEY_SET. Thus, an external device such as a computer can identify whether the anti-pinch device is in an open state. Therefore, the multifunctional barrier drive circuit 10 can expand multiple functions to better meet the needs of users.
[0080] Please refer to Fig.12The anti-power-off multifunctional barrier drive circuit 10 also includes a first wireless communication chip U23, and the main control chip includes a communication pin PA2 / U2TX / ADC2 / T2C3 and a communication pin PA3 / U2RX / ADC3 / T2C4. The communication pin PA2 / U2TX / ADC2 / T2C3 is connected to the RE pin of the first wireless communication chip U23, and the communication pin PA3 / U2RX / ADC3 / T2C4 is connected to the RO pin of the first wireless communication chip U23. Pin A and pin B of the first wireless communication chip U23 are connected to an external device, so that the main control chip can perform two-way wireless communication with the external communication device through the first wireless communication chip U23, and the communication between the main control chip and the external device complies with the RS485 communication protocol.
[0081] Please refer to Fig.12 The multifunctional barrier drive circuit for preventing power failure also includes a second wireless communication chip U25, and the main control chip includes a communication pin U3TX / PB10 and a communication pin U3RX / PB11. The communication pin U3TX / PB10 is connected to the RE pin of the second wireless communication chip U25, the communication pin U3RX / PB11 is connected to the RO pin of the second wireless communication chip U25, and the pin A and pin B of the second wireless communication chip U25 are connected to an external device. The models of the second wireless communication chip U25 and the first wireless communication chip U23 are both MAX487, and the functions of the second wireless communication chip U25 are consistent with those of the first wireless communication chip U23. For details, please refer to the functional description of the first wireless communication chip U23. Therefore, the multifunctional barrier drive circuit 10 has the function of communicating with external devices, which effectively meets the diverse needs of users.
[0082] Please refer to Fig.13 , the main control chip U1 includes the PA11 / T1 C4 / U1 CTS / CANRX pin. The anti-power-off multifunctional barrier drive circuit 10 also includes a connection module 20, which includes a chip U6 and a MOS tube G9, and the model of the chip U6 is N531. The vi n pin of the chip U6 is connected to the PA11 / T1 C4 / U1 CTS / CANRX pin, and the gate of the MOS tube G9 is connected to the vout pin of the chip U6. The drain of the MOS tube G9 is connected to the main power supply 11 or a 24V power supply, and the source of the drain of the MOS tube G9 is connected to an inductive load such as a clutch and an electric lock. Therefore, the anti-power-off multifunctional barrier drive circuit 10 can expand the output to the function of driving an inductive load such as a clutch and an electric lock.
[0083] The working principle of the present invention is as follows: when the parking lot is powered normally, the gate can work normally, and at this time, the main power supply 11 can output a first voltage. The voltage sampling module 13 can perform a voltage division operation on the first voltage, and the voltage sampling module 13 can generate a sampling voltage. The main control module 14 can compare the voltage value of the sampling voltage with the set value. If the voltage value of the sampling voltage is greater than the set value, the main control module 14 outputs a control signal. When the step-down module 15 receives the control signal, the step-down module 15 performs a step-down operation on the first voltage, and the step-down module 15 can generate a third voltage. The boost module 16 can perform a step-up operation on the third voltage, and the boost module 16 generates a first supply voltage, and the first supply voltage is used to power the driving module 18. The voltage conversion module 17 can perform a voltage conversion operation on the third voltage, and the voltage conversion module 17 can generate a second supply voltage, and the second supply voltage is used to power the main control module 14.
[0084] When the vehicle approaches the barrier, the main control module 14 may output a first control signal, the driving module 13 may generate a first driving signal based on the first control signal, and the first driving signal may drive the barrier to perform a gate-lifting operation. When the vehicle is away from the barrier, the main control module 14 may output a second control signal, the driving module 13 may generate a second driving signal based on the second control signal, and the second driving signal may drive the barrier to perform a gate-lowering operation. The multifunctional barrier driving circuit 10 is provided with a dialing module 141, and the dialing module 141 may output a dialing signal. When the barrier is abnormally lifted, the main control module 14 outputs a second control signal based on the dialing signal after the time set for the abnormal gate lifting, so that the second driving signal may drive the barrier to perform a gate-lowering operation. Therefore, even if the barrier is abnormally lifted, the multifunctional barrier driving circuit 10 may recover by itself. Furthermore, the barrier with the circuit may maintain a normal working state, and the user does not need to overhaul the barrier. When the parking environment becomes dark, the main control module 12 may output a first LED lamp driving signal, and the first LED lamp driving signal may drive the white light LED lamp to light up. In addition, the main control module 14 can also output a second LED light driving signal. Even in a dim environment, the gate with the circuit can be used normally. The second LED light driving signal can drive a red LED light or a green LED light, and the red LED light and the green LED light can indicate whether there is a vehicle in the turning vehicle channel. The multifunctional gate driving circuit 10 can guide the traffic in the parking lot through the red LED light and the green LED light, avoiding the problem of easy traffic congestion in the parking lot.
[0085] When the parking lot has an abnormal power outage, the backup power supply 12 can output a second voltage. The main power supply 11 does not output the first voltage, so the voltage sampling module 13 does not generate a sampling voltage. Therefore, if the voltage value of the sampling voltage is less than the set value, the main control module 14 does not output a control signal. When the step-down module 15 does not receive the control signal, the step-down module 15 performs a step-down operation on the second voltage, and the step-down module 15 can generate a fourth voltage. The boost module 16 can perform a step-up operation on the fourth voltage, and the boost module 16 generates a first supply voltage, and the first supply voltage is used to power the drive module 18. The voltage conversion module 17 can perform a voltage conversion operation on the fourth voltage, and the voltage conversion module 17 can generate a second supply voltage, and the second supply voltage is used to power the main control module 14.
[0086] In summary, although the present invention has been disclosed as above in terms of preferred embodiments, the above preferred embodiments are not intended to limit the present invention. A person skilled in the art may make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention shall be based on the scope defined in the claims.
Claims
1. A multifunctional barrier drive circuit for preventing power failure, characterized in that: These include, A main power supply, configured to output a first voltage; A backup power supply, used for outputting a second voltage; A voltage sampling module, connected to the main power supply, and configured to perform a voltage division operation on the first voltage to generate a sampling voltage; A main control module, connected to the voltage sampling module, for comparing the voltage value of the sampled voltage with a set value. If the voltage value of the sampled voltage is greater than the set value, the main control module outputs a control signal; a step-down module, connected to the main power supply, the backup power supply and the main control module, wherein when the step-down module receives the control signal, the step-down module performs a step-down operation on the first voltage to generate a third voltage; when the step-down module does not receive the control signal, the step-down module performs a step-down operation on the second voltage to generate a fourth voltage; a boost module, connected to the buck module, and configured to perform a boost operation on the third voltage or the fourth voltage to generate a first supply voltage, wherein the first supply voltage is used to supply power to the driving module; a voltage conversion module, connected to the voltage reduction module, and used to perform a voltage conversion operation on the third voltage or the fourth voltage to generate a second supply voltage, wherein the second supply voltage is used to supply power to the main control module; Wherein, the main control module is also used to output a first control signal and a second control signal; The driving module is connected to the main control module, and is used to generate a first driving signal based on the first control signal, and to generate a second driving signal based on the second control signal, wherein the first driving signal is used to drive the gate to perform a gate-lifting operation, and the second driving signal is used to drive the gate to perform a gate-lowering operation; A dial module is connected to the main control module, and the dial module is used to output a dial signal, and the dial signal is used to call the parameters of the main control module to adjust the output time of the second control signal; if the barrier gate is abnormally lifted, the main control module outputs the second control signal after the time set by the abnormal barrier gate lifting based on the dial signal; The output module includes a first interface and a second interface, wherein one end of the first interface is connected to the main control module, and the other end of the first interface is connected to a white light LED lamp; one end of the second interface is connected to the main control module, and the other end of the second interface is connected to a red light LED lamp and a green light LED lamp; when the parking lot environment becomes dark, the main control module is used to output the first LED lamp driving signal, and the first LED lamp driving signal is used to drive the white light LED lamp to light up; and the main control module is used to output the second LED lamp driving signal, and the second LED lamp driving signal is used to drive the red light LED lamp or the green light LED lamp, and the red light LED lamp and the green light LED lamp are used to indicate whether there is a vehicle in the turning vehicle channel.
2. The multifunctional barrier driving circuit for preventing power failure according to claim 1 is characterized in that: The main control module includes a main control chip, the main control chip includes a dial pin, a first control pin and a second control pin, the dial module includes a 4-bit dialer, the 4-bit dialer is connected to the dial pin, the first control pin is used to output a first control signal, and the second control pin is used to output a second control signal; The driving module includes a driving chip, a first MOS tube and a second MOS tube, the driving chip includes a first driving input pin, a second driving input pin, a first driving output pin and a second driving output pin, the first driving input pin is connected to the first control pin, the first driving output pin is connected to the gate of the first MOS tube, the second driving input pin is connected to the second control pin, and the second driving output pin is connected to the gate of the second MOS tube; The drain of the first MOS tube is connected to the power supply, and the gate source of the first MOS tube is connected to the motor of the gate; the drain of the second MOS tube is connected to the power supply or the main power supply, and the gate source of the second MOS tube is connected to the motor of the gate, the first drive output pin is used to output a first drive signal, and the first drive signal is used to drive the first MOS tube to turn on, thereby driving the gate to lift, and the second drive output pin is used to output a second drive signal, and the second drive signal is used to drive the second MOS tube to turn on, thereby driving the gate to lower.
3. The multifunctional barrier driving circuit for preventing power failure according to claim 2 is characterized in that: The main control chip includes a first drive pin and a second drive pin, and the output module also includes a first LED driver chip and a second LED driver chip. The first LED driver chip includes a first LED input pin and a first LED output pin, the first LED input pin is connected to the first drive pin, the first LED output pin is connected to the first interface, and the first LED driver chip is used to drive the white light LED lamp; the second LED driver chip includes a second LED input pin and a second LED output pin, the second LED input pin is connected to the second drive pin, the second LED output pin is connected to the second interface, and the second LED driver chip is used to drive the red light LED lamp or the green light LED lamp.
4. The multifunctional barrier driving circuit for preventing power failure according to claim 2 is characterized in that: The driving module also includes a first current limiting resistor and a second current limiting resistor, one end of the first current limiting resistor is connected to the first control pin, the other end of the first current limiting resistor is connected to the first drive input pin, and the first current limiting resistor is used to perform current limiting operations on the first control signal; one end of the second current limiting resistor is connected to the second control pin, the other end of the second current limiting resistor is connected to the second drive input pin, and the first current limiting resistor is used to perform current limiting operations on the second control signal.
5. The multifunctional barrier driving circuit for preventing power failure according to claim 2 is characterized in that: The driving module includes a third current limiting resistor and a fourth current limiting resistor, one end of the third current limiting resistor is connected to the first driving output pin, the other end of the third current limiting resistor is connected to the gate of the first MOS tube, and the third current limiting resistor is used to perform current limiting operation on the first driving signal; one end of the fourth current limiting resistor is connected to the second driving output pin, the other end of the fourth current limiting resistor is connected to the gate of the second MOS tube, and the first current limiting resistor is used to perform current limiting operation on the second driving signal.
6. The multifunctional barrier drive circuit according to claim 2, characterized in that: The driving module includes a first clamping protection unit and a second clamping protection unit, one end of the first clamping protection unit is connected to the gate of the first MOS tube, the other end of the first clamping protection unit is connected to the source of the first MOS tube, and the first clamping protection unit is used to perform a clamping protection operation on the gate and source of the first MOS tube; One end of the second clamping protection unit is connected to the gate of the second MOS tube, and the other end of the second clamping protection unit is connected to the source of the second MOS tube, and the second clamping protection unit is used to perform a clamping protection operation on the gate and source of the second MOS tube; The first clamping protection unit includes a first protection resistor and a first protection capacitor, one end of the first protection resistor is connected to the gate of the first MOS tube, the other end of the first protection resistor is connected to the source of the first MOS tube, and the first protection capacitor is connected in parallel with the first protection resistor; The second clamping protection unit includes a second protection resistor and a second protection capacitor, one end of the second protection resistor is connected to the gate of the second MOS tube, the other end of the second protection resistor is connected to the source of the second MOS tube, and the second protection capacitor is connected in parallel with the second protection resistor.
7. The multifunctional barrier driving circuit for preventing power failure according to claim 2, characterized in that: The voltage sampling module includes a voltage sampling unit, the main control module includes a main control chip, the main control chip includes a main control input pin and a main control output pin, the buck module includes an input interface, a switch MOS tube and a buck chip, the input interface includes a first input pin and a second input pin, the buck chip includes a buck input pin and a buck output pin, one end of the voltage sampling unit is connected to the main power supply, and the other end of the voltage sampling unit is connected to the main control input pin, and the voltage sampling unit is used to perform a voltage division operation on the first voltage to generate a sampling voltage; One end of the first input pin is connected to the main power supply, and the other end of the first input pin is connected to the buck input pin; one end of the second input pin is connected to the backup power supply, and the other end of the second input pin is connected to the drain of the switch MOS tube, and the gate of the switch MOS tube is connected to the main control output pin, the main control chip is used to compare the voltage value of the sampled voltage with the set value, if the voltage value of the sampled voltage is greater than the set value, the main control module outputs a control signal, the switch MOS tube is used to be turned on based on the control signal, the source of the switch MOS tube is connected to the buck input pin, the buck chip performs a buck operation on the first voltage to generate a third voltage, or the buck chip performs a buck operation on the second voltage to generate a fourth voltage, and the buck output pin is used to output the third voltage or the fourth voltage.
8. The multifunctional barrier driving circuit for preventing power failure according to claim 7, characterized in that: The boost module includes a boost chip, the boost chip includes a boost input pin and a boost output pin, the boost input pin is connected to the buck output pin, the boost chip is used to boost the third voltage or the fourth voltage to generate a first power supply voltage, and the boost output pin is used to output the first power supply voltage; the drive chip also includes a drive power supply pin, and the drive power supply pin is connected to the boost output pin.
9. The multifunctional barrier driving circuit for preventing power failure according to claim 7, characterized in that: The voltage conversion module includes a voltage conversion chip, which includes a voltage conversion input pin and a voltage conversion output pin. The voltage conversion input pin is connected to the step-down output pin. The voltage conversion chip is used to perform a voltage conversion operation on the third voltage or the fourth voltage to generate a second power supply voltage. The voltage conversion output pin is used to output the second power supply voltage. The main control chip also includes a main control power supply pin, and the step-down output pin is connected to the voltage conversion output pin.
10. A multifunctional barrier, characterized in that: It includes the multifunctional barrier drive circuit for preventing power failure as described in any one of claims 1-9.
Citation Information
Patent Citations
Barrier gate super capacitor back-up power supply and barrier gate system with same
CN114142602A
Power supply circuit and electric equipment
CN115051462A
Power failure protection circuit system of industrial personal computer
CN119315691A
Brushless servo barrier gate circuit with position control
CN212137565U