CN220933386U - DI channel detection signal analog circuit and device - Google Patents

DI channel detection signal analog circuit and device Download PDF

Info

Publication number
CN220933386U
CN220933386U CN202323131632.5U CN202323131632U CN220933386U CN 220933386 U CN220933386 U CN 220933386U CN 202323131632 U CN202323131632 U CN 202323131632U CN 220933386 U CN220933386 U CN 220933386U
Authority
CN
China
Prior art keywords
detection signal
output terminal
triode
channel
circuit
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN202323131632.5U
Other languages
Chinese (zh)
Inventor
徐会坤
朱斌
许晓崴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Petroleum and Chemical Corp
Sinopec Catalyst Co
Original Assignee
China Petroleum and Chemical Corp
Sinopec Catalyst Co
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 China Petroleum and Chemical Corp, Sinopec Catalyst Co filed Critical China Petroleum and Chemical Corp
Priority to CN202323131632.5U priority Critical patent/CN220933386U/en
Application granted granted Critical
Publication of CN220933386U publication Critical patent/CN220933386U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)

Abstract

The embodiment of the utility model provides a DI channel detection signal simulation circuit and a DI channel detection signal simulation device, and belongs to the technical field of industrial control. The DI channel detection signal analog circuit includes: a triode switch circuit and a DI channel to be tested; the triode switch circuit is a PNP switch circuit and/or an NPN switch circuit and is used for generating a detection signal; and the output terminal of the triode switch circuit is connected with the input terminal of the DI channel to be detected and is used for outputting the detection signal to the DI channel to be detected. According to the DI channel detection signal simulation circuit and the DI channel detection signal simulation device, the DI channel detection signal simulation circuit generates detection signals through the PNP switch circuit and the NPN switch circuit and is used for testing the usability of a DI channel; the DI channel detection signal simulation device integrates and deploys a plurality of groups of DI channel detection signal simulation circuits, and can realize batch detection of DI channels.

Description

DI channel detection signal analog circuit and device
Technical Field
The disclosure relates to the technical field of industrial control, in particular to a DI channel detection signal analog circuit and a device.
Background
The DI channel is a digital quantity input module of the PLC, and can convert an external digital input signal into an internal digital signal of the PLC so that the controller can process it.
The simulation test of the DI channel is an important link in the routine maintenance work of the PLC system. In the prior art, the proximity switch is used for switching the input channel, the proximity switch is required to be triggered to send out a detection signal, whether the DI channel is available or not is tested, the working efficiency is low, and batch detection cannot be realized.
Disclosure of utility model
An objective of the embodiments of the present utility model is to provide a DI channel detection signal analog circuit and apparatus, by which the above-mentioned drawbacks of the prior art can be solved or at least partially solved.
In order to achieve the above object, an embodiment of the present utility model provides a DI channel detection signal analog circuit including: a triode switch circuit and a DI channel to be tested;
The triode switch circuit is a PNP switch circuit and/or an NPN switch circuit and is used for generating a detection signal;
And the output terminal of the triode switch circuit is connected with the input terminal of the DI channel to be detected and is used for outputting the detection signal to the DI channel to be detected.
Optionally, the triode switch circuit is a PNP switch circuit, and includes:
A first input terminal, a second input terminal, a first resistor, a second resistor, a first output terminal, a second output terminal, a third output terminal, and a PNP triode;
A first resistor is arranged between the first input terminal and the base electrode of the triode, a second resistor is arranged between the collector electrode of the triode and the first output terminal, the collector electrode of the triode outputs a detection signal to the second output terminal, and the emitter electrode of the triode is connected with the third output terminal.
Optionally, a first indicator lamp is arranged between the second input terminal and the triode emitter, and a second indicator lamp is arranged between the second resistor and the first output terminal;
The first indicator light and the second indicator light are used for being lightened simultaneously when the triode switch circuit outputs a detection signal.
Optionally, the triode switch circuit is an NPN switch circuit, including:
The first input terminal, the second input terminal, the first resistor, the second resistor, the first output terminal, the second output terminal, the third output terminal and the NPN triode;
A first resistor is arranged between the second input terminal and the base electrode of the triode, a second resistor is arranged between the collector electrode of the triode and the first output terminal, the collector electrode of the triode outputs a detection signal to the second output terminal, and the emitter electrode of the triode is connected with the third output terminal.
Optionally, a first indicator light is arranged between the first input terminal and the second resistor, and a second indicator light is arranged between the triode emitter and the third output terminal;
The first indicator light and the second indicator light are used for being lightened simultaneously when the triode switch circuit outputs a detection signal.
On the other hand, the embodiment of the utility model provides a DI channel detection signal simulation device, which comprises the DI channel detection signal simulation circuit.
Optionally, the DI channel detection signal simulation apparatus further comprises a circuit board, and the circuit board integrates at least one set of DI channel detection signal simulation circuits.
Optionally, the DI channel detection signal analog device further includes a power supply for supplying power to the DI channel detection signal analog circuit.
Optionally, for the PNP type switching circuit, the first output terminal and the third output terminal of the PNP type switching circuit are respectively connected with the negative electrode and the positive electrode of the power supply.
Optionally, for the NPN-type switching circuit, the first output terminal and the third output terminal of the NPN-type switching circuit are connected to the positive electrode and the negative electrode of the power supply, respectively.
Through the technical scheme, the utility model provides the DI channel detection signal simulation circuit and the DI channel detection signal simulation device, wherein the DI channel detection signal simulation circuit generates detection signals through the PNP type switch circuit and the NPN type switch circuit and is used for testing the usability of a DI channel; the DI channel detection signal simulation device integrates and deploys a plurality of groups of DI channel detection signal simulation circuits, and can realize batch detection of DI channels.
Additional features and advantages of embodiments of the utility model will be set forth in the detailed description which follows.
Drawings
The accompanying drawings are included to provide a further understanding of embodiments of the utility model and are incorporated in and constitute a part of this specification, illustrate embodiments of the utility model and together with the description serve to explain, without limitation, the embodiments of the utility model. In the drawings:
FIG. 1 is a schematic diagram of a PNP type switching circuit;
FIG. 2 is a schematic diagram of an NPN switch circuit;
FIG. 3 is a schematic diagram of an analog circuit of a DI channel sense signal;
fig. 4 is a schematic diagram of a DI channel detection signal simulation apparatus.
Description of the reference numerals
101. First input terminal
102. Second input terminal
103. First indicator lamp
104. Second indicator lamp
105. First output terminal
106. Second output terminal
107. Third output terminal
301. DI channel 0V terminal
302. DI channel signal terminal
303. DI channel "24V+" terminal
Detailed Description
Embodiments of the present disclosure are described in further detail below with reference to the drawings and examples. The following detailed description of the embodiments and the accompanying drawings are provided to illustrate the principles of the disclosure and not to limit the scope of the disclosure, which may be embodied in many different forms and not limited to the specific embodiments disclosed herein, but rather to include all technical solutions falling within the scope of the claims.
The present disclosure provides these embodiments in order to make the present disclosure thorough and complete, and fully convey the scope of the disclosure to those skilled in the art. It should be noted that: the relative arrangement of parts and steps, the composition of materials, numerical expressions and numerical values set forth in these embodiments should be construed as exemplary only and not limiting unless otherwise specifically stated.
In the description of the present disclosure, unless otherwise indicated, the meaning of "plurality" is greater than or equal to two; the terms "upper," "lower," "left," "right," "inner," "outer," and the like indicate an orientation or positional relationship merely for convenience of describing the present disclosure and simplifying the description, and do not indicate or imply that the devices or elements being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus are not to be construed as limiting the present disclosure. When the absolute position of the object to be described is changed, the relative positional relationship may be changed accordingly.
Furthermore, the use of the terms first, second, and the like in this disclosure do not denote any order, quantity, or importance, but rather are used to distinguish one element from another. The "vertical" is not strictly vertical but is within the allowable error range. "parallel" is not strictly parallel but is within the tolerance of the error. The word "comprising" or "comprises" and the like means that elements preceding the word encompass the elements recited after the word, and not exclude the possibility of also encompassing other elements.
It should also be noted that, in the description of the present disclosure, unless explicitly specified and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be either fixedly connected, detachably connected, or integrally connected, for example; can be directly connected or indirectly connected through an intermediate medium. The specific meaning of the terms in the present disclosure may be understood as appropriate by those of ordinary skill in the art. When a particular device is described as being located between a first device and a second device, there may or may not be an intervening device between the particular device and either the first device or the second device.
All terms used in the present disclosure have the same meaning as understood by one of ordinary skill in the art to which the present disclosure pertains, unless specifically defined otherwise. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
Techniques, methods, and apparatus known to one of ordinary skill in the relevant art may not be discussed in detail, but where appropriate, the techniques, methods, and apparatus should be considered part of the specification.
Example 1
Fig. 3 is a schematic diagram of a DI channel detection signal analog circuit, as shown in fig. 3, comprising: the output terminal of the triode switch circuit is connected with the input terminal of the DI channel to be tested, and the triode switch circuit directly adopts the DI channel to be tested to supply power. The triode switch circuit can be a PNP switch circuit and is used for generating a detection signal.
Further, a PNP type switching circuit is taken as an example to describe the connection relationship between the triode switching circuit and the DI channel. Wherein, the three output terminals of the PNP switch circuit are a first output terminal 101, a second output terminal 102 and a third output terminal 103 respectively; the three input terminals of the DI channel to be tested are a 0V terminal 301, a signal terminal 302 and a 24V+ terminal 303 respectively; the first output terminal of the PNP type switching circuit is connected with the 0V terminal of the DI channel, the second output terminal of the PNP type switching circuit is connected with the signal terminal of the DI channel, and the third output terminal of the PNP type switching circuit is connected with the 24V+ terminal of the DI channel.
Example two
Fig. 1 is a schematic diagram of a PNP type switching circuit, as shown in fig. 1, including: a first input terminal 101, a second input terminal 102, a first resistor Rb, a second resistor Rc, a first output terminal 105, a second output terminal 106, a third output terminal 107, and a PNP transistor.
The first resistor is arranged between the first input terminal and the base electrode of the triode, the second resistor is arranged between the collector electrode of the triode and the first output terminal, the collector electrode of the triode outputs a detection signal to the second output terminal, and the emitter electrode of the triode is connected with the third output terminal.
A first indicator lamp 103 is arranged between the second input terminal and the triode emitter, and a second indicator lamp 104 is arranged between the second resistor and the first output terminal;
The first indicator light and the second indicator light are used for being lightened simultaneously when the triode switch circuit outputs a detection signal.
Example III
Fig. 2 is a schematic diagram of an NPN-type switching circuit, as shown in fig. 2, including: a first input terminal 101, a second input terminal 102, a first resistor Rb, a second resistor Rc, a first output terminal 105, a second output terminal 106, a third output terminal 107, and an NPN transistor;
A first resistor is arranged between the second input terminal and the base electrode of the triode, a second resistor is arranged between the collector electrode of the triode and the first output terminal, the collector electrode of the triode outputs a detection signal to the second output terminal, and the emitter electrode of the triode is connected with the third output terminal.
A first indicator lamp 103 is arranged between the first input terminal and the second resistor, and a second indicator lamp 104 is arranged between the triode emitter and the third output terminal;
The first indicator light and the second indicator light are used for being lightened simultaneously when the triode switch circuit outputs a detection signal.
Example IV
Fig. 4 is a schematic structural diagram of a DI channel detection signal simulation device, as shown in fig. 4, where the DI channel detection signal simulation device includes a circuit board, and the circuit board integrates 4 groups of PNP type switch circuits and 4 groups of NPN type switch circuits. Further, the working process of the DI channel detection signal simulation device is specifically described with reference to fig. 4, wherein the DI channels of the PLC to be tested have 8 groups.
First, for each of the PNP type switching circuits or NPN type switching circuits, the first input terminal and the second input terminal of each of the triode switching circuits are connected, and preferably, the first input terminal and the second input terminal are connected respectively using two output terminals of the DO channel of the PLC.
Then, for each group of PNP type switching circuits or NPN type switching circuits, the second output terminal of each group of triode switching circuits is respectively connected with the signal terminal of the DI channel of the PLC to be tested.
The DI channel sense signal analog device is powered, preferably using the DI channel of the PLC. When power is supplied by using a DI channel of the PLC, for each group of PNP type switch circuits, a first output terminal and a third output terminal are respectively connected with a '0V' terminal and a '24 V+' terminal of the DI channel. For the NPN switch circuit, the first output terminal and the third output terminal are connected to the "24v+" terminal and the "0V" terminal of the DI channel, respectively.
It should be noted that, an external power supply may be used to supply power, where the external power supply may be a 24V power supply. When the external power supply is used for supplying power, the first output terminal of the 4 groups of PNP type switch circuits and the third output terminal of the 4 groups of NPN type switch circuits can be in short circuit, the third output terminal of the 4 groups of PNP type switch circuits and the first output terminal of the 4 groups of NPN type switch circuits are in short circuit, and the first output terminal of the 4 groups of PNP type switch circuits and the first output terminal of the 4 groups of NPN type switch circuits are respectively connected with the negative electrode and the positive electrode of the external power supply.
After power is supplied, each group of PNP type switching circuits and NPN type switching circuits of the DI channel detection signal simulation device are internally conducted to form a loop, wherein the current flow direction of the PNP type switching circuits is shown in the arrow direction in FIG. 1, and the current flow direction of the NPN type switching circuits is shown in the arrow direction in FIG. 2. The first indicator light and the second indicator light are simultaneously lightened to generate a detection signal.
In the PNP type switching circuit, the generated detection signal is a high level signal and is input to the signal terminal of the DI channel. In the NPN-type switching circuit, the generated detection signal is a low-level signal and is input to the signal terminal of the DI channel.
For each group of triode switch circuits, when only one of the first indicator lamp and the second indicator lamp is lighted or both of the first indicator lamp and the second indicator lamp are not lighted, the corresponding triode switch circuit fails, and no detection signal is generated.
Thus, various embodiments of the present disclosure have been described in detail. In order to avoid obscuring the concepts of the present disclosure, some details known in the art are not described. How to implement the solutions disclosed herein will be fully apparent to those skilled in the art from the above description.
Although some specific embodiments of the present disclosure have been described in detail by way of example, it should be understood by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the present disclosure. It will be understood by those skilled in the art that the foregoing embodiments may be modified and equivalents substituted for elements thereof without departing from the scope and spirit of the disclosure. In particular, the technical features mentioned in the respective embodiments may be combined in any manner as long as there is no structural conflict.

Claims (10)

1. A DI channel sense signal analog circuit, the DI channel sense signal analog circuit comprising: a triode switch circuit and a DI channel to be tested;
The triode switch circuit is a PNP switch circuit and/or an NPN switch circuit and is used for generating a detection signal;
And the output terminal of the triode switch circuit is connected with the input terminal of the DI channel to be detected and is used for outputting the detection signal to the DI channel to be detected.
2. The DI channel detection signal analog circuit of claim 1, wherein said triode switch circuit is a PNP switch circuit comprising:
A first input terminal, a second input terminal, a first resistor, a second resistor, a first output terminal, a second output terminal, a third output terminal, and a PNP triode;
A first resistor is arranged between the first input terminal and the base electrode of the triode, a second resistor is arranged between the collector electrode of the triode and the first output terminal, the collector electrode of the triode outputs a detection signal to the second output terminal, and the emitter electrode of the triode is connected with the third output terminal.
3. The DI channel sense signal analog circuit of claim 2, wherein,
A first indicator lamp is arranged between the second input terminal and the triode emitter, and a second indicator lamp is arranged between the second resistor and the first output terminal;
The first indicator light and the second indicator light are used for being lightened simultaneously when the triode switch circuit outputs a detection signal.
4. The DI channel detection signal analog circuit of claim 1, wherein said triode switch circuit is an NPN switch circuit comprising:
The first input terminal, the second input terminal, the first resistor, the second resistor, the first output terminal, the second output terminal, the third output terminal and the NPN triode;
A first resistor is arranged between the second input terminal and the base electrode of the triode, a second resistor is arranged between the collector electrode of the triode and the first output terminal, the collector electrode of the triode outputs a detection signal to the second output terminal, and the emitter electrode of the triode is connected with the third output terminal.
5. The DI channel sense signal analog circuit of claim 4, wherein a first indicator light is disposed between the first input terminal and the second resistor, and a second indicator light is disposed between the triode emitter and the third output terminal;
The first indicator light and the second indicator light are used for being lightened simultaneously when the triode switch circuit outputs a detection signal.
6. A DI channel detection signal simulation apparatus comprising the DI channel detection signal simulation circuit of any one of claims 1 to 5.
7. The DI channel detection signal simulation apparatus of claim 6, further comprising a circuit board integrating at least one set of DI channel detection signal simulation circuits.
8. The DI channel detection signal simulation apparatus according to claim 6 or 7, further comprising a power supply for powering the DI channel detection signal simulation circuit.
9. The DI channel detection signal simulation apparatus according to claim 8, wherein,
In the PNP type switching circuit, a first output terminal and a third output terminal of the PNP type switching circuit are respectively connected with a negative electrode and a positive electrode of the power supply.
10. The DI channel detection signal simulation apparatus according to claim 8, wherein,
For the NPN type switching circuit, a first output terminal and a third output terminal of the NPN type switching circuit are respectively connected with the positive pole and the negative pole of the power supply.
CN202323131632.5U 2023-11-20 2023-11-20 DI channel detection signal analog circuit and device Active CN220933386U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202323131632.5U CN220933386U (en) 2023-11-20 2023-11-20 DI channel detection signal analog circuit and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202323131632.5U CN220933386U (en) 2023-11-20 2023-11-20 DI channel detection signal analog circuit and device

Publications (1)

Publication Number Publication Date
CN220933386U true CN220933386U (en) 2024-05-10

Family

ID=90938133

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202323131632.5U Active CN220933386U (en) 2023-11-20 2023-11-20 DI channel detection signal analog circuit and device

Country Status (1)

Country Link
CN (1) CN220933386U (en)

Similar Documents

Publication Publication Date Title
CN108310781B (en) Hierarchical electronic building block, self-programming method and building block assembly
CN203814006U (en) LED working state detection circuit
CN116667479A (en) Double-quadrant battery simulation device and method, battery test system and electronic equipment
CN220933386U (en) DI channel detection signal analog circuit and device
CN102118904B (en) LED illuminating system and control method thereof
CN106033883A (en) Discharging circuit
CN103048583B (en) A kind of LED charactron pick-up unit and method
CN102768333B (en) Performance detection circuit for LED drive circuit
CN103852735B (en) Lamp fixture discharge timing circuit
CN105657947A (en) Circuit fault detection device, LED luminescence equipment, and light and/or signal emission device
CN217789652U (en) PCBA integrated circuit board outgoing burning switching circuit
CN214427480U (en) Multi-path voltage detection circuit and test fixture
CN201037857Y (en) Device for testing output current of charger
CN207232301U (en) A kind of equipment of quick detection battery pack voltage sample line line sequence
CN215187476U (en) Plant illumination dimming control port cascade circuit
CN219225059U (en) Charging and discharging calibration test system for simulating multi-serial lithium battery protection board
CN216013572U (en) Assembly line test multi-output power management control panel
CN220542118U (en) Signal system for comprehensive detection of digital instrument
CN216526836U (en) Switching value input and output management module compatible with power conversion system
CN204719212U (en) Battery electric quantity detects indicating circuit
CN220510768U (en) Short-circuit protection circuit for DC-DC circuit
CN212811292U (en) Multi-stage power distribution device of simulator
CN211351777U (en) Large-scale battery pack constant-resistance discharging instrument
CN109669502B (en) Solid-state programming circuit
CN221263792U (en) ADC failure detection circuit

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant