Function detection and correction device of control system module
By designing a DCS system module function detection and calibration device that supports multi-channel testing and software upgrades, the problem that the existing technology is difficult to adapt to new hardware and software requirements and cannot be effectively calibrated is solved, and efficient detection and maintenance of the DCS system is achieved.
Patent Information
- Application Number
- CN202420569041.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-22
- Publication Date
- 2025-03-07
- Estimated Expiration
- 2034-03-22
AI Technical Summary
The existing DCS system test devices are difficult to adapt to new hardware and software requirements, and cannot effectively calibrate modules with problems with accuracy or program, resulting in difficulty in maintaining products.
A functional detection and correction device for the control system module is designed, including MCU control circuit, switch array switching circuit, reference signal source circuit and upper computer, which supports multi-channel testing, can software upgrade through the serial port writing interface, and achieve precision calibration.
The device can adapt to new hardware and software requirements, realize simultaneous testing and precision calibration of multiple modules, improve the reliability and stability of the DCS system, and simplify the product maintenance process.
Smart Images

Figure CN222580440U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the field of industrial automation control, in particular to a function detection and correction device for a control system module. Background Art
[0002] DCS is a distributed control system, which has a wider range of applications and more diverse use cases. The test device is a device used to verify the performance of I / O modules and control modules. It can simulate different input signals, such as analog sensor signals or digital signals, to test the signal processing capabilities of the I / O modules. At the same time, the test device can send simulated instructions to the control module to evaluate its response and control accuracy. Through the test device, it can be ensured that the DCS system is fully verified and tested before it is actually put into operation.
[0003] The test fixture can simulate different types of sensor signals, such as simulated voltage, simulated current, etc. This allows engineers to simulate a variety of different input situations to verify the signal processing capabilities of the I / O module. Since DCS systems usually involve multiple I / O modules and control modules, the test fixture usually supports multi-channel testing and can test multiple modules at the same time. The test fixture is a key tool for ensuring that the I / O modules and control modules of the DCS system can work properly under various conditions. By using the test fixture, engineers can find and solve potential problems before actually putting it into production, thereby improving the reliability, performance and stability of the system.
[0004] As DCS technology continues to develop and update, test equipment may need to be continuously upgraded to adapt to new hardware and software requirements. Maintaining existing test equipment may be challenging, especially when the system is upgraded or replaced. When the accuracy of the test module cannot meet the requirements, it is impossible to perform accuracy calibration, which makes product maintenance difficult. Utility Model Content
[0005] In order to address the deficiencies in the prior art, the present application provides a control system module functional detection and correction device that can support multi-channel testing, can test multiple modules at the same time, can adapt to new hardware and software requirements, and can perform program burning or accuracy calibration on modules with accuracy or program problems.
[0006] The utility model discloses a function detection and correction device for a control system module. The function detection and correction device comprises a main body, a reference signal source circuit, which is arranged on the main body, and the reference signal source circuit comprises an MCU control circuit with a serial port burning interface, a switch array switching circuit for controlling the direction of circuit signals, a power supply for supplying power to the function detection and correction device, and a power supply detection circuit for detecting whether the power supply is normal. The switch array switching circuit is electrically connected to the MCU control circuit, the power supply and the power supply detection circuit, an interface board circuit, which is arranged on the main body, and the interface board circuit is electrically connected to the switch array switching device, and the interface board circuit comprises an analog quantity interface, a digital quantity interface, a plurality of sockets and a plurality of network ports, and the analog quantity interface and the digital quantity interface are respectively connected to the plurality of sockets, and a host computer, which is arranged on the main body, and comprises a main control module in the host computer, and the main control module is used to control the function detection and correction device, and the host computer is connected to the MCU control circuit through the serial port burning interface on the MCU control circuit.
[0007] Furthermore, the switch array switching circuit includes a photorelay and at least two photocouplers, wherein one photocoupler receives an electrical signal from an MCU control circuit and outputs the electrical signal from the MCU control circuit to a digital quantity interface on an interface board circuit, and the other photocoupler receives an electrical signal from a digital quantity interface on an interface board circuit and outputs the electrical signal from the digital quantity interface on an interface board circuit to the MCU control circuit. The reference signal source circuit includes a signal source instrument, which is connected to a host computer and an MCU control circuit. The photorelay receives an output signal from the signal source instrument and an electrical signal from the MCU control circuit, and outputs the signal to an analog quantity interface on the interface board circuit.
[0008] Furthermore, the power detection circuit includes a power supply interface to be tested, a voltage divider circuit, a signal amplifier and an analog-to-digital converter. After the power supply to be tested is plugged into the power supply interface to be tested, the signal is sent to the host computer after passing through the voltage divider circuit, the signal amplifier and the analog-to-digital converter.
[0009] Furthermore, the MCU control circuit includes a j-link programming interface.
[0010] Furthermore, the host computer includes a USB interface, and the USB interface is connected to the serial port programming interface through an interface adapter.
[0011] Furthermore, the interface board circuit includes a DIO switch circuit for detecting the switch value of the detected DIO module.
[0012] Furthermore, a control system interface and a control system interface are included between the socket and the network port, the interface board circuit includes a main control module interface, the socket is connected to the main control module interface, and the main control module interface is connected to the host computer.
[0013] Beneficial effects of the utility model:
[0014] 1 The utility model can detect the I / O module or the control module separately through the several sockets to realize the independence of analog quantity and switch quantity inspection, that is, two different templates can be inspected at the same time, and each channel can be switched and tested separately through the socket.
[0015] 2 Utility Model The MCU control circuit of the present application has a serial port burning interface. The host computer is connected to the MCU control circuit through the serial port burning interface on the MCU control circuit. When the program firmware of the MCU control circuit needs to be upgraded, the serial port burning software is installed in the host computer, and the serial port burning program firmware of the MCU control circuit is upgraded through the host computer. The function detection and correction device is continuously upgraded to adapt to new hardware and software requirements. After the MCU control circuit is upgraded through the serial port burning software, the test accuracy of the function detection and correction device can be re-calibrated to improve the applicability of the function detection and correction device. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 It is a structural schematic diagram of a function detection and correction device in an embodiment of the present application.
[0017] In the figure: a function detection and correction device 100, a main body 11, a reference signal source circuit 12, an MCU control circuit 121, a serial port programming interface 1211, a j-link programming interface 1212, a switch array switching circuit 122, a photorelay 1221, a photocoupler 1222, a power supply 123, a power detection circuit 124, a power supply interface to be tested 1241, a voltage divider circuit 1242, a signal amplifier 1243, an analog-to-digital converter 1244, a data transmission interface 125, an output DIO module interface 126, an output AIO module interface 127, a signal source instrument 128, an interface board circuit 13, an analog quantity interface 131, a digital quantity interface 132, a socket 133, a network port 134, a control system interface 135, a control system interface 136, a main control module interface 137, and a host computer 14. DETAILED DESCRIPTION
[0018] In order to enable those skilled in the art to better understand the solution of the utility model, the technical solution in the specific implementation manner of the utility model will be clearly and completely described below.
[0019] The utility model discloses a function detection and correction device 100 of a control system module, which includes a main body 11, a reference signal source circuit 12, an interface board circuit 13 and a host computer 14. The main body 11 constitutes the basic framework of the function detection and correction device 100. The reference signal source circuit 12 is arranged on the main body 11, and the reference signal source circuit 12 includes an MCU control circuit 121 with a serial port burning interface, a switch array switching circuit 122 for controlling the direction of a circuit signal, a power supply 123 for supplying power to the function detection and correction device 100, and a power supply detection circuit 124 for detecting whether the power supply is normal, and the switch array switching circuit 122 is electrically connected to the MCU control circuit 121, the power supply 123 and the power supply detection circuit 124. The interface board circuit 13 is arranged on the main body 11, and the interface board circuit 13 is electrically connected to the switch array switching device. The interface board circuit 13 includes an analog interface 131, a digital interface 132, a plurality of sockets 133 and a plurality of network ports 134. The analog interface 131 and the digital interface 132 are respectively connected to a plurality of sockets 133, and the socket 133 is connected to the network port 134, and the network port 134 is connected to the host computer 14 through a network cable. The host computer 14 is arranged on the main body 11, and the host computer 14 includes a main control module, and the main control module is used to control the function detection and correction device 100. The host computer 14 is connected to the MCU control circuit 121 through the serial port burning interface on the MCU control circuit 121. The MCU control circuit 121 of the present application can collect, analyze and process the input sensor data, and then make corresponding decisions according to the preset algorithm or rule. According to the processed data, the MCU control circuit 121 can control various circuits to realize the control and operation of the function detection and correction device. The MCU control circuit 121 can communicate with other circuits and exchange data to achieve collaborative work. The several sockets 133 of the present application are used to power the I / O module or control module to be detected on the one hand, and to detect the analog quantity and signal quantity of the I / O module or control module on the other hand. The present application can detect the I / O module or control module separately through the several sockets 133 set up to achieve the independence of the analog quantity and switch quantity inspection, that is, two different templates can be inspected at the same time, and each channel can be switched and tested separately through the socket 133. The MCU control circuit 121 of the present application has a serial port burning interface, and the host computer 14 is connected to the MCU control circuit 121 through the serial port burning interface on the MCU control circuit 121. When the program firmware of the MCU control circuit 121 needs to be upgraded, the serial port burning software can be installed in the host computer 14, and the serial port burning program firmware of the MCU control circuit 121 is upgraded through the host computer 14. The function detection and correction device 100 is continuously upgraded to adapt to new hardware and software requirements.After the MCU control circuit 121 is upgraded through the serial port burning software, the test accuracy of the function detection and correction device 100 can be recalibrated to improve the applicability of the function detection and correction device 100. The reference signal source circuit 1212 includes a data transmission interface 125, an output DIO module interface 126 and an output AIO module interface 127 between the photoelectric coupler 12221222 and the interface board circuit 1313. The data transmission interface 125 is a common interface type for data transmission and communication. The output DIO module interface 126 is mainly used to output digital signals, such as switch quantity signals, pulse signals, etc., which can be used to control relays, motors, indicator lights and other devices, and can also be used to communicate with external devices, such as data exchange with PLC, single-chip microcomputer and other devices. The output AIO module interface 127 is mainly used to output analog signals, such as voltage, current, temperature and other signals, which can be used to control thermostats, hygrometers, flow meters and other devices, and can also be used to communicate with external devices, such as data exchange with inverters, servo motors and other devices. The output AIO module interface 127 and the output DIO module interface 126 on the reference signal source circuit 12 can output analog and digital quantities, thereby improving the detection and correction function of the device 100 for detecting analog and digital quantities of the DCS system to be detected.
[0020] As an implementation mode, the switch array switching circuit 122 includes a photorelay 1221 and at least two photocouplers 1222, wherein one photocoupler 1222 receives an electrical signal from the MCU control circuit 121, and outputs the electrical signal from the MCU control circuit 121 to the digital quantity interface 132 on the interface board circuit 13, and the other photocoupler 1222 receives an electrical signal from the digital quantity interface 132 on the interface board circuit 13, and outputs the electrical signal from the digital quantity interface 132 on the interface board circuit 13 to the MCU control circuit 121, and the reference signal source circuit 12 includes a signal source instrument 128, and the signal source instrument 128 is connected to the host computer 14 and the MCU control circuit 121, and the photorelay 1221 receives the output signal from the signal source instrument 128 and the electrical signal from the MCU control circuit 121, and the photorelay 1221 outputs the signal to the analog quantity interface 131 on the interface board circuit 13. In the present application, on one hand, the MCU control circuit 121 can output and detect digital quantities on the interface board circuit 13 by connecting at least two photocouplers 1222, and the photorelay 1221 can output and detect analog quantities on the interface board circuit 13 through the signal source instrument 128 and the MCU control circuit 121. The signal source instrument 128 and the MCU control circuit 121 of the present application are directly connected in parallel, and the two parties do not interfere with each other. The digital quantity and analog quantity of the I / O module or control module to be detected can be detected simultaneously, and the multi-channel test of the function detection and correction device 100 can be realized, and multiple modules can be tested at the same time. The function detection and correction device 100 through multi-channel testing can ensure that the I / O module and the control module of the DCS system can work normally under various circumstances. By using the function detection and correction device 100, the user can discover and solve potential problems of the DCS system before actually putting it into production, thereby improving the reliability, performance and stability of the DCS system. The host computer 14 of the present application can control the signal source instrument 128 and the MCU control circuit 121 respectively, and can issue different instructions to the signal source instrument 128 and the MCU control circuit 121 to achieve diversified detection of the I / O module or control module to be detected.
[0021] As an implementation mode, the power detection circuit 124 includes a power interface 1241 to be tested, a voltage divider circuit 1242, a signal amplifier 1243 and an analog-to-digital converter 1244. After the power supply to be tested of the DCS system to be tested is plugged into the power interface 1241 to be tested, the signal is sent to the host computer 14 after passing through the voltage divider circuit 1242, the signal amplifier 1243 and the analog-to-digital converter 1244, so as to detect the power stability of the power supply to be tested of the DCS system to be tested. The analog-to-digital converter 1244 is a hardware module for converting an analog signal into a digital signal. The analog input signal from a sensor or other device is received through the analog-to-digital converter 1244, and the analog input signal is converted into a digital signal, and then the digital signal is transmitted to the host computer 14 for processing and analysis by the host computer 14. The present application can monitor the power status of the I / O module and the control module in real time. Through the power interface 1241 to be tested, the voltage divider circuit 1242, the signal amplifier 1243 and the analog-to-digital converter 1244, the voltage, current and other parameter information of the power supply can be obtained in real time, thereby realizing real-time monitoring of the power status. The voltage divider circuit 1242 is used to change the size of the voltage signal. Its main function is to reduce or increase the voltage amplitude of the signal while keeping the original signal waveform unchanged. The signal amplifier 1243 can amplify the weak signal into a strong signal, so that the signal can reach the destination without distortion during long-distance transmission. The voltage divider circuit 1242 and the signal amplifier 1243 can improve the detection accuracy. The I / O module and control module to be detected are connected to the function detection and correction device 100 through the power supply interface 1241 to be tested, and then the voltage and signal are amplified respectively through the voltage divider circuit 1242 and the signal amplifier 1243, and then the analog signal is converted into a digital signal through the analog-to-digital converter 1244, and finally the digital signal is transmitted to the host computer 14, and the power supply of the I / O module and control module to be detected is analyzed by the host computer 14.
[0022] As an implementation method, the MCU control circuit 121 includes a j-link burning interface 1212. The present application performs serial port burning program firmware upgrade on the MCU control circuit 121 through the host computer 14. For I / O modules or control modules that cannot use serial port burning program firmware upgrade, j-link is used for burning to perform program firmware upgrade. By setting the j-link burning interface 1212 on the MCU control circuit 121, the applicability of the function detection and correction device 100 can be improved.
[0023] As an implementation mode, the host computer 14 includes a USB interface, and the USB interface is connected to the serial port burning interface through an interface adapter. The USB interface on the host computer 14 cannot be directly connected to the serial port burning interface on the MCU control circuit 121, and the USB interface needs to be transferred to the serial port burning interface through the interface adapter. Such a setting does not need to set multiple interfaces on the host computer 14, and only one USB interface needs to be set. The method of converting the USB interface to the serial port burning interface saves the USB interface. The USB on the host computer 14 is first converted to RS-485, and the signal source instrument 128 supports RS-232, so it is also necessary to convert RS-485 to RS-232.
[0024] As an implementation method, the interface board circuit 13 includes a DIO switch circuit for detecting the switch quantity of the detected DIO module. The switching of the input and output modes of the switch quantity of the DIO module can be directly controlled by the single-chip microcomputer. If the switching part of the analog quantity provides 16 channels for independent inspection, the RTD signal and the AIO module need to be controlled separately. For the RTD signal, 3 binary bits can be used for selection. For the AI signal, 4 binary bits are required for selection, and another 4 binary bits are required for AI, AO. After the mode is switched, the input and output pins of the instrument are changed.
[0025] As an implementation method, a control redundant system interface 135 and a control system interface 136 are included between the socket 133 and the network port 134. The socket 133 is connected to the main control module interface 137, and the main control module interface 137 is connected to the host computer 14. The control redundant system interface is an interface for connecting two or more control units to improve the reliability and safety of the connection. The control redundant system interface is composed of two or more physical interfaces, each of which is connected to an independent control unit. The control redundant system is arranged between the socket 133 and the network port 134 to improve the reliability of the connection between the socket 133 and the network port 134, and the main purpose of the redundant system interface is to ensure that when one of the socket 133 and the network port 134 fails, the other can still operate normally, thereby maintaining the normal operation of the socket 133 and the network port 134.
[0026] It should be understood that those skilled in the art can make improvements or changes based on the above description, and all these improvements and changes should fall within the scope of protection of the claims attached to the utility model.
Claims
1. A function detection and correction device for a control system module, characterized in that: include: main body; A reference signal source circuit, the reference signal source circuit is arranged on the main body, the reference signal source circuit comprises an MCU control circuit with a serial port programming interface, a switch array switching circuit for controlling the direction of circuit signals, a power supply for powering the function detection and correction device, and a power supply detection circuit for detecting whether the power supply is normal, and the switch array switching circuit is electrically connected to the MCU control circuit, the power supply and the power supply detection circuit; An interface board circuit, which is arranged on the main body and electrically connected to the switch array switching device. The interface board circuit includes an analog quantity interface, a digital quantity interface, a plurality of sockets and a plurality of network ports. The analog quantity interface and the digital quantity interface are respectively connected to the plurality of sockets, and the sockets are connected to the network ports. The host computer is arranged on the main body and includes a main control module. The main control module is used to control the function detection and correction device. The host computer is connected to the MCU control circuit through the serial port programming interface on the MCU control circuit.
2. A function detection and correction device for a control system module according to claim 1, characterized in that: The switch array switching circuit includes a photorelay and at least two photocouplers, one of which receives an electrical signal from an MCU control circuit and outputs the electrical signal from the MCU control circuit to a digital quantity interface on an interface board circuit, and the other photocoupler receives an electrical signal from a digital quantity interface on an interface board circuit and outputs the electrical signal from the digital quantity interface on the interface board circuit to the MCU control circuit; The reference signal source circuit includes a signal source instrument, which is connected to a host computer and an MCU control circuit. The photorelay receives the output signal from the signal source instrument and the electrical signal from the MCU control circuit, and outputs the signal to an analog interface on the interface board circuit.
3. A function detection and correction device for a control system module according to claim 1, characterized in that: The power detection circuit includes a power supply interface to be tested, a voltage divider circuit, a signal amplifier and an analog-to-digital converter. After the power supply to be tested is plugged into the power supply interface to be tested, the signal is sent to the host computer after passing through the voltage divider circuit, the signal amplifier and the analog-to-digital converter.
4. A function detection and correction device for a control system module according to claim 1, characterized in that: The MCU control circuit includes a j-link programming interface.
5. The function detection and correction device of a control system module according to claim 1, characterized in that: The host computer includes a USB interface, which is connected to the serial port programming interface through an interface adapter.
6. The function detection and correction device of a control system module according to claim 1, characterized in that: The interface board circuit includes a DIO switch circuit for detecting the switch quantity of the detected DIO module.
7. The function detection and correction device of a control system module according to claim 1, characterized in that: The socket and the network port include a control system interface and a control system interface, the interface board circuit includes a main control module interface, the socket is connected to the main control module interface, and the main control module interface is connected to the host computer.
Citation Information
Cited By
Automatic calibration test system and method for analog quantity interface of controller
CN121455130A