Automatic dotting device and method for DCS (Distributed Control System)
The automatic marking device of the DCS system enables automatic identification and configuration of IO card signal types, solving the problem of cumbersome manual operation, improving marking efficiency and accuracy, reducing costs, and enhancing the system's reliability in harsh environments.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SUPCON TECH CO LTD
- Filing Date
- 2025-12-24
- Publication Date
- 2026-05-08
AI Technical Summary
In existing DCS control systems, the testing of IO cards requires manual operation, which is cumbersome, time-consuming, and costly, and cannot effectively identify channels with different signal types.
An automatic marking device for a DCS system is adopted, which includes a marking module connected to an IO module and a communication module connected to the DCS controller. It automatically identifies and configures the corresponding signal type mode, and combines microcontroller circuits and configuration test circuits to achieve automated marking and result judgment.
It reduces manual operation time, improves the efficiency and accuracy of marking, reduces costs, and enhances reliability and anti-interference ability in harsh environments.
Smart Images

Figure CN121995871A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of communication testing technology, and in particular to an automatic marking device and method for a DCS system. Background Technology
[0002] In manufacturing environments such as petrochemical, chemical, and pharmaceutical industries, data sampling signals and control signals are typically transmitted between control devices and one or more field devices (e.g., sensors or actuators). With rapid economic and technological development, control systems are becoming increasingly large-scale, requiring numerous I / O cards to participate in system control. In existing DCS (Distributed Control System) systems, I / O (input / output) cards may contain one or more signal types (UIOs), such as analog input (AI), digital input (DI), analog output (AO), and digital output (DO). Before the DCS is assembled and shipped from the manufacturer, pre-assembly testing is required, or before the user starts up the system, point-by-point testing is required to verify the hardware configuration or software configuration of the DCS I / O cards. Previously, this work required manual point-by-point testing using a 6.5-bit device, which could only test one channel at a time, and manual switching of the 6.5-bit device was necessary for channels with different signal types, such as AO / AI / DO / DI. This required significant manpower and time investment, resulting in long factory production cycles and user engineering construction cycles, and high costs. For example, the invention patent with application number 201510582404.0, entitled "A Test Method and System for a Control System Channel", discloses that the host computer sends the real-time measurement value of the channel under test to the mobile terminal, and the mobile terminal displays the measurement value in real time. However, the patent does not specify the specific content of the channel signal detected by the host computer, and the detection process still needs improvement. Summary of the Invention
[0003] The present invention mainly addresses the problems of cumbersome and time-consuming manual wiring and marking in the prior art, and provides an automatic marking device and method for DCS systems.
[0004] The above-mentioned technical problems of the present invention are mainly solved by the following technical solution: an automatic point-marking device for a DCS system, comprising, The DCS controller connects to the IO module via the communication module and identifies the IO module configuration information. The dot module connects to the IO module and connects to the DCS controller through the communication module to obtain the IO module configuration information and configure itself to the output mode corresponding to the signal type of the dotted channel. The host computer connects to the DSC controller, acquires the measurement values of the marked channels, and determines whether the channels are normal by comparison.
[0005] This invention adds a dotting module, which connects to the I / O module and to the DCS controller via a communication module. The dotting module can automatically configure itself to output modes corresponding to analog input (AI), digital input (DI), analog output (AO), and digital output (DO) signal types. By acquiring the configuration information of the I / O module being dotted, the dotting module automatically configures itself to the corresponding channel signal type mode, dotting AI, AO, DI, and DO signal type channels. Compared to traditional dotting tests where manual wiring is required to switch between different signal types, this invention automatically configures the required channel signal type mode, eliminating the need for manual wiring and reducing working time. Furthermore, this invention automatically identifies the normality of test results via a host computer, which is more accurate than manual identification.
[0006] As a preferred embodiment, the dot-marking module includes a microcontroller circuit and a configuration test circuit connected together. The microcontroller circuit receives configuration information from the IO module and outputs a mode configuration command corresponding to the signal type of the channel being marked. The configuration test circuit automatically switches to the output mode corresponding to the signal type of the channel being tested, based on the mode configuration command.
[0007] As a preferred embodiment, the microcontroller circuit includes 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 to the configuration control unit, and the low-side current source generating circuit and the low-side current acquisition circuit are respectively connected to the configuration control unit.
[0008] In this scheme, the configuration control unit controls the operation of the high-side current source generator circuit DAC1, the high-side current acquisition circuit ADC1, the low-side current source generator circuit DAC2, and the low-side current acquisition circuit ADC2, respectively. The high-side current source generator circuit DAC1 and the high-side current acquisition circuit ADC1 can mark up non-distribution AI and passive DI signals. The low-side current source generator circuit DAC2 and the low-side current acquisition circuit ADC2 can mark up AO, DO, distribution AI, and active DI signals.
[0009] As a preferred embodiment, the configuration test circuit includes a first conversion module, a second conversion module, an analog switch assembly, and a fixture. The first input terminal of the first conversion module is connected to a high-side current source generating circuit, and the first input terminal of the first conversion module is connected to a power supply through a first resistor. The power supply is connected to the high-side current source generating circuit. The second input terminal of the first conversion module is connected to a high-side current acquisition circuit. The output terminal of the first conversion module forms a first port. The first and second input terminals of the second conversion module are respectively connected to a low-side current source generating circuit and a low-side current acquisition circuit. The first and second output terminals of the second conversion module form a second port and a third port, respectively. The first, second, and third ports are connected to the fixture through the analog switch assembly.
[0010] In this scheme, both the first and second conversion modules are voltage-to-current conversion modules. The first conversion module has a first input terminal, a second input terminal, and an output terminal. The first input terminal of the first conversion module is connected to the high-side current source generating circuit. The first input terminal of the first conversion module is connected to the high-side current source generating circuit via a first resistor. One end of the first resistor connected to the high-side current source generating circuit is connected to a power supply. The output terminal of the first conversion module forms a first port, which is connected to the analog switch assembly. The second conversion module includes a first input terminal, a second input terminal, a first output terminal, and a second output terminal. The first and second input terminals of the second conversion module are respectively connected to the low-side current source generating circuit and the low-side current acquisition circuit. The first output terminal of the second conversion module forms a second port, and the second output terminal forms a third port. The first port, the second port, and the third port are connected to the positive and negative ends of the fixture via an analog switch assembly. The analog switch assembly is a switch switching assembly controlled by a microcontroller circuit. The microcontroller circuit outputs a corresponding mode configuration command according to the signal type of the channel being marked, and controls the analog switch assembly to connect the corresponding port of the first port, the second port, and the third port to the positive and negative ends of the fixture to form an output mode circuit structure corresponding to the signal type of the channel being marked.
[0011] As a preferred embodiment, the second conversion module includes an amplifier, a MOSFET, and a second resistor. The positive input terminal of the amplifier forms the second input terminal of the second conversion module, the negative input terminal of the amplifier forms the first input terminal of the second conversion module, the output terminal of the amplifier is connected to the gate of the MOSFET, the drain of the MOSFET forms the first output terminal of the second conversion module, the source of the MOSFET is connected to the negative input terminal of the amplifier and one end of the second resistor, and the other end of the second resistor is grounded and forms the second output terminal of the second conversion module.
[0012] The second conversion module is a voltage-to-current conversion module, which includes an amplifier U1, a MOSFET Q1, and a second resistor. The positive input terminal of the amplifier U1 serves as the second input terminal of the second conversion module and is connected to the low-side current acquisition circuit. The negative input terminal of the amplifier U1 serves as the first input terminal of the second conversion module and is connected to the low-side current source generation circuit. The output terminal of the amplifier U1 is connected to the gate of the MOSFET, the source of the MOSFET is connected to the negative input terminal of the amplifier, the drain of the MOSFET serves as the first output terminal of the second conversion unit and is connected to the second port, the source of the MOSFET is connected to one end of the second resistor, the other end of the second resistor is grounded, and the other end of the second resistor serves as the second output terminal of the second conversion module and is connected to the third port.
[0013] As a preferred embodiment, the microcontroller circuit is connected to the DCS controller via a communication isolation unit, and the isolation power supply is connected to the microcontroller circuit via the communication isolation unit.
[0014] This solution isolates the communication between the microcontroller circuit and the DCS controller using an isolated power supply, which is also isolated from the microcontroller circuit. This ensures that each channel of the dot matrix module is point-to-point isolated from the others, enhancing anti-interference capabilities and enabling normal operation in harsh construction site environments, thus improving reliability and performance.
[0015] An automatic point marking method for a DCS system includes the following steps: S1. Detect the IO module configuration information and send it to the dot module; S2. The dot module is configured to output a mode corresponding to the signal type of the channel being dotted, based on the configuration information. S3. The host computer acquires the measurement values of the marked channel and determines the status of the marked channel by comparing the measurement values; S4. Statistically output a report based on the judgment results.
[0016] As a preferred option, if the signal type of the marking channel is a digital signal, determine whether the level type of the measured value is the same as the standard value. If it is, the marking channel is normal; otherwise, the marking channel is abnormal.
[0017] The signal types of the marked channels include AI and DI digital signals. The host computer detects that the measured value of the marked channel is a level signal, including high-level and low-level signals. The host computer has set measurement standard values for the digital signals of each channel. The measured value is compared with the standard value level type to determine whether the measured value and the standard value level type are the same. If they are the same, it means that the marked channel is normal; if not, it means that the marked channel is abnormal.
[0018] As a preferred solution, if the signal type of the marking channel is an analog signal, calculate the error between the measured value and the standard value, and determine whether the error value is within the error range. If it is, the marking channel is normal; otherwise, the marking channel is abnormal.
[0019] The signal types of the marked channels include AO and DO analog signals. The host computer detects the measured value of the marked channel as the current value. The host computer has set the measurement standard value for each channel's analog signal, i.e., the standard current value. The obtained measured current value is compared with the standard current value to calculate the error value, which is calculated as: abs(measured current value - standard current value) / standard current value. An allowable error range is set, and it is determined whether the currently calculated error value is within the error range. If it is, it indicates that the marked channel is normal; otherwise, the instruction manual indicates that the channel is abnormal.
[0020] As a preferred option, the dot-marking module is configured with an output mode corresponding to the signal type of the channel being marked, based on the configuration information, including: The dot matrix module is configured with output modes corresponding to the signal types of each channel. Based on the signal type of the channel being dotted, the dot matrix module is adjusted to the corresponding output configuration, and the analog switch component is controlled to connect the corresponding output port of the dot matrix module to the IO module.
[0021] Therefore, the advantages of this invention are: the addition of a dotting module, which is connected to the IO module and the DCS controller, allows the dotting module to obtain the configuration information of the IO module to be dotted, and automatically configure it to the corresponding AI, AO, DI, and DO signal type output mode according to the configuration information, dotting the AI, AO, DI, and DO signal type channels, thereby realizing automatic configuration of the required channel signal type mode, reducing working time, and making the result recognition more accurate. Attached Figure Description
[0022] Figure 1 This is a structural block diagram of the present invention.
[0023] Figure 2 This is a schematic diagram of a circuit structure for the dot-marking module in this invention.
[0024] Figure 3 This is a flowchart illustrating one method of the present invention.
[0025] 1-Host computer 2-DCS controller 3-Communication module 4-IO module 5-Marking module 51-Micro control circuit 52-Configuration control circuit 521-First conversion module 522-Second conversion module 523-Analog switch assembly 524-Clamp Detailed Implementation
[0026] To further illustrate the technical means and effects of the present invention in achieving its intended purpose, the following detailed description of the specific implementation methods, structures, features and effects of the present invention, in conjunction with the accompanying drawings and preferred embodiments, is provided below.
[0027] Example 1: This embodiment describes an automatic tracking device for a DCS system, such as... Figure 1 As shown, it includes a host computer 1, a DCS controller 2, a communication module 3, an IO module 4, and a dot matrix module 5. The host computer is connected to the DCS controller, the DCS controller is connected to the communication module via Ethernet or fiber optic cable, the communication module is connected to the IO module, the input and output terminals of the dot matrix module are connected to the IO module, and the signal terminals of the dot matrix module are connected to the DCS controller via the communication module.
[0028] As a preferred embodiment, DCS controller 2 connects to IO module 3 via a communication module to identify IO module configuration information.
[0029] The marking module 5 is connected to the DCS controller 2 via the communication module 3. It obtains the IO module configuration information from the DCS controller and configures itself to the output mode corresponding to the signal type of the marked channel. It is connected to the IO module and outputs test signals to the IO module or receives signals from the IO module.
[0030] The host computer detects the channel being marked during the marking process to obtain the signal measurement value of the channel being marked, compares the values to determine whether the channel being marked is normal, and then performs statistical analysis and outputs a report.
[0031] As a preferred embodiment, the dot module includes a microcontroller circuit 51 and a configuration test circuit 52. The microcontroller circuit is connected to the DCS controller 2 through a signal terminal, and the microcontroller circuit is connected to the configuration test circuit. The configuration test circuit is connected to the IO module 4.
[0032] Specifically, the microcontroller circuit receives the configuration information of the IO module and outputs the mode configuration command corresponding to the signal type of the channel being marked. The configuration test circuit automatically switches to the output mode corresponding to the signal type of the channel being tested, based on the mode configuration command.
[0033] Furthermore, the microcontroller circuit is connected to the DCS controller via a communication isolation unit, and the isolated power supply is connected to the microcontroller circuit via the same communication isolation unit. This solution isolates the communication between the microcontroller circuit and the DCS controller and uses an isolated power supply, which is also isolated from the microcontroller circuit. This ensures that each channel of the dot matrix module is point-to-point isolated from the other channels, enhancing anti-interference capabilities and enabling normal operation in harsh construction site environments, thus improving reliability and performance.
[0034] The specific execution process of this device is as follows: Connect the input / output interfaces of the dot-matrix module to the terminals of the IO module. Initialize the test software in the host computer and set the standard measurement values for the channels to be dotted according to the test conditions. Start the dot-matrix test. The DCS controller obtains the IO module configuration information and sends it to the dot-matrix module. The dot-matrix module performs dot-matrix testing on each channel according to the IO module configuration information. Obtain the current signal type of the channel to be dotted. The microprocessor circuit outputs an output mode configuration command corresponding to the signal type of the channel to be dotted. After receiving the output configuration command, the configuration test circuit automatically switches to the output mode corresponding to the signal type of the channel to be dotted and performs dot-matrix testing on the current channel to be dotted. During the dot-matrix process, the host computer detects the measured values of the channels to be dotted. Depending on the channel signal type, the measured value is either a digital signal or an analog signal. After obtaining the measured values of the channels to be dotted, the host computer performs a base table judgment based on the signal standard value to determine whether the measured value and the standard value are consistent or whether the error between the measured value and the standard value is within the error range, thereby determining whether the channel to be dotted is normal. After obtaining the judgment results, the results are statistically analyzed and output in the form of a report.
[0035] This invention adds a dotting module, which connects to the I / O module and to the DCS controller via a communication module. The dotting module can automatically configure itself to output modes corresponding to analog input (AI), digital input (DI), analog output (AO), and digital output (DO) signal types. By acquiring the configuration information of the I / O module being dotted, the dotting module automatically configures itself to the corresponding channel signal type mode, dotting AI, AO, DI, and DO signal type channels. Compared to traditional dotting tests where manual wiring is required to switch between different signal types, this invention automatically configures the required channel signal type output mode, covering AI, AO, DI, and DO. The process requires no manual wiring, dotting is fast, reducing working time. Furthermore, the overall structure of this invention is simple, and the overall cost is low. This invention automatically identifies whether the test results are normal through a host computer, which is more accurate than manual identification and improves work efficiency.
[0036] Example 2: This embodiment provides another implementation of the automatic marking device for a DCS system, the device specifically including: The system consists of a host computer 1, a DCS controller 2, a communication module 3, an IO module 4, and a dot matrix module 5. The host computer is connected to the DCS controller. The DCS controller is connected to the communication module via Ethernet or fiber optic cable. The communication module is connected to the IO module. The input and output terminals of the dot matrix module are connected to the IO module. The signal terminals of the dot matrix module are connected to the DCS controller via the communication module.
[0037] As a preferred embodiment, The DCS controller connects to the IO module via the communication module and identifies the IO module configuration information.
[0038] The dot-marking module connects to the DCS controller via a communication module, obtains the IO module configuration information from the DCS controller, and configures itself to an output mode corresponding to the signal type of the channel being marked. It also connects to the IO module, outputting test signals to the IO module or receiving signals from the IO module.
[0039] The host computer detects the channel being marked during the marking process to obtain the signal measurement value of the channel being marked, compares the values to determine whether the channel being marked is normal, and then performs statistical analysis and outputs a report.
[0040] As a preferred embodiment, the dot module 5 includes a microcontroller circuit 51 and a configuration test circuit 52. The microcontroller circuit is connected to the DCS controller through a signal terminal, and the configuration test circuit is connected to the IO module.
[0041] Specifically, the microcontroller circuit receives the configuration information of the IO module and outputs the mode configuration command corresponding to the signal type of the channel being marked. The configuration test circuit automatically switches to the output mode corresponding to the signal type of the channel being tested, based on the mode configuration command.
[0042] Furthermore, the microcontroller circuit is connected to the DCS controller via a communication isolation unit, and the isolated power supply is connected to the microcontroller circuit via the same communication isolation unit. This solution isolates the communication between the microcontroller circuit and the DCS controller and uses an isolated power supply, which is also isolated from the microcontroller circuit. This ensures that each channel of the dot matrix module is point-to-point isolated from the other channels, enhancing anti-interference capabilities and enabling normal operation in harsh construction site environments, thus improving reliability and performance.
[0043] As a preferred embodiment of this invention, such as Figure 2As shown, the microcontroller circuit 51 includes a configuration control unit, a high-side current source generating circuit DAC1, a high-side current acquisition circuit ADC1, a low-side current source generating circuit DAC2, and a low-side current acquisition circuit ADC2. The high-side current source generating circuit DAC1 and the high-side current acquisition circuit ADC1 are respectively connected to the configuration control unit, and the low-side current source generating circuit DAC2 and the low-side current acquisition circuit ADC2 are respectively connected to the configuration control unit.
[0044] Specifically, in this scheme, the configuration control unit controls the operation of the high-side current source generator circuit DAC1, the high-side current acquisition circuit ADC1, the low-side current source generator circuit DAC2, and the low-side current acquisition circuit ADC2, respectively. The high-side current source generator circuit DAC1 and the high-side current acquisition circuit ADC1 can mark up non-distribution AI and passive DI signals. The low-side current source generator circuit DAC2 and the low-side current acquisition circuit ADC2 can mark up AO, DO, distribution AI, and active DI signals.
[0045] In a preferred embodiment, the configuration test circuit 52 includes a first conversion module 521, a second conversion module 522, an analog switch assembly 523, and a fixture 524. The first input terminal of the first conversion module is connected to a high-side current source generator circuit DAC1, and is connected to a power supply via a first resistor RJ1. The power supply is connected to the high-side current source generator circuit DAC1. The second input terminal of the first conversion module is connected to a high-side current acquisition circuit ADC1. The output terminal of the first conversion module forms a first port A. The first and second input terminals of the second conversion module are respectively connected to a low-side current source generator circuit DAC2 and a low-side current acquisition circuit ADC2. The first and second output terminals of the second conversion module form a second port B and a third port C, respectively. The first port A, second port B, and third port C are connected to the fixture via the analog switch assembly.
[0046] Specifically, in this solution, both the first and second conversion modules are voltage-to-current conversion modules. The first conversion module has a first input terminal, a second input terminal, and an output terminal. The first input terminal of the first conversion module is connected to the high-side current source generator circuit DAC1. The first input terminal of the first conversion module is connected to the high-side current source generator circuit DAC1 through a first resistor RJ1. The end of the first resistor RJ1 connected to the high-side current source generator circuit DAC1 is also connected to a power supply (24V). The output terminal of the first conversion module forms the first port A, which is connected to the analog switch assembly. The second conversion module includes a first input terminal, a second input terminal, a first output terminal, and a second output terminal. The first input terminal of the second conversion module is connected to the low-side current source generator circuit DAC2. The second input terminal of the second conversion module is connected to the low-side current acquisition circuit ADC2. The first output terminal of the second conversion module forms the second port B, and the second output terminal forms the third port C. The fixture includes positive and negative terminals. The first port A, the second port B, and the third port C are connected to the positive and negative terminals of the fixture through the analog switch assembly. The analog switch component is a switch switching component controlled by a microcontroller circuit. The microcontroller circuit outputs a corresponding mode configuration command according to the signal type of the channel being marked, and controls the analog switch component to connect the corresponding ports of the first port A, the second port B, and the third port C to the positive and negative ends of the fixture to form an output mode circuit structure corresponding to the signal type of the channel being marked.
[0047] As a preferred embodiment, the second conversion module 522 includes an amplifier U1, a MOSFET Q1, and a second resistor RJ2. The positive input terminal of the amplifier U1 forms the second input terminal of the second conversion module, the negative input terminal of the amplifier U1 forms the first input terminal of the second conversion module, the output terminal of the amplifier U1 is connected to the gate of the MOSFET Q1, the drain of the MOSFET Q1 forms the first output terminal of the second conversion module, the source of the MOSFET Q1 is connected to the negative input terminal of the amplifier U1 and one end of the second resistor RJ2, and the other end of the second resistor RJ2 is grounded and forms the second output terminal of the second conversion module.
[0048] Specifically, the second conversion module of this scheme is preferably a voltage-to-current conversion module, which includes an amplifier U1, a MOSFET Q1, and a second resistor RJ2. The positive input terminal of the amplifier U1 is connected to the low-side current acquisition circuit ADC2 as the second input terminal of the second conversion module. The negative input terminal of the amplifier U1 is connected to the low-side current source generation circuit DAC2 as the first input terminal of the second conversion module. The output terminal of the amplifier U1 is connected to the gate of the MOSFET Q1. The source of the MOSFET Q1 is connected to the negative input terminal of the amplifier U1. The drain of the MOSFET Q1 is connected to the second port B as the first output terminal of the second conversion unit. The source of the MOSFET Q1 is connected to one end of the second resistor RJ2. The other end of the second resistor RJ2 is grounded, and the other end of the second resistor RJ2 is connected to the third port C as the second output terminal of the second conversion module.
[0049] Analog switch assembly 523 is connected between the first port, the second port, the third port, and the fixture. This analog switch assembly is a toggle switch used to establish corresponding connections between the three ports and the positive and negative terminals of the fixture according to the signal type of the channel being marked. This analog switch assembly can be constructed using a switching transistor or a single-pole double-throw switch. Each port is connected to one analog switch, with one end connected to the port and the other end connected to the positive and negative terminals of the fixture. The positive and negative terminals of the fixture are connected to the terminals of the I / O module.
[0050] The specific execution process of this device is as follows: Connect the input / output interfaces of the dot matrix module to the terminals of the IO module. Initialize the test software in the host computer and set the standard values for signal measurement of the dot matrix channel according to the test conditions.
[0051] The dot-marking test begins. The DCS controller acquires the IO module configuration information and sends it to the dot-marking module. The dot-marking module then marks each channel individually according to the IO module configuration information. The current signal type of the channel being marked is obtained, and the microprocessor outputs an output mode configuration command corresponding to that signal type. Upon receiving the output configuration command, the configuration test circuit automatically switches to the output mode corresponding to the signal type of the channel being marked. Specifically, this involves controlling the analog switch component to connect the corresponding port to the fixture. The configuration correspondence is shown in the table below: The current channel being marked undergoes a marking test. During the marking process, the host computer detects the measured values of the marked channel; depending on the channel signal type, these measured values may be digital or analog. After obtaining the measured values, the host computer performs a baseline judgment based on the signal standard value to determine whether the measured value and the standard value are consistent in type, or whether the error between the measured value and the standard value is within the error range, thereby determining whether the marked channel is functioning correctly. After obtaining the judgment results, the results are statistically analyzed and output in report form.
[0052] Example 3: This embodiment describes an automatic point marking method for a DCS system, implemented using the device described in Embodiment 1 or Embodiment 2. Figure 3 As shown, the method specifically includes the following steps: S1. Detect the IO module configuration information and send it to the dot module; S2. The dot module is configured to output a mode corresponding to the signal type of the channel being dotted, based on the configuration information. Specifically, the dotting module is configured with output modes corresponding to the signal types of each channel. Based on the signal type of the channel being dotted, the dotting module is adjusted to the corresponding output configuration, and the analog switch component is controlled to connect the corresponding output port of the dotting module to the IO module.
[0053] S3. The host computer acquires the measurement values of the marked channel and determines the status of the marked channel by comparing the measurement values; As a preferred embodiment, if the signal type of the dot channel is a digital signal, it is determined whether the level type of the measured value is the same as the standard value. If yes, the dot channel is normal; otherwise, the dot channel is abnormal.
[0054] Specifically, the signal types of the marked channels include AI and DI digital signals. The host computer detects that the measured value of the marked channel is a level signal, including high-level and low-level signals. The host computer has set measurement standard values for the digital signals of each channel. The measured value is compared with the standard value level type to determine whether the measured value and the standard value level type are the same. If they are the same, it means that the marked channel is normal; if not, it means that the marked channel is abnormal.
[0055] As a preferred embodiment, if the signal type of the marking channel is an analog signal, the error value between the measured value and the standard value is calculated, and it is determined whether the error value is within the error range. If yes, the marking channel is normal; otherwise, the marking channel is abnormal.
[0056] Specifically, the signal types of the marked channels include AO and DO analog signals. The host computer detects the measured value of the marked channel as the current value. The host computer has set the measurement standard value for each channel's analog signal, i.e., the standard current value. The obtained measured current value is compared with the standard current value to calculate the error value, which is calculated as: abs(measured current value - standard current value) / standard current value. An allowable error range is set, and it is determined whether the currently calculated error value is within the error range. If it is, it indicates that the marked channel is normal; otherwise, the instruction manual indicates that the channel is abnormal.
[0057] S4. Statistically output a report based on the judgment results.
[0058] The specific embodiments described herein are merely illustrative of the spirit of the invention. Those skilled in the art to which this invention pertains may make various modifications or additions to the described specific embodiments or use similar methods to substitute them, without departing from the spirit of the invention or exceeding the scope defined by the appended claims.
[0059] Although this document uses terms such as DCS controller, dot module, host computer, IO module, and communication module frequently, the possibility of using other terms is not excluded. These terms are used merely for the convenience of describing and explaining the essence of this invention; interpreting them as any additional limitation would contradict the spirit of this invention.
Claims
1. An automatic tracking device for a DCS system, characterized in that: include, The DCS controller connects to the IO module via the communication module and identifies the IO module configuration information. The dot module connects to the IO module and connects to the DCS controller through the communication module to obtain the IO module configuration information and configure itself to the output mode corresponding to the signal type of the dotted channel. The host computer connects to the DSC controller, acquires the measurement values of the marked channels, and determines whether the channels are normal by comparison.
2. The automatic marking device for a DCS system according to claim 1, characterized in that: The dot-marking module includes interconnected microcontroller circuits and configuration test circuits. The microcontroller circuit receives configuration information from the IO module and outputs a mode configuration command corresponding to the signal type of the channel being marked. The configuration test circuit automatically switches to the output mode corresponding to the signal type of the channel being tested, based on the mode configuration command.
3. The automatic marking device for a DCS system according to claim 2, characterized in that: The microcontroller circuit includes 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. The high-side current source generating circuit and the high-side current acquisition circuit are respectively connected to the configuration control unit, and the low-side current source generating circuit and the low-side current acquisition circuit are respectively connected to the configuration control unit.
4. The automatic marking device for a DCS system according to claim 3, characterized in that: The configuration test circuit includes a first conversion module, a second conversion module, an analog switch assembly, and a fixture. The first input terminal of the first conversion module is connected to a high-side current source generating circuit, and the first input terminal of the first conversion module is connected to a power supply through a first resistor. The power supply is connected to the high-side current source generating circuit. The second input terminal of the first conversion module is connected to a high-side current acquisition circuit. The output terminal of the first conversion module forms a first port. The first and second input terminals of the second conversion module are respectively connected to a low-side current source generating circuit and a low-side current acquisition circuit. The first and second output terminals of the second conversion module form a second port and a third port, respectively. The first, second, and third ports are connected to the fixture through the analog switch assembly.
5. The automatic marking device for a DCS system according to claim 4, characterized in that: The second conversion module includes an amplifier, a MOSFET, and a second resistor. The positive input terminal of the amplifier forms the second input terminal of the second conversion module, and the negative input terminal of the amplifier forms the first input terminal of the second conversion module. The output terminal of the amplifier is connected to the gate of the MOSFET, and the drain of the MOSFET forms the first output terminal of the second conversion module. The source of the MOSFET is connected to the negative input terminal of the amplifier and one end of the second resistor, respectively. The other end of the second resistor is grounded and forms the second output terminal of the second conversion module.
6. An automatic marking device for a DCS system according to claim 2, 3, 4, or 5, characterized in that: The microcontroller circuit is connected to the DCS controller via a communication isolation unit, and the isolation power supply is connected to the microcontroller circuit via the communication isolation unit.
7. An automatic point marking method for a DCS system, employing the apparatus described in any one of claims 1-6, characterized in that, Includes the following steps: S1. Detect the IO module configuration information and send it to the dot module; S2. The dot module is configured to output a mode corresponding to the signal type of the channel being dotted, based on the configuration information. S3. The host computer acquires the measurement values of the marked channel and determines the status of the marked channel by comparing the measurement values; S4. Statistically output a report based on the judgment results.
8. The automatic point marking method for a DCS system according to claim 7, characterized in that: If the signal type of the marking channel is a digital signal, determine whether the level type of the measured value is the same as the standard value. If it is, the marking channel is normal; otherwise, the marking channel is abnormal.
9. The automatic point marking method for a DCS system according to claim 7, characterized in that: If the signal type of the marking channel is an analog signal, calculate the error between the measured value and the standard value, and determine whether the error value is within the error range. If it is, the marking channel is normal; otherwise, the marking channel is abnormal.
10. The automatic point marking method for a DCS system according to claim 7, characterized in that, The dot-marking module is configured with an output mode corresponding to the signal type of the channel being marked, based on the configuration information, including: The dot matrix module is configured with output modes corresponding to the signal types of each channel. Based on the signal type of the channel being dotted, the dot matrix module is adjusted to the corresponding output configuration, and the analog switch component is controlled to connect the corresponding output port of the dot matrix module to the IO module.
Citation Information
Patent Citations
Test method and system for controlling system channel
CN106533821A