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

Efficient PID control method and device, and controller

A control method and control device technology, applied in the direction of electric controllers, controllers with specific characteristics, etc., can solve the problems of occupying CPU resources of single-chip microcomputers, low computing efficiency, and many machine cycles, and achieve the effect of reducing machine cycles

Pending Publication Date: 2021-11-30
VATTI CORP LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When the traditional PID algorithm realizes that the actual value follows the target value on the digital controller, it has the following disadvantages: the three parameters of Kp, Ki, and Kd all use floating-point calculations, which greatly occupy the CPU resources of the single-chip microcomputer and affect the timing of other tasks. Accuracy; and if the PID operation takes up too many machine cycles, resulting in low computing efficiency; at the same time, it will increase the difficulty of PID parameter adjustment

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
  • Efficient PID control method and device, and controller
  • Efficient PID control method and device, and controller
  • Efficient PID control method and device, and controller

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in some embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0030] In one embodiment, a kind of high-efficiency PID control method is provided, applied on the PID controller, the data type of three main parameters Kp, Ki, Kd in the traditional PID algorithm is limited to integer type, rather than floating-point number; Simultaneously , to adjust the calculation process of the deviation value corresponding to the three parameters, specifically, as figure 1 shown, and includes the following steps:

[0031] S1: In one PID op...

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 an efficient PID control method and device, and a controller. The method comprises the steps: setting a proportionality coefficient, an integral coefficient and a differential coefficient as integer data in a PID operation period; obtaining a current error value, a previous error value and a previous second error value, and dividing a difference value between the current error value and the previous error value by the proportionality coefficient to obtain a deviation of a proportional link, wherein the deviation of the integration link is equal to the current error value divided by the integration coefficient; and the deviation of the differential link is equal to a preset multiple obtained by subtracting the previous error value from the current error value, and the deviation is divided by the differential coefficient after being added with the previous error value; accumulating the three deviation values to obtain a final error; and adding a preset target value to the final error to obtain an output value of the PID controller. According to the technical scheme, a traditional PID algorithm is optimized, and the actual value can follow the target value under the condition that the time takt of other tasks is not affected.

Description

technical field [0001] The invention relates to the technical field of electrical control, in particular to a high-efficiency PID control method, device and controller. Background technique [0002] In the control system, the PID controller based on the PID (proportional (P), integral (I) and differential (D) of deviation) algorithm is a widely used automatic controller. When the traditional PID algorithm realizes that the actual value follows the target value on the digital controller, it has the following disadvantages: the three parameters of Kp, Ki, and Kd all use floating-point calculations, which greatly occupy the CPU resources of the single-chip microcomputer and affect the timing of other tasks. Accuracy; and if the PID operation takes up too many machine cycles, resulting in low computing efficiency; at the same time, it leads to an increase in the difficulty of PID parameter adjustment. Contents of the invention [0003] An embodiment of the present invention 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 Applications(China)
IPC IPC(8): G05B11/42
CPCG05B11/42
Inventor 刘群潘叶江
Owner VATTI CORP LTD
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