Supercharge Your Innovation With Domain-Expert AI Agents!

A method of realizing plc control on fpga platform

A platform and formula technology, applied in the field of microprocessor control, can solve the problem of low real-time performance of soft PLC

Active Publication Date: 2018-06-29
GUILIN UNIV OF ELECTRONIC TECH
View PDF4 Cites 0 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
  • A method of realizing plc control on fpga platform

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

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

[0055] 1) Generate PLC ladder diagram;

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

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

[0058] Analyze the structured text file that step 2) obtains, obtain the dependency between PLC logic;

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

[0060] Obtain the concurrent scanning model of FPGA process by the dependency relation that step 3) produces;

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

[0062] According to the concurrent scan model of step 4), the structured text is converted to FPGA;

[0063] 7) Synthetically generate FPGA firmware;

[0064] Use the FPGA tool set to synthesize the IEC61131-3 basic function module library realized with the FPGA module in step 5) to generate FPGA firmware;

[0065] Definition of depend...

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 has been widely used in the field of industrial control. 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 a certain product; the production of traditional PLC is monop...

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
CPCG05B19/056G05B2219/13012G05B2219/13076
Inventor 张彤陈凡曹鹏
Owner GUILIN UNIV OF ELECTRONIC TECH
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