Electrical control practical training platform based on plc polling scanning and wiring detection method

Through an electrical control training platform based on PLC polling and scanning, and by using a circuit design composed of a PLC control module and relays, automated wiring detection was achieved. This solved the problems of long detection time and high risk of misjudgment in the existing technology, and realized efficient and accurate wiring detection.

CN123182473APending Publication Date: 2026-11-27TIANJIN VOCATIONAL INST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611383867.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2026-08-27
Filing Date
2026-09-08
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing electrical training wiring testing methods suffer from problems such as time-consuming manual verification, high risk of misjudgment, high equipment cost, rigid testing logic that is susceptible to interference, and inability to provide real-time fault feedback. These methods fail to meet the needs of large-scale electrical training for rapid, accurate, safe, and intelligent testing.

Method used

An electrical control training platform based on PLC polling scanning is adopted. Through the circuit design composed of PLC control module and relay, automated wiring detection is realized. The digital input and output channels of PLC control module are used for polling scanning, and the correctness of wiring is judged by combining two polling detections.

Benefits of technology

It achieves highly reliable and accurate automatic fault detection and diagnosis, reduces manual intervention, improves detection efficiency and accuracy, adapts to various types of training circuits, and has a standardized data interaction interface.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123182473A_ABST
    Figure CN123182473A_ABST
Patent Text Reader

Abstract

The application discloses an electrical control practical training platform based on PLC polling scanning and a wiring detection method, and relates to the technical field of electrical control practical training platforms. The electrical control practical training platform comprises an electrical module, a panel and Y electrical elements. The electrical module comprises W electrical components and a PLC control module. Each electrical component comprises a first relay and a wiring post. The application converts the complex circuit connection relationship into a calculable index set, so that automatic fault detection and diagnosis with high reliability and high precision without manual interpretation can be realized in a complex PLC practical training cabinet with parallel jumper wires.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the technical field of electrical control training equipment, specifically relating to an electrical control training platform based on PLC polling and scanning and a wiring detection method. Background Technology

[0002] In practical training courses related to electrical control, such as motor drives and electrical control and PLC applications, students need to complete actual wiring operations on the training terminal block according to the electrical schematic diagram. Verifying the correctness of the wiring is a core step in ensuring the quality of practical training and preventing safety accidents such as equipment short circuits and burnouts. The performance of the verification method directly determines the efficiency of the practical training and the level of operational safety.

[0003] Currently, electrical training wiring detection mainly adopts the following methods, each with significant limitations: (1) Manual visual inspection; relying on teachers to manually compare physical wiring with drawings, batch verification is time-consuming and labor-intensive; the verification results are constrained by subjective experience, with a high risk of missed detection and misjudgment, only supporting static detection after power failure, and unable to provide real-time feedback on faults, resulting in long waiting periods for feedback from students; (2) Multimeter terminal continuity measurement; the full terminal traversal detection cycle is long, only two-point continuity can be determined, unable to match the schematic diagram to verify the circuit logic, and also unable to distinguish fault types such as missing connection, incorrect connection, and redundant wiring, resulting in a large manual operation load and poor detection tolerance; (3) Using dedicated detection chips or microcontroller systems for wiring detection; although this method can achieve automated continuity scanning, the supporting hardware development cost is high, the equipment detection logic is fixed, and it is difficult to adapt to multiple types of training circuits; in addition, the device has weak electromagnetic anti-interference capability, and is easily affected by interference from contactors and frequency converters in the training platform, resulting in false detections. At the same time, the device lacks standardized data interaction interfaces, making it difficult to connect to the training assessment management system.

[0004] In summary, existing testing methods are insufficient to meet the needs of large-scale electrical training for rapid, accurate, safe, and intelligent wiring verification. Summary of the Invention

[0005] To address the shortcomings of existing technologies, the purpose of this invention is to provide an electrical control training platform based on PLC polling and scanning.

[0006] Another objective of this invention is to provide a wiring detection method for an electrical control training platform based on PLC polling scanning.

[0007] The objective of this invention is achieved through the following technical solution.

[0008] An electrical control training platform based on PLC polling scanning includes: an electrical module, a panel, and Y electrical components. The electrical module includes: W electrical components and a PLC control module. Each electrical component includes: a first relay and a terminal block. The W terminal blocks are fixed on the panel, wherein each terminal block contains two wiring sockets.

[0009] Each first relay includes: a first common moving contact, a first normally open stationary contact, a second common moving contact, a second normally open stationary contact, and a normally closed stationary contact; the PLC control module includes: N digital input channels and N digital output channels; for each first relay, the first normally open stationary contact is electrically connected to the i-th digital input channel and the i-th digital output channel respectively, and the second normally open stationary contact is electrically connected to the j-th digital input channel and the j-th digital output channel respectively, i≠j; the normally closed stationary contact is electrically connected to a terminal of an electrical component; the first common moving contact is electrically connected to a terminal socket of the electrical component to which the first relay belongs, and the second common moving contact is electrically connected to another terminal socket of the same terminal;

[0010] Each first relay corresponds to an i-th digital input channel and a j-th digital input channel as an ordered pair (i, j), where different first relays correspond to different ordered pairs (i, j); where i = 1, 2, ..., N1, j = +1、 +2, ..., N;

[0011] Each terminal of each electrical component is electrically connected to a normally closed stationary contact of a first relay, and the normally closed stationary contacts connected to any two terminals of all electrical components are different.

[0012] In the above technical solution, when N is an even number, = When N is odd, or .

[0013] In the above technical solution, each digital input channel of the PLC control module can correspond to one or more electrical components.

[0014] In the above technical solution, the coils of the first relays in the W electrical components are connected in parallel, one end of the coils of all the first relays in the W electrical components is connected to one end of a switch, the other end of the switch is connected to DC 24V+, and the other end of the coils of all the first relays in the W electrical components is connected to DC 0V.

[0015] In the above technical solution, the PLC control module also includes: a digital output channel as a drive output channel and a second relay. One end of the coil of the second relay is connected to DC 0V, and the other end is connected to the drive output channel. The common terminal of the second relay and the normally open terminal of the second relay serve as a switch.

[0016] The wiring detection method of the above-mentioned electrical control training platform based on PLC polling scanning includes the following steps:

[0017] Step 1: Each electrical component has one terminal block corresponding to one wire. The tester uses multiple parallel jumpers to connect the multiple wire blocks according to the "pre-defined connection relationship between Y electrical components". One end of each parallel jumper is connected to two wire sockets belonging to the same wire block, and the other end of the parallel jumper is connected to two wire sockets belonging to another wire block.

[0018] Step 2: Turn on the switch and perform the first round of polling detection. The polling method for each round in the first round of polling detection includes: simultaneously making the i-th and j-th digital output channels of the N digital output channels output high levels, while keeping the remaining N-2 digital output channels of the N digital output channels low levels; reading the level states of the N digital input channels; and using the index set of the digital input channels that read high levels as... After the first round of polling and detection, the index set family S1 is obtained;

[0019] Step 3: Disconnect all parallel jumpers and turn off the switch. The test subject then uses multiple parallel jumpers to connect between multiple terminals according to electrical principles.

[0020] Step 4: Turn on the switch and perform the second round of polling detection. The second round of polling detection uses the same polling sequence as the first round. The polling method for each round in the second round includes: simultaneously making the i-th and j-th digital output channels of the N digital output channels output high levels, while keeping the remaining N-2 digital output channels of the N digital output channels low levels; reading the level status of the N digital input channels; and using the index set of the digital input channels that read high levels as... After the second round of polling and testing, the index set family S2 is obtained.

[0021] Step 5: Compare index set family S1 and index set family S2. If index set family S1 and index set family S2 are completely identical, the test subject is determined to be connected correctly; if index set family S1 and index set family S2 are inconsistent, the test subject is determined to be connected incorrectly.

[0022] The beneficial effects of this invention are as follows:

[0023] This invention transforms complex circuit connections into a computable set of indices, thereby enabling highly reliable, high-precision, and automated fault detection and diagnosis without manual interpretation in complex PLC training cabinets with parallel jumper wires. Attached Figure Description

[0024] Figure 1 The circuit diagram of the electrical control training platform based on PLC polling scanning of the present invention is shown (panel and terminals are not shown).

[0025] Figure 2 This is a circuit diagram (switch open) of W electrical components in the PLC polling scanning-based electrical control training platform of the present invention.

[0026] Figure 3 This is a schematic diagram of the circuit connection of a single electrical component of the present invention;

[0027] Figure 4 This is a circuit diagram (switch on) of W electrical components in the PLC polling scanning-based electrical control training platform of this invention. Detailed Implementation

[0028] The technical solution of the present invention will be described in detail below with reference to the accompanying drawings and embodiments.

[0029] Example 1

[0030] An electrical control training platform based on PLC polling scanning includes: Figure 1 , Figure 2 As shown, the electrical module, panel, and Y electrical components are included. The electrical module includes W electrical components and a PLC control module (PLC). Each electrical component includes a first relay and a terminal block. The W terminals are fixedly mounted on the panel at intervals, wherein each terminal block contains two wiring sockets.

[0031] Each first relay includes: a first common moving contact, a first normally open stationary contact, a second common moving contact, a second normally open stationary contact, and a normally closed stationary contact; the PLC control module includes: N digital input channels and N digital output channels; for each first relay, such as Figure 2 As shown, the first normally open stationary contact is electrically connected to the i-th digital input channel and the i-th digital output channel, respectively; the second normally open stationary contact is electrically connected to the j-th digital input channel and the j-th digital output channel, respectively, i≠j; the normally closed stationary contact is electrically connected to one terminal of the electrical component; the first common moving contact is electrically connected to one terminal of the terminal block in the electrical component to which the first relay belongs, and the second common moving contact is electrically connected to the other terminal of the terminal block;

[0032] Each first relay corresponds to an i-th digital input channel and a j-th digital input channel as an ordered pair (i, j), where different first relays correspond to different ordered pairs (i, j); where i = 1, 2, ..., N1, j = +1、 +2, ..., N;

[0033] When N is even = ;

[0034] When N is an odd number or ;

[0035] Each digital input channel of the PLC control module can correspond to one or more electrical components;

[0036] Each terminal of each electrical component is electrically connected to a normally closed stationary contact of a first relay, and the normally closed stationary contacts connected to any two terminals of all electrical components are different.

[0037] like Figure 1 As shown, the coils of the first relays in the W electrical components are connected in parallel. One end of the coils of all the first relays in the W electrical components is connected to one end of a switch. The other end of the switch is connected to DC 24V+. The other end of the coils of all the first relays in the W electrical components is connected to DC 0V.

[0038] like Figure 1 As shown, the PLC control module also includes: a digital output channel as a drive output channel and a second relay. One end of the coil of the second relay is connected to DC 0V, and the other end is connected to the drive output channel. The common terminal of the second relay and the normally open terminal of the second relay serve as a switch. The PLC control module controls the on / off state of the total load circuit by controlling the coils of W first relays connected in parallel through the drive output channel.

[0039] In one specific embodiment, such as Figure 1 , Figure 2 As shown, the PLC control module is a Siemens S7-1200 series CPU1215C DC / DC / DC. The L terminal of this PLC control module is connected to DC 24V, and the M terminal is connected to DC 0V to provide its operating power. The PLC control module itself has 10 digital output channels and 14 digital input channels. Figure 1The diagram only shows a portion of the digital output channels and digital input channels, requiring no additional IO expansion module configuration. In this embodiment, the N digital input channels used are I0.0 to I0.5 (6 channels in total), and the N digital output channels used are Q0.0 to Q0.5 (6 channels in total); furthermore, digital output channel Q0.6 is configured separately as a driver output channel.

[0040] like Figure 1 As shown, W=9, the first relays in the W electrical components are KA1~KA9, KA10 is the second relay, and the digital output channel Q0.6 controls the closing of the coils of the W first relays KA1~KA9;

[0041] Taking the first relay KA1 as an example, such as Figure 3 As shown, the first normally open stationary contact is "1", the first common moving contact is "2", the normally closed stationary contact is "3", the second common moving contact is "4", and the second normally open stationary contact is "5". The first normally open stationary contact in relay KA1 is electrically connected to digital input channel I0.0 and digital output channel Q0.0 respectively; the second normally open stationary contact is electrically connected to digital input channel I0.3 and digital output channel Q0.3 respectively; the first common moving contact is electrically connected to one wiring socket of terminal X1, and the second common moving contact is electrically connected to the other wiring socket of terminal X1; the normally closed stationary contact is electrically connected to terminal QF-1 of the electrical component.

[0042] The wiring detection method of the above-mentioned electrical control training platform based on PLC polling scanning includes the following steps:

[0043] Step 1: Each electrical component has one terminal block corresponding to one wire. The tester (teacher) uses multiple parallel jumpers to connect the multiple wires on the panel according to the "pre-defined connection relationship between Y electrical components" so that all electrical components are electrically connected through the wires according to the pre-defined connection relationship to form a training circuit. One end of each parallel jumper is connected to two wire sockets belonging to the same wire block, and the other end of the parallel jumper is connected to two wire sockets belonging to another wire block.

[0044] Step 2, turn on the switch, such as... Figure 4 As shown, the first round of polling detection is performed. The polling method in each round of the first round of polling detection includes: simultaneously making the i-th and j-th digital output channels of the N digital output channels output high levels, while keeping the remaining N-2 digital output channels of the N digital output channels low levels; reading the level states of the N digital input channels; and using the index set of the digital input channels that read high levels as... index set At least i and j, index set The indices of the remaining digital input channels, excluding i and j, are determined according to the preset connection relationship; after the first round of polling detection, all... Form an index set family S1;

[0045] Specifically, since each digital input channel of a PLC control module can correspond to one or more electrical components, if the same digital input channel corresponds to multiple electrical components, when the i-th digital output channel and the j-th digital output channel output a high level simultaneously, not only will the i-th and j-th digital input channels read a high level, but also, if the terminals of other digital input channels are electrically connected to the terminals of the i-th and j-th digital input channels through parallel jumpers, these other digital input channels will also read a high level due to electrical connection.

[0046] Step 3: Disconnect all parallel jumpers and turn off the switch. The test subject (student) then uses multiple parallel jumpers to connect between multiple terminals according to electrical principles.

[0047] Step 4, turn on the switch, such as... Figure 4 As shown, a second round of polling detection is performed. The second round of polling detection uses the same polling order as the first round. The method for each round of polling in the second round includes: simultaneously making the i-th and j-th digital output channels of the N digital output channels output high levels, while keeping the remaining N-2 digital output channels low levels; reading the level states of the N digital input channels; and using the index set of the digital input channels that read high levels as... index set At least i and j, index set The indices of the remaining digital input channels, excluding i and j, are determined according to the connections made by the test subject (student) in step 3 using multiple parallel jumpers between multiple terminals based on electrical principles; after the second round of polling testing, all... Form the index set family S2;

[0048] Step 5: Compare index set family S1 and index set family S2. If index set family S1 and index set family S2 are completely identical, the test subject is determined to be connected correctly; if index set family S1 and index set family S2 are inconsistent, the test subject is determined to be connected incorrectly.

[0049] Example 2

[0050] An electrical control training platform based on PLC polling scanning, in addition to Embodiment 1, also includes a human-machine interaction module, which includes:

[0051] The display unit is used to display the comparison result obtained in step 5 (i.e., whether the test subject is connected correctly or incorrectly).

[0052] The input unit is used to receive user input instructions.

[0053] In this embodiment, the human-computer interaction module is an MCGS touchscreen.

[0054] The present invention has been described above by way of example. It should be noted that any simple modifications, alterations or other equivalent substitutions that can be made by those skilled in the art without creative effort without departing from the core of the present invention fall within the protection scope of the present invention.

Claims

1. An electrical control training platform based on PLC polling and scanning, characterized in that, include: The electrical module, panel, and Y electrical components are included. The electrical module includes W electrical components and a PLC control module. Each electrical component includes a first relay and a terminal block. The W terminal blocks are fixed on the panel, wherein each terminal block contains two wiring sockets. Each first relay includes: a first common moving contact, a first normally open stationary contact, a second common moving contact, a second normally open stationary contact, and a normally closed stationary contact; the PLC control module includes: N digital input channels and N digital output channels; for each first relay, the first normally open stationary contact is electrically connected to the i-th digital input channel and the i-th digital output channel respectively, and the second normally open stationary contact is electrically connected to the j-th digital input channel and the j-th digital output channel respectively, i≠j; the normally closed stationary contact is electrically connected to a terminal of an electrical component; the first common moving contact is electrically connected to a terminal socket of the electrical component to which the first relay belongs, and the second common moving contact is electrically connected to another terminal socket of the same terminal; Each first relay corresponds to an i-th digital input channel and a j-th digital input channel as an ordered pair (i, j), where different first relays correspond to different ordered pairs (i, j); where i = 1, 2, ..., N1, j = +1、 +2, ..., N; In all electrical components, the normally closed stationary contacts connected to any two terminals are different.

2. The electrical control training platform according to claim 1, characterized in that, When N is even = When N is odd, or .

3. The electrical control training platform according to claim 1, characterized in that, Each digital input channel of the PLC control module corresponds to one or more electrical components.

4. The electrical control training platform according to claim 1, characterized in that, The coils of the first relays in W electrical components are connected in parallel. One end of the coils of all the first relays in W electrical components is connected to one end of a switch. The other end of the switch is connected to DC 24V+. The other end of the coils of all the first relays in W electrical components is connected to DC 0V.

5. The electrical control training platform according to claim 4, characterized in that, The PLC control module also includes: a digital output channel that serves as a drive output channel and a second relay. One end of the coil of the second relay is connected to DC 0V, and the other end is connected to the drive output channel. The common terminal of the second relay and the normally open terminal of the second relay serve as a switch.

6. The wiring detection method for the electrical control training platform as described in any one of claims 1 to 5, characterized in that, Includes the following steps: Step 1: Each electrical component has one terminal block corresponding to one wire. The tester uses multiple parallel jumpers to connect the multiple wire blocks according to the "pre-defined connection relationship between Y electrical components". One end of each parallel jumper is connected to two wire sockets belonging to the same wire block, and the other end of the parallel jumper is connected to two wire sockets belonging to another wire block. Step 2: Turn on the switch and perform the first round of polling detection. The polling method for each round in the first round of polling detection includes: simultaneously making the i-th and j-th digital output channels of the N digital output channels output high levels, while keeping the remaining N-2 digital output channels of the N digital output channels low levels; reading the level states of the N digital input channels; and using the index set of the digital input channels that read high levels as... After the first round of polling and detection, the index set family S1 is obtained; Step 3: Disconnect all parallel jumpers and turn off the switch. The test subject then uses multiple parallel jumpers to connect between multiple terminals according to electrical principles. Step 4: Turn on the switch and perform the second round of polling detection. The second round of polling detection uses the same polling sequence as the first round. The polling method for each round in the second round includes: simultaneously making the i-th and j-th digital output channels of the N digital output channels output high levels, while keeping the remaining N-2 digital output channels of the N digital output channels low levels; reading the level status of the N digital input channels; and using the index set of the digital input channels that read high levels as... After the second round of polling and testing, the index set family S2 is obtained. Step 5: Compare index set family S1 and index set family S2. If index set family S1 and index set family S2 are completely identical, the test subject is determined to be connected correctly; if index set family S1 and index set family S2 are inconsistent, the test subject is determined to be connected incorrectly.