Digital quantity input acquisition circuit with constant current input

By designing a constant current circuit and an input protection circuit in the digital input acquisition circuit, the problem of poor anti-interference ability is solved, stability and constant current capability in complex industrial environments are achieved, and mistaking and misjudgment are reduced, and adaptation Diversified input sources comply with relevant standards.

CN118605271AActive Publication Date: 2024-09-06SICHUAN ZERO POINT AUTOMATION SYST CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202410697189.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2024-09-06
Estimated Expiration
2044-05-31

AI Technical Summary

Technical Problem

The existing digital input acquisition circuit has poor anti-interference ability and cannot effectively filter abnormal input waveforms. The input current changes with the input source, the input loop current has obvious differences, and the power consumption changes greatly, making it difficult to apply to complex industrial environments.

Method used

Design a digital input acquisition circuit with constant current input, including a constant current circuit, an input protection circuit and a logic output circuit. The constant current circuit provides a stable current, and combines the reference device and the adjustment device to form a negative feedback circuit to filter abnormal input signals. , reduce electromagnetic interference and electrostatic interference, and improve fault tolerance.

Benefits of technology

It achieves high stability and constant current capability in complex industrial environments, reduces false sampling and misjudgment, adapts to diverse digital input sources, and complies with relevant standards.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118605271A
    Figure CN118605271A
Patent Text Reader

Abstract

The invention discloses a digital quantity input acquisition circuit with constant current input, and the circuit comprises a constant current circuit which is used for providing a stable current loop for a digital quantity input signal, and enables the current of the current loop to be stabilized at a preset value in combination with a negative feedback circuit formed by a reference device and an adjustment device; the stabilized digital quantity input signal is transmitted to the digital quantity input indication circuit and the logic output circuit; the digital quantity input indicating circuit is used for converting a high-low level state into an on-off state of an indicating lamp and displaying the stabilized digital quantity input signal as an indicating lamp signal visible on an industrial site; and the logic output circuit is used for outputting the stabilized digital quantity input signal. The digital quantity acquisition module is high in stability, has input protection and constant current capabilities, and can be applied to a complex industrial field environment; and mistaken acquisition of the digital quantity input module caused by electromagnetic interference, radio frequency interference, electrostatic interference and the like from the surrounding environment is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of digital quantity input, and in particular to a digital quantity input acquisition circuit with constant current input. Background Art

[0002] Modern industrial field digital inputs are usually integrated into industrial control systems and are widely used in industrial automation, manufacturing, energy and other fields. Industrial field digital inputs are mainly used to collect and monitor the status and signals of industrial field equipment. In industrial automation control systems, digital inputs are used to receive digital signals from switches, sensors, relays and other devices. These signals can represent the status of the equipment, switch status, alarm signals, etc. Through digital inputs, the status of industrial field equipment can be monitored and controlled in real time, thereby realizing automatic control, fault diagnosis and data acquisition. These signals can be used to monitor production processes, equipment operating status, safety protection and other aspects, helping industrial enterprises to improve production efficiency, reduce costs and improve safety. Due to the complex environment of industrial sites, digital input modules need to consider a variety of factors when working in complex environments, including anti-interference ability, reliability, fault tolerance, etc.

[0003] However, the existing digital input acquisition circuit has poor anti-interference ability and cannot filter abnormal input waveforms well. The input current changes with the input source, the input loop current varies significantly, and the input power consumption varies greatly. It cannot be reliably applied in diverse industrial environments.

[0004] In view of this, this application is hereby filed. Summary of the invention

[0005] The technical problem to be solved by the present invention is that the existing digital quantity input acquisition circuit has poor anti-interference ability and cannot filter abnormal input waveforms well; the input current changes with the input source, the input loop current has obvious differences, and the input power consumption changes greatly; it cannot be reliably applied in diverse industrial environments. The purpose of the present invention is to provide a digital quantity input acquisition circuit with constant current input, which has simple system wiring, high stability, input protection and constant current capabilities, and can be applied to digital quantity acquisition modules in complex industrial field environments; reduce the digital quantity input module from electromagnetic interference, radio frequency interference and electrostatic interference from the surrounding environment. Miscollection and misjudgment caused by the surrounding environment; improve the fault tolerance of the digital quantity input module, adapt to a variety of digital quantity input sources, and more easily comply with relevant standards.

[0006] The present invention is achieved through the following technical solutions:

[0007] A digital quantity input acquisition circuit with constant current input, the digital quantity input acquisition circuit comprising:

[0008] The constant current circuit is used to provide a stable current loop for the digital input signal, and the negative feedback circuit formed by the reference device and the adjustment device stabilizes the current of the current loop at a preset value; and transmits the stabilized digital input signal to the digital input indication circuit and the logic output circuit;

[0009] The digital input indication circuit is used to convert the high and low level states into the on and off states of the indicator lights, and display the stabilized digital input signals as indicator light signals visible on the industrial site, thereby realizing intuitive display of the signals and facilitating the staff to monitor and control the equipment status;

[0010] The logic output circuit is used to output the stabilized digital input signal.

[0011] Furthermore, the digital quantity input acquisition circuit further includes: an input protection circuit connected before the constant current circuit;

[0012] The input protection circuit is used to filter the surge, electrostatic pulse and short-circuit high current generated by the digital input signal input by the previous source; when a short-circuit high current appears in the digital input signal, the return path of the digital input signal is cut off; when a surge or electrostatic pulse appears in the digital input signal, the surge or electrostatic pulse is clamped to a low voltage.

[0013] Further, the constant current circuit includes a resistor R2, a transistor Q1, a voltage regulator TL431, a resistor R7, a resistor R6 and a resistor R10;

[0014] One end of the resistor R2 is connected to the digital input signal, the other end of the resistor R2 is connected to the collector of the transistor Q1, the base of the transistor Q1 is connected to one end of the resistor R7, the emitter of the transistor Q1 is connected to one end of the resistor R10, the other end of the resistor R10 is grounded, and the emitter of the transistor Q1 is also connected to the reference electrode of the voltage regulator TL431; the other end of the resistor R7 is connected to the cathode of the voltage regulator TL431, the other end of the resistor R7 is also connected to one end of the resistor R6, the other end of the resistor R6 is connected to the power supply VDD, and the anode of the voltage regulator TL431 is connected to the ground.

[0015] Furthermore, the constant current circuit combines the transistor Q1 and the voltage regulator TL431 to form a negative feedback circuit, and the current of the digital input signal flows through the resistor R2 (as a load resistor) through the transistor Q1 and the resistor R10 (as a feedback resistor) to the ground, forming a current return circuit for the digital input signal;

[0016] When the current of the digital input signal is within the preset value, the voltage of the resistor R10 is stable, so that the output voltage of the voltage regulator TL431 is stable, which satisfies the stability of the base of the transistor Q1. The collector current of the transistor Q1 is stabilized through the negative feedback circuit, and the collector current value of the transistor Q1 and the emitter current value of the transistor Q1 in the input loop are constant.

[0017] When the current of the digital input signal is higher than the preset value, the collector current of the transistor Q1 in the return circuit increases, the voltage of the resistor R10 increases, the output voltage of the voltage regulator TL431 decreases, the base current of the transistor Q1 decreases, and the collector current and emitter current values ​​of the transistor Q1 in the input circuit both decrease;

[0018] When the collector current of transistor Q1 in the input loop increases, it is adjusted by the negative feedback circuit, causing the collector current of transistor Q1 to decrease; when the collector current of transistor Q1 in the input loop decreases, it is adjusted by the negative feedback circuit, causing the collector current of transistor Q1 to increase.

[0019] Further, the digital quantity input indication circuit includes a resistor R5, a resistor R9, a transistor Q3, a light emitting diode D2, a resistor R3 and a resistor R12;

[0020] One end of the resistor R5 is connected to the collector of the transistor Q1, the other end of the resistor R5 is connected to the base of the transistor Q3, the other end of the resistor R5 is also connected to one end of the resistor R9, and the other end of the resistor R9 is grounded; the collector of the transistor Q3 is connected to the cathode of the light-emitting diode D2, the emitter of the transistor Q3 is connected to one end of the resistor R12, and the other end of the resistor R12 is grounded; the anode of the light-emitting diode D2 is connected to one end of the resistor R3, and the other end of the resistor R3 is connected to a 24V power supply.

[0021] Furthermore, the working process of the digital input indication circuit is:

[0022] When a digital input signal is input, the collector and emitter of transistor Q3 are both turned on, driving the light-emitting diode D2 to light up;

[0023] When there is no digital input signal, the collector and emitter of transistor Q3 are cut off, and the light-emitting diode D2 is turned off.

[0024] Further, the logic output circuit includes a resistor R4, a resistor R8, a transistor Q2, a resistor R1 and a resistor R11;

[0025] One end of the resistor R4 is connected to the collector of the transistor Q1, and the other end of the resistor R4 is also connected to one end of the resistor R8, and the other end of R8 is connected to the ground; the other end of the resistor R4 is also connected to the base of the transistor Q2, the collector of the transistor Q2 is connected to one end of the resistor R1, and the other end of the resistor R1 serves as the output end; the emitter of the transistor Q2 is connected to one end of the resistor R11, and the other end of the resistor R11 is grounded.

[0026] Furthermore, the execution process of the logic output circuit is:

[0027] When a digital input signal is input, the collector and emitter of transistor Q2 are both turned on, and the output terminal outputs the signal through resistor R1;

[0028] When there is no digital input signal, the collector and emitter of transistor Q2 are cut off, and the output end maintains the original signal.

[0029] Further, the input protection circuit includes a resettable fuse F1 and a transient voltage suppressor D3;

[0030] One end of the resettable fuse F1 is connected to the digital input signal, the other end of the resettable fuse F1 is connected to one end of the transient voltage suppressor D3, and the other end of the transient voltage suppressor D3 is grounded.

[0031] In a second aspect, the present invention further provides a digital quantity input acquisition circuit with a multi-channel constant current input, comprising a four-channel optocoupler U2 and four groups of the above-mentioned digital quantity input acquisition circuit with a constant current input;

[0032] The output ends of the four groups of the above-mentioned digital quantity input acquisition circuits with a constant current input are correspondingly connected to pins 2, 4, 6, and 8 of the four-channel optocoupler U2 as trigger signals of the four-channel optocoupler U2;

[0033] Pins 10, 12, 14, and 16 of the four-channel optocoupler U2 are all connected to the system-side power supply, and pins 9, 11, 13, and 15 of the four-channel optocoupler U2 are used as system-side outputs;

[0034] When the four groups of digital quantity input acquisition circuits with a constant current input all acquire the power supply VDD signal, the system side outputs a system side power supply high level signal.

[0035] Compared with the prior art, the present invention has the following advantages and beneficial effects:

[0036] The invention discloses a digital quantity input acquisition circuit with constant current input, which has simple system wiring, high stability, input protection and constant current capability, and can be applied to digital quantity acquisition modules in complex industrial field environments; it reduces false acquisition and misjudgment caused by electromagnetic interference, radio frequency interference and electrostatic interference from the surrounding environment on the digital quantity input module, and has loop instantaneous high current protection; it improves the fault tolerance of the digital quantity input module, adapts to a variety of digital quantity input sources, and is more likely to comply with relevant standards. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] The drawings described herein are used to provide a further understanding of the embodiments of the present invention, constitute a part of this application, and do not constitute a limitation of the embodiments of the present invention. In the drawings:

[0038] Figure 1 A system block diagram of a digital quantity input acquisition circuit with constant current input according to the present invention;

[0039] Figure 2 This is the main circuit principle diagram of the constant current circuit of the present invention;

[0040] Figure 3 A schematic diagram of a digital quantity input acquisition circuit with constant current input without an input protection circuit of the present invention;

[0041] Figure 4 This is a schematic diagram of a digital quantity input acquisition circuit with a single-channel 24V constant current input according to Embodiment 1 of the present invention;

[0042] Figure 5 This is a schematic diagram of a digital quantity input acquisition circuit with isolated 4-channel 24V constant current input according to Example 2 of the present invention. DETAILED DESCRIPTION

[0043] Hereinafter, the term "include" or "may include" used in various embodiments of the present invention indicates the presence of the invented function, operation or element, and does not limit the addition of one or more functions, operations or elements. In addition, as used in various embodiments of the present invention, the terms "include", "have" and their cognates are intended only to indicate specific features, numbers, steps, operations, elements, components or combinations of the foregoing items, and should not be understood as first excluding the presence of one or more other features, numbers, steps, operations, elements, components or combinations of the foregoing items or the possibility of adding one or more features, numbers, steps, operations, elements, components or combinations of the foregoing items.

[0044] In various embodiments of the present invention, the expression "or" or "at least one of A or / and B" includes any combination or all combinations of the words listed at the same time. For example, the expression "A or B" or "at least one of A or / and B" may include A, may include B, or may include both A and B.

[0045] The expressions (such as "first", "second", etc.) used in various embodiments of the present invention may modify the various constituent elements in various embodiments, but may not limit the corresponding constituent elements. For example, the above expressions do not limit the order and / or importance of the elements. The above expressions are only used for the purpose of distinguishing an element from other elements. For example, the first user device and the second user device indicate different user devices, although both are user devices. For example, without departing from the scope of various embodiments of the present invention, the first element may be referred to as the second element, and similarly, the second element may also be referred to as the first element.

[0046] It should be noted that if it is described that one component element is “connected” to another component element, the first component element may be directly connected to the second component element, and a third component element may be “connected” between the first component element and the second component element. Conversely, when one component element is “directly connected” to another component element, it can be understood that there is no third component element between the first component element and the second component element.

[0047] The terms used in various embodiments of the present invention are only used for the purpose of describing specific embodiments and are not intended to limit various embodiments of the present invention. As used herein, the singular form is intended to also include the plural form, unless the context clearly indicates otherwise. Unless otherwise limited, all terms used here (including technical terms and scientific terms) have the same meaning as the meaning generally understood by those of ordinary skill in the art to which the various embodiments of the present invention belong. The terms (such as the terms defined in the dictionary generally used) will be interpreted as having the same meaning as the contextual meaning in the relevant technical field and will not be interpreted as having an idealized meaning or an overly formal meaning, unless clearly defined in various embodiments of the present invention.

[0048] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with embodiments and drawings. The exemplary embodiments of the present invention and their description are only used to explain the present invention and are not intended to limit the present invention.

[0049] The existing digital input acquisition circuit has poor anti-interference ability and cannot filter abnormal input waveforms well; the input current changes with the input source, the input loop current varies significantly, and the input power consumption varies greatly; it cannot be reliably applied in diverse industrial environments.

[0050] Based on the above technical problems, the present invention designs a digital quantity input acquisition circuit with constant current input. The system wiring is simple, the stability is high, and it has input protection and constant current capabilities. It can be applied to digital quantity acquisition modules in complex industrial field environments; it reduces the false sampling and misjudgment caused by electromagnetic interference, radio frequency interference, and electrostatic interference from the surrounding environment on the digital quantity input module; it improves the fault tolerance of the digital quantity input module, adapts to a variety of digital quantity input sources, and is easier to comply with relevant standards.

[0051] Example 1

[0052] like Figure 1 As shown, a digital quantity input acquisition circuit with constant current input, this embodiment provides a single-channel 24V constant current input digital quantity input acquisition circuit; the digital quantity input acquisition circuit includes an input protection circuit, a constant current circuit, a digital quantity input indication circuit and a logic output circuit;

[0053] The input protection circuit is used to filter the surge, electrostatic pulse and short-circuit high current generated by the digital input signal input by the previous source; when a short-circuit high current appears in the digital input signal, the return path of the digital input signal is cut off; when a surge or electrostatic pulse appears in the digital input signal, the surge or electrostatic pulse is clamped to a low voltage;

[0054] The constant current circuit is used to provide a stable current loop for the digital input signal passing through the input protection circuit, which is not affected by load changes or external interference in the circuit; the negative feedback circuit formed by the reference device and the adjustment device stabilizes the current of the current loop at a preset value; and transmits the stabilized digital input signal (i.e., the level signal of the digital input signal being valid) to the digital input indication circuit and the logic output circuit;

[0055] The digital input indication circuit is used to convert the high and low level states into the on and off states of the indicator lights, and display the stabilized digital input signals as indicator light signals visible on the industrial site, thereby realizing intuitive display of the signals and facilitating the staff to monitor and control the equipment status;

[0056] The logic output circuit is used to perform level output conversion and output a stable digital input signal to adapt to the input level range of the receiving device.

[0057] Among them, the digital input signal is an electrical signal from an external sensor or signal source.

[0058] In this embodiment, in order to ensure that the electrical signal from the external sensor or signal source does not cause any damage to the circuit, the present invention adds an input protection circuit at the input end: (1) It can prevent the short-circuit high current of the digital input signal; when a short circuit occurs after the digital input signal is input, the input protection circuit can cut off the return path of the signal. (2) The input protection circuit can prevent the large voltage pulse of the digital input signal from being connected; when a surge pulse occurs in the digital input signal, the input protection circuit can clamp the surge pulse to a lower voltage, thereby protecting the various circuits of the subsequent stage.

[0059] Specifically, Figure 4 As shown, the input protection circuit includes a self-recovery fuse F1 and a transient voltage suppressor D3TVS;

[0060] One end of the resettable fuse F1 is connected to the digital input signal, the other end of the resettable fuse F1 is connected to one end of the transient voltage suppressor D3 TVS, and the other end of the transient voltage suppressor D3 TVS is grounded.

[0061] The resettable fuse F1 can automatically reset and effectively protect the circuit from overcurrent or overvoltage. The transient voltage suppressor D3 TVS can absorb excessive current when the circuit is subjected to overvoltage shock, thereby protecting the subsequent constant current circuit and other electronic components from damage.

[0062] In this embodiment, the constant current part is the part of the input loop that adjusts the loop current. It is a key part to ensure that the input current is always maintained at a stable level. The constant current source can effectively eliminate the influence of external environmental factors on the input signal and ensure the acquisition accuracy. The constant current circuit is composed of a reference part and an adjustment part to form a negative feedback adjustment circuit. The main component of the reference part is the voltage regulator TL431, and the main component of the adjustment part is the transistor Q1. Figure 2 It is the main circuit principle diagram of the constant current circuit of the present invention.

[0063] Specifically, Figure 3 and Figure 4 As shown, the constant current circuit includes a resistor R2, a transistor Q1, a voltage regulator TL431, a resistor R7, a resistor R6 and a resistor R10;

[0064] One end of the resistor R2 is connected to the digital input signal, the other end of the resistor R2 is connected to the collector of the transistor Q1, the base of the transistor Q1 is connected to one end of the resistor R7, the emitter of the transistor Q1 is connected to one end of the resistor R10, the other end of the resistor R10 is grounded, and the emitter of the transistor Q1 is also connected to the reference electrode of the voltage regulator TL431; the other end of the resistor R7 is connected to the cathode of the voltage regulator TL431, the other end of the resistor R7 is also connected to one end of the resistor R6, the other end of the resistor R6 is connected to the power supply VDD, and the anode of the voltage regulator TL431 is connected to the ground.

[0065] In the above technical scheme, the constant current circuit of the present invention utilizes the sensitivity of the digital input main loop transistor to the base current when working in the linear region and the stability of the voltage regulator TL431 to the voltage, and combines the transistor Q1 with the voltage regulator TL431 to form a negative feedback circuit (i.e., a negative feedback adjustment circuit). The collector current of the transistor depends on its base current, and the adjustment of the base current is adjusted by the voltage of the transistor emitter feedback resistor, so that the current of the input loop is stabilized at a preset value. The current of the digital input signal flows through the resistor R2 (as a load resistor) through the transistor Q1 and the resistor R10 (as a feedback resistor) to the ground, forming a current return circuit for the digital input signal;

[0066] When the current of the digital input signal is within the preset value, the voltage of the resistor R10 is stable, so that the output voltage of the voltage regulator TL431 is stable, which satisfies the stability of the base Ib of the transistor Q1. The collector current of the transistor Q1 is stabilized through the negative feedback circuit, and the collector Ic current value of the transistor Q1 and the emitter Ie current value of the transistor Q1 in the input loop are also constant;

[0067] When the current of the digital input signal is higher than the preset value, the collector Ic current of the transistor Q1 in the return circuit increases, the voltage of the resistor R10 increases, the output voltage of the voltage regulator TL431 decreases, the base current Ib of the transistor Q1 decreases, and the collector Ic and emitter Ie current values ​​of the transistor Q1 in the input circuit both decrease;

[0068] When the collector Ic current of transistor Q1 in the input loop increases after being adjusted by the negative feedback circuit, the collector Ic current of transistor Q1 decreases; similarly, when the collector Ic current of transistor Q1 in the input loop decreases after being adjusted by the negative feedback circuit, the collector Ic current of transistor Q1 increases. Such a feedback process will keep the input loop Ic current constant within a balanced value.

[0069] It should be noted that: a diode D1 is connected in series in the front stage of the constant current circuit as a means of preventing reverse connection of the digital input signal, and the latter is the key part of the entire circuit, which is a constant current circuit mainly composed of transistor Q1 and U1 (i.e., voltage regulator TL431). When the input current rises, the collector current of transistor Q1 rises, and the voltage of resistor R10 rises. At this time, under the action of the voltage regulator TL431, the base current of transistor Q1 decreases, and the collector current of transistor Q1 also decreases. In such a process, the current of the input loop is adjusted to ensure that the current at the input end is always maintained at a stable level.

[0070] In this way, the present invention can obtain a constant current input while taking into account the detection of digital signals. The transistor Q2 of the logic output collects the input signal under the drive of a very small base current, and consumes almost no current. When there is an input, the collector potential of the transistor Q1 increases, and the transistor Q2 immediately receives the change of the input signal and outputs the corresponding state. When there is an input, the transistor Q3 will also trigger the light-emitting diode D2 like the transistor Q2, and the light-emitting diode is always on, indicating that there is a signal input.

[0071] In this embodiment, the digital input indication circuit is composed of a light emitting diode driven by a voltage divider bias circuit. Figure 3 and Figure 4 As shown, the digital quantity input indication circuit includes a resistor R5, a resistor R9, a transistor Q3, a light emitting diode D2, a resistor R3 and a resistor R12;

[0072] One end of the resistor R5 is connected to the collector of the transistor Q1, the other end of the resistor R5 is connected to the base of the transistor Q3, the other end of the resistor R5 is also connected to one end of the resistor R9, and the other end of the resistor R9 is grounded; the collector of the transistor Q3 is connected to the cathode of the light-emitting diode D2, the emitter of the transistor Q3 is connected to one end of the resistor R12, and the other end of the resistor R12 is grounded; the anode of the light-emitting diode D2 is connected to one end of the resistor R3, and the other end of the resistor R3 is connected to a 24V power supply.

[0073] In the above technical solution, when a digital input signal is input, the collector and emitter of the transistor Q3 are both turned on, driving the light-emitting diode D2 to light up; when no digital input signal is input, the collector and emitter of the transistor Q3 are both turned off, and the light-emitting diode D2 is turned off.

[0074] It should be noted that: when the input signal (i.e., digital input signal) is high, transistor Q3, driven by a very small base current, collects the input signal and triggers the light-emitting diode D2 to be always on, indicating that there is a signal input, and displays the high-level signal state to the user.

[0075] In this embodiment, the logic output circuit is also composed of a voltage divider bias circuit. Figure 3 and Figure 4 As shown, the logic output circuit includes a resistor R4, a resistor R8, a transistor Q2, a resistor R1 and a resistor R11;

[0076] One end of the resistor R4 is connected to the collector of the transistor Q1, and the other end of the resistor R4 is also connected to one end of the resistor R8, and the other end of R8 is connected to the ground; the other end of the resistor R4 is also connected to the base of the transistor Q2, the collector of the transistor Q2 is connected to one end of the resistor R1, and the other end of the resistor R1 serves as the output end; the emitter of the transistor Q2 is connected to one end of the resistor R11, and the other end of the resistor R11 is grounded.

[0077] In the above technical solution, when a digital input signal is input, the collector and emitter of the transistor Q2 are both turned on, and the output end outputs a signal through the resistor R1; when no digital input signal is input, the collector and emitter of the transistor Q2 are both turned off, and the output end maintains the original signal.

[0078] It should be noted that in the logic output circuit, we design the transistor Q2 as a leakage output device to adapt to other level input modules. The leakage output device can convert the level output into a signal form that is suitable for other circuits. Through such a design, we can easily connect and communicate with other devices and realize more functions.

[0079] The present invention can realize power input type 1 to 3 input standard types, can filter out some ranges of electromagnetic interference, radio frequency interference and electrostatic interference, and has loop instantaneous high current protection.

[0080] Example 2

[0081] like Figure 5 As shown, this embodiment provides a digital quantity input acquisition circuit with isolated 4-channel 24V constant current input; the digital quantity input acquisition circuit includes a four-channel optocoupler U2 and 4 groups of digital quantity input acquisition circuits with a constant current input of embodiment 1;

[0082] The input end of the isolation branch consists of 4 groups of single-channel inputs of Example 1, and the output level signal 3.3V can be directly connected to the signal pin of the microcontroller for detection. In this way, the clear isolation design at the industrial site can ensure the accuracy and reliability of signal transmission and effectively guarantee the transmission of the input signal.

[0083] Specifically, Figure 5 As shown, the output ends of a digital quantity input acquisition circuit with a constant current input of 4 groups of embodiments 1 are correspondingly connected to pins 2, 4, 6, and 8 of the four-channel optocoupler U2, serving as trigger signals of the four-channel optocoupler U2; the power supply on the isolation field side is always maintained at 24V, and the signal level on the system side is 3.3V.

[0084] Pins 10, 12, 14, and 16 of the four-channel optocoupler U2 are all connected to the system-side power supply 3.3V, and pins 9, 11, 13, and 15 of the four-channel optocoupler U2 are used as system-side outputs;

[0085] When the digital quantity acquisition circuit CHA (1-4) acquires a 24V signal, the DIOA (1-4) on the system side will output a 3.3V high-level signal.

[0086] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A digital quantity input acquisition circuit with constant current input, characterized in that: The digital quantity input acquisition circuit comprises: The constant current circuit is used to provide a stable current loop for the digital input signal, and the negative feedback circuit formed by the reference device and the adjustment device stabilizes the current of the current loop at a preset value; and transmits the stabilized digital input signal to the digital input indication circuit and the logic output circuit; The digital quantity input indication circuit is used to convert the high and low level states into the on and off states of the indicator lights, and display the stabilized digital quantity input signal as an indicator light signal visible on the industrial site; The logic output circuit is used to output the stabilized digital input signal.

2. The digital quantity input acquisition circuit with constant current input according to claim 1, characterized in that: The digital quantity input acquisition circuit also includes: an input protection circuit connected before the constant current circuit; The input protection circuit is used to filter surges, electrostatic pulses and short-circuit high currents generated by the digital input signal input by the previous source; when a short-circuit high current occurs in the digital input signal, the return path of the digital input signal is cut off; when a surge or electrostatic pulse occurs in the digital input signal, the surge or electrostatic pulse is clamped to a low voltage.

3. The digital quantity input acquisition circuit with constant current input according to claim 1, characterized in that: The constant current circuit includes a resistor R2, a transistor Q1, a voltage regulator TL431, a resistor R7, a resistor R6 and a resistor R10; One end of the resistor R2 is connected to the digital input signal, the other end of the resistor R2 is connected to the collector of the transistor Q1, the base of the transistor Q1 is connected to one end of the resistor R7, the emitter of the transistor Q1 is connected to one end of the resistor R10, the other end of the resistor R10 is grounded, and the emitter of the transistor Q1 is also connected to the reference electrode of the voltage regulator TL431; the other end of the resistor R7 is connected to the cathode of the voltage regulator TL431, the other end of the resistor R7 is also connected to one end of the resistor R6, the other end of the resistor R6 is connected to the power supply VDD, and the anode of the voltage regulator TL431 is connected to the ground.

4. The digital quantity input acquisition circuit with constant current input according to claim 3, characterized in that: The constant current circuit combines the transistor Q1 and the voltage regulator TL431 to form a negative feedback circuit, and the current of the digital input signal flows through the transistor Q1 and the resistor R10 to the ground through the resistor R2, forming a current return circuit for the digital input signal; When the current of the digital input signal is within the preset value, the voltage of the resistor R10 is stable, so that the output voltage of the voltage regulator TL431 is stable, which satisfies the stability of the base of the transistor Q1. The collector current of the transistor Q1 is stabilized through the negative feedback circuit, and the collector current value of the transistor Q1 and the emitter current value of the transistor Q1 in the input loop are constant. When the current of the digital input signal is higher than the preset value, the collector current of the transistor Q1 in the return circuit increases, the voltage of the resistor R10 increases, the output voltage of the voltage regulator TL431 decreases, the base current of the transistor Q1 decreases, and the collector current and emitter current values ​​of the transistor Q1 in the input circuit both decrease; When the collector current of transistor Q1 in the input loop increases, it is adjusted by the negative feedback circuit, causing the collector current of transistor Q1 to decrease; when the collector current of transistor Q1 in the input loop decreases, it is adjusted by the negative feedback circuit, causing the collector current of transistor Q1 to increase.

5. The digital quantity input acquisition circuit with constant current input according to claim 1, characterized in that: The digital quantity input indication circuit comprises a resistor R5, a resistor R9, a transistor Q3, a light emitting diode D2, a resistor R3 and a resistor R12; One end of the resistor R5 is connected to the collector of the transistor Q1, the other end of the resistor R5 is connected to the base of the transistor Q3, the other end of the resistor R5 is also connected to one end of the resistor R9, and the other end of the resistor R9 is grounded; the collector of the transistor Q3 is connected to the cathode of the light-emitting diode D2, the emitter of the transistor Q3 is connected to one end of the resistor R12, and the other end of the resistor R12 is grounded; the anode of the light-emitting diode D2 is connected to one end of the resistor R3, and the other end of the resistor R3 is connected to the power supply.

6. A digital quantity input acquisition circuit with constant current input according to claim 5, characterized in that: The working process of the digital quantity input indication circuit is as follows: When a digital input signal is input, the collector and emitter of the transistor Q3 are both turned on, driving the light-emitting diode D2 to light up; when no digital input signal is input, the collector and emitter of the transistor Q3 are both turned off, and the light-emitting diode D2 is turned off.

7. The digital quantity input acquisition circuit with constant current input according to claim 1, characterized in that: The logic output circuit includes a resistor R4, a resistor R8, a transistor Q2, a resistor R1 and a resistor R11; One end of the resistor R4 is connected to the collector of the transistor Q1, and the other end of the resistor R4 is also connected to one end of the resistor R8, and the other end of R8 is connected to the ground; the other end of the resistor R4 is also connected to the base of the transistor Q2, the collector of the transistor Q2 is connected to one end of the resistor R1, and the other end of the resistor R1 serves as the output end; the emitter of the transistor Q2 is connected to one end of the resistor R11, and the other end of the resistor R11 is grounded.

8. The digital quantity input acquisition circuit with constant current input according to claim 7, characterized in that: The execution process of the logic output circuit is: When a digital input signal is input, the collector and emitter of transistor Q2 are both turned on, and the output end outputs the signal through resistor R1; when there is no digital input signal, the collector and emitter of transistor Q2 are both turned off, and the output end maintains the original signal.

9. The digital quantity input acquisition circuit with constant current input according to claim 2, characterized in that: The input protection circuit includes a resettable fuse F1 and a transient voltage suppressor D3; One end of the resettable fuse F1 is connected to the digital input signal, the other end of the resettable fuse F1 is connected to one end of the transient voltage suppressor D3, and the other end of the transient voltage suppressor D3 is grounded.

10. A digital quantity input acquisition circuit with multi-channel constant current input, characterized in that: It comprises a four-channel optocoupler U2 and four groups of digital quantity input acquisition circuits with constant current input as claimed in any one of claims 1 to 9; 4 groups of output ends of a digital quantity input acquisition circuit with a constant current input as described in any one of claims 1 to 9 are connected to pins 2, 4, 6, and 8 of a four-channel optocoupler U2, respectively, as trigger signals of the four-channel optocoupler U2; Pins 10, 12, 14, and 16 of the four-channel optocoupler U2 are all connected to the system-side power supply, and pins 9, 11, 13, and 15 of the four-channel optocoupler U2 are used as system-side outputs; When four groups of digital quantity input acquisition circuits with a constant current input as described in any one of claims 1 to 9 all acquire power supply VDD signals, the system side outputs a system side power supply signal.

Citation Information

Patent Citations

  • Voltage self-adaptive digital quantity input circuit

    CN108809293A

  • Input protection circuit of multi-range voltage acquisition device

    CN109617038A

  • PWM (Pulse Width Modulation)-controlled 4-20mA constant current output circuit

    CN114035638A

  • Constant-current circuit with working state indication function

    CN209643038U

  • Multi-path multifunctional LED brake lamp constant current circuit

    CN218735082U