# US 2021/0149349 A9 · Networked control system time-delay compensation method based on predictive control

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0149349 A9
- Document ID: US20210149349A9
- Status: Published application
- Kind: A9
- Application number: 16/745,581
- Filed: 2020-01-17
- Published: 2021-05-20
- Earliest claimed: 2019-01-24
- Assignees: Qingdao University of Technology
- Applicants: Qingdao University of Technology
- Inventors: Jingbo ZHAO; Bingxin XUE; Zhong WANG; Jingxuhui ZHU; Tengfei QIU; Xinchao LIU
- Web page: https://patentgrep.com/patent/US20210149349A9

## CPC

- G05B 13/0285: {using neural networks and fuzzy logic}
- G05B 13/048: {using a predictor}
- G05B 19/4185: {characterised by the network communication}
- G06F 17/11: for solving equations {, e.g. nonlinear equations, general mathematical optimization problems (optimization specially adapted for a specific administrative, business or logistic context G06Q10/04)}
- G06N 3/006: based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
- G06N 3/043: based on fuzzy logic, fuzzy membership or fuzzy inference, e.g. adaptive neuro-fuzzy inference systems [ANFIS]
- G06N 3/088: Non-supervised learning, e.g. competitive learning
- G05B 2219/37512: Correction for detection delay
- G06N 3/086: using evolutionary algorithms, e.g. genetic algorithms or genetic programming
- Y02P 90/02: Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
- G05B: CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS (systems for controlling or regulating non-electric variables G05D; systems for regulating electric or magnetic variables G05F; control devices or systems insofar as characterised by mechanical features only G05G)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- Y02P: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS

## Abstract

The present invention discloses a networked control system (NCS) time-delay compensation method based on predictive control. The method comprises the following steps: (1) acquiring random time-delay data in an NCS, and preprocessing the data; (2) predicting the current time-delay by using a fuzzy neural network (FNN) optimized by a particle swarm optimization (PSO) algorithm; (3) compensating the predicted time-delay by using an implicit proportional-integral-based generalized predictive control (PIGPC) algorithm; (4) determining whether a preset work end time is up according to a clock in the NCS; if yes, ending the process; if no, returning to step (2). The method disclosed by the present invention can accurately predict and effectively compensate the NCS time-delay and has excellent development prospect.

## Claims

### Claim 1

A networked control system (NCS) time-delay compensation method based on predictive control, comprising the following steps:
(1) acquiring random time-delay data in an NCS, and preprocessing the data;
(2) predicting the current time-delay by using a fuzzy neural network (FNN) optimized by a particle swarm optimization (PSO) algorithm;
(3) compensating the predicted time-delay by using an implicit proportional-integral-based generalized predictive control (PIGPC) algorithm;
(4) determining whether a preset work end time is up according to a clock in the NCS; if yes, ending the process; if no, returning to step (2).

### Claim 2 (depends on 1)

The NCS time-delay compensation method based on predictive control according to claim 1, wherein step (1) specifically comprises: collecting a group of continuous random time-delay data; utilizing first five time-delay values as an input sample 1 and a sixth time-delay value as an output sample 1 to form a first sample pair; utilizing second to sixth time-delay values as an input sample 2 and a seventh time-delay value as an output sample 2 to form a second sample pair; by such analogy, forming 300 sample pairs as data for training the FNN.

### Claim 3 (depends on 1)

The NCS time-delay compensation method based on predictive control according to claim 1, wherein optimization of the FNN by the PSO algorithm at step (2) is: optimizing a connection weight and a membership function of the FNN by using the PSO algorithm, that is, setting elements of a position vector xi of a particle swarm to be expectation and standard deviation of the connection weight and the membership function of the FNN; such optimization specifically comprises the following steps:
1), randomly initializing a position and a velocity of each particle, and determining parameters including a population size, an inertia weight and an acceleration factor;
2), calculating a fitness value of each initial particle, wherein pi is the optimal position of the current particle, and pg is the optimal position of the particle swarm;
3), updating the position and the velocity of each particle according to formulae (5) and (6), and iterating to generate a new particle;
wherein mathematical expressions of the PSO algorithm are:
vid(t+1)=wvid(t)+c1r1(pid−xid(t))+c2r2(pgd−xid(t)) (5)
xid(t+1)=xid(t)+vid(t+1) (6)
in the expressions, i is the number of particles, i=1, 2, . . . , m; d is a space dimension, d=1, 2, . . . , D; t is time; w is the inertia weight and a nonnegative number; c1 and c2 are acceleration factors and are defined as constants; r1 and r2 are random numbers and are uniformly distributed between 0 and 1; pid is the optimal position of a particle i; pgi is the optimal position of a particle swam; xid(t) is the position of the particle i at the time t, xid(t+1) is the position of the particle i at the time t+1, and xid(t)∈[−xmax, xmax]; vid(t) is the velocity of the particle i at the time t, vid(t+1) is the velocity of the particle i at the time t+1, and vid(t)∈[−vmax, vmax]; xmax and vmax are nonnegative numbers;
4), returning to step 2), and stopping iteration till the convergence criterion is met, wherein a global extremum is an optimal solution of a training problem.

### Claim 4 (depends on 1)

The NCS time-delay compensation method based on predictive control according to claim 1, wherein step (2) specifically comprises: inputting the 301st to 305th time-delay values as the input sample into the optimized FNN to obtain a first prediction value of network time-delay; then inputting the 302nd to 306th time-delay values as the input sample into the optimized FNN to obtain a second prediction value of the network time-delay; by such analogy, completing prediction on the network time-delay.

### Claim 5 (depends on 3)

The NCS time-delay compensation method based on predictive control according to claim 3, wherein the convergence criterion at step 4) is: a threshold of a fitness function is 0.001, and the fitness function is as follows:
f
=
1
N
s

∑
i
=
1
N
s

(
Y
i
-
y
i
)
(
7
)
in the formula, Ns is the number of training set samples, Yi is an expected output, and yi is an actual output.

### Claim 6 (depends on 1)

The NCS time-delay compensation method based on predictive control according to claim 1, wherein step (3) specifically comprises: according to the implicit PIGPC algorithm, obtaining a controller increment Δu(k) when the time-delay exists, further obtaining a control value u(k), and finally transmitting the optimal control value u(k) to an actuator.
