Online switching method for redundant signal device
By using micro solid-state relays and HMI screen switching buttons in the online ultrasonic flaw detection equipment of the steel thick plate factory, the shutdown problem caused by the failure of the long wheel measuring equipment is solved, and the production efficiency is improved and the impact on production logistics is reduced.
Patent Information
- Application Number
- CN202411178514.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-27
- Publication Date
- 2024-11-29
Smart Images

Figure CN119045716A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of fault processing, and in particular to an online switching method for a redundant signal device. Background Art
[0002] The UST online ultrasonic flaw detection equipment of a steel thick plate plant is located behind the cold straightening machine. It is mainly used for online flaw detection of steel plates coming from the cold straightening line. Four length measuring wheel devices are distributed on the center line below the original UST main roller, which are used to track and process the real-time position of the steel plate during flaw detection, and connect the two flaw detection trolleys to feedback the map signal of the upper computer to achieve an accurate description of the quality map of the incoming steel plate; because the four length measuring wheel devices are located below the UST roller, the water vapor here is large and humid, and the environmental conditions are relatively harsh, which has a great impact on the stable operation of the equipment. Due to the frequent failures caused by the length measuring wheel equipment, the equipment needs to be stopped for processing each time, and the equipment processing takes a long time, generally requiring more than half an hour of shutdown, which seriously affects production logistics and cold straightening warehousing.
[0003] For the above production conditions, please refer to Figure 1 , Figure 1 It shows a schematic diagram of the position distribution of the measuring wheel equipment in the prior art. It was found through inspection of the actual production process that 95% of the flaw detection steel plates only use the first lower measuring wheel equipment and the fourth lower measuring wheel equipment. Therefore, the equipment personnel currently add a spare measuring wheel equipment above the roller position where the first lower measuring wheel equipment and the fourth lower measuring wheel equipment are located, namely the first upper measuring wheel equipment and the fourth upper measuring wheel equipment. The two sets of measuring wheel equipment corresponding to the upper and lower ones are redundant to each other. When any of the upper and lower measuring wheel equipment fails, the fault handling time can be shortened by switching the connection of the on-site sensor line and manually replacing the encoder signal channel. However, the existing technical method still requires shutdown processing, and the shutdown processing time is still more than 20 minutes, which still has a large impact on production logistics. Summary of the invention
[0004] The purpose of the present invention is to provide an online switching method for redundant signal devices, which can realize the synchronous online switching of encoder signal channels and control logic functions without stopping the equipment, without other on-site intervention processing, so as to achieve the purpose of quickly putting spare length measuring wheel equipment into use and improve the efficiency of production line flaw detection operations.
[0005] In order to achieve the above object, the present invention adopts the following technical solution: A method for online switching of a redundant signal device comprises the following steps: S1, hardware configuration, its purpose is to realize the control command output of switching the online signal channel to the standby loop channel, the specific operation is: set a relay component, the relay component includes three micro solid-state relays, connect the A, B, Z three signal channels of the upper measuring wheel encoder to the normally open contacts of the three micro solid-state relays respectively, and then connect the A, B, Z three signal channels of the lower measuring wheel encoder to the normally closed contacts of the three micro solid-state relays respectively; The hardware operating status includes the following: When the host computer controls the relay component to output a command of 0, the normally closed contact of the micro solid-state relay is closed, the normally open contact is disconnected, and the currently working encoder is switched to the lower measuring long wheel encoder; When the host computer controls the relay component to output a command of 1, the normally open contact of the micro solid-state relay closes, the normally closed contact opens, and the currently working encoder switches to the upper measuring wheel encoder; S2, software configuration, its purpose is to add a switch button on the HMI screen of the host computer through the program to control the input of the idle position signal of the upper and lower length measuring wheel devices and the switching of the cylinder action control signal. The specific operation is: the program adds a bool variable, the bool variable is set as the connection variable of the HMI screen switch button, and the bool variable is assigned a value by clicking the switch button of the HMI screen; The software running status includes the following situations: When the bool variable is 0, the host computer switches the current length measuring wheel encoder signal channel to the lower length measuring wheel encoder signal channel, and the program executes the cylinder action signal logic of the lower length measuring wheel device and stops the idle position signal input logic of the lower length measuring wheel device; When the bool variable is 1, the host computer switches the current length measuring wheel encoder signal channel to the upper length measuring wheel encoder signal channel, the program executes the cylinder action signal logic of the upper length measuring wheel device, and stops the idle position signal input logic of the upper length measuring wheel device; S3. Online switching of equipment: The upper measuring long wheel equipment and the lower measuring long wheel equipment are redundant with each other. When one of the upper measuring long wheel equipment and the lower measuring long wheel equipment is detected to be faulty, click the switch button on the HMI screen, and the other one switches from the redundant standby state to the working state.
[0006] Furthermore, in the S2, a trigger event is added to the switch button of the HMI screen through the program, and the trigger event includes a right-click event and a left-click event. When the host computer detects a right-click event on the switch button, the bool variable is assigned a value of 0, and when the host computer detects a left-click event on the switch button, the bool variable is assigned a value of 1.
[0007] Furthermore, in the above-mentioned S2, a text display event is added to the switch button of the HMI screen through a program, and when it is detected that the mouse arrow is hovering over the switch button of the HMI screen, a text prompt of the operation instruction is displayed.
[0008] The beneficial effects of the present invention are as follows: when one of the redundant length measuring wheel devices on the upper and lower sides of the UST roller fails, the present invention can realize one-key control of the length measuring wheel device control system through the HMI screen of the host computer, realize synchronous online switching of the encoder signal channel and the control logic function, and do not require other on-site intervention processing, greatly reducing the time for fault downtime processing, achieving the purpose of quickly putting the spare length measuring wheel device into use, improving the efficiency of the production line flaw detection operation, reducing the impact of the failure on the production logistics, and at the same time not occupying the original hardware resources, without the need to add new hardware channels, saving the cost of equipment hardware transformation. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] Figure 1 It is a schematic diagram of the location distribution of the length measuring wheel equipment.
[0010] Figure 2 Schematic diagram of a control system provided by an online switching method for redundant signal devices according to an embodiment of the present invention.
[0011] Figure 3 It is a hardware configuration circuit diagram provided by the online switching method of redundant signal devices according to an embodiment of the present invention.
[0012] Figure 4 It is an electrical schematic diagram of the coil part of a relay assembly provided by the online switching method of a redundant signal device according to an embodiment of the present invention.
[0013] The reference numerals are as follows: 1: First, the measuring wheel equipment; 2: The first measuring wheel device; 3: The second lower length measuring wheel device; 4: The third lower length measuring wheel device; 5: The fourth measuring wheel device; 6: The fourth measuring wheel device; 7: Steel plate; 8: First upper measuring wheel encoder; 9: The first lower measuring wheel encoder; 10: Second lower measuring wheel encoder; 11: The third lower measuring wheel encoder; 12: Fourth upper length measuring wheel encoder; 13: Fourth lower length measuring wheel encoder; 14: Relay assembly; 15a, 15b: Normally open contacts of micro solid-state relay; 16a, 16b: Normally closed contacts of micro solid-state relay. DETAILED DESCRIPTION
[0014] The technical solutions in the embodiments of the present invention will be described below with reference to the accompanying drawings.
[0015] Please refer to Figure 1 , Figure 2 , Figure 3 and Figure 4 Before the UST online ultrasonic flaw detection device performs flaw detection on the steel plate 7, the following steps of an online switching method of a redundant signal device of the present invention are used as preliminary preparation for fault processing: S1, hardware configuration, its purpose is to realize the control command output of switching the online signal channel to the backup loop channel, the specific operation is: set the relay assembly 14 for the first upper length measuring wheel encoder 8 and the fourth upper length measuring wheel encoder 12 respectively, the relay assembly 14 includes three micro solid-state relays; the three signal channels A, B, and Z of the first upper length measuring wheel encoder 8 are respectively connected to the normally open contacts 15a of the three micro solid-state relays, and the three signal channels A, B, and Z of the first lower length measuring wheel encoder 9 are respectively connected to the normally closed contacts 16a of the three micro solid-state relays; the three signal channels A, B, and Z of the fourth upper length measuring wheel encoder 12 are respectively connected to the normally open contacts 15b of the three micro solid-state relays, and the three signal channels A, B, and Z of the fourth lower length measuring wheel encoder 13 are respectively connected to the normally closed contacts 16b of the three micro solid-state relays; The hardware operating status includes the following: When the host computer controls the relay assembly 14 to output a command of 0, the normally closed contacts 16a and 16b of the micro solid-state relay are closed, the normally open contacts 15a and 15b are disconnected, and the currently working encoder is switched to the first lower length measuring wheel encoder 9 and the fourth lower length measuring wheel encoder 13; When the host computer controls the relay component 14 to output a command of 1, the normally open contacts 15a and 15b of the micro solid-state relay are closed, and the normally closed contacts 16a and 16b are disconnected, and the currently working encoder is switched to the upper length measuring wheel encoder; the currently working encoder is switched to the first upper length measuring wheel encoder 8 and the fourth upper length measuring wheel encoder 12; S2, software configuration, its purpose is to add a switch button on the HMI screen of the host computer through the program to control the input of the idle position signal of the first upper length measuring wheel device 1, the first lower length measuring wheel device 2, the fourth upper length measuring wheel device 5, and the fourth lower length measuring wheel device 6 and the switching of the cylinder action control signal. The specific operation is: the program adds a bool variable, the bool variable is set as the connection variable of the HMI screen switch button, and the bool variable is assigned a value by clicking the switch button of the HMI screen; The software running status includes the following situations: When the bool variable is 0, the host computer switches the current length measuring wheel encoder signal channel to the signal channel of the first lower length measuring wheel encoder 9 and the fourth lower length measuring wheel encoder 13, and the program executes the cylinder action signal logic of the first lower length measuring wheel device 2 and the fourth lower length measuring wheel device 6, and stops the idle position signal input logic of the first lower length measuring wheel device 2 and the fourth lower length measuring wheel device 6; When the bool variable is 1, the host computer switches the current length measuring wheel encoder signal channel to the signal channel of the first upper length measuring wheel encoder 8 and the fourth upper length measuring wheel encoder 12, and the program executes the cylinder action signal logic of the first upper length measuring wheel device 1 and the fourth upper length measuring wheel device 5, and stops the idle position signal input logic of the first upper length measuring wheel device 1 and the fourth upper length measuring wheel device 5; S3. Online switching of equipment: the first upper long measuring wheel device 1 and the fourth upper long measuring wheel device 5 form a group of upper long measuring wheel devices, the first lower long measuring wheel device 2 and the fourth lower long measuring wheel device 6 form a group of lower long measuring wheel devices, and the upper long measuring wheel devices and the lower long measuring wheel devices are redundant with each other. When it is detected that one of the upper long measuring wheel devices and the lower long measuring wheel devices fails, click the switch button on the HMI screen and the other group switches from the redundant standby state to the working state.
[0016] Among them, the specific implementation process of online equipment switching is as follows: when the UST online ultrasonic flaw detection equipment is performing normal flaw detection on steel plates, the lower measuring wheel device is in working condition. At this time, the signal channels of the upper measuring wheel encoder and the lower measuring wheel encoder are not switched. At the same time, the control logic of the lower measuring wheel device is still executed inside the program, and the upper measuring wheel device is in redundant standby condition. When a fault of the lower measuring wheel device is detected, if the machine is not shut down for processing, the switch button on the HMI screen can be used to switch to the upper measuring wheel device with one click. The signal channel of the currently working measuring wheel encoder is switched to the signal channel of the upper measuring wheel encoder, and the control logic of the upper measuring wheel device is executed inside the program. At this time, the upper measuring wheel device is switched from the redundant standby condition to the working condition to participate in the flaw detection operation of the steel plate.
[0017] It should be noted that when one of the redundant length measuring wheel devices on the upper and lower sides of the UST roller fails, the present invention can realize one-key control of the length measuring wheel device control system through the HMI screen of the host computer, realize synchronous online switching of the encoder signal channel and the control logic function, and do not require other on-site intervention processing, greatly reducing the time for fault downtime processing, achieving the purpose of quickly putting the spare length measuring wheel device into use, improving the efficiency of the production line flaw detection operation, reducing the impact of the failure on the production logistics, and at the same time not occupying the original hardware resources, without the need to add new hardware channels, saving the cost of equipment hardware transformation; It is important to understand that during planned downtime, the faulty length measuring wheel equipment can be repaired or replaced so that it can be put back into production logistics.
[0018] It should be noted that the specific implementation of the present method is not limited to the first upper length measuring wheel device 1, the first lower length measuring wheel device 2, the fourth upper length measuring wheel device 5, and the fourth lower length measuring wheel device 6. According to the actual needs of the flaw detection production line, the second lower length measuring wheel device 3 and the third lower length measuring wheel device 4 can be adjusted and configured accordingly based on the present method to optimize production logistics.
[0019] Furthermore, in the S2, a trigger event is added to the switch button of the HMI screen through the program, and the trigger event includes a right-click event and a left-click event. When the host computer detects a right-click event on the switch button, the bool variable is assigned a value of 0, and when the host computer detects a left-click event on the switch button, the bool variable is assigned a value of 1.
[0020] Furthermore, in the above-mentioned S2, a text display event is added to the switch button of the HMI screen through a program, and when it is detected that the mouse arrow is hovering over the switch button of the HMI screen, a text prompt of the operation instruction is displayed.
Claims
1. A method for online switching of redundant signal devices, Features: The following steps are involved: S1, hardware configuration, its purpose is to realize the control command output of switching the online signal channel to the standby loop channel, the specific operation is: set a relay component, the relay component includes three micro solid-state relays, connect the A, B, Z three signal channels of the upper measuring wheel encoder to the normally open contacts of the three micro solid-state relays respectively, and then connect the A, B, Z three signal channels of the lower measuring wheel encoder to the normally closed contacts of the three micro solid-state relays respectively; The hardware operating status includes the following: When the host computer controls the relay component to output a command of 0, the normally closed contact of the micro solid-state relay is closed, the normally open contact is disconnected, and the currently working encoder is switched to the lower measuring long wheel encoder; When the host computer controls the relay component to output a command of 1, the normally open contact of the micro solid-state relay closes, the normally closed contact opens, and the currently working encoder switches to the upper measuring wheel encoder; S2, software configuration, its purpose is to add a switch button on the HMI screen of the host computer through the program to control the input of the idle position signal of the upper and lower length measuring wheel devices and the switching of the cylinder action control signal. The specific operation is: the program adds a bool variable, the bool variable is set as the connection variable of the HMI screen switch button, and the bool variable is assigned a value by clicking the switch button of the HMI screen; The software running status includes the following situations: When the bool variable is 0, the host computer switches the current length measuring wheel encoder signal channel to the lower length measuring wheel encoder signal channel, and the program executes the cylinder action signal logic of the lower length measuring wheel device and stops the idle position signal input logic of the lower length measuring wheel device; When the bool variable is 1, the host computer switches the current length measuring wheel encoder signal channel to the upper length measuring wheel encoder signal channel, the program executes the cylinder action signal logic of the upper length measuring wheel device, and stops the idle position signal input logic of the upper length measuring wheel device; S3. Online switching of equipment: The upper measuring long wheel equipment and the lower measuring long wheel equipment are redundant with each other. When one of the upper measuring long wheel equipment and the lower measuring long wheel equipment is detected to be faulty, click the switch button on the HMI screen, and the other one switches from the redundant standby state to the working state.
2. The method for online switching of redundant signal devices according to claim 1, Features: In the S2, a trigger event is added to the switch button of the HMI screen through a program. The trigger event includes a right-click event and a left-click event. When the host computer detects a right-click event on the switch button, the bool variable is assigned a value of 0. When the host computer detects a left-click event on the switch button, the bool variable is assigned a value of 1.
3. The method for online switching of redundant signal devices according to claim 1 or 2, Features: In the above-mentioned S2, a text display event is added to the switch button of the HMI screen through a program, and when it is detected that the mouse arrow is hovering over the switch button of the HMI screen, a text prompt of the operation instruction is displayed.
