Wincc-based automatic control system test diagnosis device and method

By designing a wincc-based automated control system test and diagnosis device, using intermediate relays to simulate feedback signals and monitor them in the upper computer WinCC, the problem of low fault positioning efficiency in the existing technology is solved, and fast and efficient troubleshooting and functional verification are achieved.

CN120029221APending Publication Date: 2025-05-23HIWING TECH ACAD OF CASIC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311565963.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-22
Publication Date
2025-05-23

AI Technical Summary

Technical Problem

In automated control systems, it is difficult for the prior art to quickly locate faults, especially when feedback signals cannot be received, and the lack of efficient diagnostic methods leads to inefficiency.

Method used

A wincc-based automated control system test and diagnostic device is designed, which includes a controller, distributed I/O, multiple intermediate relays, upper computers and switches. Communication connection is established through the PROFINET communication protocol and TCP/IP protocol, and feedback signals are simulated using the intermediate relay, and whether the input of the controller is received in the upper computer WinCC.

Benefits of technology

It realizes rapid positioning of fault conditions, determines signal reception problems or equipment feedback problems, improves troubleshooting efficiency, and provides functional verification methods during the installation and debugging stage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120029221A_ABST
    Figure CN120029221A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of automatic control, and discloses an automatic control system test diagnosis device and method based on wincc. The device comprises a controller, a distributed I / O, a plurality of intermediate relays, an upper computer and a switch, the controller, the distributed I / O and the upper computer are connected with the switch, and a plurality of output points of the distributed I / O are connected with coils of the intermediate relays in a one-to-one correspondence mode. Normally open contacts of the multiple intermediate relays are connected with multiple input points of the controller in a one-to-one correspondence mode, the upper computer is used for operating software wincc to achieve picture monitoring, the controller is used for outputting control signals, and the control signals are used for controlling output points of the distributed I / O to output high level. A coil of the intermediate relay outputs high level through an output point of the distributed I / O to be powered on, and a normally open contact of the intermediate relay is driven to be closed to be connected to an input point of the controller so as to provide an analog digital quantity feedback signal to the controller. Therefore, debugging and troubleshooting can be carried out in time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of automatic control technology, and in particular to a WinCC-based automatic control system test and diagnosis device and method. Background Art

[0002] In the field of automation control, PLC (Programmable Logic Controller) is an important part of the entire industrial control system. In industrial sites, various electrical equipment and devices need to be connected to PLC to upload digital signals or communication signals to achieve equipment status feedback. In actual application, some electrical equipment may not be able to receive feedback signals. At this time, it is necessary to quickly locate the fault to determine whether it is a problem with the signal reception of the control system or a problem with the signal feedback of the equipment.

[0003] In the prior art, temporary wiring is often performed at the industrial site, and dry contacts are connected on the control system side. However, this method requires a large number of wiring operations, the process is cumbersome and lacks intuitive result display, and is inefficient.

[0004] Under the current situation of industrial sites, when the feedback signal cannot be received, it is difficult to quickly locate the source of the fault, and the review and troubleshooting of the on-site status equipment needs to be carried out one by one, which is inefficient. In addition, during the installation and commissioning stage, there is a lack of effective means to verify the function of the control system in advance. Summary of the invention

[0005] The invention provides a WinCC-based automatic control system test and diagnosis device and method, which can solve the technical problems in the prior art.

[0006] The present invention provides a WinCC-based automatic control system test and diagnosis device, wherein the device comprises a controller, a distributed I / O, a plurality of intermediate relays, a host computer and a switch, wherein the controller, the distributed I / O and the host computer are connected to the switch, a plurality of output points of the distributed I / O are connected to respective coils of a plurality of intermediate relays in a one-to-one correspondence, a plurality of normally open contacts of the intermediate relays are connected to a plurality of input points of the controller in a one-to-one correspondence, and the host computer is used to run software WinCC to realize screen monitoring,

[0007] The controller is used to output a control signal, and the control signal is used to control the output point of the distributed I / O to output a high level. The coil of the intermediate relay is energized by the high level output of the output point of the distributed I / O, driving the normally open contacts of the intermediate relay to close and connect to the input point of the controller to provide an analog digital feedback signal to the controller.

[0008] Preferably, the device further comprises a 24V power supply connected to each normally open contact of the plurality of intermediate relays.

[0009] Preferably, the communication connection between the controller and the distributed I / O is established through relevant configuration using the PROFINET communication protocol.

[0010] Preferably, the relevant configuration includes: performing device configuration on the controller, allocating a PROFINET device name and a device number to the distributed I / O, and setting the IP address of the controller and the distributed I / O to the same network segment.

[0011] Preferably, the TCP / IP protocol is used to establish a communication connection between the host computer and the controller through the IP address of the controller.

[0012] Preferably, the host computer is used to receive a user input signal, and the controller outputs a control signal according to the user input signal.

[0013] The present invention also provides a WinCC-based automatic control system test and diagnosis method, wherein the method comprises:

[0014] Connecting the controller, the distributed I / O and the host computer to the switch, connecting the multiple output points of the distributed I / O to the coils of the multiple intermediate relays in a one-to-one correspondence, and connecting the normally open contacts of the multiple intermediate relays to the multiple input points of the controller in a one-to-one correspondence;

[0015] The host computer is used to run the software wincc to realize screen monitoring;

[0016] Utilizing the controller to output a control signal, wherein the control signal is used to control an output point of the distributed I / O to output a high level;

[0017] The coil of the intermediate relay is energized by outputting a high level through the output point of the distributed I / O, driving the normally open contact of the intermediate relay to close and connect to the input point of the controller to provide an analog digital feedback signal to the controller.

[0018] Preferably, the communication connection between the controller and the distributed I / O is established through relevant configuration using the PROFINET communication protocol.

[0019] Preferably, the relevant configuration includes: performing device configuration on the controller, allocating a PROFINET device name and a device number to the distributed I / O, and setting the IP address of the controller and the distributed I / O to the same network segment.

[0020] Preferably, the TCP / IP protocol is used to establish a communication connection between the host computer and the controller through the IP address of the controller.

[0021] Through the above technical solution, the distributed I / O and the intermediate relay can be used as an integrated device and connected to the controller. The host computer WinCC (Windows Control Center) is used to realize screen monitoring. The controller can control each output point of the distributed I / O. The corresponding output point is connected to the coil of the intermediate relay. The coil is energized to drive the contact of the intermediate relay to move, and the contact is connected to the corresponding input point of the controller in turn. Therefore, the feedback input signal of the actual device can be simulated by the closing of the contact. At the same time, it can be observed in the host computer WinCC whether the corresponding input end of the controller receives the signal, so that debugging and troubleshooting can be carried out in time. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The included drawings are used to provide a further understanding of the embodiments of the present invention, which constitute a part of the specification, are used to illustrate the embodiments of the present invention, and together with the text description, explain the principles of the present invention. Obviously, the drawings in the following description are only some embodiments of the present invention, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0023] Figure 1 A schematic diagram of a WinCC-based automatic control system test and diagnosis device according to an embodiment of the present invention is shown;

[0024] Figure 2 A schematic diagram of a host computer monitoring screen according to an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0025] It should be noted that, in the absence of conflict, the embodiments in this application and the features in the embodiments can be combined with each other. The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. The following description of at least one exemplary embodiment is actually only illustrative and is by no means intended to limit the present invention and its application or use. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0026] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present application. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprise" and / or "include" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.

[0027] Unless otherwise specifically stated, the relative arrangement of the parts and steps described in these embodiments, numerical expressions and numerical values ​​do not limit the scope of the present invention. At the same time, it should be understood that, for ease of description, the sizes of the various parts shown in the accompanying drawings are not drawn according to the actual proportional relationship. The technology, method and equipment known to ordinary technicians in the relevant field may not be discussed in detail, but in appropriate cases, the technology, method and equipment should be regarded as a part of the authorization specification. In all examples shown and discussed here, any specific value should be interpreted as being merely exemplary, rather than as a limitation. Therefore, other examples of exemplary embodiments may have different values. It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once a certain item is defined in an accompanying drawing, it does not need to be further discussed in subsequent drawings.

[0028] Figure 1 A schematic diagram of a WinCC-based automatic control system test and diagnosis device according to an embodiment of the present invention is shown.

[0029] like Figure 1 As shown, an embodiment of the present invention provides an automatic control system test and diagnosis device based on wincc, wherein the device includes a controller, a distributed I / O, a plurality of intermediate relays, a host computer and a switch, wherein the controller, the distributed I / O and the host computer are connected to the switch, a plurality of output points of the distributed I / O are connected to the respective coils of the plurality of intermediate relays in a one-to-one correspondence, a plurality of normally open contacts of the respective intermediate relays are connected to the plurality of input points of the controller in a one-to-one correspondence, and the host computer is used to run the software wincc to realize screen monitoring,

[0030] The controller is used to output a control signal, and the control signal is used to control the output point of the distributed I / O to output a high level. The coil of the intermediate relay is energized by the high level output of the output point of the distributed I / O, driving the normally open contacts of the intermediate relay to close and connect to the input point of the controller to provide an analog digital feedback signal to the controller.

[0031] That is, the controller can be used to control the output point of the distributed I / O to output a high level and to receive a feedback signal.

[0032] Through the above technical solution, the distributed I / O and the intermediate relay can be used as an integrated device and connected to the controller. The host computer WinCC (Windows Control Center) is used to realize screen monitoring. The controller can control each output point of the distributed I / O. The corresponding output point is connected to the coil of the intermediate relay. The coil is energized to drive the contact of the intermediate relay to move, and the contact is connected to the corresponding input point of the controller in turn. Therefore, the feedback input signal of the actual device can be simulated by the closing of the contact. At the same time, it can be observed in the host computer WinCC whether the corresponding input end of the controller receives the signal, so that debugging and troubleshooting can be carried out in time.

[0033] For example, the controller may be a programmable logic controller (PLC), and the Ethernet communication interface of the PLC, the Ethernet communication interface of the distributed I / O, and the Ethernet interface of the host computer may all be connected to the switch through a network cable. The switch is used to provide a communication link between network nodes.

[0034] by Figure 1 For example, the number of output points of the distributed I / O may be 8 (Q0.0-Q0.7), and one output point may be connected to the coil of an intermediate relay by hard wiring (for example, the coil of intermediate relay 1 is connected to output point Q0.0, the coil of intermediate relay 2 is connected to output point Q0.1, the coil of intermediate relay 3 is connected to output point Q0.2, the coil of intermediate relay 4 is connected to output point Q0.3, the coil of intermediate relay is connected to output point Q0.4, the coil of intermediate relay 6 is connected to output point Q0.5, the coil of intermediate relay 7 is connected to output point Q0.6, the coil of intermediate relay 8 is connected to output point Q0.7 connection); the number of normally open contacts of the intermediate relay can be 8 (S1-S8), the number of input points of the PLC can be 8 (I0.0-I0.7), and one normally open contact is connected to one input point of the PLC through hard wiring (for example, normally open contact S1 is connected to input point I0.0, normally open contact S2 is connected to input point I0.1, normally open contact S3 is connected to input point I0.2, normally open contact S4 is connected to input point I0.3, normally open contact S5 is connected to input point I0.4, normally open contact S6 is connected to input point I0.5, normally open contact S7 is connected to input point I0.6, and normally open contact S8 is connected to input point I0.7).

[0035] According to an embodiment of the present invention, the device further comprises a 24V power supply connected to each normally open contact of the plurality of intermediate relays.

[0036] The power source may be connected to the normally open contacts of each of the plurality of intermediate relays through hard wiring.

[0037] Thus, electrical energy can be provided for the input circuit of the controller.

[0038] According to an embodiment of the present invention, using the PROFINET communication protocol, a communication connection between the controller and the distributed I / O is established through relevant configurations.

[0039] According to an embodiment of the present invention, the relevant configurations include: performing device configuration on the controller, assigning PROFINET device names and device numbers to the distributed I / O, and setting the IP addresses of the controller and the distributed I / O to the same network segment.

[0040] Thus, a PROFINET communication connection between the controller and the distributed I / O can be established through the above configurations, and then the mapping addresses of the input / output points of the distributed I / O can be read.

[0041] According to an embodiment of the present invention, using the TCP / IP protocol, a communication connection between the host computer and the controller is established through the IP address of the controller.

[0042] According to an embodiment of the present invention, the host computer is used to receive user input signals, and the controller outputs control signals according to the user input signals.

[0043] Specifically, a main interface can be established in Wincc, and multiple buttons are set in the interface for human-machine interaction. Each button corresponds to the address of the output points (Q0.0 - Q0.7) of the distributed I / O respectively. The states of the indicator lights associated with each button correspond to the addresses of the input points (I0.0 - I0.7) of the PLC respectively.

[0044] For example, when the button I0.0 (i.e., the user input signal) is pressed, the output point Q0.0 of the distributed I / O is set to "logical 1", the coil of the intermediate relay 1 is turned on, and its associated normally open contact S1 is closed. Then, the input point I0.0 of the PLC can receive the input signal, and the corresponding indicator light in the Wincc section will light up, indicating that the digital quantity signal has been successfully received.

[0045] The embodiment of the present invention also provides a method for testing and diagnosing an automated control system based on wincc. Among them, the method includes:

[0046] Connect the controller, the distributed I / O, and the host computer to the switch, connect the multiple output points of the distributed I / O to the coils of the multiple intermediate relays one by one, and connect the normally open contacts of the multiple intermediate relays to the multiple input points of the controller one by one;

[0047] Use the host computer to run the software wincc to achieve screen monitoring;

[0048] Utilizing the controller to output a control signal, wherein the control signal is used to control an output point of the distributed I / O to output a high level;

[0049] The coil of the intermediate relay is energized by outputting a high level through the output point of the distributed I / O, driving the normally open contact of the intermediate relay to close and connect to the input point of the controller to provide an analog digital feedback signal to the controller.

[0050] Through the above technical solution, the distributed I / O and the intermediate relay can be connected to the controller as an integrated device. The host computer WinCC (Windows Control Center) is used to realize screen monitoring. The controller can control each output point of the distributed I / O. The corresponding output point is connected to the coil of the intermediate relay. The coil is energized to drive the contact of the intermediate relay to move, and the contact is connected to the corresponding input point of the controller in turn. Therefore, the feedback input signal of the actual device can be simulated by the closing of the contact. At the same time, it can be observed in the host computer WinCC whether the corresponding input end of the controller receives the signal, so that debugging and troubleshooting can be carried out in time.

[0051] According to an embodiment of the present invention, the communication connection between the controller and the distributed I / O is established through relevant configuration using the PROFINET communication protocol.

[0052] According to an embodiment of the present invention, the relevant configuration includes: performing device configuration on the controller, assigning a PROFINET device name and device number to the distributed I / O, and setting the IP address of the controller and the distributed I / O to the same network segment.

[0053] According to an embodiment of the present invention, a communication connection between the host computer and the controller is established by using the TCP / IP protocol through the IP address of the controller.

[0054] The above method and Figure 1 The device described above corresponds to the specific example. Figure 1 The description of the device will not be repeated here.

[0055] Some equipment and instruments in the industrial field have RS485 serial bus communication function. In the main interface of WinCC, the communication fault indication area can simulate in advance whether there is a fault in the communication on the PLC side, such as Figure 2As shown. The station number and baud rate of the slave station can be configured in the Modsim32 software. The host computer is connected to the USB to RS485 converter, which is connected to the RS485 communication interface of the PLC through a twisted pair. Call the communication instruction block in the PLC to establish serial communication with Modsim32. By detecting the communication status in the host computer, you can check whether the communication is successful. In the case where there are multiple communication devices on the industrial site, each communication device side can be set with a corresponding slave station number. Accordingly, in the Modsim32 software, this scenario can be simulated by changing the slave station number. If the simulated communication is successful, the status indicator corresponding to the slave station will light up. If the communication is unsuccessful, the status indicator will not light up. Through this method, you can quickly locate whether the communication function on the control system side is normal. Under the premise of a field communication failure, you can quickly locate the source of the fault, which is simple and efficient.

[0056] It can be seen from the above embodiments that the WinCC-based automated control system test and diagnosis device and method described in the present invention can quickly locate the fault situation, thereby determining whether it is a signal reception problem of the control system or a problem with the signal feedback of the electrical equipment body. In addition, before the electrical equipment is installed in the industrial site, the system and method can be used to simulate the collected feedback signal in advance to ensure the functional completeness of the control system. In addition, the present invention, combined with the host computer monitoring screen, can easily and quickly simulate signal acquisition, can quickly locate in terms of troubleshooting, and is convenient for debugging and troubleshooting.

[0057] In the description of the present invention, it is necessary to understand that the directions or positional relationships indicated by directional words such as "front, back, up, down, left, right", "lateral, vertical, perpendicular, horizontal" and "top, bottom" are usually based on the directions or positional relationships shown in the drawings. They are only for the convenience of describing the present invention and simplifying the description. Unless otherwise specified, these directional words do not indicate or imply that the devices or elements referred to must have a specific direction or be constructed and operated in a specific direction. Therefore, they cannot be understood as limiting the scope of protection of the present invention. The directional words "inside and outside" refer to the inside and outside relative to the contours of each component itself.

[0058] For ease of description, spatially relative terms such as "above", "above", "on the upper surface of", "above", etc. may be used here to describe the spatial positional relationship between a device or feature and other devices or features as shown in the figure. It should be understood that spatially relative terms are intended to include different orientations of the device in use or operation in addition to the orientation described in the figure. For example, if the device in the accompanying drawings is inverted, the device described as "above other devices or structures" or "above other devices or structures" will be positioned as "below other devices or structures" or "below other devices or structures". Thus, the exemplary term "above" can include both "above" and "below". The device can also be positioned in other different ways (rotated 90 degrees or in other orientations), and the spatially relative descriptions used here are interpreted accordingly.

[0059] In addition, it should be noted that the use of terms such as "first" and "second" to limit components is only for the convenience of distinguishing the corresponding components. If not otherwise stated, the above terms have no special meaning and therefore cannot be understood as limiting the scope of protection of the present invention.

[0060] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A test and diagnosis device for automatic control system based on wincc, It is characterized in that The device comprises a controller, a distributed I / O, a plurality of intermediate relays, a host computer and a switch. The controller, the distributed I / O and the host computer are connected to the switch. The plurality of output points of the distributed I / O are connected to the coils of the plurality of intermediate relays in a one-to-one correspondence. The normally open contacts of the plurality of intermediate relays are connected to the plurality of input points of the controller in a one-to-one correspondence. The host computer is used to run the software wincc to realize screen monitoring. The controller is used to output a control signal, and the control signal is used to control the output point of the distributed I / O to output a high level. The coil of the intermediate relay is energized by the high level output of the output point of the distributed I / O, driving the normally open contacts of the intermediate relay to close and connect to the input point of the controller to provide an analog digital feedback signal to the controller.

2. The device according to claim 1, It is characterized in that The device also includes a 24V power supply connected to each normally open contact of the plurality of intermediate relays.

3. The device according to claim 2, It is characterized in that The communication connection between the controller and the distributed I / O is established through relevant configuration using the PROFINET communication protocol.

4. The device according to claim 3, It is characterized in that The related configuration includes: performing device configuration on the controller, allocating a PROFINET device name and a device number to the distributed I / O, and setting the IP addresses of the controller and the distributed I / O to the same network segment.

5. The device according to claim 4, It is characterized in that The TCP / IP protocol is used to establish a communication connection between the host computer and the controller through the IP address of the controller.

6. The device according to any one of claims 1 to 5, It is characterized in that The host computer is used to receive user input signals, and the controller outputs control signals according to the user input signals.

7. A test and diagnosis method for automatic control system based on wincc, It is characterized in that The method includes: Connecting the controller, the distributed I / O and the host computer to the switch, connecting the multiple output points of the distributed I / O to the coils of the multiple intermediate relays in a one-to-one correspondence, and connecting the normally open contacts of the multiple intermediate relays to the multiple input points of the controller in a one-to-one correspondence; The host computer is used to run the software wincc to realize screen monitoring; Utilizing the controller to output a control signal, wherein the control signal is used to control an output point of the distributed I / O to output a high level; The coil of the intermediate relay is energized by outputting a high level through the output point of the distributed I / O, driving the normally open contact of the intermediate relay to close and connect to the input point of the controller to provide an analog digital feedback signal to the controller.

8. The method according to claim 7, It is characterized in that The communication connection between the controller and the distributed I / O is established through relevant configuration using the PROFINET communication protocol.

9. The method according to claim 8, It is characterized in that The related configuration includes: performing device configuration on the controller, allocating a PROFINET device name and a device number to the distributed I / O, and setting the IP addresses of the controller and the distributed I / O to the same network segment.

10. The method according to claim 9, It is characterized in that The TCP / IP protocol is used to establish a communication connection between the host computer and the controller through the IP address of the controller.