WO2014005399A1 - Overvoltage protection circuit and current sampling device - Google Patents

Overvoltage protection circuit and current sampling device Download PDF

Info

Publication number
WO2014005399A1
WO2014005399A1 PCT/CN2012/085914 CN2012085914W WO2014005399A1 WO 2014005399 A1 WO2014005399 A1 WO 2014005399A1 CN 2012085914 W CN2012085914 W CN 2012085914W WO 2014005399 A1 WO2014005399 A1 WO 2014005399A1
Authority
WO
WIPO (PCT)
Prior art keywords
circuit
switch
enable
comparison
sampling resistor
Prior art date
Application number
PCT/CN2012/085914
Other languages
French (fr)
Chinese (zh)
Inventor
周翔
潘健
罗轶峰
Original Assignee
湖南三一智能控制设备有限公司
三一重工股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 湖南三一智能控制设备有限公司, 三一重工股份有限公司 filed Critical 湖南三一智能控制设备有限公司
Publication of WO2014005399A1 publication Critical patent/WO2014005399A1/en

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02HEMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
    • H02H9/00Emergency protective circuit arrangements for limiting excess current or voltage without disconnection
    • H02H9/04Emergency protective circuit arrangements for limiting excess current or voltage without disconnection responsive to excess voltage
    • H02H9/041Emergency protective circuit arrangements for limiting excess current or voltage without disconnection responsive to excess voltage using a short-circuiting device
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/0092Arrangements for measuring currents or voltages or for indicating presence or sign thereof measuring current only

Definitions

  • the present invention relates to the field of construction machinery, and in particular to an overvoltage protection circuit and a current sampling device. Background technique
  • the current type AD (A/D) sampling scheme is generally: Open a 250 ⁇ sampling resistor through a circuit switch, so that the 4 ⁇ 20mA current signal is converted into 0 ⁇ 5V. The voltage signal is sampled by the AD port of the microcontroller.
  • the user may mistakenly connect the AD port to the 24V driving power supply, so that the power of the sampling resistor will increase sharply to 2.3W or more. More seriously, in the vehicle power supply, the voltage may be When it reaches 28V, the power will increase to more than 3.1W.
  • the sampling resistor (1206 package) on the controller typically has only 1/4W of power, in which case the sample resistor will burn out. Summary of the invention
  • the present invention provides an overvoltage protection circuit and a current sampling device to solve the problem that the sampling resistor in the sampling circuit is burned out due to overvoltage.
  • the present invention provides an overvoltage protection circuit, the circuit comprising: an enable switch configured to control opening and closing of a sampling resistor switch in series with a sampling resistor; and a comparator having one end The other end is connected to the enable end of the enable switch; the comparator determines whether the enable end of the enable switch is enabled according to the comparison result.
  • the comparator includes: a first comparison circuit, one end of which is provided with a first external interface, and the other end is respectively connected with an enable end of the enable switch; and the second comparison circuit has a second end The external interface is connected to the enable end of the enable switch.
  • the first comparison circuit includes: a first comparison amplification circuit connected to the first external interface, the first comparison amplification circuit configured to compare an access voltage value and a specified voltage value of the first external interface And the output of the first comparison amplifying circuit is deflected when the access voltage value of the first external interface is higher than the specified voltage value; the first clamping circuit is compared with the first comparison The circuit is connected, and the first clamping circuit is configured to control a voltage value of the enable terminal of the enable switch.
  • the second comparison circuit includes: a second comparison amplification circuit connected to the second external interface, the second comparison amplification circuit configured to compare an access voltage value and a specified voltage value of the second external interface And the output of the second comparison amplifying circuit is deflected when the access voltage value of the second external interface is higher than the specified voltage value; and the second clamping circuit is compared with the second comparison
  • the second clamp circuit is configured to control a voltage value of the enable switch enable end; wherein the specified voltage value is a reference value determined to be mis-connected according to the access voltage value.
  • the circuit further includes: a controller, the controller is connected to the output ends of the first and second comparison amplifying circuits, and configured to monitor whether there is misconnection information to determine the first and second external Whether the interface is misconnected.
  • the above circuit further comprises: an alarm, the alarm is connected to the controller, and the alarm is configured to perform a fault alarm when the controller detects the misconnection information.
  • the circuit further includes: a fault analyzer, the fault analyzer is connected to the controller, and the fault analyzer is configured to enter the fault when the controller detects the misconnection information Diagnosis.
  • the first comparison amplifying circuit includes: a first voltage dividing regulator connected to the first external interface, and the first voltage dividing regulator configured to be externally connected according to the first external interface The magnitude of the voltage value selects a different voltage dividing resistor and the specified voltage value; the first operational amplifier has a negative terminal at the input end thereof connected to the first voltage dividing regulator, and a positive electrode connected to the power supply voltage, the first operational amplifier The output is coupled to the first clamp circuit.
  • the second comparative amplifying circuit includes: a second voltage dividing regulator connected to the second external interface, and the second voltage dividing regulator configured to be externally connected according to the second external interface The magnitude of the voltage value selects a different voltage dividing resistor and the specified voltage value; the second operational amplifier has a negative terminal connected to the second voltage dividing regulator, a positive electrode connected to the power supply voltage, and a second operational amplifier The output is connected to the second clamp circuit.
  • the enable switch includes: a first enable switch and a second enable switch; the sampling resistor switch includes a first sampling resistance switch and a second sampling resistance switch; wherein the first enable switch The enable end is connected to the comparator, the first enable switch is configured to control opening and closing of the first sampling resistance switch; and the enable end of the second enable switch is connected to the comparator, The second enable switch is configured to control opening and closing of the second sampling resistor switch.
  • the sampling resistor includes: a first sampling resistor, one end of which is connected to the first sampling resistor switch, and the other end is connected to the first external interface; and the second sampling resistor has one end and the second The sampling resistor switch is connected, and the other end is connected to the second external interface.
  • the present invention provides a current sampling device provided with any of the overvoltage protection circuits described above.
  • the present invention has the following advantages:
  • the comparator can realize two short circuit detection, and each current detection is realized by setting a voltage dividing resistor, a clamp diode and an operational amplifier. Therefore, the present invention can not only effectively protect the sampling resistor, but also design a single cartridge, which is low in cost. And the present invention
  • the designed overvoltage protection circuit combines the comparator and the enable switch. The response time is short, and the sampling resistor is not turned off when the heating tube is turned off. It is worth mentioning that even if the sampling resistor is connected to the 24V driving power supply for a long time, it will not generate heat and has good reliability.
  • the current sampling device provided by the present invention is provided with the overvoltage protection circuit. Since the overvoltage protection circuit has the above technical effects, the current sampling device provided with the overvoltage protection circuit should also have a corresponding technology. effect. DRAWINGS
  • FIG. 1 is a schematic diagram of an enable switch of an embodiment of an overvoltage protection circuit of the present invention
  • FIG. 2 is a block diagram showing the electrical principle of an embodiment of the overvoltage protection circuit of the present invention.
  • FIG. 3 is a circuit diagram of an embodiment of an overvoltage protection circuit of the present invention.
  • FIG. 4 is a schematic block diagram of an electrical principle of another embodiment of the overvoltage protection circuit of the present invention
  • FIG. 5 is a circuit diagram of another embodiment of the overvoltage protection circuit of the present invention.
  • the overvoltage protection circuit proposed by the present invention is designed with an enable switch to turn on the function of the sampling resistor, and a comparator is also designed to realize two short circuit detections, when the user accidentally accesses the non-current sampling. After the power is turned on, the enable switch is automatically turned off, and the sampling resistor switch is turned off to protect the sampling resistor from being burnt. Therefore, the present invention can not only automatically turn off the sampling resistor switch in a short response time, effectively protect the sampling resistor, and design the cartridge, which is low in cost.
  • the non-current sampling power supply is a driving power source with a voltage other than 0 ⁇ 5V in the current sampling mode, for example: the non-current sampling power supply may be a power supply with a power supply voltage of 12V, 19V, 24V, or 36V.
  • an embodiment of the present invention provides an overvoltage protection circuit, and the overvoltage protection circuit includes: an enable switch and a comparator.
  • the enable switch is configured to control opening and closing of the sampling resistance switch connected in series with the sampling resistor; one end of the comparator is provided with an external interface, and the other end is connected with an enable end of the enable switch.
  • the comparator determines, according to the comparison result, whether the enable end of the enable switch is enabled.
  • the external interface may be an analog input (AI) interface, but is not limited to the AI interface. Other types of interfaces that meet the sampling requirements may also be used in this embodiment.
  • the enable switch when the external interface (such as the AI interface) enters the current sampling mode, the enable switch turns on the function of the sampling resistor, and when the switch is turned on, the enable end of the enable switch is set to be high. level.
  • the enable switch is an electronic switch composed of a diode or a logic gate circuit, such as a BTS3408 electronic switch. As shown in Fig. 1, the diode constituting the enable switch is grounded at one end and connected to a logic gate circuit at the other end.
  • Sampling resistor 1 has one end connected to the sampling resistor switch and the other end connected to the AI interface. The one end connected to the sampling resistor switch is grounded.
  • the enable switch is configured to control opening and closing of the sampling resistor switch, and the enable switch can be integrated with the sampling resistor switch in the chip.
  • the enable end of the enable switch is connected to the comparator, and the other end is connected to a controller such as a microcontroller control terminal.
  • the enable switch can also be implemented by means of a relay connected to the sampling resistor or other control unit.
  • FIG. 2 there is shown an electrical block diagram of an embodiment of the overvoltage protection circuit of the present invention.
  • the overvoltage protection circuit of this embodiment there are two enable switches, namely: a first enable switch and a second enable switch.
  • the enable end of the first enable switch is connected to the comparator, the first enable switch is configured to control opening and closing of the first sampling resistor switch; and the enable end of the second enable switch Connected to the comparator, the second enable switch is configured to control opening and closing of the second sampling resistor switch.
  • the sampling resistor includes: a first sampling resistor and a second sampling resistor. One end of the first sampling resistor is connected to the first sampling resistor switch, and the other end is connected to the first external interface. One end of the second sampling resistor is connected to the second sampling resistor switch, and the other end is connected to the second external interface.
  • the comparator further includes: a first comparison circuit and a second comparison circuit.
  • the first comparison circuit is provided with a first external interface at one end and an enable end of the enable switch at the other end.
  • One end of the second comparison circuit is provided with a second external interface, and the other end is respectively connected to an enable end of the enable switch.
  • the first comparison circuit includes: a first comparison amplification circuit and a first clamp circuit.
  • the first comparison amplifying circuit is connected to the first external interface, and the first comparison amplifying circuit is configured to compare an access voltage value of the first external interface with a size of a specified voltage value, and in the When the access voltage value of the external interface is higher than the specified voltage value, the output of the first comparison amplifying circuit is deflected.
  • the first clamp circuit is coupled to the first comparison amplifier circuit, and the first clamp circuit is configured to control a voltage value of the enable switch enable terminal.
  • the specified voltage value is a reference value determined to be misconnected according to the access voltage value.
  • the specified voltage value can be set according to a voltage value of a non-current sampling power source that may be erroneously accessed.
  • the output of the first comparison amplifying circuit is deflected, and the first clamping circuit turns on the enabling switch.
  • the voltage of the energy terminal is set to a low level, so that the enable switch is turned off, thereby protecting the sampling resistor.
  • the first comparison amplifying circuit comprises: a first voltage dividing regulator and a first operational amplifier.
  • the first voltage dividing regulator is connected to the first external interface, and the first voltage dividing regulator is configured to select different voltage dividing resistors according to the magnitude of the external voltage value of the first external interface. The specified voltage value.
  • the negative terminal of the input end of the first operational amplifier is connected to the first voltage dividing regulator, the positive pole is connected to the power supply voltage, and the output end of the first operational amplifier is connected to the first clamping circuit.
  • the second comparison circuit includes: a second comparison amplification circuit and a second clamp circuit.
  • the second comparison amplifying circuit is connected to the second external interface, and the second comparison amplifying circuit is configured to compare an access voltage value of the second external interface with a size of a specified voltage value, and in the When the access voltage value of the external interface is higher than the specified voltage value, the output of the second comparative amplifying circuit is deflected.
  • the second clamp circuit is coupled to the second comparison amplifier circuit, and the second clamp circuit is configured to control a voltage value of the enable switch enable terminal.
  • the second comparison amplifying circuit comprises: a second voltage dividing regulator and a second operational amplifier.
  • the second voltage dividing regulator is connected to the second external interface, and the second voltage dividing regulator is configured to select different voltage dividing resistors and the specified voltage value according to the magnitude of the external voltage value of the second external interface .
  • a cathode of the input terminal of the second operational amplifier is connected to the second voltage dividing regulator, a positive pole is connected to the power supply voltage, and an output terminal of the second operational amplifier is connected to the second clamping circuit.
  • the comparator of this embodiment can achieve two short circuit detections.
  • the above embodiment is further illustrated by an example:
  • the example of the overvoltage protection circuit mainly includes an enable switch and a comparator.
  • the comparator includes two comparison circuits. Comparison circuit, second comparison circuit.
  • there are two said enable switches namely: a first enable switch and a second enable switch.
  • there are two sampling resistance switches namely: a first sampling resistance switch and a second sampling resistance switch; and, two sampling resistors, namely: a first sampling resistor R sampling and a second sampling resistor R sampling 2 .
  • One end of the first sampling resistor R is connected to the first sampling resistor switch, and the other end is connected to the AI interface 1.
  • One end of the second sampling resistor R sample 2 is connected to the second sampling resistor switch, and the other end is connected to the AI interface 2, as shown in FIG.
  • the first comparison circuit is provided with a voltage dividing resistor R11, a voltage dividing resistor R12, a clamping diode D1, and an operational amplifier; wherein, the voltage dividing resistor R11 is connected to the AI interface 1 and the other end is connected to the negative terminal of the operational amplifier.
  • the voltage divider resistor R12 is connected to the negative terminal of the operational amplifier and the other terminal is grounded.
  • the operational amplifier anode is connected to the power supply, such as the 3.3V power supply 3V3, the output terminal of the operational amplifier is connected to the clamp diode D1, the other end of the clamp diode D1 and the enable end of the first enable switch K1 and the second enable switch K2.
  • connection controls the opening and closing of the first enable switch K1 and the second enable switch ⁇ 2, that is, controls the opening and closing of the first sampling resistor switch and the second sampling resistor switch.
  • the further connection relationship of the components of this embodiment can be referred to FIG. 3, and will not be described in detail herein.
  • the second comparison circuit is provided with a voltage dividing resistor R21, a voltage dividing resistor R22, a clamping diode D2, and an operational amplifier; wherein, the voltage dividing resistor R21 is terminated
  • the AI interface 2 is connected, and the other end is connected to the negative terminal of the operational amplifier; the voltage dividing resistor R22 is connected to the negative terminal of the operational amplifier, and the other end is grounded.
  • the connection relationship of the remaining components is similar to the connection relationship of the corresponding components of the first comparison circuit. Therefore, the further connection relationship of the remaining components can be referred to FIG. 3, and will not be described in detail herein.
  • the advantage of this embodiment is that: the two comparator circuits are placed at the front end of the enable pin of the enable switch.
  • the voltage value of the AI interface 1, and/or the AI interface 2 is higher than the specified value.
  • the output of the op amp is deflected if the 24V drive power supply is accidentally connected.
  • the clamping diode is used to set the voltage value of the enable terminal of the enable switch to a low level, thereby turning off the enable switch and turning off the sampling resistor switch, thereby protecting the sampling resistor from being burnt.
  • the comparator and the enable switch designed in this embodiment can not only realize the current detecting function and the overvoltage protection of the sampling resistor, but also design a single tube, which is low in cost.
  • a preferred embodiment of the present invention will be further described with reference to FIG. 4 and FIG. 5.
  • the overvoltage protection circuit of the embodiment is further preferably provided with a controller, and the control is further provided.
  • the device is connected to the output ends of the first and second comparison amplifying circuits respectively for monitoring whether there is a misconnection information to determine whether the first and second external interfaces are misconnected.
  • the controller of this embodiment may be a microcontroller, a single chip microcomputer, etc., by connecting the output of the comparator to the pin of the microcontroller or the control end of the single chip microcomputer, the misconnection can be detected. information.
  • the misconnected information is used to provide alarm information to the user and the controller processing unit, and the fault alarm indicating unit will give an alert, and the processing unit of the controller will quickly close the current switch.
  • the overvoltage protection circuit of the embodiment is further provided with an alarm, the alarm being connected to the controller, and the alarm is configured to perform a fault alarm when the controller detects the misconnection information.
  • the alarm device provided in this embodiment can not only realize the fault alarm, but also improve the reliability of the overvoltage protection, and is more safe and reliable.
  • the overvoltage protection circuit of this embodiment is further provided with a fault analyzer, the fault analyzer is connected to the controller, and the fault analyzer is configured to detect when the controller detects the misconnection information. Diagnose the fault. Therefore, the embodiment provides a fault diagnosis function for the user's misconnection.
  • the current switch is turned off, and the sampling mode is converted into the voltage mode, so that the port that the user has misconnected can be located, the function of the port will be closed, and the application program is also This information will be detected and the data on the port will be automatically masked without affecting the use of the entire motion controller.
  • the voltage sampling mode when the user restores the normal wiring, the current switch can automatically switch to the normal mode and the control unit operates normally.
  • the comparator can realize two short circuit detections, and each current detection is realized by setting a voltage dividing resistor, a clamp diode and an operational amplifier. Therefore, the present invention not only can effectively protect the sampling resistor, but also design a single cartridge, which is low in cost. Moreover, the overvoltage protection circuit designed by the present invention combines a comparator and an enable switch, and the response time is short, and the sampling resistor is not turned off when the heat is generated. It is worth mentioning that even if the sampling resistor is connected to the 24V drive power supply for a long time, it will not generate heat and has good reliability.
  • the embodiment of the present invention further provides a current sampling device provided with the overvoltage protection circuit described in any of the above embodiments.
  • the overvoltage protection circuit according to any of the above embodiments has the above technical effects. Therefore, the current sampling device provided with the overvoltage protection circuit should also have corresponding technical effects, and the specific implementation process is similar to the above embodiment. I will not repeat them.
  • the overvoltage protection circuit and the current sampling device provided by the invention can realize two short circuit detections, and each current detection is realized by setting a voltage dividing resistor, a clamping diode and an operational amplifier. Therefore, the present invention can not only effectively protect the sampling resistor, but also design a single cartridge, which is low in cost. Moreover, the overvoltage protection circuit designed by the present invention combines a comparator and an enable switch, and has a short response time, and the sampling resistor is not turned off when the heat is generated. It is worth mentioning that even if the sampling resistor is connected for a long time
  • the present invention has industrial applicability.

Abstract

An overvoltage protection circuit and a current sampling device provided with the overvoltage protection circuit. The overvoltage protection circuit comprises: an enable switch, arranged for controlling a sampling resistor switch which is connected to a sampling resistor in series to switch on and off; and a comparer, one end of the comparer being provided with an external interface, and the other end of the comparer being connected to an enable end of the enable switch, and arranged for determining whether the enable end of the enable switch is enabled according to a comparison result. Therefore, the overvoltage protection circuit and the current sampling device can effectively protect the sampling resistor, and not only is short in response time, but also simple in design, and low in cost.

Description

it ^保护电路及电流采样装置 本申请要求于 2012 年 7 月 6 日提交中国专利局、 申请号为 201210234438.7、 发明名称为 "过压保护电路及电流采样装置" 的中国专利 申请的优先权, 其全部内容通过引用结合在本申请。 技术领域  This invention claims priority to Chinese Patent Application No. 201210234438.7, entitled "Overvoltage Protection Circuit and Current Sampling Device", filed on July 6, 2012, with the Chinese Patent Office, which is entitled "Overvoltage Protection Circuit and Current Sampling Device". The entire content is incorporated herein by reference. Technical field
本发明涉及工程机械领域, 特别涉及一种过压保护电路及电流采样装 置。 背景技术  The present invention relates to the field of construction machinery, and in particular to an overvoltage protection circuit and a current sampling device. Background technique
目前, 工程机械用的控制器中, 电流型 AD (模 /数)采样方案一般为: 使用经过一个电路开关将 250Ω的采样电阻打开,这样 4~20mA的电流信号 就转换成了 0~5V的电压信号, 经过单片机的 AD端口进行采样。  At present, in the controller for construction machinery, the current type AD (A/D) sampling scheme is generally: Open a 250Ω sampling resistor through a circuit switch, so that the 4~20mA current signal is converted into 0~5V. The voltage signal is sampled by the AD port of the microcontroller.
但是, 在实际接线过程中, 用户可能会将 AD端口误接到 24V驱动电 源上, 这样采样电阻的功率就会急剧增加到 2.3W以上, 更为严重的是, 在 车载电源中, 电压有可能达到 28V, 这时功率会增加到 3.1W以上。 然而, 控制器上的采样电阻( 1206封装)一般只有 1/4W的功率, 在这种情况下, 采样电阻会被烧坏。 发明内容  However, during the actual wiring process, the user may mistakenly connect the AD port to the 24V driving power supply, so that the power of the sampling resistor will increase sharply to 2.3W or more. More seriously, in the vehicle power supply, the voltage may be When it reaches 28V, the power will increase to more than 3.1W. However, the sampling resistor (1206 package) on the controller typically has only 1/4W of power, in which case the sample resistor will burn out. Summary of the invention
有鉴于此, 本发明提出一种过压保护电路及电流采样装置, 以解决采 样电路中采样电阻因过压而被烧坏的问题。  In view of this, the present invention provides an overvoltage protection circuit and a current sampling device to solve the problem that the sampling resistor in the sampling circuit is burned out due to overvoltage.
为达到上述目的, 本发明的技术方案是这样实现的:  In order to achieve the above object, the technical solution of the present invention is achieved as follows:
一方面, 本发明提供了一种过压保护电路, 该电路包括: 使能开关, 配置为控制与采样电阻串联的采样电阻开关的开合; 比较器, 其一端设有 对外接口, 另一端与所述使能开关的使能端连接; 所述比较器根据其比较 结果确定是否使能所述使能开关的使能端。 In one aspect, the present invention provides an overvoltage protection circuit, the circuit comprising: an enable switch configured to control opening and closing of a sampling resistor switch in series with a sampling resistor; and a comparator having one end The other end is connected to the enable end of the enable switch; the comparator determines whether the enable end of the enable switch is enabled according to the comparison result.
上述电路中, 所述比较器包括: 第一比较电路, 其一端设有第一对外 接口, 另一端分别与所述使能开关的使能端连接; 第二比较电路, 其一端 设有第二对外接口, 另一端分别与所述使能开关的使能端连接。  In the above circuit, the comparator includes: a first comparison circuit, one end of which is provided with a first external interface, and the other end is respectively connected with an enable end of the enable switch; and the second comparison circuit has a second end The external interface is connected to the enable end of the enable switch.
其中, 所述第一比较电路包括: 第一比较放大电路, 其与所述第一对 外接口连接, 该第一比较放大电路配置为比较所述第一对外接口的接入电 压值和指定电压值的大小, 并在所述第一对外接口的接入电压值高于所述 指定电压值时, 所述第一比较放大电路的输出偏转; 第一钳位电路, 其与 所述第一比较放大电路连接, 该第一钳位电路配置为控制所述使能开关使 能端的电压值。  The first comparison circuit includes: a first comparison amplification circuit connected to the first external interface, the first comparison amplification circuit configured to compare an access voltage value and a specified voltage value of the first external interface And the output of the first comparison amplifying circuit is deflected when the access voltage value of the first external interface is higher than the specified voltage value; the first clamping circuit is compared with the first comparison The circuit is connected, and the first clamping circuit is configured to control a voltage value of the enable terminal of the enable switch.
其中, 所述第二比较电路包括: 第二比较放大电路, 其与所述第二对 外接口连接, 该第二比较放大电路配置为比较所述第二对外接口的接入电 压值和指定电压值的大小, 并在所述第二对外接口的接入电压值高于所述 指定电压值时, 所述第二比较放大电路的输出偏转; 第二钳位电路, 其与 所述第二比较放大电路连接, 该第二钳位电路配置为控制所述使能开关使 能端的电压值; 其中, 所述指定电压值为根据所述接入电压值设置的判断 误接的参考值。  The second comparison circuit includes: a second comparison amplification circuit connected to the second external interface, the second comparison amplification circuit configured to compare an access voltage value and a specified voltage value of the second external interface And the output of the second comparison amplifying circuit is deflected when the access voltage value of the second external interface is higher than the specified voltage value; and the second clamping circuit is compared with the second comparison The second clamp circuit is configured to control a voltage value of the enable switch enable end; wherein the specified voltage value is a reference value determined to be mis-connected according to the access voltage value.
优选的是, 上述电路还包括: 控制器, 该控制器与所述第一、 第二比 较放大电路的输出端连接, 并配置为监测是否有误接信息以判断所述第一、 第二对外接口是否误接。  Preferably, the circuit further includes: a controller, the controller is connected to the output ends of the first and second comparison amplifying circuits, and configured to monitor whether there is misconnection information to determine the first and second external Whether the interface is misconnected.
优选的是, 上述电路还包括: 报警器, 该报警器与所述控制器连接, 且该报警器配置为在所述控制器监测到误接信息时进行故障报警。  Preferably, the above circuit further comprises: an alarm, the alarm is connected to the controller, and the alarm is configured to perform a fault alarm when the controller detects the misconnection information.
优选的是, 上述电路还包括: 故障分析器, 该故障分析器与所述控制 器连接, 且该故障分析器配置为在所述控制器监测到误接信息时对故障进 行诊断。 Preferably, the circuit further includes: a fault analyzer, the fault analyzer is connected to the controller, and the fault analyzer is configured to enter the fault when the controller detects the misconnection information Diagnosis.
上述电路中, 所述第一比较放大电路包括: 第一分压调节器, 其与所 述第一对外接口连接, 该第一分压调节器配置为根据所述第一对外接口接 入的外接电压值的大小选取不同的分压电阻及所述指定电压值; 第一运算 放大器, 其输入端的负极与所述第一分压调节器连接, 正极接入供电电压, 所述第一运算放大器的输出端与所述第一钳位电路连接。  In the above circuit, the first comparison amplifying circuit includes: a first voltage dividing regulator connected to the first external interface, and the first voltage dividing regulator configured to be externally connected according to the first external interface The magnitude of the voltage value selects a different voltage dividing resistor and the specified voltage value; the first operational amplifier has a negative terminal at the input end thereof connected to the first voltage dividing regulator, and a positive electrode connected to the power supply voltage, the first operational amplifier The output is coupled to the first clamp circuit.
上述电路中, 所述第二比较放大电路包括: 第二分压调节器, 其与所 述第二对外接口连接, 该第二分压调节器配置为根据所述第二对外接口接 入的外接电压值的大小选取不同的分压电阻及所述指定电压值; 第二运算 放大器, 其输入端的负极与所述第二分压调节器连接, 正极接入供电电压, 所述第二运算放大器的输出端与所述第二钳位电路连接。  In the above circuit, the second comparative amplifying circuit includes: a second voltage dividing regulator connected to the second external interface, and the second voltage dividing regulator configured to be externally connected according to the second external interface The magnitude of the voltage value selects a different voltage dividing resistor and the specified voltage value; the second operational amplifier has a negative terminal connected to the second voltage dividing regulator, a positive electrode connected to the power supply voltage, and a second operational amplifier The output is connected to the second clamp circuit.
上述电路中, 所述使能开关包括: 第一使能开关和第二使能开关; 所 述采样电阻开关包括第一采样电阻开关和第二采样电阻开关; 其中, 所述 第一使能开关的使能端与所述比较器连接, 所述第一使能开关配置为控制 第一采样电阻开关的开合; 所述第二使能开关的使能端与所述比较器连接, 所述第二使能开关配置为控制第二采样电阻开关的开合。  In the above circuit, the enable switch includes: a first enable switch and a second enable switch; the sampling resistor switch includes a first sampling resistance switch and a second sampling resistance switch; wherein the first enable switch The enable end is connected to the comparator, the first enable switch is configured to control opening and closing of the first sampling resistance switch; and the enable end of the second enable switch is connected to the comparator, The second enable switch is configured to control opening and closing of the second sampling resistor switch.
上述电路中, 所述采样电阻包括: 第一采样电阻, 其一端与所述第一 采样电阻开关连接, 另一端与所述第一对外接口连接; 第二采样电阻, 其 一端与所述第二采样电阻开关连接, 另一端与所述第二对外接口连接。  In the above circuit, the sampling resistor includes: a first sampling resistor, one end of which is connected to the first sampling resistor switch, and the other end is connected to the first external interface; and the second sampling resistor has one end and the second The sampling resistor switch is connected, and the other end is connected to the second external interface.
另一方面, 本发明还提供一种电流采样装置, 该电流采样装置设置有 上述任一种所述的过压保护电路。  In another aspect, the present invention provides a current sampling device provided with any of the overvoltage protection circuits described above.
相对于现有技术, 本发明具有以下优势:  Compared with the prior art, the present invention has the following advantages:
本发明过压保护电路中, 所述比较器能实现两个短路检测, 每一路电 流检测通过设置分压电阻、 钳位二极管和运算放大器来实现。 因此, 本发 明不仅能够有效保护采样电阻, 而且设计筒单, 成本低廉。 并且, 本发明 设计的过压保护电路结合比较器和使能开关, 响应时间短, 采样电阻来不 及发热管子就已经关断。 值得一提的是, 即使采样电阻长时间接在 24V驱 动电源上, 也不会发热, 可靠性好。 In the overvoltage protection circuit of the present invention, the comparator can realize two short circuit detection, and each current detection is realized by setting a voltage dividing resistor, a clamp diode and an operational amplifier. Therefore, the present invention can not only effectively protect the sampling resistor, but also design a single cartridge, which is low in cost. And the present invention The designed overvoltage protection circuit combines the comparator and the enable switch. The response time is short, and the sampling resistor is not turned off when the heating tube is turned off. It is worth mentioning that even if the sampling resistor is connected to the 24V driving power supply for a long time, it will not generate heat and has good reliability.
本发明提供的一种电流采样装置设置有所述过压保护电路, 由于所述 过压保护电路具有上述技术效果, 因此, 设有所述过压保护电路的电流采 样装置也应具备相应的技术效果。 附图说明  The current sampling device provided by the present invention is provided with the overvoltage protection circuit. Since the overvoltage protection circuit has the above technical effects, the current sampling device provided with the overvoltage protection circuit should also have a corresponding technology. effect. DRAWINGS
构成本发明的一部分的附图用来提供对本发明的进一步理解, 本发明 的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不当限定。 在附图中:  The accompanying drawings, which are incorporated in the claims In the drawing:
图 1为本发明过压保护电路实施例的使能开关示意图;  1 is a schematic diagram of an enable switch of an embodiment of an overvoltage protection circuit of the present invention;
图 2为本发明过压保护电路实施例的电气原理框图;  2 is a block diagram showing the electrical principle of an embodiment of the overvoltage protection circuit of the present invention;
图 3为本发明过压保护电路实施例的电路示意图;  3 is a circuit diagram of an embodiment of an overvoltage protection circuit of the present invention;
图 4为本发明过压保护电路另一实施例的电气原理框图示意图; 图 5为本发明过压保护电路另一实施例的电路示意图。 具体实施方式 需要说明的是, 在不沖突的情况下, 本发明中的实施例及实施例中的 特征可以相互组合。 下面将参考附图并结合实施例来详细说明本发明。  4 is a schematic block diagram of an electrical principle of another embodiment of the overvoltage protection circuit of the present invention; FIG. 5 is a circuit diagram of another embodiment of the overvoltage protection circuit of the present invention. BEST MODE FOR CARRYING OUT THE INVENTION It should be noted that the embodiments of the present invention and the features of the embodiments may be combined with each other without conflict. The invention will be described in detail below with reference to the drawings in conjunction with the embodiments.
本发明的基本思想在于: 本发明提出的过压保护电路设计一种使能开 关以将采样电阻的功能打开, 还设计一种比较器以实现两个短路检测, 当 用户误接入非电流采样电源后, 自动将使能开关关闭, 进而关闭采样电阻 开关, 以保护采样电阻不被烧毁。 因此, 本发明不仅能够在很短的响应时 间内, 自动关断采样电阻开关, 有效保护采样电阻, 而且设计筒单, 成本 低廉。 这里,所述非电流采样电源为电流采样模式中电压为 0~5V之外的驱动 电源,例如: 所述非电流采样电源可指电源电压为 12V、 19V、 24V、或 36V 的电源。 The basic idea of the present invention is: The overvoltage protection circuit proposed by the present invention is designed with an enable switch to turn on the function of the sampling resistor, and a comparator is also designed to realize two short circuit detections, when the user accidentally accesses the non-current sampling. After the power is turned on, the enable switch is automatically turned off, and the sampling resistor switch is turned off to protect the sampling resistor from being burnt. Therefore, the present invention can not only automatically turn off the sampling resistor switch in a short response time, effectively protect the sampling resistor, and design the cartridge, which is low in cost. Here, the non-current sampling power supply is a driving power source with a voltage other than 0~5V in the current sampling mode, for example: the non-current sampling power supply may be a power supply with a power supply voltage of 12V, 19V, 24V, or 36V.
基于上述思想, 本发明实施例提供一种过压保护电路, 该过压保护电 路包括: 使能开关和比较器。 其中, 所述使能开关配置为控制与采样电阻 串联的采样电阻开关的开合; 所述比较器的一端设有对外接口, 另一端与 所述使能开关的使能端连接。 并且, 所述比较器根据其比较结果确定是否 使能所述使能开关的使能端。  Based on the above, an embodiment of the present invention provides an overvoltage protection circuit, and the overvoltage protection circuit includes: an enable switch and a comparator. The enable switch is configured to control opening and closing of the sampling resistance switch connected in series with the sampling resistor; one end of the comparator is provided with an external interface, and the other end is connected with an enable end of the enable switch. And, the comparator determines, according to the comparison result, whether the enable end of the enable switch is enabled.
需要指出的是, 所述对外接口可为模拟输入(AI )接口, 但并不仅限 于 AI接口, 本实施例也可采用其他类型的符合采样要求的接口。 本实施例 中, 当所述对外接口 (如 AI接口)进入电流采样模式时, 所述使能开关将 采样电阻的功能打开, 且在打开时, 所述使能开关的使能端置高电平。  It should be noted that the external interface may be an analog input (AI) interface, but is not limited to the AI interface. Other types of interfaces that meet the sampling requirements may also be used in this embodiment. In this embodiment, when the external interface (such as the AI interface) enters the current sampling mode, the enable switch turns on the function of the sampling resistor, and when the switch is turned on, the enable end of the enable switch is set to be high. level.
参照图 1 , 其示出了本实施例使能开关的电路实例示意图。 所述使能开 关为由二极管、 逻辑门电路构成的电子开关, 如 BTS3408电子开关。 如图 1所示, 构成所述使能开关的所述二极管一端接地, 另一端与逻辑门电路连 接。 采样电阻1 采样的一端与采样电阻开关连接, 另一端与 AI接口连接。 其 中, 与所述采样电阻开关相连的一端接地。 本实施例中, 所述使能开关配 置为控制所述采样电阻开关的开合, 而且, 所述使能开关可与所述采样电 阻开关集成在芯片中。 所述使能开关的使能端与所述比较器连接、 另一端 与控制器如单片机控制端连接。  Referring to FIG. 1, there is shown a schematic diagram of an example of a circuit for enabling a switch in this embodiment. The enable switch is an electronic switch composed of a diode or a logic gate circuit, such as a BTS3408 electronic switch. As shown in Fig. 1, the diode constituting the enable switch is grounded at one end and connected to a logic gate circuit at the other end. Sampling resistor 1 has one end connected to the sampling resistor switch and the other end connected to the AI interface. The one end connected to the sampling resistor switch is grounded. In this embodiment, the enable switch is configured to control opening and closing of the sampling resistor switch, and the enable switch can be integrated with the sampling resistor switch in the chip. The enable end of the enable switch is connected to the comparator, and the other end is connected to a controller such as a microcontroller control terminal.
可替换的是, 所述使能开关也可采用继电器接入采样电阻或其他控制 单元打开的方式实现。  Alternatively, the enable switch can also be implemented by means of a relay connected to the sampling resistor or other control unit.
参照图 2, 其示出了本发明过压保护电路实施例的电气原理框图。如图 2所示, 本实施例的过压保护电路中, 存在两个所述使能开关, 即: 第一使 能开关和第二使能开关。 对应的, 存在两个所述采样电阻开关, 即: 第一 采样电阻开关和第二采样电阻开关。 Referring to Figure 2, there is shown an electrical block diagram of an embodiment of the overvoltage protection circuit of the present invention. As shown in FIG. 2, in the overvoltage protection circuit of this embodiment, there are two enable switches, namely: a first enable switch and a second enable switch. Correspondingly, there are two sampling resistance switches, namely: Sampling resistor switch and second sampling resistor switch.
其中, 所述第一使能开关的使能端与所述比较器连接, 所述第一使能 开关配置为控制第一采样电阻开关的开合; 所述第二使能开关的使能端与 所述比较器连接, 所述第二使能开关配置为控制第二采样电阻开关的开合。 所述采样电阻包括: 第一采样电阻和第二采样电阻。 所述第一采样电阻的 一端与所述第一采样电阻开关连接, 另一端与所述第一对外接口连接。 所 述第二采样电阻的一端与所述第二采样电阻开关连接, 另一端与所述第二 对外接口连接。  The enable end of the first enable switch is connected to the comparator, the first enable switch is configured to control opening and closing of the first sampling resistor switch; and the enable end of the second enable switch Connected to the comparator, the second enable switch is configured to control opening and closing of the second sampling resistor switch. The sampling resistor includes: a first sampling resistor and a second sampling resistor. One end of the first sampling resistor is connected to the first sampling resistor switch, and the other end is connected to the first external interface. One end of the second sampling resistor is connected to the second sampling resistor switch, and the other end is connected to the second external interface.
本实施例中, 为实现采用一个比较器进行两个短路检测, 所述比较器 进一步包括: 第一比较电路和第二比较电路。 其中, 所述第一比较电路的 一端设有第一对外接口, 另一端分别与所述使能开关的使能端连接。 所述 第二比较电路的一端设有第二对外接口, 另一端分别与所述使能开关的使 能端连接。  In this embodiment, in order to implement two short circuit detections by using one comparator, the comparator further includes: a first comparison circuit and a second comparison circuit. The first comparison circuit is provided with a first external interface at one end and an enable end of the enable switch at the other end. One end of the second comparison circuit is provided with a second external interface, and the other end is respectively connected to an enable end of the enable switch.
进一步来讲, 所述第一比较电路包括: 第一比较放大电路和第一钳位 电路。 其中, 所述第一比较放大电路与所述第一对外接口连接, 该第一比 较放大电路配置为比较所述第一对外接口的接入电压值和指定电压值的大 小, 并在所述第一对外接口的接入电压值高于所述指定电压值时, 所述第 一比较放大电路的输出偏转。 所述第一钳位电路与所述第一比较放大电路 连接, 该第一钳位电路配置为控制所述使能开关使能端的电压值。  Further, the first comparison circuit includes: a first comparison amplification circuit and a first clamp circuit. The first comparison amplifying circuit is connected to the first external interface, and the first comparison amplifying circuit is configured to compare an access voltage value of the first external interface with a size of a specified voltage value, and in the When the access voltage value of the external interface is higher than the specified voltage value, the output of the first comparison amplifying circuit is deflected. The first clamp circuit is coupled to the first comparison amplifier circuit, and the first clamp circuit is configured to control a voltage value of the enable switch enable terminal.
需要说明的是, 所述指定电压值为根据所述接入电压值设置的判断误 接的参考值。 本实施例中, 所述指定电压值能够根据可能误接入的非电流 采样电源的电压值进行设置。 一般来讲, 当所述第一对外接口的接入电压 值高于所述指定电压值, 所述第一比较放大电路的输出偏转, 所述第一钳 位电路将所述使能开关的使能端的电压置为低电平, 使所述使能开关关闭, 从而对采样电阻起到保护作用。 例如: 采样电阻 R采样的阻值是 250欧姆, 最大功率是 1/16W, 那么根 P=U*U/R, 得出采样电阻两端能忍受的最大电压值 Umax。 一般, 可约定 比较器正向输入管脚的基准电压是 2.5V, 负向输入管脚接入的分压电阻分 别为 Rl、 R2, 那么计算公式为 Umax x (R2/(R1+R2))=2.5V, 从而得出 Rl、 R2的值。 It should be noted that the specified voltage value is a reference value determined to be misconnected according to the access voltage value. In this embodiment, the specified voltage value can be set according to a voltage value of a non-current sampling power source that may be erroneously accessed. Generally, when the access voltage value of the first external interface is higher than the specified voltage value, the output of the first comparison amplifying circuit is deflected, and the first clamping circuit turns on the enabling switch. The voltage of the energy terminal is set to a low level, so that the enable switch is turned off, thereby protecting the sampling resistor. For example: The resistance of the sampling resistor R is 250 ohms, the maximum power is 1/16W, then the root P=U*U/R, which gives the maximum voltage value U max that can be tolerated at both ends of the sampling resistor. Generally, it can be agreed that the reference voltage of the forward input pin of the comparator is 2.5V, and the voltage dividing resistors of the negative input pin are respectively Rl and R2, then the calculation formula is U max x (R2/(R1+R2) ) = 2.5V, resulting in the values of Rl, R2.
更进一步来讲, 所述第一比较放大电路包括: 第一分压调节器和第一 运算放大器。 其中, 所述第一分压调节器与所述第一对外接口连接, 该第 一分压调节器配置为根据所述第一对外接口接入的外接电压值的大小选取 不同的分压电阻及所述指定电压值。 所述第一运算放大器输入端的负极与 所述第一分压调节器连接, 正极接入供电电压, 所述第一运算放大器的输 出端与所述第一钳位电路连接。  Further, the first comparison amplifying circuit comprises: a first voltage dividing regulator and a first operational amplifier. The first voltage dividing regulator is connected to the first external interface, and the first voltage dividing regulator is configured to select different voltage dividing resistors according to the magnitude of the external voltage value of the first external interface. The specified voltage value. The negative terminal of the input end of the first operational amplifier is connected to the first voltage dividing regulator, the positive pole is connected to the power supply voltage, and the output end of the first operational amplifier is connected to the first clamping circuit.
与所述第一比较电路的结构相似的是, 所述第二比较电路包括: 第二 比较放大电路和第二钳位电路。 其中, 所述第二比较放大电路与所述第二 对外接口连接, 该第二比较放大电路配置为比较所述第二对外接口的接入 电压值和指定电压值的大小, 并在所述第二对外接口的接入电压值高于所 述指定电压值时, 所述第二比较放大电路的输出偏转。 所述第二钳位电路 与所述第二比较放大电路连接, 该第二钳位电路配置为控制所述使能开关 使能端的电压值。  Similar to the structure of the first comparison circuit, the second comparison circuit includes: a second comparison amplification circuit and a second clamp circuit. The second comparison amplifying circuit is connected to the second external interface, and the second comparison amplifying circuit is configured to compare an access voltage value of the second external interface with a size of a specified voltage value, and in the When the access voltage value of the external interface is higher than the specified voltage value, the output of the second comparative amplifying circuit is deflected. The second clamp circuit is coupled to the second comparison amplifier circuit, and the second clamp circuit is configured to control a voltage value of the enable switch enable terminal.
更进一步来讲, 所述第二比较放大电路包括: 第二分压调节器和第二 运算放大器。 第二分压调节器所述第二对外接口连接, 该第二分压调节器 配置为根据所述第二对外接口接入的外接电压值的大小选取不同的分压电 阻及所述指定电压值。 第二运算放大器输入端的负极与所述第二分压调节 器连接, 正极接入供电电压, 所述第二运算放大器的输出端与所述第二钳 位电路连接。  Further, the second comparison amplifying circuit comprises: a second voltage dividing regulator and a second operational amplifier. The second voltage dividing regulator is connected to the second external interface, and the second voltage dividing regulator is configured to select different voltage dividing resistors and the specified voltage value according to the magnitude of the external voltage value of the second external interface . A cathode of the input terminal of the second operational amplifier is connected to the second voltage dividing regulator, a positive pole is connected to the power supply voltage, and an output terminal of the second operational amplifier is connected to the second clamping circuit.
需要指出的是, 当所述比较器中的第一比较电路和 /或第二比较电路误 接到非电流采样电源时, 所述第一使能开关、 第二使能开关均会关闭, 以 关闭第一、 第二采样电阻开关, 从而对第一、 第二采样电阻进行保护。 因 此, 本实施例通过采用两路具有电流检测功能的比较电路和使能开关, 能 够实现对采样电阻的过压保护。 It should be noted that when the first comparison circuit and/or the second comparison circuit in the comparator are wrong When the non-current sampling power supply is connected, the first enable switch and the second enable switch are all turned off to turn off the first and second sampling resistance switches, thereby protecting the first and second sampling resistors. Therefore, in this embodiment, by using two comparison circuits having a current detecting function and an enable switch, overvoltage protection of the sampling resistor can be realized.
由此可见, 本实施例的比较器能实现两个短路检测。 这里, 结合图 3 所示的电路示意图, 以实例对上述实施例作进一步说明:  Thus, the comparator of this embodiment can achieve two short circuit detections. Here, in combination with the circuit diagram shown in FIG. 3, the above embodiment is further illustrated by an example:
参照图 3, 其示出了过压保护电路实例的示意图, 该过压保护电路实例 中, 主要包括使能开关和比较器两部分, 其中, 所述比较器包括两个比较 电路一一第一比较电路、 第二比较电路。 本实例存在两个所述使能开关, 即: 第一使能开关和第二使能开关。 对应地, 存在两个所述采样电阻开关, 即: 第一采样电阻开关和第二采样电阻开关; 以及, 两个采样电阻, 即: 第一采样电阻 R 采样 和第二采样电阻 R 采样 2。 第一采样电阻 R 采样 的一端与 所述第一采样电阻开关连接, 另一端与所述 AI接口 1连接。 第二采样电阻 R采样 2的一端与所述第二采样电阻开关连接, 另一端与所述 AI接口 2连接, 如图 3所示。 Referring to FIG. 3, a schematic diagram of an example of an overvoltage protection circuit is shown. The example of the overvoltage protection circuit mainly includes an enable switch and a comparator. The comparator includes two comparison circuits. Comparison circuit, second comparison circuit. In this example, there are two said enable switches, namely: a first enable switch and a second enable switch. Correspondingly, there are two sampling resistance switches, namely: a first sampling resistance switch and a second sampling resistance switch; and, two sampling resistors, namely: a first sampling resistor R sampling and a second sampling resistor R sampling 2 . One end of the first sampling resistor R is connected to the first sampling resistor switch, and the other end is connected to the AI interface 1. One end of the second sampling resistor R sample 2 is connected to the second sampling resistor switch, and the other end is connected to the AI interface 2, as shown in FIG.
本实例中, 第一比较电路中设有分压电阻 Rll、 分压电阻 R12、钳位二 极管 Dl、 运算放大器; 其中, 分压电阻 R11—端与 AI接口 1连接, 另一 端与运算放大器负极连接; 分压电阻 R12—端与运算放大器负极连接, 另 一端接地。 运算放大器阳极接供电电源, 如 3.3V供电电源 3V3, 运算放大 器的输出端接钳位二极管 D1 ,钳位二极管 D1的另一端与第一使能开关 K1、 第二使能开关 K2的使能端连接, 控制所述第一使能开关 Kl、 第二使能开 关 Κ2的开合, 即控制第一采样电阻开关、 第二采样电阻开关的开合。 本实 施例各部件的进一步的连接关系可参照图 3所示, 这里不再做详细说明。  In this example, the first comparison circuit is provided with a voltage dividing resistor R11, a voltage dividing resistor R12, a clamping diode D1, and an operational amplifier; wherein, the voltage dividing resistor R11 is connected to the AI interface 1 and the other end is connected to the negative terminal of the operational amplifier. The voltage divider resistor R12 is connected to the negative terminal of the operational amplifier and the other terminal is grounded. The operational amplifier anode is connected to the power supply, such as the 3.3V power supply 3V3, the output terminal of the operational amplifier is connected to the clamp diode D1, the other end of the clamp diode D1 and the enable end of the first enable switch K1 and the second enable switch K2. The connection controls the opening and closing of the first enable switch K1 and the second enable switch Κ2, that is, controls the opening and closing of the first sampling resistor switch and the second sampling resistor switch. The further connection relationship of the components of this embodiment can be referred to FIG. 3, and will not be described in detail herein.
与上述第一比较电路相似的是, 所述第二比较电路设有分压电阻 R21、 分压电阻 R22、 钳位二极管 D2、 运算放大器; 其中, 分压电阻 R21—端与 AI接口 2连接, 另一端与运算放大器负极连接; 分压电阻 R22—端与运算 放大器负极连接, 另一端接地。 其余各部件的连接关系与所述第一比较电 路对应部件的连接关系相似, 因此其余各部件的进一步的连接关系可参照 图 3所示, 这里不再做详细说明。 Similar to the first comparison circuit, the second comparison circuit is provided with a voltage dividing resistor R21, a voltage dividing resistor R22, a clamping diode D2, and an operational amplifier; wherein, the voltage dividing resistor R21 is terminated The AI interface 2 is connected, and the other end is connected to the negative terminal of the operational amplifier; the voltage dividing resistor R22 is connected to the negative terminal of the operational amplifier, and the other end is grounded. The connection relationship of the remaining components is similar to the connection relationship of the corresponding components of the first comparison circuit. Therefore, the further connection relationship of the remaining components can be referred to FIG. 3, and will not be described in detail herein.
本实施例如此设计的优势在于: 将两路比较电路放置在使能开关的使 能脚的前端, 当在电流采样时, AI接口 1、 和 /或 AI接口 2接入的电压值高 于指定电压值时, 如误接入 24V驱动电源时, 运算放大器的输出偏转。 同 时, 使用钳位二极管将使能开关的使能端的电压值置于低电平, 从而关闭 使能开关, 进而关闭采样电阻开关, 从而保护采样电阻不会被烧毁。 需要 强调的是, 本实施例设计的比较器和使能开关, 不仅能实现电流检测功能 和对采样电阻的过压保护, 而且设计筒单, 成本低廉。 此处, 结合图 4和图 5对本发明的优选实施例作进一步说明: 如图 4所示, 在前述实施例的基础上, 本实施例的过压保护电路还优 选设有控制器, 该控制器分别与所述第一、 第二比较放大电路的输出端连 接, 用于监测是否有误接信息, 以判断所述第一、 第二对外接口是否误接。  The advantage of this embodiment, for example, is that: the two comparator circuits are placed at the front end of the enable pin of the enable switch. When the current is sampled, the voltage value of the AI interface 1, and/or the AI interface 2 is higher than the specified value. At the voltage value, the output of the op amp is deflected if the 24V drive power supply is accidentally connected. At the same time, the clamping diode is used to set the voltage value of the enable terminal of the enable switch to a low level, thereby turning off the enable switch and turning off the sampling resistor switch, thereby protecting the sampling resistor from being burnt. It should be emphasized that the comparator and the enable switch designed in this embodiment can not only realize the current detecting function and the overvoltage protection of the sampling resistor, but also design a single tube, which is low in cost. Herein, a preferred embodiment of the present invention will be further described with reference to FIG. 4 and FIG. 5. As shown in FIG. 4, based on the foregoing embodiment, the overvoltage protection circuit of the embodiment is further preferably provided with a controller, and the control is further provided. The device is connected to the output ends of the first and second comparison amplifying circuits respectively for monitoring whether there is a misconnection information to determine whether the first and second external interfaces are misconnected.
需要说明的是, 本实施例的控制器可为微控制器、 单片机等, 通过将 所述比较器的输出接入到微控制器的管脚或单片机的控制端, 就能检测到 误接的信息。 所述误接的信息用于向用户及控制器处理单元提供报警信息, 故障报警指示单元会给出警示, 同时所述控制器的处理单元会迅速闭电流 开关。  It should be noted that the controller of this embodiment may be a microcontroller, a single chip microcomputer, etc., by connecting the output of the comparator to the pin of the microcontroller or the control end of the single chip microcomputer, the misconnection can be detected. information. The misconnected information is used to provide alarm information to the user and the controller processing unit, and the fault alarm indicating unit will give an alert, and the processing unit of the controller will quickly close the current switch.
优选的是, 本实施例的过压保护电路还设有报警器, 该报警器与所述 控制器连接, 且该报警器配置为在所述控制器监测到误接信息时进行故障 报警。  Preferably, the overvoltage protection circuit of the embodiment is further provided with an alarm, the alarm being connected to the controller, and the alarm is configured to perform a fault alarm when the controller detects the misconnection information.
需要指出的是, 本实施例设置的报警器不仅能实现故障报警, 而且能 提高过压保护的可靠性, 更加安全可靠。 更为优选的是, 本实施例的过压保护电路还设有故障分析器, 该故障 分析器与所述控制器连接, 且该故障分析器配置为在所述控制器监测到误 接信息时对故障进行诊断。 因此, 本实施例针对用户的误接, 还提供故障 诊断功能。 It should be noted that the alarm device provided in this embodiment can not only realize the fault alarm, but also improve the reliability of the overvoltage protection, and is more safe and reliable. More preferably, the overvoltage protection circuit of this embodiment is further provided with a fault analyzer, the fault analyzer is connected to the controller, and the fault analyzer is configured to detect when the controller detects the misconnection information. Diagnose the fault. Therefore, the embodiment provides a fault diagnosis function for the user's misconnection.
需要说明的是, 所述处理器收到故障报警以后, 会关闭电流开关, 将 采样模式转换成电压模式, 这样可以定位到用户误接的端口, 该端口的功 能将会关闭, 而且应用程序也将检测到这一信息而自动对该端口上的数据 进行屏蔽, 而不影响整个运动控制器的使用。 在电压型采样模式下, 当用 户恢复了正常的接线以后, 电流开关能自动的切换成正常模式, 控制单元 正常运行。  It should be noted that after the processor receives the fault alarm, the current switch is turned off, and the sampling mode is converted into the voltage mode, so that the port that the user has misconnected can be located, the function of the port will be closed, and the application program is also This information will be detected and the data on the port will be automatically masked without affecting the use of the entire motion controller. In the voltage sampling mode, when the user restores the normal wiring, the current switch can automatically switch to the normal mode and the control unit operates normally.
由上述各实施例可得出, 本发明设计的各过压保护电路实施例优势在 于:  It can be seen from the above embodiments that the advantages of the various overvoltage protection circuit embodiments designed by the present invention are as follows:
本发明过压保护电路中, 所述比较器能实现两个短路检测, 每一路电 流检测通过设置分压电阻、 钳位二极管和运算放大器来实现。 因此, 本发 明不仅能够有效保护采样电阻, 而且设计筒单, 成本低廉。 并且, 本发明 设计的过压保护电路结合比较器和使能开关, 响应时间短, 采样电阻来不 及发热管子就已经关断。 值得一提的是, 即使采样电阻长时间接在 24V驱 动电源上, 也不会发热, 可靠性好。  In the overvoltage protection circuit of the present invention, the comparator can realize two short circuit detections, and each current detection is realized by setting a voltage dividing resistor, a clamp diode and an operational amplifier. Therefore, the present invention not only can effectively protect the sampling resistor, but also design a single cartridge, which is low in cost. Moreover, the overvoltage protection circuit designed by the present invention combines a comparator and an enable switch, and the response time is short, and the sampling resistor is not turned off when the heat is generated. It is worth mentioning that even if the sampling resistor is connected to the 24V drive power supply for a long time, it will not generate heat and has good reliability.
本发明实施例还提供了一种电流采样装置, 该电流采样装置设置有上 述任一实施例所述的过压保护电路。 由于上述任一实施例所述的过压保护 电路具有上述技术效果, 因此, 设有所述过压保护电路的电流采样装置也 应具备相应的技术效果, 其具体实施过程与上述实施例类似, 兹不赘述。  The embodiment of the present invention further provides a current sampling device provided with the overvoltage protection circuit described in any of the above embodiments. The overvoltage protection circuit according to any of the above embodiments has the above technical effects. Therefore, the current sampling device provided with the overvoltage protection circuit should also have corresponding technical effects, and the specific implementation process is similar to the above embodiment. I will not repeat them.
以上所述仅为本发明的较佳实施例而已, 并不用以限制本发明, 凡在 本发明的精神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包 含在本发明的保护范围之内。 工业实用性 The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention. Any modifications, equivalents, improvements, etc., which are included in the spirit and scope of the present invention, should be included in the present invention. Within the scope of protection. Industrial applicability
本发明提供的过压保护电路及电流采样装置, 能够实现两个短路检测, 每一路电流检测通过设置分压电阻、 钳位二极管和运算放大器来实现。 因 此, 本发明不仅能够有效保护采样电阻, 而且设计筒单, 成本低廉。 并且, 本发明设计的过压保护电路结合比较器和使能开关, 响应时间短, 采样电 阻来不及发热管子就已经关断。 值得一提的是, 即使采样电阻长时间接在 The overvoltage protection circuit and the current sampling device provided by the invention can realize two short circuit detections, and each current detection is realized by setting a voltage dividing resistor, a clamping diode and an operational amplifier. Therefore, the present invention can not only effectively protect the sampling resistor, but also design a single cartridge, which is low in cost. Moreover, the overvoltage protection circuit designed by the present invention combines a comparator and an enable switch, and has a short response time, and the sampling resistor is not turned off when the heat is generated. It is worth mentioning that even if the sampling resistor is connected for a long time
24V驱动电源上, 也不会发热, 可靠性好。 因此, 本发明具有工业实用性。 On the 24V drive power supply, it will not generate heat and has good reliability. Therefore, the present invention has industrial applicability.

Claims

权利要求书 claims
1、 一种过压保护电路, 其特征在于, 包括: 1. An overvoltage protection circuit, characterized by including:
使能开关, 配置为控制与采样电阻串联的采样电阻开关的开合; 比较器, 其一端设有对外接口, 另一端与所述使能开关的使能端连接; 所述比较器配置为根据其比较结果确定是否使能所述使能开关的使能端。 An enable switch, configured to control the opening and closing of a sampling resistor switch connected in series with the sampling resistor; A comparator, one end of which is provided with an external interface, and the other end is connected to the enable end of the enable switch; The comparator is configured according to The comparison result determines whether to enable the enable end of the enable switch.
2、 根据权利要求 1所述的过压保护电路, 其特征在于, 所述比较器包 括: 2. The overvoltage protection circuit according to claim 1, characterized in that the comparator includes:
第一比较电路, 其一端设有第一对外接口, 另一端分别与所述使能开 关的使能端连接; The first comparison circuit has a first external interface at one end, and the other end is connected to the enable end of the enable switch respectively;
第二比较电路, 其一端设有第二对外接口, 另一端分别与所述使能开 关的使能端连接。 The second comparison circuit has a second external interface at one end, and the other end is connected to the enable end of the enable switch respectively.
3、 根据权利要求 2所述的过压保护电路, 其特征在于, 3. The overvoltage protection circuit according to claim 2, characterized in that,
所述第一比较电路包括: The first comparison circuit includes:
第一比较放大电路, 其与所述第一对外接口连接, 该第一比较放大电 路配置为比较所述第一对外接口的接入电压值和指定电压值的大小, 并在 所述第一对外接口的接入电压值高于所述指定电压值时, 所述第一比较放 大电路的输出偏转; A first comparison amplification circuit, which is connected to the first external interface. The first comparison amplification circuit is configured to compare the access voltage value of the first external interface with the specified voltage value, and output the signal to the first external interface. When the access voltage value of the interface is higher than the specified voltage value, the output of the first comparison amplifier circuit is deflected;
第一钳位电路, 其与所述第一比较放大电路连接, 该第一钳位电路配 置为控制所述使能开关使能端的电压值; A first clamp circuit connected to the first comparison amplifier circuit, the first clamp circuit configured to control the voltage value of the enable end of the enable switch;
所述第二比较电路包括: The second comparison circuit includes:
第二比较放大电路, 其与所述第二对外接口连接, 该第二比较放大电 路配置为比较所述第二对外接口的接入电压值和指定电压值的大小, 并在 所述第二对外接口的接入电压值高于所述指定电压值时, 所述第二比较放 大电路的输出偏转; A second comparison amplification circuit, which is connected to the second external interface. The second comparison amplification circuit is configured to compare the access voltage value of the second external interface with the specified voltage value, and perform the second comparison amplification circuit on the second external interface. When the access voltage value of the interface is higher than the specified voltage value, the second comparison amplifier Output deflection of large circuits;
第二钳位电路, 其与所述第二比较放大电路连接, 该第二钳位电路配 置为控制所述使能开关使能端的电压值; A second clamp circuit connected to the second comparison amplifier circuit, the second clamp circuit configured to control the voltage value of the enable end of the enable switch;
其中, 所述指定电压值为根据所述接入电压值设置的判断误接的参考 值。 Wherein, the specified voltage value is a reference value for judging misconnection set according to the access voltage value.
4、根据权利要求 3所述的过压保护电路,其特征在于,该电路还包括: 控制器, 其分别与所述第一、 第二比较放大电路的输出端连接, 并配 置为监测是否有误接信息以判断所述第一、 第二对外接口是否误接。 4. The overvoltage protection circuit according to claim 3, characterized in that the circuit further includes: a controller, which is connected to the output terminals of the first and second comparison amplifier circuits respectively, and is configured to monitor whether there is Misconnection information is used to determine whether the first and second external interfaces are misconnected.
5、 根据权利要求 4所述的过压保护电路, 其特征在于, 还包括: 报警 器, 该报警器与所述控制器连接, 且该报警器配置为在所述控制器监测到 误接信息时进行故障报警。 5. The overvoltage protection circuit according to claim 4, further comprising: an alarm, the alarm is connected to the controller, and the alarm is configured to detect misconnection information when the controller fault alarm.
6、 根据权利要求 4所述的过压保护电路, 其特征在于, 还包括: 故障 分析器, 该故障分析器与所述控制器连接, 且该故障分析器配置为在所述 控制器监测到误接信息时对故障进行诊断。 6. The overvoltage protection circuit according to claim 4, further comprising: a fault analyzer, the fault analyzer is connected to the controller, and the fault analyzer is configured to detect when the controller detects Diagnose faults when misconnected information occurs.
7、 根据权利要求 4至 6任一项所述的过压保护电路, 其特征在于, 所述第一比较放大电路包括: 7. The overvoltage protection circuit according to any one of claims 4 to 6, characterized in that the first comparison amplifier circuit includes:
第一分压调节器, 其与所述第一对外接口连接, 该第一分压调节器配 置为根据所述第一对外接口接入的外接电压值的大小选取不同的分压电阻 及所述指定电压值; A first voltage dividing regulator connected to the first external interface. The first voltage dividing regulator is configured to select different voltage dividing resistors and the voltage according to the value of the external voltage connected to the first external interface. Specify voltage value;
第一运算放大器, 其输入端的负极与所述第一分压调节器连接, 正极 接入供电电压, 所述第一运算放大器的输出端与所述第一钳位电路连接; 所述第二比较放大电路包括: 第二分压调节器, 其与所述第二对外接口连接, 该第二分压调节器配 置为根据所述第二对外接口接入的外接电压值的大小选取不同的分压电阻 及所述指定电压值; A first operational amplifier, the negative terminal of its input terminal is connected to the first voltage dividing regulator, the positive terminal is connected to the supply voltage, and the output terminal of the first operational amplifier is connected to the first clamping circuit; the second comparison Amplification circuit includes: A second voltage dividing regulator connected to the second external interface. The second voltage dividing regulator is configured to select different voltage dividing resistors and the voltage according to the value of the external voltage connected to the second external interface. Specify voltage value;
第二运算放大器, 其输入端的负极与所述第二分压调节器连接, 正极 接入供电电压, 所述第二运算放大器的输出端与所述第二钳位电路连接。 The negative terminal of the second operational amplifier is connected to the second voltage dividing regulator, the positive terminal is connected to the supply voltage, and the output terminal of the second operational amplifier is connected to the second clamping circuit.
8、 根据权利要求 1至 6任一项所述的过压保护电路, 其特征在于, 所 述使能开关包括: 第一使能开关和第二使能开关; 所述采样电阻开关包括 第一采样电阻开关和第二采样电阻开关; 8. The overvoltage protection circuit according to any one of claims 1 to 6, characterized in that the enable switch includes: a first enable switch and a second enable switch; the sampling resistor switch includes a first enable switch Sampling resistor switch and second sampling resistor switch;
其中, 所述第一使能开关的使能端与所述比较器连接, 所述第一使能 开关配置为控制第一采样电阻开关的开合; 所述第二使能开关的使能端与 所述比较器连接, 所述第二使能开关配置为控制第二采样电阻开关的开合。 Wherein, the enable end of the first enable switch is connected to the comparator, and the first enable switch is configured to control the opening and closing of the first sampling resistor switch; the enable end of the second enable switch Connected to the comparator, the second enable switch is configured to control opening and closing of the second sampling resistor switch.
9、 根据权利要求 8所述的过压保护电路, 其特征在于, 所述采样电阻 包括: 9. The overvoltage protection circuit according to claim 8, characterized in that the sampling resistor includes:
第一采样电阻, 其一端与所述第一采样电阻开关连接, 另一端与所述 第一对外接口连接; A first sampling resistor, one end of which is connected to the first sampling resistor switch, and the other end is connected to the first pair of external interfaces;
第二采样电阻, 其一端与所述第二采样电阻开关连接, 另一端与所述 第二对外接口连接。 The second sampling resistor has one end connected to the second sampling resistor switch and the other end connected to the second external interface.
10、 一种电流采样装置, 其特征在于, 该电流采样装置设置有上述权 利要求 1至 9任意一项所述的过压保护电路。 10. A current sampling device, characterized in that the current sampling device is provided with the overvoltage protection circuit described in any one of the above claims 1 to 9.
PCT/CN2012/085914 2012-07-06 2012-12-05 Overvoltage protection circuit and current sampling device WO2014005399A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210234438.7A CN102751714B (en) 2012-07-06 2012-07-06 Overvoltage protection circuit and current sampling device
CN201210234438.7 2012-07-06

Publications (1)

Publication Number Publication Date
WO2014005399A1 true WO2014005399A1 (en) 2014-01-09

Family

ID=47031688

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/085914 WO2014005399A1 (en) 2012-07-06 2012-12-05 Overvoltage protection circuit and current sampling device

Country Status (2)

Country Link
CN (1) CN102751714B (en)
WO (1) WO2014005399A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108880528A (en) * 2017-05-08 2018-11-23 联发科技股份有限公司 The interface circuit of electronic device
CN117613837A (en) * 2023-12-05 2024-02-27 唐山标先电子有限公司 Phase-dislocation protection circuit and method for three-phase four-wire system electric equipment and application of phase-dislocation protection circuit and method

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102751714B (en) * 2012-07-06 2015-03-18 三一重工股份有限公司 Overvoltage protection circuit and current sampling device
EP3424066B1 (en) * 2016-03-01 2020-12-23 Atom Power, Inc. Hybrid air-gap / solid-state circuit breaker
CN106787067B (en) * 2017-02-24 2019-06-18 北京空间飞行器总体设计部 A kind of battery charging adjusting protection circuit
CN107809108A (en) * 2017-12-12 2018-03-16 福建星海通信科技有限公司 A kind of protection circuit of car-mounted terminal
CN108181501B (en) * 2018-01-22 2021-01-22 林海 Current signal acquisition circuit with protective action
CN113252969B (en) * 2021-04-15 2023-12-15 厦门华联电子股份有限公司 Double-limit adjustable overcurrent detection circuit and overcurrent detection device
CN114333657B (en) * 2021-12-10 2024-02-06 北京镁伽科技有限公司 Current sampling system, adjustable voltage source and image signal generator

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040184208A1 (en) * 2003-03-19 2004-09-23 Daniel Liu Power protecting device for electrical power source and load
CN201260064Y (en) * 2008-08-29 2009-06-17 通力盛达能源设备(北京)有限公司 Protection device for inputting over or under voltage
CN102751714A (en) * 2012-07-06 2012-10-24 三一重工股份有限公司 Overvoltage protection circuit and current sampling device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05288779A (en) * 1992-04-14 1993-11-02 Matsushita Electric Ind Co Ltd Input protection circuit
CN100444492C (en) * 2006-02-17 2008-12-17 江苏能建机电实业有限公司 Microcomputer protector of current mutual inductor
CN102445587B (en) * 2011-11-18 2017-07-11 华东电力试验研究院有限公司 Current sampling circuit and its current range determination device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040184208A1 (en) * 2003-03-19 2004-09-23 Daniel Liu Power protecting device for electrical power source and load
CN201260064Y (en) * 2008-08-29 2009-06-17 通力盛达能源设备(北京)有限公司 Protection device for inputting over or under voltage
CN102751714A (en) * 2012-07-06 2012-10-24 三一重工股份有限公司 Overvoltage protection circuit and current sampling device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108880528A (en) * 2017-05-08 2018-11-23 联发科技股份有限公司 The interface circuit of electronic device
CN117613837A (en) * 2023-12-05 2024-02-27 唐山标先电子有限公司 Phase-dislocation protection circuit and method for three-phase four-wire system electric equipment and application of phase-dislocation protection circuit and method

Also Published As

Publication number Publication date
CN102751714B (en) 2015-03-18
CN102751714A (en) 2012-10-24

Similar Documents

Publication Publication Date Title
WO2014005399A1 (en) Overvoltage protection circuit and current sampling device
US6101073A (en) Ground fault protecting apparatus and method for solar power generation and solar power generation apparatus using the apparatus and method
JP2019110751A5 (en)
WO2019052256A1 (en) Protection circuit of air conditioning controller and control method thereof
WO2010096978A1 (en) Over-current protection circuit and motor controller comprising it
CN109802527B (en) Over-temperature protection circuit and motor controller
WO2017201957A1 (en) Protective device and method for bms power source loop, and electric vehicle
WO2017201740A1 (en) Battery protecting board, battery, and mobile terminal
US11512860B2 (en) Protection circuit and air conditioner
WO2011006411A1 (en) Dc fan fault detecting device and method with alarm
WO2022012638A1 (en) Surge protection circuit, lightning protector and electronic device
CN109950881A (en) A kind of embeddable type equipment preliminary examination protection circuit
KR20180110586A (en) Power supply apparatus with soft―start and protection
CN103645375A (en) Power supply overrunning detection module without reference source
US11482860B1 (en) Jumper cable, starting power supply and jump start device
CN108182911B (en) Liquid crystal display device, LED backlight circuit and LED lamp strip power supply circuit
WO2023134533A1 (en) Protective circuit and biological sample preparation device
CN115693593A (en) Overvoltage protection device of vehicle power supply, vehicle and overvoltage protection method of vehicle power supply
CN212410835U (en) Detection circuit of alternating current input line and socket with detection circuit
CN213482396U (en) Relay detection circuit and detection device based on positive and negative poles
WO2022082497A1 (en) Positive and negative electrodes-based relay detection circuit, and detection apparatus
WO2022082526A1 (en) Main negative relay detection system
WO2019000265A1 (en) Detection circuit for servo driver and servo driver
CN208174704U (en) A kind of exception protection circuit and electronic equipment
JP2001327086A (en) Charging circuit

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12880347

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12880347

Country of ref document: EP

Kind code of ref document: A1