A disconnection detection circuit, system and method for a digital output circuit

By using diodes and differential amplifiers in the digital output circuit to detect disconnection status, the problem of localized independent controllable disconnection detection is solved, disconnection detection for various load types is realized, and circuit complexity and cost are reduced. It meets the domestic independent and controllable needs.

CN114879086BActive Publication Date: 2024-09-10ZHEJIANG SUPCON RES
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210419357.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-21
Publication Date
2024-09-10
Estimated Expiration
2042-04-21

AI Technical Summary

Technical Problem

It is difficult to effectively implement disconnection detection of domestically produced independent and controllable digital output modules with existing technology, especially when using domestically produced devices, and existing methods have problems such as limited use scenarios and high costs.

Method used

The diode is used as the sampling module, and the voltage difference across the diode is amplified through a differential amplifier. It is combined with the logic level output module to determine the disconnection status. It supports the detection of disconnection of capacitive, inductive and purely resistive loads, and uses simple components to construct the disconnection. detection circuit.

Benefits of technology

It realizes the ability to simply identify whether a wire is disconnected in a DC type output digital output circuit, supports domestic independent controllable requirements, reduces the complexity and cost of the circuit, and is suitable for various types of controlled equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114879086B
    Figure CN114879086B
Patent Text Reader

Abstract

The present invention discloses a disconnection detection circuit, system and method for a digital quantity output circuit. The circuit includes: a disconnection detection module and a digital quantity output module, the disconnection detection module and the digital quantity output module are connected in circuit; the disconnection detection module includes: a sampling module, which is arranged at a preset sampling point, and is used to obtain the voltage difference between the two ends of the sampling module in a normal state and a disconnection state; an amplification module, which is used to amplify the voltage difference through a differential amplifier and drive a logic level output module; a logic level output module, which is used to judge whether the digital quantity output circuit is in a disconnection and a normal conversion logic state; a digital quantity output module, which is used to convert the digital signal output by the sampling module and the amplification module into a driving digital signal, and drive the disconnection detection module to perform disconnection detection. The present invention solves the defects of the existing digital quantity output circuit disconnection detection, and can support disconnection detection of capacitive, inductive and purely resistive controlled devices.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of industrial automation, and in particular to a disconnection detection circuit, system and method for a digital output circuit. Background Art

[0002] As the requirements for reliability and safety in the field of industrial control automation become increasingly higher, the requirement for self-diagnosis is put forward for the digital output modules of automated control. Realizing the disconnection detection of digital output modules is an important part of the self-diagnosis of digital output modules. In the context of localization and independent control, using domestic devices to realize disconnection detection of digital output modules is an inevitable choice for domestic automation control manufacturers.

[0003] The prior art has attempted to detect disconnection in digital output circuits. Patent document CN112180219A uses a sampling resistor, a diagnostic pulse, and a control load as a relay. By controlling the width of the diagnostic pulse, the sampling resistor voltage is obtained and analog-to-digital conversion is performed before the relay is activated, and then voltage comparison is performed to determine whether the line is disconnected. This method uses a fixed relay as a load, which is limited in the use scenario; the analog-to-digital conversion circuit is used, and the circuit has the characteristics of high relative load and high cost.

[0004] For digital output circuits, foreign manufacturers have launched integrated circuits that support disconnection detection. However, such integrated chips do not meet the requirements of some domestic automation control systems that are independently controllable, that is, they cannot meet the requirements of a simple circuit to identify whether a digital output module is disconnected. Summary of the invention

[0005] The object of the present invention is to provide a disconnection detection circuit, system and method for a digital output circuit.

[0006] The present invention provides a line break detection circuit of a digital quantity output circuit, comprising a line break detection module and a digital quantity output module, wherein the line break detection module is circuit-connected with the digital quantity output module; the line break detection module comprises:

[0007] The sampling module is arranged at a preset sampling point and is used to obtain the pressure difference between the two ends of the sampling module in a normal state and in a disconnected state;

[0008] an amplification module, used for amplifying the voltage difference through a differential amplifier and driving a logic level output module;

[0009] A logic level output module, used to determine whether the digital output circuit is in a disconnected state or a normal conversion logic state. When the voltage difference is less than a preset threshold, it is in a disconnected state, and when the voltage difference is greater than the preset threshold, it is in a normal state;

[0010] A digital output module, used to convert the digital signal output by the sampling module and the amplification module into a driving digital signal, and drive the disconnection detection module to perform disconnection detection;

[0011] The two sampling terminals of the sampling module are respectively connected to the input terminals of the amplifying module, the output terminal of the amplifying module is connected to the logic level output module circuit, and the sampling module is grounded to the equivalent load impedance.

[0012] Preferably, the sampling module adopts a diode, and in the source type digital output circuit, the cathode and anode of the diode are respectively connected to the input end of the amplification module, and the cathode of the diode is connected to the equivalent impedance and grounded.

[0013] Preferably, the sampling module adopts a diode, and in the leakage type digital output circuit, the cathode and anode of the diode are respectively connected to the input end of the amplification module, and the anode of the diode is connected to the equivalent impedance and connected to the power supply.

[0014] Preferably, the digital quantity output module adopts an equivalent switch, and when the equivalent switch is turned on, the disconnection state is judged.

[0015] Preferably, the digital output module also uses a MOS tube.

[0016] Preferably, the equivalent load impedance includes at least one of a pure resistive load, a capacitive load and an inductive load.

[0017] Preferably, a sampling and comparison module is further included to replace the amplification module and the logic level output module, and realize the functions of the amplification module and the logic level output module.

[0018] The present invention further provides a disconnection detection system for a digital quantity output circuit, comprising the disconnection detection circuit for the digital quantity output circuit as described above.

[0019] The present invention further provides a disconnection detection method for a digital output circuit, which is implemented by using the disconnection detection circuit for the digital output circuit as described above, and comprises:

[0020] Step S1, setting the connection status between the digital quantity output control circuit and the controlled device or circuit to a disconnected state and a normal state respectively;

[0021] Step S2, respectively obtaining the voltage difference across the diode in the sampling module in the disconnection state and the normal state;

[0022] Step S3, according to the current in the disconnection state and the normal state, the different voltage differences generated by the current flowing through the diode are used to distinguish the disconnection state and the normal state, and the logic level is output.

[0023] With respect to the prior art, the present invention has the following beneficial effects:

[0024] The present invention proposes a detection method for disconnection of the connection line between a digital quantity output control circuit and a controlled device or circuit by using domestic discrete components. On the one hand, a circuit for simply identifying whether a digital quantity output module is disconnected can be constructed by using simple and extremely few components in a DC type output digital quantity output type circuit, and can support disconnection detection of capacitive, inductive and purely resistive controlled devices; on the other hand, it also realizes some domestically produced independent and controllable requirements in the field of automation control. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 Schematic diagram of a disconnection detection circuit of a digital quantity output circuit according to an embodiment of the present invention;

[0026] Figure 2 Schematic diagram of the disconnection detection structure of the source type digital output circuit according to an embodiment of the present invention;

[0027] Figure 3 Schematic diagram of the disconnection detection structure of the leakage type digital output circuit according to an embodiment of the present invention;

[0028] Figure 4 A diode volt-ampere characteristic parameter diagram for illustrating the principle diagram for implementing the present invention;

[0029] Figure 5 Schematic diagram of the steps of the disconnection detection method of the digital output circuit described in an embodiment of the present invention;

[0030] in,

[0031] 1- wire break detection module; 2- digital output module; 3- sampling module; 4- amplification module; 5- logic level output module. DETAILED DESCRIPTION

[0032] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0033] like Figure 1 As shown, the present invention provides a disconnection detection circuit of a digital output circuit, comprising a disconnection detection module 1 and a digital output module 2, wherein the disconnection detection module 1 and the digital output module 2 are circuit-connected; the disconnection detection module 1 comprises:

[0034] The sampling module 3 is arranged at a preset sampling point and is used to obtain the pressure difference between the two ends of the sampling module in a normal state and in a disconnected state;

[0035] an amplifying module 4, used for amplifying the voltage difference through a differential amplifier and driving a logic level output module;

[0036] The logic level output module 5 is used to judge whether the digital output circuit is in a disconnected state or a normal conversion logic state. When the voltage difference is less than a preset threshold, it is in a normal state; when the voltage difference is greater than the preset threshold, it is in a disconnected state;

[0037] A digital quantity output module 6, used for converting the digital signal output by the sampling module 3 and the amplifying module 4 into a driving digital signal, and driving the disconnection detection module to perform disconnection detection;

[0038] The two sampling terminals of the sampling module 3 are respectively connected to the input terminals of the amplifying module 4 , the output terminal of the amplifying module 4 is connected to the circuit of the logic level output module 5 , and the sampling module 3 is grounded to the equivalent load impedance.

[0039] like Figure 2 As shown, in one embodiment, the sampling module 3 uses a diode. In the source type digital output circuit, the cathode and anode of the diode are respectively connected to the input end of the amplifier module 4, and the cathode of the diode is connected to the equivalent impedance and grounded.

[0040] like Figure 3 As shown, in one embodiment, the sampling module 3 uses a diode. In the leakage-type digital output circuit, the cathode and anode of the diode are respectively connected to the input end of the amplification module 4, and the anode of the diode is connected to the equivalent impedance and connected to the power supply.

[0041] This method is based on the principle of current sampling, using a diode as a sampling method, and using the nonlinear relationship between the current and voltage of the diode. When the current flowing through the diode has not reached saturation, the voltage drop of the diode will increase exponentially with the increase of the current. A differential amplifier is used to amplify the voltage difference of the sampling diode for output, and the output does not depend on the driving configuration power supply VDD of the digital output circuit.

[0042] In one embodiment, the digital quantity output module 2 adopts an equivalent switch, and when the equivalent switch is used, a disconnection state is determined.

[0043] In one embodiment, the digital output module 2 also uses a MOS tube.

[0044] Through the present invention, it can be satisfied that the controlled device or circuit controlled by the digital output circuit is capacitive, inductive or purely resistive. And it can be satisfied that the current driven by the controlled device or circuit controlled by the digital output circuit is less than 1mA. Taking the driving configuration power supply VDD of the digital output circuit as 24V as an example, the equivalent impedance of the controlled device or circuit controlled by the digital output circuit can be up to 24 kiloohms. The equivalent load RL can be a resistor, a capacitor, an inductor, etc., more precisely, a purely resistive load, a capacitive load or an inductive load. When the capacitive load is turned on when the switch K1 is turned on, the current of the sampling part will be relatively large, and the sampling voltage will be very large if a resistor is used for sampling.

[0045] The sampling module 3 of the present invention adopts a diode. When the connection line between the digital output control circuit and the controlled device or circuit is broken, the voltage difference across the diode in the sampling part is recorded as V1; when the connection line between the digital output control circuit and the controlled device or circuit is normal, the voltage difference across the diode in the sampling part is recorded as V2; the power supply of the digital output control circuit is recorded as Vdd.

[0046] When the connection line between the digital output control circuit and the controlled device or circuit is disconnected, the impedance of the equivalent load RL is recorded as R1, which is in the mega ohm range; when the connection line between the digital output control circuit and the controlled device or circuit is normal, the value of the equivalent load RL is recorded as R2; the equivalent load of the device or circuit controlled by the digital output circuit is recorded as RL; R2 = R1 / / RL, when R1>>R1, R2≈RL; the current flowing through the diode in the disconnected state I1 = Vdd / R1, R1 is in the mega ohm range, I1 does not exceed the micro ampere level, through Figure 3 The volt-ampere characteristic of the diode can be found to be below 0.1V, and the actual circuit measurement is 0.01~0.03V; under normal wiring conditions, I2=Vdd / RL, the equivalent load of the device or circuit controlled by the digital output circuit is generally at the kiloohm level, and I2 is at the milliampere level. Figure 3 The volt-ampere characteristic of the diode is known to be above 0.1V, and the actual circuit 20K load is measured to be around 0.2V. There is a quantitative relationship of more than ten times between V1 and V2.

[0047] This embodiment is based on Figure 1-3As shown, K1 is equivalent to the output control unit of the digital output circuit, including but not limited to MOS tubes, RL is the equivalent impedance of the controlled device or circuit controlled by the digital output circuit, and the impedance can be capacitive, inductive and purely resistive. When the digital output circuit is required to output, K1 will be controlled to open. When the line connecting the controlled device or circuit controlled by the digital output circuit and the digital output control circuit is in a normal state, the voltage difference across the sampling diode is recorded as V2; when the line connecting the controlled device or circuit controlled by the digital output circuit and the digital output control circuit is disconnected, the voltage difference across the sampling diode is recorded as V1. In the two states, the voltage difference across the sampling diode is 10 times or more different. The voltage difference across the sampling diode is amplified by a differential classification amplifier, and the amplified signal is input into the logic level output circuit to convert the digital output circuit into a disconnected and normal logic state.

[0048] In one embodiment, the sampling comparison circuit realizes the functions of the amplification module and the logic level output module. The amplification and logic level output parts in the present invention can be replaced by a comparison circuit, and the logic of whether the line is broken or not is output through the comparison circuit based on the sampling output.

[0049] In one embodiment, the present invention further provides a line break detection system for a digital output circuit, based on the line break detection circuit for the digital output circuit described in the above embodiment.

[0050] like Figure 5 As shown, in one embodiment, the present invention further provides a disconnection detection method for a digital output circuit, which is implemented by using the disconnection detection circuit of the digital output circuit as described above, and includes:

[0051] Step S1, setting the connection status between the digital quantity output control circuit and the controlled device or circuit to a disconnected state and a normal state respectively;

[0052] Step S2, respectively obtaining the voltage difference across the diode in the sampling module in the disconnected state and the normal state, and measuring the power supply of the corresponding digital output control circuit;

[0053] Step S3, according to the current in the disconnection state and the normal state, the different voltage differences generated by the current flowing through the diode are used to distinguish the disconnection state and the normal state, and the logic level is output.

[0054] Those skilled in the art can understand that, using the volt-ampere characteristic of the diode, the resistance of the equivalent load RL in the disconnected state is at least M ohm level, the current flowing through the diode in the sampling module is at uA level, and the sampled voltage record Voff in the disconnected state of the voltage at both ends of the diode is very small. Figure 3As shown in the figure, at room temperature 25 degrees Celsius, IF<0.01mA, VF<0.4V, after amplification, assuming that it is amplified K times, the voltage is recorded as K*Voff; the equivalent load RL under normal conditions is generally several K ohms to several ohms, assuming 4K~6 ohms, the power supply VDD of the digital output module is 24V, and the output voltage of the conventional digital module is 24V, then the current flowing through the diode = VDD / RL, at 6mA~4000mA, the voltage Von at both ends of the diode, the sampling voltage in the normal state is recorded as Von becomes larger, from Figure 4 As shown, at room temperature of 25 degrees Celsius, IF = 6mA, VF = 0.72V. After amplification, assuming it is amplified K times, the voltage is recorded as K*Von. Design the control voltage of the logic level output part. When the input voltage is greater than K*Voff, the output logic is high. When the input voltage is less than K*Vofff, the output logic is low. This distinguishes between the broken line state and the normal state. The broken line and the normal state are determined by the volt-ampere characteristic of the diode, and the current flowing through the diode generates different voltages to distinguish the broken line and the normal state. The difference between diode and resistor sampling is that the relationship between the current and voltage of the resistor is a linear relationship V=IR, and the relationship between the current and voltage of the diode is a nonlinear relationship. As the current flowing through the diode increases, the voltage across the diode increases rapidly, and it no longer increases after reaching a certain value, such as Figure 4 TA=25c.

[0055] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A disconnection detection circuit for a digital output circuit, It is characterized in that It includes a line break detection module and a digital quantity output module, wherein the line break detection module and the digital quantity output module are electrically connected; The disconnection detection module comprises: The sampling module is arranged at a preset sampling point and is used to obtain the pressure difference between the two ends of the sampling module in a normal state and in a disconnected state; an amplification module, used for amplifying the voltage difference through a differential amplifier and driving a logic level output module; A logic level output module, used to determine whether the digital output circuit is in a disconnected state or a normal conversion logic state. When the voltage difference is less than a preset threshold, it is in a disconnected state, and when the voltage difference is greater than the preset threshold, it is in a normal state; The digital quantity output module is used to convert the digital signal output by the sampling module and the amplification module into a driving digital signal to drive the disconnection detection module to perform disconnection detection; The two sampling terminals of the sampling module are respectively connected to the input terminals of the amplifying module, the output terminal of the amplifying module is connected to the logic level output module circuit, and the sampling module is grounded to the equivalent load impedance; The sampling module adopts a diode. In the source type digital quantity output circuit, the cathode and anode of the diode are respectively connected to the input end of the amplification module, and the cathode of the diode is connected to the equivalent load impedance and grounded, and the anode of the diode is connected to the digital quantity output module; using the volt-ampere characteristic of the diode, the resistance value of the equivalent load impedance RL is at least M ohm level in the disconnected state, the current flowing through the diode in the sampling module is in uA level, at a room temperature of 25 degrees Celsius, the diode forward current IF<0.01mA, the diode forward voltage drop VF<0.4V, after amplification, it is amplified K times, and the voltage is recorded as K*Voff; the equivalent Under normal conditions, the load impedance RL is between 4K and 6 ohms, and the power supply voltage of the digital output module is VDD = 24V. The current flowing through the diode = VDD / RL. At 6mA ~ 4000mA, the voltage Von across the diode becomes larger when the sampling voltage record Von becomes larger under normal conditions. At room temperature of 25 degrees Celsius, the diode forward current IF = 6mA, and the diode forward voltage drop VF = 0.72V. After amplification, it is amplified K times and the voltage is recorded as K*Von. When the input voltage is greater than K*Voff, the output logic is high. When the input voltage is less than K*Voff, the output logic is low, thereby distinguishing between the disconnection state and the normal state.

2. A line break detection circuit for a digital output circuit as claimed in claim 1, It is characterized in that The sampling module adopts a diode. In the leakage type digital output circuit, the cathode and anode of the diode are respectively connected to the input end of the amplification module, and the anode of the diode is connected to the equivalent load impedance and connected to the power supply, and the cathode of the diode is connected to the digital output module.

3. A line break detection circuit for a digital output circuit as claimed in claim 1, It is characterized in that The digital quantity output module adopts an equivalent switch, and when the equivalent switch is turned on, the disconnection state is judged.

4. A line break detection circuit for a digital output circuit as claimed in claim 1, It is characterized in that The digital output module also uses MOS tubes.

5. A disconnection detection circuit for a digital output circuit as claimed in claim 1, It is characterized in that The equivalent load impedance includes at least one of a pure resistive load, a capacitive load and an inductive load.

6. A line break detection circuit for a digital output circuit as claimed in claim 1, It is characterized in that It also includes a sampling and comparison module to replace the amplification module and the logic level output module, and realize the functions of the amplification module and the logic level output module.

7. A disconnection detection system for a digital output circuit, It is characterized in that A line break detection circuit comprising the digital quantity output circuit as claimed in any one of claims 1 to 6.

8. A method for detecting disconnection of a digital output circuit, It is characterized in that The method is implemented by using a disconnection detection circuit of a digital output circuit according to any one of claims 1 to 6, comprising the following steps: Step S1, setting the connection status between the digital quantity output circuit and the controlled device or circuit to a disconnected state and a normal state respectively; Step S2, respectively obtaining the voltage difference across the diode in the sampling module in the disconnection state and the normal state; Step S3, according to the current in the disconnection state and the normal state, the different voltage differences generated by the current flowing through the diode are used to distinguish the disconnection state and the normal state, and the logic level is output.