Background technology
In order to prevent the generation of major accident, all be provided with the digital hardware protective circuit in the Locomotive Converter.Working signal in described traction convertor, for example voltage or electric current etc., when surpassing predefined threshold voltage, operating circuit is cut off in the performance element action in the digital hardware protective circuit, thereby prevents the generation of major accident.
Referring to Fig. 1, this figure is the schematic diagram of digital hardware protective circuit in the prior art.
The digital hardware protective circuit mainly comprises voltage comparator.Voltage comparator is a kind of circuit element that is used for comparison input voltage and reference voltage.Remember that described input voltage is U
In, described reference voltage is U
RefDescribed U
InBe added on the input in the same way (+) of voltage comparator.Described U
RefBe added on the reverse input end (-) of described voltage comparator.Described U
RefCan be on the occasion of, also can be negative value.As described U
InLess than described U
RefThe time, voltage comparator output output logic low level.As described U
InGreater than described U
RefThe time, voltage comparator output output logic high level.The voltage comparator output is called threshold voltage or threshold voltage from the corresponding output voltage that a level jumps to another level, is designated as U
Th, U
Th=U
Ref
Transducer is converted to voltage signal with working signal in the traction convertor, as the U of described voltage comparator
InWith described U
InAllow that with predefined threshold values compares.Describedly allow that threshold values is described U
RefAs described U
InGreater than described U
RefThe time, voltage comparator output output high level, operating circuit is cut off in the performance element action, thereby prevents the generation of major accident.
Referring to Fig. 2, this figure is the schematic diagram of the digital hardware protective circuit of electric resistance partial pressure in the prior art.
Threshold voltage in the existing digital hardware protective circuit is provided with by electric resistance partial pressure.The digital hardware protective circuit mainly is made up of a voltage comparator and two divider resistances.The first divider resistance R
1A termination power voltage Vdc, the reverse input end (-) of another termination voltage comparator.The second divider resistance R
2The reverse input end (-) of the described voltage comparator of a termination, other end ground connection.
Can be got by the electric resistance partial pressure principle, described threshold voltage is that reference voltage is U
Ref
This shows, as long as choose the threshold voltage that suitable divider resistance can obtain needs.
In a single day but different threshold voltages need be selected different divider resistances, and sets described divider resistance, the follow-up adjustment of described threshold voltage is inconvenience very.Thereby cause the digital hardware protective circuit can not be general.
The utility model content
The technical problem that the utility model solves provides a kind of digital hardware protective circuit, and this digital hardware protective circuit can conveniently be provided with threshold voltage, and has versatility.
The utility model provides a kind of digital hardware protective circuit, comprising: threshold voltage is provided with unit, voltage comparator and performance element;
Described threshold voltage is provided with the unit, is used to generate threshold voltage, sends the reverse input end of described threshold voltage to described voltage comparator;
Described voltage comparator is used for the input voltage and the described threshold voltage of comparison positive input, and when described input voltage during greater than described threshold voltage, described voltage comparator output logic high level is to performance element;
Described performance element moves after being used to receive described logic high.
Preferably, described digital hardware protective circuit also comprises AD conversion unit, the input of described AD conversion unit connects the reverse input end of described voltage comparator, is used for converting described threshold voltage to digital voltage, exports described threshold voltage to the unit is set; Whether described threshold voltage also to be used to detect described digital voltage consistent with the threshold voltage that sends to voltage comparator if being provided with the unit, if not, then send fault alarm information.
Preferably, described threshold voltage is provided with the unit and comprises that the digital valve threshold voltage is provided with unit and D/A conversion unit;
Described digital valve threshold voltage is provided with the unit, is used to be provided with the digital valve threshold voltage;
Described D/A conversion unit is used for described digital valve threshold voltage is converted to the analog valve threshold voltage.
Preferably, also comprise latch, described latch is connected in described digital valve threshold voltage and is provided with between unit and the described digital to analog converter, is used for described digital valve threshold voltage is latched predetermined time interval, finishes latch mode after described digital to analog converter is finished conversion.
Preferably, also comprise support electric capacity, described support electric capacity is connected between the reverse input end and ground of described voltage comparator.
Preferably, the input voltage of described positive input is voltage signal or the current signal by the traction convertor of sensor acquisition.
Preferably, the unit is set is digital signal processor or single-chip microcomputer to described threshold voltage.
Preferably, described performance element is relay or contactor.
Compared with prior art, the utlity model has following advantage:
The utility model provides a kind of digital hardware protective circuit, and threshold voltage is provided with the unit threshold voltage is set flexibly.Described threshold voltage is provided with the unit can be provided with the digital valve threshold voltage, has avoided with divider resistance the inconvenience that threshold voltage brings being set.Threshold voltage is provided with the reverse input end that the unit is sent to the threshold voltage that is provided with voltage comparator.Voltage comparator is the input voltage and the threshold voltage of positive input relatively, when described input voltage during greater than described threshold voltage, and described voltage comparator output logic high level; the performance element action; cut off circuit, play a protective role, prevent the generation of major accident.The utility model can be provided with described threshold voltage arbitrarily by described digital signal processing unit, and is convenient succinct and have a versatility.
Embodiment
For above-mentioned purpose of the present utility model, feature and advantage can be become apparent more, embodiment of the present utility model is described in detail below in conjunction with accompanying drawing.
Referring to Fig. 3, this figure is based on the utility model digital hardware protective circuit first example structure figure.
The utility model digital hardware protective circuit first embodiment comprises: threshold voltage is provided with unit 301, voltage comparator 302 and performance element 303.
Described threshold voltage is provided with unit 301, is used to generate threshold voltage, sends the reverse input end of described threshold voltage to described voltage comparator 302.
Described threshold voltage is provided with unit 301 can be provided with described threshold voltage arbitrarily.Described threshold voltage is set by software programming, and promptly directly by changing the digital modifications threshold voltage, it is convenient to revise; Needn't change hardware circuit.
Described voltage comparator 302 is used for the input voltage U of comparison positive input (+)
InWith described threshold voltage U
Ref, when described input voltage during greater than described threshold voltage, described voltage comparator 302 output logic high level are to described performance element 303.At this moment, the input voltage U of digital hardware protective circuit is described
InGreater than predefined threshold voltage U
Ref, circuit breaks down.
Described performance element 303 moves after being used to receive described logic high, plays a protective role.
Need to prove that described performance element 304 can be switching devices such as relay or contactor.As input voltage U
InGreater than described threshold voltage U
RefThe time, described relay or contactor open circuit, thus shield.
The utility model provides a kind of digital hardware protective circuit, and digital signal processing unit is provided with threshold voltage flexibly.Digital to analog converter is converted to the reverse input end that analog signal is sent to voltage comparator with described threshold voltage.Voltage comparator is the input voltage and the threshold voltage of positive input relatively, when described input voltage during greater than described threshold voltage, and described voltage comparator output logic high level; the performance element action; cut off circuit, play a protective role, prevent the generation of major accident.The utility model can be provided with described threshold voltage arbitrarily by described digital signal processing unit, and is convenient succinct and have a versatility.
Referring to Fig. 4, this figure is based on the utility model digital hardware protective circuit second example structure figure.
Threshold voltage among the utility model digital hardware protective circuit second embodiment is provided with the unit and comprises: the digital valve threshold voltage is provided with unit 401 and D/A conversion unit 402 (DAC, Digital to AnalogConverter).
The digital valve threshold voltage is provided with unit 401, is used to be provided with the digital valve threshold voltage.
The digital valve threshold voltage is provided with unit 401 can be provided with the digital valve threshold voltage arbitrarily, and the numerical value that only needs to revise in the software program gets final product, and does not need to revise hardware, and is simple and convenient.
DAC402 is used for the digital valve threshold voltage is converted to the analog valve threshold voltage, is sent to the reverse input end (-) of described voltage comparator 303.Because the input signal of voltage comparator is necessary for analog signal.
Need to prove that described digital valve threshold voltage is provided with unit 401 and can integrates with DAC402, also can independently be provided with.
Referring to Fig. 5, this figure is based on the utility model digital hardware protective circuit the 3rd example structure figure.
The utility model digital hardware protective circuit the 3rd embodiment and and the difference of embodiment is: increased AD conversion unit 501.
Described AD conversion unit (ADC, Analog to Digital Converter) 501 input connects the reverse input end (-) of described voltage comparator 302, be used for converting described threshold voltage to digital signal, export described digital valve threshold voltage to unit 401 is set.
Whether described digital valve threshold voltage to be further used for monitoring described digital signal consistent with the threshold voltage that sends to DAC402 if being provided with unit 401, if not, then send fault alarm information.
Whether described digital valve threshold voltage is provided with unit 401 monitoring threshold voltages consistent with the initial threshold voltage of setting.When inconsistent, in time adjust by software.
The utility model is in order to guarantee the threshold voltage U of described DAC402 output
RefCorrectness, by ADC501 feedback valve threshold voltage, efficiently solve in the prior art because of parameter drift or damage appear in divider resistance the defective that the digital hardware protective circuit can't detect.
Referring to Fig. 6, this figure is based on the utility model digital hardware protective circuit the 4th example structure figure.
The difference of the utility model digital hardware protective circuit the 4th embodiment and the 3rd embodiment is to have increased latch 601.
Described latch 601 is connected in described digital valve threshold voltage and is provided with between unit 401 and the described DAC402, is used for described digital valve threshold voltage U
RefBe sent to described DAC402 after latching predetermined time interval.
Described latch 601 is used for latch data.Before latch signal arrived, the data of described latch 601 outputs changed with the variation of fan-in certificate.When described latch signal arrived, described latch 601 no longer changed the level of output the state latch of output with the variation of input.Because described DAC402 translation data needs the regular hour, therefore need described latch 601 with data latching, guarantee that data remain unchanged in the time interval of described DAC402 conversion.
The described digital hardware protective circuit of the utility model embodiment increases described latch 601 makes described threshold voltage U
RefMore accurate after described DAC402 conversion, thus the reliability of raising digital hardware protective circuit.
Need to prove that described latch 601 can be provided with unit 401 with described digital valve threshold voltage and integrate, simplify the principle of digital hardware protective circuit.
Referring to Fig. 7, this figure is based on the utility model digital hardware protective circuit the 5th example structure figure.
The difference of the utility model digital hardware protective circuit the 5th embodiment and the 4th embodiment is to have increased support electric capacity 701.
Because in electronic circuit when work, can externally produce electromagnetic interference signal, to other operating circuit or equipment generates electromagnetic waves or interference signal such as spike.In order to guarantee described threshold voltage U
RefStability prevents that interference signal from making described threshold voltage U
RefChange the protective circuit misoperation that causes, therefore add described support electric capacity 701 with filtering high frequency and impulse disturbances.
Described support electric capacity 701 is connected between the reverse input end (-) and ground of described voltage comparator 302, is used to stablize described threshold voltage U
Ref, make described threshold voltage U
RefHas certain anti-interference effect.
Referring to Fig. 8, this figure is based on the utility model digital hardware protective circuit the 6th example structure figure.
Digital hardware protective circuit described in the utility model can be applied to the electric automatization field, for example the traction convertor in the train system, Switching Power Supply or frequency converter etc.The protection of the power supply unit in the electric power system, for example motor, generator or power supply unit etc.Described in the utility model for using the equipment that to measure signals such as temperature, speed, pressure, voltage or electric current to be suitable for too.
Traction convertor with train system is that object of protection is the application that example illustrates digital hardware protective circuit described in the utility model below.
Need to prove that the digital valve threshold voltage among the embodiment described in the utility model is provided with unit 401 and adopts digital signal processor (DSP, Digital Signal Processor).Certainly, also can adopt the microprocessor of other types, for example single-chip microcomputer etc.
Described DSP401 is specifically designed to Digital Signal Processing and the accurate microprocessor that calculates, and has that speed is fast, precision is high and characteristics such as reliability height.The program that the storage user works out voluntarily among the described DSP401.By described program described threshold voltage U can be set arbitrarily
RefThereby realize the threshold voltage U of described digital hardware protective circuit
RefThe digitlization setting, need not to set described threshold voltage U with the method for manual adjustment divider resistance again
Ref
Described DSP401 is with the threshold voltage U that sets
RefBe sent to latch 601, described latch 601 is with described threshold voltage U
RefLatch, after the DAC402 conversion finishes, send new threshold voltage U again
RefTo described DAC402.
Described DAC402 is with described threshold voltage U
RefBe converted to analog signal, be sent to the reverse input end (-) of described voltage comparator 302.
Collecting unit 801, be used to gather the working signal of described traction convertor, for example voltage signal or current signal are converted into described voltage comparator 302 acceptable voltage signals, be sent to the input in the same way (+) of described voltage comparator 302, as input voltage U
In
Described voltage comparator 302 more described input voltage U
InWith threshold voltage U
RefSize.
As described U
In<U
RefThe time, the output output logic low level of described voltage comparator 302.
As described U
In>U
RefThe time, the output output logic high level of described voltage comparator 302.
When the output output logic low level of described voltage comparator 302, show that described traction convertor operating state is good.
When the output output logic high level of described voltage comparator 302, show that described traction convertor breaks down, DSP401 sends failure alarm signal.At this moment, the driver element 802 that is connected with the output of described voltage comparator 302 amplifies output signal, drives performance element 304 actions, cuts off the operating circuit of described traction convertor, thereby realizes protection.
In addition, digital hardware protective circuit embodiment described in the utility model also is provided with ADC501, is used for the threshold voltage U with described voltage comparator 302 reverse input ends (-)
RefBe converted to digital signal, feed back to DSP401, the threshold voltage U that the DSP401 monitoring feeds back
RefWith the threshold voltage U that sends
RefWhether identical, if there is fault in different explanation digital hardware protective circuit.Therefore, the utility model adopts feedback detecting method to evade fully that the digital hardware protective circuit can't the detection threshold voltage U in the prior art
RefDefective.
The circuit structure that the utility model digital hardware protective circuit adopts digital circuit to combine with analog circuit; make protective circuit both have the response speed that is exceedingly fast of analog circuit; characteristic is easily revised in the debugging that has guaranteed digital circuit again, and the described digital hardware protective circuit of utility model has good versatility.
The above only is preferred embodiment of the present utility model, is not the utility model is done any pro forma restriction.Though the utility model discloses as above with preferred embodiment, yet be not in order to limit the utility model.Any those of ordinary skill in the art, do not breaking away under the technical solutions of the utility model scope situation, all can utilize the method and the technology contents of above-mentioned announcement that technical solutions of the utility model are made many possible changes and modification, or be revised as the equivalent embodiment of equivalent variations.Therefore, every content that does not break away from technical solutions of the utility model, all still belongs in the scope of technical solutions of the utility model protection any simple modification, equivalent variations and modification that above embodiment did according to technical spirit of the present utility model.