IO channel circuit and DCS system
By designing an IO channel circuit including a limiting circuit and a switch tube, the multiplexing of DI and DO modules is realized, and the problem that DI modules and DO modules cannot be reused in the prior art is solved, and the flexibility of the system is improved. Maintainability reduces costs.
Patent Information
- Application Number
- CN202111241252.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-25
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2041-10-25
AI Technical Summary
In the existing IO channel circuit, the digital input module (DI module) and the digital output module (DO module) cannot be reused, and the functions of the DI module and DO module cannot be realized simultaneously on the same IO channel, resulting in system costs and maintenance costs. Increase.
An IO channel circuit is designed, and the conversion between the DI and DO modules is realized by combining a limiting circuit, a switch tube and a control circuit, using the opening and closing control of the first switch tube and the second switch tube. When the input and output interface is connected to the field power supply, it is the DI module, it is disconnected from the first switch tube, and it is closed; when the load is connected, it is the DO module, it is disconnected from the second switch tube, and the first switch tube is controlled according to the received signal to enable the acquisition and output of digital signals.
The function of implementing the DI module and DO module on the same circuit is realized, which increases the flexibility and maintainability of the system and reduces the cost of system construction and post-maintenance.
Smart Images

Figure CN113867303B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electronic information, and in particular to an IO channel circuit and a DCS system. Background Art
[0002] In recent years, with the advancement of electronic technology, distributed control systems (DCS for short) have been increasingly used in electronic circuits. In the DCS system, the input and output module (IO module for short) is the most basic input and output channel for DCS system control. The DCS system collects digital signals through the input IO channel, uploads the collected data to the DCS main controller for calculation, and finally outputs the control signal through the output IO to participate in on-site industrial production control.
[0003] The digital input module (DI module for short) in the existing IO channel circuit provides a digital input channel, collects discrete and switch signals on site and transmits them to the DCS main controller. The DCS main controller calculates the collected DI data according to the user control logic, and the calculation result provides a digital output channel through the digital output module (DO module for short), outputs 24V digital signals to the field equipment, and controls the closing of the field solenoid valves and relays. In the current IO channel implementation scheme, the DI module and the DO module cannot be reused, and the functions of the DI module and the DO module cannot be realized on the same IO channel at the same time, which increases the system cost and maintenance cost.
[0004] In view of the above technology, finding an IO channel circuit that can simultaneously realize the functions of a DO module and a DI module is an urgent problem to be solved by those skilled in the art. Summary of the invention
[0005] The purpose of the present application is to provide an IO channel circuit so as to solve the problem that the DI module and the DO module in the input and output module cannot be reused.
[0006] In order to solve the above technical problems, an IO channel circuit is provided, the circuit comprising: a limiting circuit, a first switch tube, and a second switch tube;
[0007] The first end of the first switch tube is used to be connected to the first power supply, the second end of the first switch tube is connected to the positive electrode of the input-output interface, the control end of the first switch tube is connected to the control circuit, the first end of the second switch tube is connected to the first end of the limiter circuit, the second end of the second switch tube is connected to the positive electrode of the input-output interface, the control end of the second switch tube is connected to the control circuit, the positive electrode of the input-output interface is connected to the control circuit, the negative electrode of the input-output interface is connected to the second end of the limiter circuit, and is grounded;
[0008] When used as an input channel circuit, the control circuit controls the first switch tube to be disconnected and the second switch tube to be closed. When used as an output channel circuit, the control circuit controls the second switch tube to be disconnected and controls the opening and closing of the first switch tube according to the received signal.
[0009] Preferably, the circuit further comprises: a current limiting circuit;
[0010] The first end of the current limiting circuit is used to connect to the first power supply, and the second end of the current limiting circuit is connected to the first end of the first switch tube.
[0011] Preferably, the circuit further comprises: a rectifier diode;
[0012] The cathode of the rectifier diode is used to connect to the first power supply, and the other end of the rectifier diode is connected to the control end of the first switch tube.
[0013] Preferably, the first switch tube and the second switch tube are MOS tubes.
[0014] Preferably, the circuit further comprises: a filter circuit, one end of which is connected to the positive electrode of the input / output interface, and the other end of which is grounded.
[0015] Preferably, the limiting circuit is a diode limiter.
[0016] Preferably, the control circuit includes an analog-to-digital converter, a reference source and a driving circuit.
[0017] Preferably, the reference source is a 2.5V reference source.
[0018] Preferably, the filter circuit is a filter capacitor.
[0019] To solve the above problems, the present application also provides a DCS system, which includes the above IO channel circuit.
[0020] The IO channel circuit provided in the present application can realize the conversion between the DI and DO modules by controlling the opening and closing of the first switch tube and the second switch tube. When the input-output interface is connected to the field power supply, it is a DI module. At this time, the second switch tube is closed and the first switch tube is disconnected. Then, by obtaining the voltage of the input-output interface, the voltage is limited by the limiting circuit and controlled within the range that the control circuit can recognize, thereby obtaining the corresponding digital signal. When the input-output interface is connected to the load, it is a DO module. The second switch tube is disconnected. The opening and closing of the first switch tube is controlled by the value of the digital signal received by the control circuit, thereby realizing the corresponding control of the field load, realizing the functions of the DI module and the DO module on the same circuit at the same time. Compared with the previous DI module and DO module using different circuits, there is no need to disassemble the corresponding circuit when the input and output need to be switched, thereby increasing the flexibility and maintainability of the system IO channel circuit configuration, and reducing the system assembly cost and subsequent maintenance cost.
[0021] The DCS system provided in the present application includes the above-mentioned IO channel circuit, and has the same beneficial effects as above. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0023] Figure 1 It is a schematic diagram of the DCS system structure;
[0024] Figure 2 A schematic diagram of an IO channel circuit provided in an embodiment of the present application.
[0025] Figure 3 A schematic diagram of a DCS system structure provided in an embodiment of the present application. DETAILED DESCRIPTION
[0026] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0027] The core of this application is to provide an IO channel circuit. Figure 1The figure is a schematic diagram of the DCS system structure. At present, the IO channels of the DCS system are connected to the system in the form of IO modules. An IO device module is generally composed of 8 or 16 channels of the same type of IO channels, such as DI module (digital input module), DO module (digital output module), AO module (analog output module), AI module (analog acquisition module). As the scale of the DCS system becomes larger and larger, the number of IO channels accommodated by the system is also increasing, and the number of IO device modules required is also increasing. In addition, different types of IO modules cannot replace each other, which is not convenient for the establishment of the DCS system or the later maintenance and management of the DCS. In the current DCS input IO module implementation scheme, DI channels and DO channels cannot be reused, and DI module and DO functions cannot be implemented on the same IO module at the same time. There are many types of IO modules, which increase system costs and maintenance costs. For example, when site A and site B are interconnected, when input signals are used to control site B at site A, site A is connected to the DI channel and site B is connected to the DO channel. When site B needs to make an input, the DO channel of site B needs to be removed first and then the DI channel is installed, which is very troublesome. Considering the above situation, this paper proposes a digital quantity implementation method that supports both DI and DO. The DI channel and DO channel are reused in the same IO module, which increases the flexibility of the DCS system IO module and facilitates the early construction and later maintenance management of the DCS system. It only needs to connect the input and output interfaces to the corresponding load or power supply. When the load is connected, it is the DO channel, and when the power supply is connected, it is the DI channel. When IO conversion is required on site, there is no need to disassemble the circuit.
[0028] In order to enable those skilled in the art to better understand the present application, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0029] Figure 2 A schematic diagram of an IO channel circuit provided in an embodiment of the present application is shown in FIG. Figure 2 As shown, the circuit includes: a limiting circuit 1, a first switch tube S1, and a second switch tube S2;
[0030] A first end of the first switch tube S1 is used to be connected to the first power supply VCC, a second end of the first switch tube S1 is connected to the positive electrode of the input / output interface, a control end of the first switch tube S1 is connected to the control circuit, a first end of the second switch tube S2 is connected to the first end of the limiter circuit 1, a second end of the second switch tube S2 is connected to the positive electrode of the input / output interface, a control end of the second switch tube S2 is connected to the control circuit, a positive electrode of the input / output interface is connected to the control circuit, a negative electrode of the input / output interface is connected to the second end of the limiter circuit 1, and is grounded;
[0031] When used as an input channel circuit, the control circuit controls the first switch tube S1 to be disconnected and the second switch tube S2 to be closed. When used as an output channel circuit, the control circuit controls the second switch tube S2 to be disconnected, and controls the opening and closing of the first switch tube S1 according to the received signal.
[0032] In practical applications, by judging whether the input / output interface is connected to a field power supply or a load, it is determined to be an input channel circuit or an output channel circuit. If the field power supply is connected, it is an input channel circuit. The control circuit collects the input voltage of the field power supply (usually 0-24V), limits the voltage to a range that the control circuit can recognize through a limiter circuit, and converts the collected input voltage into a digital signal. For example, the recognition range of the control circuit is 0-2.5V. When a 0V voltage is received, the collected digital signal is 0. When a 24V voltage is received, the collected digital signal is 1 by limiting the voltage to 2.5V through a limiter circuit. It can be understood that digital signal 0 is a low level and 1 is a high level. If the input / output interface is connected to a load, it is an output channel circuit. For example, when the load is a relay, it is determined that the output signal of the control circuit is 0 or 1. If the output signal is 0, the first switch tube S1 is controlled to be disconnected, disconnecting the relay and the first power supply VCC, that is, controlling the relay to be disconnected. If the output signal is 1, the first switch tube S1 is controlled to be closed, connecting the relay and the first power supply VCC, that is, controlling the relay to be closed.
[0033] Those skilled in the art will understand that Figure 2 The structure shown in the figure does not constitute a limitation on the IO channel circuit, and may include more or fewer components than shown in the figure. It should be noted that the first switch tube S1 and the second switch tube S2 provided in the present application have three ports, an input port, an output port, and a control port. Therefore, the first switch tube S1 and the second switch tube S2 are triodes or field effect tubes. Figure 2 The first switch tube and the second switch tube shown in the figure are MOS tubes, which constitutes a limitation on this embodiment, that is, in this embodiment, the models and types of the first switch tube and the second switch tube are not specifically limited. There is no limitation on the type of the limiter circuit 1, and the control circuit includes content, that is, it can be used as a collection circuit to collect the corresponding voltage and convert it into a digital signal, and can also control the opening and closing of the switch tube according to the digital signal. The specific type of the control circuit is not limited here.
[0034] The IO channel circuit provided in the present application can realize the conversion between the DI and DO modules by controlling the opening and closing of the first switch tube S1 and the second switch tube S2. When the input-output interface is connected to the field power supply, it is a DI module. At this time, the second switch tube S2 is closed and the first switch tube S1 is disconnected. Then, by obtaining the voltage of the input-output interface, the voltage is limited by the limiter circuit 1 and controlled within the range that the control circuit can recognize, thereby obtaining the corresponding digital signal. When the input-output interface is connected to the load, it is a DO module. The second switch tube S2 is disconnected. The opening and closing of the first switch tube S1 is controlled by the value of the digital signal received by the control circuit, thereby realizing the corresponding control of the field load, realizing the functions of the DI module and the DO module on the same circuit at the same time. Compared with the previous DI module and DO module using different circuits, there is no need to disassemble the corresponding circuit when the input and output need to be switched, thereby increasing the flexibility and maintainability of the system IO channel circuit configuration, and reducing the system assembly cost and subsequent maintenance cost.
[0035] In practical applications, considering the complex situation on site in the DCS system, external short circuit or load overcurrent may occur. Therefore, considering the safety issues on site, a preferred solution is proposed in this embodiment, and the IO channel circuit further includes: a current limiting circuit 2;
[0036] A first end of the current limiting circuit 2 is used to connect to the first power source VCC, and a second end of the current limiting circuit 2 is connected to a first end of the first switch tube S1.
[0037] It should be noted that the current limiting circuit 2, i.e., a circuit for limiting current, may be one of the current limiting elements such as a current limiting resistor, a current limiting valve, a current limiter, etc., or a circuit composed of these elements. The specific type of the current limiting circuit 2 is not limited in this embodiment.
[0038] When the first switch tube S1 is closed, the first power supply VCC is connected to the load. Considering the possible short circuit of the input and output interfaces, the current limiting circuit 2 is provided to protect the power supply. At the same time, due to various complex situations on site, the control circuit and the connected load elements can also be protected from being damaged by overcurrent.
[0039] In order to reduce the influence of the alternating current on the IO channel circuit, this embodiment proposes a preferred solution, the IO channel circuit further includes: a rectifier diode;
[0040] The cathode of the rectifier diode is used to connect to the first power source VCC, and the anode is connected to the control end of the first switch tube S1.
[0041] A rectifier diode is a semiconductor device used to convert alternating current into direct current. The most important characteristic of a diode is its unidirectional conductivity. In a circuit, current can only flow into the positive pole of the diode and out of the negative pole. Rectifier diodes have obvious unidirectional conductivity. Rectifier diodes can be made of semiconductor materials such as germanium or silicon. Silicon rectifier diodes have high breakdown voltage, low reverse leakage current, and good high temperature performance. Usually, high-voltage and high-power rectifier diodes are made of high-purity single-crystal silicon (which is prone to reverse breakdown when doped with more).
[0042] The rectifier diode in this embodiment is used to isolate the first power supply VCC from the control circuit to prevent the voltage of the first power supply VCC from affecting the control circuit, and under the action of the AC power supply, the rectifier diode is periodically turned on and off, so that the load obtains pulsating DC power, making the load work more stably.
[0043] In the above embodiment, the types of the first switch tube S1 and the second switch tube S2 are not limited. Here, a preferred solution is proposed, in which the first switch tube S1 and the second switch tube S2 are MOS tubes.
[0044] It should be noted that the MOS tube is a metal-oxide-semiconductor field effect transistor, or a metal-insulator-semiconductor. The source and drain of the MOS tube can be swapped, and they are both N-type regions formed in a P-type channel. In most cases, the two poles are the same, and even if the two ends are swapped, it will not affect the performance of the device. Such a device is considered to be symmetrical. That is, the first end and the second end of the first switch tube S1 and the second switch tube S2 mentioned in the above embodiment can be the source or drain of the MOS tube in this embodiment, and the control end is the gate. The specific model of the MOS tube is not specifically limited here.
[0045] In practical applications, MOS tubes are smaller and more energy-efficient than most field-effect tubes due to the semiconductor materials used and their own properties. Therefore, they are easy to install and can save energy.
[0046] Considering the voltage floating problem that may occur due to on-site instability, a preferred solution is proposed in this embodiment. The circuit also includes: a filter circuit, one end of the filter circuit is connected to the positive pole of the input and output interface, and the other end is grounded.
[0047] It should be noted that the type of the filter circuit is not limited here, and it can be a filter capacitor, a resistor or an inductor or a combination thereof, etc. Filtering the IO channel circuit can make the input of the entire IO channel circuit more stable.
[0048] In the above embodiment, there is no limitation on the amplitude limiting circuit 1. In this embodiment, a preferred solution is proposed, and the amplitude limiting circuit 1 is a diode amplitude limiter.
[0049] It should be noted that the diode used for amplitude limiting is called a diode limiter. The so-called amplitude limiting is to limit the amplitude of the signal within the required range. Since the circuits that usually need amplitude limiting are mostly high-frequency pulse circuits, high-frequency carrier circuits, medium- and high-frequency signal amplification circuits, high-frequency modulation circuits, etc., the diode limiter is required to have a steeper UI characteristic so that it has good switching performance.
[0050] The diode limiter has a fast turn-on speed and a stable voltage drop, so it can improve the working efficiency and stability of the IO channel circuit.
[0051] In the above embodiments, the control circuit is not limited. This embodiment proposes a preferred solution, in which the control circuit includes an analog-to-digital converter, a reference source and a driving circuit.
[0052] It should be noted that the analog-to-digital converter is used to convert analog signals (electrical signals) and digital signals, that is, to convert the acquired voltage into a digital signal. The driving circuit is used to control the opening and closing of the switch tube. The reference source is used to determine the value of the digital signal converted from the acquired voltage. This embodiment does not limit the model of the reference source.
[0053] In the above embodiments, the reference source is not limited. Here, a preferred solution is proposed, in which the reference source is a 2.5V reference source.
[0054] It should be noted that, due to the requirements of the control circuit, most of the field voltages are limited to between 0 and 2.5 V by the limiting circuit 1, so selecting 2.5 V as the reference source can improve the accuracy of the circuit.
[0055] In the above embodiments, the form of the filter circuit is not limited. Here, a preferred solution is proposed, in which the filter circuit is a filter capacitor C1.
[0056] Since the filter capacitor C1 has high reliability, stable performance and single-phase filtering, the filter capacitor C1 is selected as the filter.
[0057] Figure 3 A schematic diagram of a DCS system structure provided in an embodiment of the present application, the DCS system includes the IO channel circuit mentioned in the above embodiment, such as Figure 3 As shown, in this DCS system, DI and DO channels are multiplexed. Compared with the previous DCS system in which DI modules and DO modules are used independently, there is no need to disassemble the corresponding circuit when the input and output need to be switched, which increases the flexibility and maintainability of the DCS system configuration and reduces the DCS system construction cost and subsequent maintenance cost.
[0058] The IO channel circuit provided by the present application is introduced in detail above. The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the claims of the present application.
[0059] It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
Claims
1. An IO channel circuit, characterized in that: include: A limiting circuit, a first switching tube, and a second switching tube; The first end of the first switch tube is used to be connected to the first power supply, the second end of the first switch tube is connected to the positive electrode of the input-output interface, the control end of the first switch tube is connected to the control circuit, the first end of the second switch tube is connected to the first end of the limiter circuit, the second end of the second switch tube is connected to the positive electrode of the input-output interface, the control end of the second switch tube is connected to the control circuit, the positive electrode of the input-output interface is connected to the control circuit, the negative electrode of the input-output interface is connected to the second end of the limiter circuit, and is grounded; When used as an input channel circuit, the control circuit controls the first switch tube to be disconnected and the second switch tube to be closed; when used as an output channel circuit, the control circuit controls the second switch tube to be disconnected, and controls the opening and closing of the first switch tube according to the received signal; Wherein, the limiting circuit is a diode limiter; The first switch tube and the second switch tube are MOS tubes; The IO channel circuit further includes: a rectifier diode; The cathode of the rectifier diode is used to be connected to the first power supply, and the anode is connected to the control end of the first switch tube; The control circuit includes an analog-to-digital converter, a reference source and a driving circuit.
2. The IO channel circuit according to claim 1, characterized in that: Also includes: Current limiting circuit; The first end of the current limiting circuit is used to connect to the first power supply, and the second end of the current limiting circuit is connected to the first end of the first switch tube.
3. The IO channel circuit according to claim 1, characterized in that: Also includes: A filter circuit, one end of which is connected to the positive electrode of the input / output interface, and the other end is grounded.
4. The IO channel circuit according to claim 1, characterized in that: The reference source is a 2.5V reference source.
5. The IO channel circuit according to claim 3, characterized in that: The filter circuit is a filter capacitor.
6. A DCS system, characterized in that: The IO channel circuit comprises the IO channel circuit described in any one of claims 1 to 5.
