Method and device for achieving PLC controlling in FPGA platform

A platform and logic technology, applied in the field of microprocessor control, can solve the problems of low real-time performance of soft PLC, achieve high stability and improve real-time performance.

Active Publication Date: 2016-04-20
GUILIN UNIV OF ELECTRONIC TECH
View PDF4 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] For the shortcomings of the prior art, the present invention provides a method and device for realizing PLC control on an FPGA platform. The method overcomes the shortcoming of low real-time performance of soft PLC, and embeds an embedded PLC conforming to the IEC61131-3 standard on the FPGA platform. Improve the real-time and flexibility of PLC; this device utilizes the characteristics that FPGA can execute programs in parallel, so that FPGA-PLC can execute PLC programs serially and in parallel to greatly improve the real-time performance of PLC

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
  • Method and device for achieving PLC controlling in FPGA platform

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0053] A method for realizing PLC control on an FPGA platform, comprising the steps of:

[0054] 1) Generate PLC ladder diagram;

[0055] 2) Generate a structured text file of the IEC61131-3 standard;

[0056] 3) Determine the logical dependencies in each line of structured text of the PLC;

[0057] Analyze the structured text file obtained in step 2 to obtain the dependencies between PLC logic;

[0058] 4) Establish a concurrent scanning model of the FPGA process;

[0059] Obtain the concurrent scan model of the FPGA process by the dependencies generated in step 3;

[0060] 5) Realize the conversion from structured text to FPGA;

[0061] Realize structured text to FPGA conversion according to the concurrent scanning model of step 4;

[0062] 6) Synthetically generate FPGA firmware;

[0063] Use the FPGA tool set to carry out the IEC61131-3 basic function module library realized by the FPGA module in step 5)

[0064] Synthetically generate FPGA firmware.

[0065] Defin...

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 discloses a method and device for achieving PLC controlling in an FPGA platform. The method is converted into Verilog HDL programs through an ST2FP resolver, not only can input and output logic of a PLC be correctly achieved, but also the programs can run in the FPGA platform in parallel, therefore, the mode that a traditional PLC only can sequentially scan executive programs is fundamentally changed, the PLC program execution time is not related to the size of the programs but only related to the depending level of the programs, and the program execution efficiency of an FPGA-PLC is incomparable for the traditional PLC. According to the device, an IEC-61131-3 standard is applied to the FPGA-PLC, the defects that the traditional PLC is poor in closing property and compatibility are overcome, breaking of the monopoly situation of high-end PLC manufacturers is facilitated, the characteristic that the FPGA executes the programs in parallel is also facilitated, therefore, the FPGA-PLC can execute the PLC programs in parallel, and the real-time performance of the PLC is significantly improved; processing of the FPGA is the implementation process of pure hardware, and therefore the FPGA-PLC system has the very high stability.

Description

technical field [0001] The invention belongs to the technical field of microprocessor control, in particular to a method and device for realizing PLC control on an FPGA platform. Background technique [0002] Programmable logic controller PLC (Programmable Logic Controller) has been widely used in manufacturing systems for many years. After decades of development, traditional hard PLC has become a mature technology. It is used in industrial control with its high speed, high performance and high reliability. field has been widely used. However, the traditional hard PLC has great disadvantages: the products of manufacturers are incompatible with each other, lack of clear and consistent standards, and it is difficult to build an open hardware architecture; the programming methods of each manufacturer's products are very different, and the technology is more proprietary Strong, the staff must go through a long period of professional training to master the programming method of ...

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 Applications(China)
IPC IPC(8): G05B19/05
CPCG05B19/056G05B2219/13012G05B2219/13076
Inventor 张彤陈凡曹鹏
Owner GUILIN UNIV OF ELECTRONIC TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products