Summary of the invention
In order to will cause major loop short circuit when solving the problems, such as servo-driver power down in the prior art, the present invention provides
A kind of protection circuit and servo-driver.
A kind of protection circuit, comprising: the first circuit, second circuit, broken circuit detection circuit, control circuit and switching circuit,
The input terminal of first circuit is connect with power supply terminal;
The input terminal of the broken circuit detection circuit is connect with the output end of first circuit, and the broken circuit detection circuit exists
Break signal is generated when first circuit breaker;
The input terminal of the control circuit is connected with the output end of the broken circuit detection circuit, the control circuit it is defeated
Outlet is connected by switching circuit with the second circuit, when the control circuit receives break signal, is opened described in driving
Powered-down road disconnects the second circuit and first circuit.
Further, the control circuit includes: first resistor, second resistance, 3rd resistor and triode,
The first end of the 3rd resistor is connect with the output end of the broken circuit detection circuit, and second end is respectively with described three
The base stage of pole pipe is connected with the first end of second resistance;
The collector of the triode is connect with the input terminal of the switching circuit, and the of emitter and the first resistor
One end connection;
The second end of the second resistance is connect with the second end of the first resistor;
The second end of the first resistor is grounded.
Further, the triode is switching transistor.
Further, the switching circuit includes: first switch circuit and second switch circuit.
Further, the first switch circuit includes the first relay, and first current-collector inputs back including first
Road and the first output loop, first input circuit are connect with the output end of the control circuit, first output circuit
It is connect with the second circuit.
Further, first input circuit includes: first coil, diode and first capacitor,
The first end of the first coil is connect with power supply terminal, and second end is connect with the collector of the triode;
The first end of the first capacitor is connect with the first end of the cathode of the diode and the first coil respectively,
Second end is connect with the second end of the anode of the diode and the first coil respectively.
Further, first input circuit includes: first switch, the first switch and the second switch circuit
Input terminal connection.
Further, the second switch circuit includes: the second relay, and second relay inputs back including second
Road and the second output loop,
Second input circuit is connect with the first output loop of the first relay, second output loop with it is described
Second circuit is connected.
Further, second input circuit includes: the second coil, the 4th resistance, the 5th resistance and zener diode,
The first end of second coil is connect with the first end of the 5th resistance, second end ground connection;
The second end of 5th resistance is connect with the first end of the 4th resistance;
The second end of 4th resistance is connect with the output end of the first switching circuit;
The anode of the zener diode is connect with the second end of second coil, cathode and respectively second coil
First end connected with the first end of the 5th resistance.
Further, second output loop includes: the single-pole double-throw switch (SPDT) of two linkages, the first single-pole double-throw switch (SPDT)
Fixing end connect with the output end of first switch circuit, the movable end of first single-pole double-throw switch (SPDT) respectively with second circuit
Input terminal or first switch fixing end connection;The fixing end of second single-pole double-throw switch (SPDT) is grounded, the work of the second switch
The input terminal of moved end and second circuit connects or disconnects.
A kind of servo-driver, including any of the above-described protection circuit.
Technical solution provided by the invention has the advantages that compared with the immediate prior art
Technical solution provided by the invention is when detecting the first circuit power down, the work of control circuit control switch circuit,
So that second circuit is disconnected with the first circuit, to protect second circuit.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiments of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
Member's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
As shown in Figure 1, the circuit includes: the first circuit, the second electricity the embodiment of the invention provides a kind of protection circuit
Road, broken circuit detection circuit, control circuit and switching circuit,
The input terminal of first circuit is connect with power supply terminal;
The input terminal of the broken circuit detection circuit is connect with the output end of first circuit, and the broken circuit detection circuit exists
Break signal is generated when first circuit breaker;
The input terminal of the control circuit is connected with the output end of the broken circuit detection circuit, the control circuit it is defeated
Outlet is connected by switching circuit with the second circuit, when the control circuit receives break signal, is opened described in driving
Powered-down road disconnects the second circuit and first circuit.
In the embodiment of the present application, when detecting the first circuit power down, the work of control circuit control switch circuit, so that
Second circuit is disconnected with the first circuit, to protect second circuit.
Fig. 2 is the bulk supply circuit of general-purpose servo controller, when servo-driver power down, due to main circuit power one
As all there is larger electrolytic capacitor and be used as pressure stabilizing (C2, C3 in Fig. 2), so main circuit power voltage usually declines more slowly,
And the electric capacity of voltage regulation in control loop power supply is typically small (C1 in Fig. 2), the comparison of control loop voltage decline is rapid;Therefore exist
Following situations is led back when the gate voltage (G in Fig. 4) of the device for power switching provided by control loop power supply falls to zero
Road power supply is also in higher voltage level;Once there is this situation, due to depositing between device for power switching gate pole and collector
Miller capacitance, main circuit current will flow through this capacitor, at this time should be by control loop control so as to cause gate potentials rising
The gate-control signal of system has become uncontrollable, will will cause the situation of major loop short circuit under extreme case.
The present invention solves the problems, such as that there are uncontrolled conductings for device for power switching in servo-driver power down.In servo
When driver power down, it is possible to prevente effectively from there are breakdown risks for expensive power module.
When control system detects that power down behavior occurs for servo-driver, main control chip can issue driving signal, thus
It controls corresponding relay and carries out relevant action, electrolytic capacitor and inverter bridge is forced to disconnect;And by between two relays
Interconnection cooperation, once so that control signal is just not necessarily to continue holding, until being electrolysed electricity in major loop after relay acts
When voltage in appearance drops to zero charge, relay is just returned to original state, and so far just completes the power down protection of driver.
As shown in figure 3, control circuit includes: first resistor, second resistance, third in some embodiments of the present application
Resistance and triode,
The first end of the 3rd resistor is connect with the output end of the broken circuit detection circuit, and second end is respectively with described three
The base stage of pole pipe is connected with the first end of second resistance;
The collector of the triode is connect with the input terminal of the switching circuit, and the of emitter and the first resistor
One end connection;
The second end of the second resistance is connect with the second end of the first resistor;
The second end of the first resistor is grounded.
Wherein, triode can be switching transistor or other triodes with switching characteristic.
In some embodiments of the present application, switching circuit includes: first switch circuit and second switch circuit.
In some embodiments of the present application, first switch circuit includes the first relay, and first current-collector includes
First input circuit and the first output loop, first input circuit are connect with the output end of the control circuit, and described
One output circuit is connect with the second circuit.
First input circuit includes: first coil, diode and first capacitor,
The first end of the first coil is connect with power supply terminal, and second end is connect with the collector of the triode;
The first end of the first capacitor is connect with the first end of the cathode of the diode and the first coil respectively,
Second end is connect with the second end of the anode of the diode and the first coil respectively.
First input circuit includes: first switch, and the first switch is connect with the input terminal of the second switch circuit.
In some embodiments of the present application, second switch circuit includes: the second relay, and second relay includes
Second input circuit and the second output loop,
Second input circuit is connect with the first output loop of the first relay, second output loop with it is described
Second circuit is connected.
Second input circuit includes: the second coil, the 4th resistance, the 5th resistance and zener diode,
The first end of second coil is connect with the first end of the 5th resistance, second end ground connection;
The second end of 5th resistance is connect with the first end of the 4th resistance;
The second end of 4th resistance is connect with the output end of the first switching circuit;
The anode of the zener diode is connect with the second end of second coil, cathode and respectively second coil
First end connected with the first end of the 5th resistance.
Second output loop includes: the single-pole double-throw switch (SPDT)s of two linkages, the fixing end of the first single-pole double-throw switch (SPDT) and the
The output end of one switching circuit connects, the movable end of first single-pole double-throw switch (SPDT) respectively with the input terminal of second circuit or the
The fixing end connection of one switch;The fixing end of second single-pole double-throw switch (SPDT) is grounded, the movable end of the second switch and the second electricity
The input terminal on road connects or disconnects.
The specific implementation of this case is elaborated by taking the servo-driver with three-phase bridge PWM inversion topological structure as an example
Mode.
The generation of correct judgement system is powered down behavior;When disconnect Fig. 2 in breaker when, control loop, major loop just with confession
Electric dump, entire servo-control system just enters the power down stage at this time, and each circuit voltage is begun to decline;And work as servo-system
If when the acceleration of motor urgency or motor load short time rapidly increase when normal operation similarly there are the feelings of voltage decline in major loop
Condition selects control loop supply voltage to be detected clearly more adduction in order to avoid the error detection to system is powered down behavior
Reason, because power-fail detection circuit is not emphasis of the invention, therefore not in this deployment analysis.
When discovery system is powered down movement, the main control chip in system can issue a control signal, by an optocoupler every
From output control signal RELAY (i.e. as shown on the left side of figure 3), control signal RELAY makes the control loop (1,2 of relay 1
Pin) conducting, armature is attracted, so that 3, No. 4 pins in relay 1 are connected.
In Fig. 3 on 3,4,5 pins of relay 2 armature switch to i.e. should be in the switch K1 in Fig. 2;6,7,8 pin
On armature switch i.e. correspond to Fig. 2 in switch K2;As can be seen that when without control signal, (system of representative is not detected
Electronic work), the original state of 3,4 pins in relay 2 is short-circuit connection, i.e. switch K1 in Fig. 2 when powering normal at
In closed state, this guarantees the normal works of main circuit power;And when system is powered down, it is analyzed by front it is found that relay
3, the 4 feet short circuit of device 1, and then 1,2 pins in relay 2 have electric current to pass through, relay 2 carries out corresponding actions, i.e. relay 2
In 3,4 pins disconnect, 3,5 pins closure;6,8 pins disconnect, 7,8 pins closure, correspond to Fig. 2 analysis it is found that in system
When power down, switch K1 controlled switch-off, the controlled closure of switch K2, this series of actions both ensure that main circuit power prior to controlling back
It is electric under the power supply of road, it is ensured that out-of-control condition is not present in device for power switching, while providing this circuit R6 again in C2, C3
Energy is discharged, it is ensured that the safety of driver.
After 2 controlled actuation of relay, being in self-locking state, i.e. relay 2 has not been controlled at this time by relay 1,
Until the current potential of network N ET1 drops to certain particular value hereinafter, relay 2 can just return to original state, this design is with regard to fine
Solve since control loop power down is very fast, cause control signal RELAY relay 2 cannot be persistently controlled after system is powered down
The case where.
The present invention also provides a kind of servo-driver, which includes any of the above-described protection circuit.
It should be noted that, in this document, the relational terms of such as " first " and " second " or the like are used merely to one
A entity or operation with another entity or operate distinguish, without necessarily requiring or implying these entities or operation it
Between there are any actual relationship or orders.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its
Combination is to realize.For hardware realization, processing unit be may be implemented in one or more specific integrated circuit (Application
Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing,
DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic
Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor,
In controller, microcontroller, microprocessor, other electronic units for executing herein described function or combinations thereof.
For software implementations, the techniques described herein can be realized by executing the unit of function described herein.Software generation
Code is storable in memory and is executed by processor.Memory can in the processor or portion realizes outside the processor.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others
Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit
It connects, can be electrical property, mechanical or other forms.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer readable storage medium.Based on this understanding, the technical solution of the embodiment of the present invention is substantially
The part of the part that contributes to existing technology or the technical solution can embody in the form of software products in other words
Come, which is stored in a storage medium, including some instructions are used so that a computer equipment (can
To be personal computer, server or the network equipment etc.) execute all or part of each embodiment the method for the present invention
Step.And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can store program
The medium of code.
It should be noted that the terms "include", "comprise" or its any other variant are intended to the packet of nonexcludability
Contain, so that the process, method, article or equipment for including a series of elements not only includes those elements, but also including
Other elements that are not explicitly listed, or further include for elements inherent to such a process, method, article, or device.
In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including the element
Process, method, article or equipment in there is also other identical elements.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although
Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used
To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features;
And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and
Range.