# US 2022/0045343 A1 · Fuel cell control method and system based on model predictive control

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

- Number: US 2022/0045343 A1
- Document ID: US20220045343A1
- Status: Published application
- Kind: A1
- Application number: 17/396,337
- Filed: 2021-08-06
- Published: 2022-02-10
- Earliest claimed: 2020-08-07
- Assignees: Tongji University
- Applicants: Tongji University
- Inventors: Ke SONG; Xiaodi Wang
- Web page: https://patentgrep.com/patent/US20220045343A1

## CPC

- H01M 8/04619: {of fuel cell stacks}
- H01M 8/04992: characterised by the implementation of mathematical or computational algorithms, e.g. feedback control loops, fuzzy logic, neural networks or artificial intelligence
- H01M 8/04313: characterised by the detection or assessment of variables; characterised by the detection or assessment of failure or abnormal function
- H01M 8/04365: {of other components of a fuel cell or fuel cell stacks}
- H01M 8/04395: {of cathode reactants at the inlet or inside the fuel cell}
- H01M 8/0441: {of cathode exhausts}
- H01M 8/04425: {at auxiliary devices, e.g. reformers, compressors, burners}
- H01M 8/04552: {of the individual fuel cell}
- H01M 8/04559: {of fuel cell stacks}
- H01M 8/04589: {of fuel cell stacks}
- H01M 8/04753: {of fuel cell reactants}
- H01M 8/04776: {at auxiliary devices, e.g. reformer, compressor, burner}
- H01M 8/04888: {of auxiliary devices, e.g. batteries, capacitors}
- H01M 8/0491: {of fuel cell stacks}
- H01M 2250/20: Fuel cells in motive systems, e.g. vehicle, ship, plane
- Y02E 60/50: Fuel cells
- Y02T 90/40: Application of hydrogen technology to transportation, e.g. using fuel cells
- H01M: PROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
- Y02E: REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02T: CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION

## Abstract

A fuel cell control method and system based on model prediction control are provided. The method includes: (1) obtaining data required for control; (2) determining whether the data required for control are received completely; (3) estimating an internal state of a fuel cell based on outlet pressure of an air compressor and a voltage of the fuel cell to obtain a state estimation result; (4) calculating a target outlet flow of the air compressor and a target current of the fuel cell with a model prediction control algorithm based on the state estimation result; (5) calculating a control voltage of the air compressor, and a target outlet flow of the air compressor; and (6) tracking power of the fuel cell based on the target current of the fuel cell, and controlling air supply of the fuel cell based on the control voltage of the air compressor.

## Claims

### Claim 1

A fuel cell control method based on model prediction control, comprising the following steps:
S1: obtaining data required for control, wherein the data required for control comprise required power for a fuel cell system, a rotational speed of an air compressor, outlet pressure of the air compressor, temperature of a fuel cell, gas pressure of a cathode inlet of the fuel cell, gas pressure of a cathode outlet of the fuel cell, a voltage of the fuel cell, and a current of the fuel cell;
S2: determining whether the data required for control are received completely, and under a condition that the data required for control are received completely, proceeding to step S3, otherwise proceeding to step S1;
S3: estimating an internal state of the fuel cell based on the outlet pressure of the air compressor and the voltage of the fuel cell to obtain a state estimation result, wherein the internal state comprises pressure and partial pressure of oxygen of the cathode of the fuel cell;
S4: calculating a target outlet flow of the air compressor and a target current of the fuel cell with a model prediction control algorithm based on the state estimation result;
S5: calculating a control voltage of the air compressor based on the rotational speed of the air compressor, the outlet pressure of the air compressor, and the target outlet flow of the air compressor; and
S6: tracking the power of the fuel cell based on the target current of the fuel cell, and controlling air supply of the fuel cell based on the control voltage of the air compressor.

### Claim 2 (depends on 1)

The fuel cell control method based on the model prediction control according to claim 1, wherein the model prediction control algorithm performs calculation based on a pre-established prediction model, wherein the prediction model comprises a three-order linear state space model of an air supply system for the fuel cell, an input/output model of the fuel cell system and a performance index of the fuel cell system; and
an expression of the three-order linear state space model of the air supply system for the fuel cell is as follows:
[
P
.
s
⁢
m
P
.
c
⁢
a
P
.
O
2
]
=
A
3
×
3
⁡
[
P
s
⁢
m
P
c
⁢
a
P
O
2
]
+
B
3
×
2
⁡
[
I
s
⁢
t
W
c
⁢
p
]
wherein Psm is the outlet pressure of the air compressor, Pca is pressure of a cathode flow channel of the fuel cell, PO2 is partial pressure of oxygen of the cathode flow channel, {dot over (P)}sm is a first-order differential of the outlet pressure of the air compressor, {dot over (P)}ca is a first-order differential of the pressure of the cathode flow channel of the fuel cell, {dot over (P)}O2 is a first-order differential of the partial pressure of oxygen of the cathode flow channel, Ist is the current of the fuel cell, Wcp is an outlet flow of the air compressor, A3×3 is a first coefficient matrix, and B3×2 is a second coefficient matrix.

### Claim 3 (depends on 2)

The fuel cell control method based on the model prediction control according to claim 2, wherein the input/output model of the fuel cell system takes the current of the fuel cell and an assumed outlet flow of the air compressor as an input, and a voltage of the fuel cell stack as an output, and an expression of the input/output model of the fuel cell system is as follows:
u
=
[
I
st
W
c
⁢
p
]
V
s
⁢
t
=
nV
c
⁢
e
⁢
l
⁢
l
=
n
⁡
[
λ
1
+
λ
2
⁢
ln
⁡
(
P
O
2
)
+
(
λ
3
·
T
s
⁢
t
+
λ
4
)
·
i
]
wherein i=Ist/Afc is current density of the fuel cell, Afc is an effective activation area, Vcell is a voltage of a single fuel cell, u is input in the input/output model of the fuel cell system, Ist is the current of the fuel cell, Wcp is the assumed outlet flow of the air compressor, Vst is the voltage of the fuel cell stack, η is a number of fuel cells, PO2 is the partial pressure of oxygen of the cathode flow channel, Tst is the temperature of the fuel cell, λ1 is a first parameter to be fitted, λ2 is a second parameter to be fitted, λ3 is a third parameter to be fitted, and λ4 is a fourth parameter to be fitted.

### Claim 4 (depends on 2)

The fuel cell control method based on the model prediction control according to claim 2, wherein a calculation expression of a performance index ZP of the fuel cell system is as follows:
z
P
=
[
P
Net
λ
O
2
]
=
[
V
s
⁢
t
⁢
I
s
⁢
t
-
C
p
⁢
T
at
⁢
⁢
m
η
c
⁢
p
⁡
[
(
P
s
⁢
m
P
a
⁢
⁢
tm
)
γ
-
1
γ
-
1
]
⁢
W
c
⁢
p
k
ca
,
i
⁢
⁢
n
⁢
x
O
2
1
+
ω
a
⁢
⁢
tm
⁢
4
⁢
F
nM
O
2
⁢
I
s
⁢
t
⁢
(
P
s
⁢
m
-
P
c
⁢
a
)
]
wherein PNet is net output power of the fuel cell system, λO2 is an oxygen excess ratio of the fuel cell system, Vst is the voltage of the fuel cell, Ist is the current of the fuel cell, CP is a specific heat at constant pressure of air, Tatm is ambient temperature, ηcp is efficiency of the air compressor, Psm is the outlet pressure of the air compressor, Patm is ambient pressure, Wcp is the outlet flow of the air compressor, γ is a heat ratio coefficient of the air, kca,in is an inlet flow coefficient of the cathode flow channel, xO2 a mass fraction of oxygen in the air, ωatm is a mass fraction of water vapor in the air, F is Faraday constant, n is a number of fuel cells, MO2 is a molar mass of oxygen, and Pca is the pressure of the cathode flow channel of the fuel cell.

### Claim 5 (depends on 2)

The fuel cell control method based on the model prediction control according to claim 2, wherein an optimal control law of the prediction model is solved by adopting a particle swarm algorithm, and the optimal control law is applied to the fuel cell system.

### Claim 6 (depends on 1)

The fuel cell control method based on the model prediction control according to claim 1, wherein in step S3, the internal state of the fuel cell is estimated by adopting an unscented Kalman filter.

### Claim 7 (depends on 1)

The fuel cell control method based on the model prediction control according to claim 1, wherein in step S5, a calculation expression of the control voltage of the air compressor is as follows:
v
c
⁢
m
⁡
(
k
)
=
R
c
⁢
m
η
c
⁢
m
⁢
k
t
⁢
(
τ
c
⁢
p
+
J
⁢
α
¯
c
⁢
p
)
+
k
v
⁢
ω
c
⁢
p
*
⁡
(
k
)
wherein vcm(k) is a control voltage of the air compressor at time k, Rcm is armature resistance of a drive motor of the air compressor, ηcm is a mechanical efficiency of the drive motor of the air compressor, kt is a first motor constant, kvis a second motor constant, J is rotational inertia of the air compressor, τcp is a predicted load moment of the air compressor, αcp is average angular acceleration of the air compressor, and ω*cp(k) is target angular speed of the air compressor.

### Claim 8 (depends on 7)

The fuel cell control method based on the model prediction control according to claim 7, wherein a calculation expression of the target angular speed ω*cp(k) of the
ω
c
⁢
p
*
⁡
(
k
+
1
)
=
2
⁢
π
⁢
n
c
⁢
p
*
⁡
(
k
+
1
)
6
⁢
0
wherein n*cp(k+1) is a target rotational speed of the air compressor and is calculated based on the target outlet flow of the air compressor, the outlet pressure of the air compressor predicted by the prediction model, and a static map of the air compressor.

### Claim 9 (depends on 8)

The fuel cell control method based on the model prediction control according to claim 8, wherein a calculation expression of the predicted load moment τcp of the air compressor is as follows:
τ
c
⁢
p
=
C
p
ω
c
⁢
p
*
⁡
(
k
+
1
)
⁢
T
at
⁢
⁢
m
η
c
⁢
p
⁡
[
(
P
^
sm
⁡
(
k
+
1
)
P
at
⁢
⁢
m
)
γ
-
1
γ
-
1
]
⁢
W
c
⁢
p
*
⁡
(
k
)
wherein Cp is the specific heat at the constant pressure of the air, Tatm is the ambient temperature, Patm is the ambient pressure, ηcp is the efficiency of the air compressor, W*cp(k) is a target outlet flow of the air compressor at the time k, and {circumflex over (P)}sm(k+1) is outlet pressure of the air compressor at the time k+1 predicted by the prediction model; and
a calculation expression of the average angular acceleration αcp of the air compressor is as follows:
α
¯
c
⁢
p
=
ω
⋒
c
⁢
p
*
⁡
(
k
+
1
)
-
ω
c
⁢
p
⁡
(
k
)
T
wherein T is a control period, and ωcp(k) is a current rotational speed of the air compressor.

### Claim 10

A fuel cell control system based on model prediction control, comprising a fuel cell control unit, a CAN bus, a data collection module, an air compressor controller, and a DC/DC controller, wherein the fuel cell control unit is separately connected to the data collection module, the air compressor controller, and the DC/DC controller through the CAN bus, and the fuel cell control unit executes a fuel cell control method based on model prediction control, wherein the method comprises:
S1: obtaining data required for control, wherein the data required for control comprise required power for a fuel cell system, a rotational speed of an air compressor, outlet pressure of the air compressor, temperature of a fuel cell, gas pressure of a cathode inlet of the fuel cell, gas pressure of a cathode outlet of the fuel cell, a voltage of the fuel cell, and a current of the fuel cell;
S2: determining whether the data required for control are received completely, and under a condition that the data required for control are received completely, proceeding to step S3, otherwise proceeding to step S1;
S3: estimating an internal state of the fuel cell based on the outlet pressure of the air compressor and the voltage of the fuel cell to obtain a state estimation result, wherein the internal state comprises pressure and partial pressure of oxygen of the cathode of the fuel cell;
S4: calculating a target outlet flow of the air compressor and a target current of the fuel cell with a model prediction control algorithm based on the state estimation result;
S5: calculating a control voltage of the air compressor based on the rotational speed of the air compressor, the outlet pressure of the air compressor, and the target outlet flow of the air compressor; and
S6: tracking the power of the fuel cell based on the target current of the fuel cell, and controlling air supply of the fuel cell based on the control voltage of the air compressor.

### Claim 11 (depends on 10)

The fuel cell control system based on the model prediction control according to claim 10, wherein the model prediction control algorithm performs calculation based on a pre-established prediction model, wherein the prediction model comprises a three-order linear state space model of an air supply system for the fuel cell, an input/output model of the fuel cell system and a performance index of the fuel cell system; and
an expression of the three-order linear state space model of the air supply system for the fuel cell is as follows:
[
P
.
s
⁢
m
P
.
c
⁢
a
P
.
O
2
]
=
A
3
×
3
⁡
[
P
s
⁢
m
P
c
⁢
a
P
O
2
]
+
B
3
×
2
⁡
[
I
s
⁢
t
W
c
⁢
p
]
wherein Psm is the outlet pressure of the air compressor, Pca is pressure of a cathode flow channel of the fuel cell, PO2 is partial pressure of oxygen of the cathode flow channel, {dot over (P)}sm is a first-order differential of the outlet pressure of the air compressor, {dot over (P)}ca is a first-order differential of the pressure of the cathode flow channel of the fuel cell, {dot over (P)}O2 is a first-order differential of the partial pressure of oxygen of the cathode flow channel, Ist is the current of the fuel cell, Wcp is an outlet flow of the air compressor, A3×3 is a first coefficient matrix, and B3×2 is a second coefficient matrix.

### Claim 12 (depends on 11)

The fuel cell control system based on the model prediction control according to claim 11, wherein the input/output model of the fuel cell system takes the current of the fuel cell and an assumed outlet flow of the air compressor as an input, and a voltage of the fuel cell stack as an output, and an expression of the input/output model of the fuel cell system is as follows:
u
=
[
I
st
W
c
⁢
p
]
V
s
⁢
t
=
nV
c
⁢
e
⁢
l
⁢
l
=
n
⁡
[
λ
1
+
λ
2
⁢
ln
⁡
(
P
O
2
)
+
(
λ
3
·
T
s
⁢
t
+
λ
4
)
·
i
]
wherein i=Ist/Afc is current density of the fuel cell, Afc is an effective activation area, Vcell is a voltage of a single fuel cell, u is input in the input/output model of the fuel cell system, Ist is the current of the fuel cell, Wcp is the assumed outlet flow of the air compressor, Vstis the voltage of the fuel cell stack, n is a number of fuel cells, PO2 is the partial pressure of oxygen of the cathode flow channel, Tst is the temperature of the fuel cell, λ1 is a first parameter to be fitted, λ2 is a second parameter to be fitted, λ3 is a third parameter to be fitted, and λ4 is a fourth parameter to be fitted.

### Claim 13 (depends on 11)

The fuel cell control system based on the model prediction control according to claim 11, wherein a calculation expression of a performance index ZP of the fuel cell system is as follows:
z
P
=
[
P
Net
λ
O
2
]
=
[
V
s
⁢
t
⁢
I
s
⁢
t
-
C
p
⁢
T
at
⁢
⁢
m
η
c
⁢
p
⁡
[
(
P
s
⁢
m
P
a
⁢
⁢
tm
)
γ
-
1
γ
-
1
]
⁢
W
c
⁢
p
k
ca
,
i
⁢
⁢
n
⁢
x
O
2
1
+
ω
a
⁢
⁢
tm
⁢
4
⁢
F
nM
O
2
⁢
I
s
⁢
t
⁢
(
P
s
⁢
m
-
P
c
⁢
a
)
]
wherein PNet is net output power of the fuel cell system, λO2 is an oxygen excess ratio of the fuel cell system, Vst is the voltage of the fuel cell, Ist is the current of the fuel cell, Cp is a specific heat at constant pressure of air, Tatm is ambient temperature, ηcp is efficiency of the air compressor, Psm is the outlet pressure of the air compressor, Patm ambient pressure, Wcp is the outlet flow of the air compressor, γ is a heat ratio coefficient of the air, kca,in is an inlet flow coefficient of the cathode flow channel, xO2 a mass fraction of oxygen in the air, ωatm is a mass fraction of water vapor in the air, F is Faraday constant, n is a number of fuel cells, MO2 is a molar mass of oxygen, and Pca is the pressure of the cathode flow channel of the fuel cell.

### Claim 14 (depends on 11)

The fuel cell control system based on the model prediction control according to claim 11, wherein an optimal control law of the prediction model is solved by adopting a particle swarm algorithm, and the optimal control law is applied to the fuel cell system.

### Claim 15 (depends on 10)

The fuel cell control system based on the model prediction control according to claim 10, wherein in step S3, the internal state of the fuel cell is estimated by adopting an unscented Kalman filtering algorithm.

### Claim 16 (depends on 10)

The fuel cell control system based on the model prediction control according to claim 10, wherein in step S5, a calculation expression of the control voltage of the air compressor is as follows:
v
c
⁢
m
⁡
(
k
)
=
R
c
⁢
m
η
c
⁢
m
⁢
k
t
⁢
(
τ
c
⁢
p
+
J
⁢
α
¯
c
⁢
p
)
+
k
v
⁢
ω
c
⁢
p
*
⁡
(
k
)
wherein vcm(k) is a control voltage of the air compressor at time k, Rcm is armature resistance of a drive motor of the air compressor, ηcm is a mechanical efficiency of the drive motor of the air compressor, kt is a first motor constant, kv is a second motor constant, J is rotational inertia of the air compressor, τcp is a predicted load moment of the air compressor, αcp is average angular acceleration of the air compressor, and ω*cp(k) is target angular speed of the air compressor.

### Claim 17 (depends on 16)

The fuel cell control system based on the model prediction control according to claim 16, wherein a calculation expression of the target angular speed ω*cp(k) of the air compressor is as follows:
ω
c
⁢
p
*
⁡
(
k
+
1
)
=
2
⁢
π
⁢
n
c
⁢
p
*
⁡
(
k
+
1
)
6
⁢
0
wherein n*cp(k+1) is a target rotational speed of the air compressor and is calculated based on the target outlet flow of the air compressor, the outlet pressure of the air compressor predicted by the prediction model, and a static map of the air compressor.

### Claim 18 (depends on 17)

The fuel cell control system based on the model prediction control according to claim 17, wherein a calculation expression of the predicted load moment τcp of the air compressor is as follows:
τ
c
⁢
p
=
C
p
ω
c
⁢
p
*
⁡
(
k
+
1
)
⁢
T
a
⁢
t
⁢
m
η
c
⁢
p
⁡
[
(
P
^
sm
⁡
(
k
+
1
)
P
at
⁢
⁢
m
)
γ
-
1
γ
-
1
]
⁢
W
c
⁢
p
*
⁡
(
k
)
wherein Cp is the specific heat at the constant pressure of the air, Tatm is the ambient temperature, Patm is the ambient pressure, ηcp is the efficiency of the air compressor, W*cp(k) is a target outlet flow of the air compressor at the time k, and {circumflex over (P)}atm(k+1) is outlet pressure of the air compressor at the time k+1 predicted by the prediction model; and
a calculation expression of the average angular acceleration αcp of the air compressor is as follows:
α
¯
c
⁢
p
=
ω
⋒
c
⁢
p
*
⁡
(
k
+
1
)
-
ω
c
⁢
p
⁡
(
k
)
T
wherein T is a control period, and ωcp(k) is a current rotational speed of the air compressor.
