CN-121995871-A - DCS system automatic dotting device and method
Abstract
The invention relates to an automatic dotting device and method for a DCS (distributed control system), which solve the problems of complicated operation and long operation time in the prior art that manual wiring dotting is adopted. The device comprises a DCS controller, a dotting module, an upper computer and a DSC controller, wherein the DCS controller is connected with the IO module through a communication module and used for identifying configuration information of the IO module, the dotting module is connected with the IO module and connected with the DCS controller through the communication module and used for obtaining configuration information of the IO module and configuring the configuration information of the IO module into an output mode corresponding to a signal type of a dotted channel, and the upper computer is connected with the DSC controller and used for obtaining a measured value of the dotted channel and comparing and judging whether the channel is normal or not. The invention automatically configures the required channel signal type mode without manual wiring, thereby reducing the working time. According to the invention, whether the test result is normal or not is automatically identified through the upper computer, and the method is more accurate compared with manual identification.
Inventors
- ZHU WEI
- HONG ZHONGLIANG
- DUAN RULIANG
- ZHOU WEIQIANG
- YANG ZHENGUO
Assignees
- 中控技术股份有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20251224
Claims (10)
- 1. An automatic dotting device of a DCS system is characterized by comprising, The DCS controller is connected with the IO module through the communication module and is used for identifying configuration information of the IO module; The dotting module is connected with the IO module, is connected with the DCS controller through the communication module, acquires configuration information of the IO module, and configures the IO module into an output mode corresponding to the type of the signal of the dotted channel; and the upper computer is connected with the DSC controller, acquires the measured value of the dotted channel, and judges whether the channel is normal or not through comparison.
- 2. The DCS system automatic dotting device of claim 1, wherein the dotting module comprises a micro control circuit and a configuration test circuit which are connected, The micro control circuit receives the configuration information of the IO module and outputs a mode configuration instruction corresponding to the type of the dotted channel signal; and the configuration test circuit is used for automatically switching to an output mode corresponding to the type of the dotted channel signal according to the mode configuration instruction.
- 3. The DCS system automatic dotting device of claim 2, wherein the micro-control circuit comprises a configuration control unit, a high-side current source generating circuit, a high-side current collecting circuit, a low-side current source generating circuit and a low-side current collecting circuit, wherein the high-side current source generating circuit and the high-side current collecting circuit are respectively connected with the configuration control unit, and the low-side current source generating circuit and the low-side current collecting circuit are respectively connected with the configuration control unit.
- 4. The DCS system automatic dotting device according to claim 3, wherein the configuration test circuit comprises a first conversion module, a second conversion module, an analog switch assembly and a clamp, wherein a first input end of the first conversion module is connected with the high-side current source generating circuit, a first input end of the first conversion module is connected with a power supply through a first resistor, the power supply is connected with the high-side current source generating circuit, a second input end of the first conversion module is connected with the high-side current collecting circuit, an output end of the first conversion module forms a first port, a first input end and a second input end of the second conversion module are respectively connected with the low-side current source generating circuit and the low-side current collecting circuit, a first output end and a second output end of the second conversion module respectively form a second port and a third port, and the first port, the second port and the third port are connected with the clamp through the analog switch assembly.
- 5. The DCS system automatic dotting device of claim 4, wherein the second conversion module comprises an amplifier, a mos tube and a second resistor, wherein the positive phase input end of the amplifier forms a second input end of the second conversion module, the negative phase input end of the amplifier forms a first input end of the second conversion module, the output end of the amplifier is connected with a gate of the mos tube, a drain of the mos tube forms a first output end of the second conversion module, the source of the mos tube is respectively connected with the negative phase input end of the amplifier and one end of the second resistor, and the other end of the second resistor is respectively grounded and forms a second output end of the second conversion module.
- 6. The DCS system automatic dotting device according to claim 2,3, 4 or 5, wherein the micro control circuit is connected with the DCS controller through a communication isolation unit, and an isolation power supply is connected with the micro control circuit through the communication isolation unit.
- 7. An automatic dotting method for a DCS system, which adopts the device as claimed in any one of claims 1 to 6, and is characterized by comprising the following steps: s1, detecting configuration information of an IO module and sending the configuration information to a dotting module; S2, the dotting module is configured into an output mode corresponding to the type of the dotted channel signal according to the configuration information; s3, the upper computer acquires a measured value of the dotted channel, and the state of the dotted channel is judged by comparing the measured value; S4, statistics is carried out according to the judgment result to output a report.
- 8. The DCS system automatic dotting method of claim 7, wherein: If the type of the dotting channel signal is a digital signal, judging whether the type of the measured value level is the same as the standard value, if so, the dotting channel is normal, and if not, the dotting channel is abnormal.
- 9. The DCS system automatic dotting method of claim 7, wherein: If the type of the dotting channel signal is an analog signal, calculating an error value of the measured value and the standard value, judging whether the error value is in an error range, if so, judging whether the dotting channel is normal, and if not, judging whether the dotting channel is abnormal.
- 10. The method according to claim 7, wherein the dotting module is configured to an output mode corresponding to the type of the signal of the dotted channel according to the configuration information, and the method comprises: The dotting module is provided with output mode configuration corresponding to the signal types of all the channels, and is adjusted to be corresponding to the output configuration according to the signal types of the dotted channels, and the analog switch assembly is controlled to connect corresponding output ports of the dotting module with the IO module.
Description
DCS system automatic dotting device and method Technical Field The invention relates to the technical field of communication test, in particular to an automatic dotting device and method for a DCS (distributed control system). Background In manufacturing environments such as petrochemical, chemical, pharmaceutical, etc., data sampling signals, control signals, etc., are typically communicated between a control device and one or more field devices (e.g., sensors or actuators). With the rapid development of economy and technology, the control system is larger and larger in scale, a large number of IO cards are required to participate in system control, and in the existing DCS control system (DistributedControlSystem ), IO (input/output) cards may contain one or several signal types (UIO), and the signal types include Analog Input (AI), digital Input (DI), analog Output (AO), digital Output (DO) and the like. Before the DCS manufacturer is packaged and leaves the factory, a pre-assembly test is needed or a dotting test is needed before a user starts a car on site so as to check whether the hardware configuration or the software configuration of the DCS IO card is normal. If the work is to be done, the six-bit half device needs to be used for dotting manually, the dotting of one channel can be carried out at a time, and the six-bit half device needs to be switched and set manually when channels with different signal types are encountered, such as AO/AI/DO/DI and the like. More labor investment and time investment are needed, the factory production period and the user engineering construction period are longer, and the cost is higher. If the application number is 201510582404.0, the invention patent with the name of a method and a system for testing a control system channel discloses that an upper computer sends a measured value of a tested channel to a mobile terminal in real time, and the mobile terminal displays the measured value in real time, but the patent does not specifically describe that the upper computer detects the specific content of a channel signal of the tested device, and the detection process is still to be improved. Disclosure of Invention The invention mainly solves the problems of complicated operation and long operation time caused by manual wiring dotting in the prior art, and provides an automatic dotting device and an automatic dotting method for a DCS (distributed control system). The technical problems of the invention are mainly solved by the following technical proposal that the DCS system automatic dotting device comprises, The DCS controller is connected with the IO module through the communication module and is used for identifying configuration information of the IO module; The dotting module is connected with the IO module, is connected with the DCS controller through the communication module, acquires configuration information of the IO module, and configures the IO module into an output mode corresponding to the type of the signal of the dotted channel; and the upper computer is connected with the DSC controller, acquires the measured value of the dotted channel, and judges whether the channel is normal or not through comparison. The dotting module is added and connected with the IO module, and is connected with the DCS controller through the communication module, the dotting module can be automatically configured into output modes corresponding to Analog Input (AI), digital Input (DI), analog Output (AO) and Digital Output (DO) signal types, the dotting module automatically configures the mode corresponding to the channel signal type according to configuration information by acquiring configuration information of the dotted IO module, and dotting is carried out on AI, AO, DI, DO signal type channels. According to the invention, whether the test result is normal or not is automatically identified through the upper computer, and the method is more accurate compared with manual identification. As a preferred scheme, the dotting module comprises a micro-control circuit and a configuration test circuit which are connected, The micro control circuit receives the configuration information of the IO module and outputs a mode configuration instruction corresponding to the type of the dotted channel signal; and the configuration test circuit is used for automatically switching to an output mode corresponding to the type of the dotted channel signal according to the mode configuration instruction. As a preferable scheme, the micro-control circuit comprises a configuration control unit, a high-side current source generating circuit, a high-side current acquisition circuit, a low-side current source generating circuit and a low-side current acquisition circuit, wherein the high-side current source generating circuit and the high-side current acquisition circuit are respectively connected with the configuration control unit, and the low-side current source generating circuit and the low-s