Unlock instant, AI-driven research and patent intelligence for your innovation.

STM32-based embedded PLC control device and control method

An embedded, digital input technology, applied in the program control of sequence/logic controllers, comprehensive factory control, electrical program control, etc., can solve the problems of poor scalability, closed technology, poor compatibility, etc., to increase the use of space High efficiency, high combination flexibility, and the effect of saving the occupied area

Pending Publication Date: 2022-07-12
KUNMING UNIV OF SCI & TECH
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, PLC also has its own shortcomings, such as scattered structure, closed technology, poor scalability, poor compatibility, and relatively high price.
With the development of technological networks and microprocessors, the traditional PLC can no longer meet the needs of industrial development.

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
  • STM32-based embedded PLC control device and control method
  • STM32-based embedded PLC control device and control method
  • STM32-based embedded PLC control device and control method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0037] Example 1: as Figure 1-8 As shown, an embedded PLC device based on STM32 includes a core circuit board and a signal circuit board arranged from top to bottom. The signal circuit board is electrically connected to the core circuit board through pin headers, and the core circuit board is provided with a microprocessor. Minimum system module (ie figure 1 main control module), user program storage module, communication module, digital input module, digital output module, analog module, power supply module, digital input module, digital output module, analog quantity on the signal circuit board The module and the communication module are connected with the minimum system module of the microprocessor. The minimum system module of the microprocessor is embedded with a PLC control system, and the PLC control system includes the main program of cyclic scanning.

[0038] Further, the minimum system module of the microprocessor includes a microprocessor STM32 single-chip microco...

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 an embedded PLC control device and control method based on STM32, and the device comprises a main control module which is used for reading a PLC program transmitted by an upper computer, and executing a corresponding operation instruction; the digital quantity input module is used for inputting the digital quantity of the device; the digital quantity output module is used for outputting the digital quantity of the device; the communication module is used for communicating the device with an upper computer or other equipment; an analog quantity module and a power supply module. According to the device, a FreeRTOS real-time operating system is used for realizing the cyclic scanning work of the PLC; sTM32 internal resources are used for realizing internal soft elements, data definition and an instruction system of the PLC, PID control and self-tuning functions are realized, and conversion from a PLC programming language to a C language is realized. MCU-oriented programming is converted into PLC-oriented programming, C language programming is converted into instruction list language programming, and programming difficulty is lowered. The digital quantity input and output function, the analog quantity input and output function and the communication function of the PLC are achieved through the STM32.

Description

technical field [0001] The invention relates to a control device and a control method of an embedded PLC based on STM32, belonging to the field of automation control. Background technique [0002] The programmable controller is a general-purpose industrial automatic control device developed by integrating computer technology, automatic control technology and communication technology with microprocessor as the core. It has high reliability, small size, strong function and simple program design. Therefore, it has a wide range of applications in metallurgy, energy, chemical industry, transportation, electric power and other fields, and has become one of the three pillars of modern industrial control (PLC, robot and CAD / CAM). But PLC also has its own shortcomings, such as scattered structure, closed technology, poor scalability, poor compatibility, and relatively high price. With the development of technological networks and microprocessors, traditional PLCs are increasingly un...

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/054G05B2219/1103Y02P90/02
Inventor 王庭有刘青林
Owner KUNMING UNIV OF SCI & TECH