Supercharge Your Innovation With Domain-Expert AI Agents!

A method of converting plc timer module into common petri net

A technology of module conversion and timer, which is applied in the program control and electrical program control of sequence/logic controllers, and can solve problems such as high development costs, train collisions, and heavy workload

Active Publication Date: 2016-05-18
HUAQIAO UNIVERSITY
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the development of PLC programs is facing unprecedented high complexity problems: with the development of science and technology and the continuous refinement of control requirements, the scale and structural complexity of industrial control systems are increasing rapidly, such as subway traffic control systems and nuclear power control systems, etc. However, the number of states of the system increases exponentially with the number of sensors and actuators. The state of a logistics system composed of only 5 automatic navigation vehicles reaches millions. Therefore, the PLC program design is faced with inherently high computational complexity
[0003] The high computational complexity brings two major engineering problems: (1) The program design and debugging workload is huge, the program development cycle is relatively long, and the development cost is high; (2) Traditional program debugging cannot verify each state (the number of states is exponential growth), the correctness and reliability of the program cannot be guaranteed
Errors in the program may cause serious accidents, such as a train collision, the explosion of the European Ariana 5 rocket, etc.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method of converting plc timer module into common petri net
  • A method of converting plc timer module into common petri net
  • A method of converting plc timer module into common petri net

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0248] Embodiment 1: Timing lighting of ladder lights

[0249] The present embodiment 1 is used to light the step lamp. The ON buttons on the different layers are connected to the control input I0.0. When the ON button of I0.0 is pressed, the light at the output terminal Q0.0 will glow for 30s. If the ON button is pressed again during this period, the time interval has to start from the beginning again. This will ensure that the last time you press the ON button, the light will not go out within 30s. Such as figure 2 Shown is the PLC ladder diagram written according to the control requirements. SM0.0 is RUN monitoring, when PLC is in RUN state, SM0.0 is always 1. If the ON button is pressed, the ON signal of the input I0.0 is valid (I0.0=1), the timer T37 is reset, and the timer T37 starts counting from the beginning. At the same time, the output Q0.0 coil is set (lights on). When the timer T37 counts for 30s, the timer is turned on, and the output Q0.0 will be off agai...

Embodiment 2

[0267] Example 2. The program for delaying the disconnection of the motor

[0268] When the power is disconnected, the motor does not stop rotating immediately, but keeps running for 5 seconds before stopping. Such as Figure 4 Shown is the PLC ladder diagram written according to the control requirements. I0.0 is the power switch, I0.1 is the control switch of the motor, I1.0 is the reset button, and Q1.0 is the output. When the power switch I0.0 and the motor switch I0.1 are both on, Q1.0 is on, and the motor starts to rotate; when the motor switch I0.1 is off or the power switch I0.0 is off, the timer T38 starts, 5s After the timing time is up, the motor stops running. Whenever, as long as the reset button I1.0 is on, the timer T38 will be reset immediately, the output Q1.0 will be false, the motor will stop running, and the timer will be cleared at the same time.

[0269] In the following, the timer T38 in Embodiment 2 is transformed into a common Petri net model.

[0...

Embodiment 3

[0286] Embodiment 3. The program of the running time of the signal lights at the crossroads

[0287] This example selects a small part of the program for the operation control of the traffic lights at the intersection. When the start button is pressed, the timer T40 starts, the output is true, the north-south direction is green light, and the east-west direction is red light, and the time is 30s. Such as Figure 6 Shown is the PLC ladder diagram written according to the control requirements. I0.0 is the start button, I1.0 is the reset button, M1.0 is the intermediate relay, Q1.0 and Q1.1 represent the output. When the start button I0.0 is turned on, the timer T40 starts, and the output is true. Q1.0 is true, indicating that the north-south direction is a green light, and Q1.1 is true, indicating that the east-west direction is a red light. When the 30s timer expires, the timer disconnected, the output is false.

[0288] Signal lights at intersections are generally divided ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a method for converting a PLC timer module into a common Petri net, automatic conversion from the timer module to a common Petri net model is achieved, and the obtained Petri net model can accurately describe dynamic behaviors of a PLC timer. Therefore, the Petri net can be used for achieving analyses and error correction of PLC programs, and moreover an efficient program verification method is developed by means of a net structure and a Petri net analysis theory to make analyses and verification of a large-scale PLC system possible.

Description

technical field [0001] The invention relates to a method for converting a PLC timer module into a common Petri net. Background technique [0002] Programmable logic controller (ProgrammableLogicController, PLC) is a typical controller in the industrial control system, which is widely used in important fields such as railway, petroleum and petrochemical, electric power and traffic system monitoring. However, the development of PLC programs is facing unprecedented high complexity problems: with the development of science and technology and the continuous refinement of control requirements, the scale and structural complexity of industrial control systems are increasing rapidly, such as subway traffic control systems and nuclear power control systems, etc. However, the number of states of the system increases exponentially with the number of sensors and actuators. The state of a logistics system composed of only 5 automatic navigation vehicles reaches millions. Therefore, the P...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G05B19/05
Inventor 罗继亮温世刚倪会娟
Owner HUAQIAO UNIVERSITY
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More