Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Programming Design Method for Programmable Logic Control System Used in Single Chip Microcomputer

A programming logic control and design method technology, which is applied in general control systems, program control in sequence/logic controllers, control/adjustment systems, etc., can solve the problems of low code operation efficiency, difficulty for non-professional personnel to use, and single-chip microcomputer requirements. Advanced problems, to achieve the effect of improving computing speed, facilitating time control, and fast execution speed

Inactive Publication Date: 2018-09-14
SHANGHAI JIAO TONG UNIV
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The disadvantage of the first method is that it is difficult for non-professional personnel to use, and it needs a developer who is very familiar with the software and hardware system to be competent; the disadvantage of the second method is that the program function can be modified in a small range, and it is only suitable for relatively fixed functions. It cannot be universal; the disadvantage of the third method is that it has high requirements for the single-chip microcomputer, requires a certain computing speed and a large amount of storage space, and the code operation efficiency is low, so the usual PLC instruction execution cycle is 20 milliseconds

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
  • Programming Design Method for Programmable Logic Control System Used in Single Chip Microcomputer
  • Programming Design Method for Programmable Logic Control System Used in Single Chip Microcomputer
  • Programming Design Method for Programmable Logic Control System Used in Single Chip Microcomputer

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0050] Design a system with three controllers A, B, C, each controller has two input signals (respectively Ai1, Ai2, Bi1, Bi2, Ci1, Ci2), two output signals (Ao1, Ao2, Bo1, Bo2, Co1, Co2), two timers (At1, At2, Bt1, Bt2, Ct1, Ct2), two remote input signals (Ar1, Ar2, Br1, Br2, Cr1, Cr2), two remote output signals (As1 , As2, Bs1, Bs2, Cs1, Cs2), two software control signals (Ac1, Ac2, Bc1, Bc2, Cc1, Cc2), two software output signals (Ad1, Ad2, Bd1, Bd2, Cd1, Cd2),

[0051] Co1 control logic is: Bo1 control logic is: timer Bt1 outputs "true" signal after time T after Ai1 is "true", and Bo1=Bt1⊕Bi1;

[0052] Consider the realization of the "program" of controller B, according to the method of the present invention:

[0053] Step 1: Prepare a development platform equipped with logic control program design software and a controller B equipped with a "logic control program" that can run;

[0054] Step 2: Determine the logic input and output of controller B: the logic input vect...

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 programmable-logic-control-system-based programming design method for a single-chip microcomputer. The method comprises: a development platform with logic control program design software and a controller with a performable logic control program are prepared; a logic input vector, a logic output vector and a timing input vector and the like for logic control are determined; a logic relational expression is designed; the logic relational expression is converted into a standard AND-OR type; according to the standard AND-OR type, a AND matrix, an OR matrix, and a NON matrix are designed; and the designed control matrixes are transmitted to the controller by a controller communication interface. According to the invention, the operation system support and the interpreted language support are not needed; and the hardware resource requirement is low. The method is a logic programmable technology suitable for a common single-chip microcomputer. The cost of the single controller is reduced substantially; the code can be transplanted; and easy extension into a cooperative control system of multiple controllers can be realized.

Description

technical field [0001] The invention relates to single-chip microcomputer programming, in particular to a programming design method for a programmable logic control system of an ordinary single-chip microcomputer. Background technique [0002] Industrial Programmable Logic Controller (abbreviated as PLC) has developed rapidly since its appearance and is widely used in industrial control systems. It is used for powerful functions, high reliability, and strong versatility. It usually has a large number of input and output interfaces to connect various sensors and controllers. In PLC, a powerful single-chip microcomputer is usually used, with enough memory and peripheral circuits. PLC supports multiple This kind of programming method can realize complex logic control. Therefore, the cost of industrial PLC is generally high and the volume is large, so it is suitable as the main controller. [0003] Due to the rise of the Internet of Things technology, a large number of sensors ...

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/05G05B2219/25268
Inventor 赵春宇朱成刚喻志成
Owner SHANGHAI JIAO TONG UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products