기본 정보
- 저자
- DOI
- 10.1155/2022/4979824
- 저널
- Mobile Information Systems
- 발행년도
- 2022
- 발행기관
- IOS Press
- 피인용수
- 3
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1155/2022/4979824
- 토픽
- Electric and Hybrid Vehicle Technologies
- OpenAlex ID
- W4297988266
평가 내용
- 관련도
- 사업분야
- 산업용 섬유 · (9) 타이어코드
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '산업용 섬유 > 타이어코드' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
With the increase in tightening of carbon neutral policies, electric new energy vehicles have become a top priority in the development of the automotive industry. The integrated electric vehicle wheel (hub motor) can effectively optimize the vehicle structure and reduce the weight of the vehicle and reduce the energy consumption. At the same time, the feature that four tires can be driven separately is also conducive to the application of various new control algorithms. In this paper, a generalized adaptive PID control is experimented with the speed control of the hub motor, and a fuzzy control-based variable step method is proposed for the overshoot or even runaway problem caused by the inertia of the hub motor in the process of adaptive PID control. Experiments have demonstrated that this method can effectively reduce the amount of overshoot triggered by adaptive control and shorten the regulation time into a steady state.
본문 41,254자
본문 펼치기
Hindawi
Mobile Information Systems
Volume 2022, Article ID 4979824, 11 pages
[https://doi.org/10.1155/2022/4979824](https://doi.org/10.1155/2022/4979824)
# _Research Article_ Research on the Adaptive PID Speed Control Method for Hub Motors
1
Jingjun Zhang, <sup>1</sup> Chao Li , <sup>1</sup> Qingbo Jia, <sup>2</sup> and Ruizhen Gao
_1School_ _of_ _Mechanical_ _and_ _Equipment_ _Engineering,_ _Hebei_ _University_ _of_ _Engineering,_ _Handan_ _056038,_ _China_
_2Design_ _Department,_ _Ductile_ _Xinxing_ _Iron_ _Pipes_ _Co.,Ltd,_ _Handan_ _056038,_ _China_
[Correspondence should be addressed to Ruizhen Gao; ruizhenemail@163.com](mailto:ruizhenemail@163.com)
Received 18 May 2022; Revised 2 September 2022; Accepted 5 September 2022; Published 29 September 2022
Academic Editor: Chen Pengyun
[Copyright © 2022 Jingjun Zhang et al. Tis is an open access article distributed under the Creative Commons Attribution License,](https://creativecommons.org/licenses/by/4.0/)
which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
With the increase in tightening of carbon neutral policies, electric new energy vehicles have become a top priority in the
development of the automotive industry. Te integrated electric vehicle wheel (hub motor) can effectively optimize the vehicle
structure and reduce the weight of the vehicle and reduce the energy consumption. At the same time, the feature that four tires can
be driven separately is also conducive to the application of various new control algorithms. In this paper, a generalized adaptive
PID control is experimented with the speed control of the hub motor, and a fuzzy control-based variable step method is proposed
for the overshoot or even runaway problem caused by the inertia of the hub motor in the process of adaptive PID control.
Experiments have demonstrated that this method can effectively reduce the amount of overshoot triggered by adaptive control
and shorten the regulation time into a steady state.
1. Introduction
As environmental problems become increasingly serious,
new energy vehicles powered by electricity are gradually
taking over the market [1, 2]. Te high torque, compact
structure, and high power density of the wheel motor can
effectively simplify the vehicle structure and extend the
range [3]. At the same time, the feature of four-wheel independent rotation control can also facilitate the implementation of various types of autonomous driving
algorithms. In this context, the precise control of motor
speed and torque has gradually become a hot spot for research [4]. At this stage, PID control is still the most
commonly used closed-loop motor control algorithm.
However, conventional PIDs require parameter tuning before use, which is a process of extensive repetition and trial
and error. Te control effect of traditional PID control in the
face of multiple disturbances and high-frequency noise is
also unsatisfactory. With the rise of modern control theory,
there has been tremendous progress in the control effectiveness of various types of improved algorithms based on
PID algorithms [5, 6]. For example, adaptive PID control is
designed for the ASPR characteristics of the SISO system
using a parallel feedforward compensator [7]. Design of PID
controller is based on ABC two-region nonlinear load frequency control [8]. ADRC self-anti-disturbance technique
incorporates state observer technique based on conventional
PID [9]. Adaptive PID controller is capable of combating
actuator failures and unknown environments based on finite
time error transform design [10]. With the rise of machine
learning techniques, adaptive PID algorithms based on this
were birthed [11]. A constrained genetic algorithm (GA) is
used to control a nonfragile PID controller with optimal gain
[12]. PID control system based on 6-DOF mathematical
model combined with back propagation neural network
algorithm [13] However, such algorithms require prior
training and learning of the overall model, so a large amount
of a priori knowledge must be acquired, and they are less
applicable to different systems.
In this thesis, the system is downscaled using an internally and externally nested dual PID control scheme for a
class of high-order multivariable nonlinear time-domain
systems such as hub motors. Te variable-step fuzzy control
method is also designed to address the overshoot
2 Mobile Information Systems
phenomenon caused by motor inertia and sampling uncertainty in the actual control of generalized adaptive PID
control. By changing the time interval between each PID
regulation of the system, the hysteresis of the motor control
system is reduced and the regulation capability of the
generalized adaptive PID control [14] is better utilized.,e
control algorithm was also tested in an actual hub motor
control system, and good control results were obtained.
2. Hub Motor Model
_2.1. Structural Composition._ Hub motors, also known as inwheel motors as shown in Figure 1, integrate the braking,
driving, and transmission systems all in the wheel hub [15]
(see Figure 1). Unlike conventional car structures, hub
motors do not require complex mechanical structures such
as transmissions, drive shafts, and differentials. Hub motors
can transmit torque directly to the wheels, greatly improving
overall transmission efficiency.
,e rotor of a hub motor is fixed to the tire and is
responsible for outputting torque.,e support frame and
the sealing ring wrap the capacitor ring, electronic control
system, coil stator, and other precision components inside
to form the stator of the in-wheel motor.,e brake caliper
is fixed on the outside of the support frame and forms the
braking system with the brake disc fixed on the tire.,e
stator of the wheel motor is fixed to the frame through the
suspension link to realize the suspension and steering of the
wheels (the detailed structure of the wheel motor is shown
in Figure 2).,e motor communicates and gives feedback
to the VCU (Vehicle Control Unit) through wires. When
VCU sends a signal, the motor is energized and the rotor
rotates relative to the stator.,e electronic phase commutator in the electronic control system controls the sequence and timing of energizing the stator winding
according to the signal from the position sensor, generating
a rotating magnetic field that drives the rotor to keep
rotating forward.
_2.2._ _Physical_ _Model._ In order to make the control more
stable and intelligent, mathematical modeling of hub motors
is required. Most of the hub motors in practical applications
are permanent magnet synchronous motors.,e permanent
magnet synchronous motor is developed from the threephase synchronous motor [16], whose permanent magnet
arrangement structure is shown in Figure 3. Its permanent
magnets are embedded in the external rotor, while the coil
windings are fixed to the central stator.
,e DC power supply is transformed into three-phase
electricity through a three-phase inverter to drive the rotor.
,e equivalent transformation and simplification leads to
the physical model, as shown in Figure 4.
,e _ABC_ three-phase corresponds to the _WVU_ threephase; _iA, iB, iC_ and _uA, uB, uC_ correspond to the current and
voltage on the three-phase winding, respectively; _N_ and _S_
poles correspond to the two poles of the permanent magnet;
_ψf_ is the motor rotor magnetic chain; _θr_ and _ω_ correspond
Figure 1: General structure of the hub motor.
to the angle of the magnetic chain to the _A_ -axis and the rotor
angle of rotation, respectively.
,e three-phase inverter is a very important component
in realizing the control of a permanent magnet synchronous
motor, which converts DC power from the battery into
three-phase power for direct control of the motor. Its
structure is shown in Figure 5.
_2.3._ _Mathematical_ _Model._,e permanent magnet synchronous motor is a typical nonlinear system. It has the
obvious characteristics of many variables, high order, and
strong coupling, so much so that it is very difficult to build its
accurate model.,erefore, in practical engineering control,
certain reasonable assumptions need to be made on the
motor model to ensure the maximum simplification of the
model while satisfying the required accuracy.
(1),e layout of the permanent magnets on the rotor is
perfectly symmetrical and has the same parameters.
(2),e layout structure and parameters of the motor
stator winding are identical and symmetrical and the
angle of the three phases is 120 <sup>°</sup> .
(3),e conductivity of the magnetic chain is zero.
With the above assumptions holding true, the following
simplified mathematical model of a permanent magnet
synchronous motor can be derived.
① Motor voltage equation is as follows:
⎡⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎣
⎡⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎣
⎡⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎣
⎡⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎣
_ua_
_ub_
_uc_
⎤⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎦
_RS_ 0 0
0 _RS_ 0
0 0 _RS_
⎤⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎦
_ia_
_ib_
_ic_
⎤⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎦ + _p_
_ψa_
_ψb_
_ψc_
(1)
⎤⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎦ _,_
where _ua, ub, uc_ indicates the instantaneous voltage
value on the three phases of the permanent magnet
synchronous motor _a, b, c_ . _RS_ denotes the resistance
on the stator winding. _ia, ib, ic_ denotes the instantaneous current on the electronic stator windings,
respectively. _p_ denotes the operator of this equation
for time differentiation calculation. _ψa, ψb, ψc_ indicates the magnetic chain on the three phases of the
motor stator winding, respectively.
Mobile Information Systems 3
suspension
brake disc
seal ring
electronic control system
motor stsor
type
brake caliper
supporting frame
capacitance
bearing
motor rotor
Figure 2:,e composition of the in-wheel motor.
POWER
rotor
stator
PMSM
N
S
<u>W-phass</u>
<u>V-phass</u>
<u>U-phass</u>
Three-phass inverter
_S_ 1 _S_ 2 _S_ 3
_a_
_Vdc_ _b_
_c_
_S_ 4 _S_ 5 _S_ 6
_n_
_VaN_
_Ea_
_ia_ _L_ _R_
_ib_
_ic_
Figure 3: Permanent magnet synchronous motor arrangement
structure.
Figure 5: Sketch of a three-phase inverter structure.
② Motor magnetic chain equation is as follows:
_N_
⎤⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎦ _,_
(2)
_ψf_ cos _θr_
_ψf_ cos - _θr_ - 120 <sup>°</sup> ?
_ψf_ cos - _θr_ + 120 <sup>°</sup> ?
_ψa_
_ψb_
_ψc_
⎤⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎦
⎡⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎣
_Laa_ _Lab_ _Lac_
_Lba_ _Lbb_ _Lbc_
_Lca_ _Lcb_ _Lcc_
⎤⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎦
⎡⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎣
_ia_
_ib_ ⎤⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎦ +
_ic_
⎡⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎣
⎡⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎣
_B_
_uC_ _iC_
_C_
_uB_
_ω_
_ψf_
_S_
_iA_
_uA_
_iB_
_θr_
_A_
where _ψa, ψb, ψc_ represents the magnetic chain on the
three phase windings of the motor stator,
respectively. _Lxy_ represents the mutual inductance
between the _x_ phase and the _y_ phase. _ψf_ represents
the magnetic chain on the rotor of this motor. _θr_
represents the angle between the rotor magnetic
chain and the _a_ axis is shown in Figure 4.
③ Electromagnetic torque equation is as follows:
_N_
(3)
Figure 4: Physical structure of a permanent magnet synchronous
motor.
_Te_ - <sup><u>1</u></sup> ? - ?
2 <sup>_iaψf_</sup> <sup>sin</sup> <sup>_θr_</sup> <sup>+</sup> <sup>_ibψf_</sup> <sup>sin</sup> <sup>_θr_</sup> <sup>−</sup> <sup>120°</sup>
+ _icψf_ sin - _θr_ + 120 <sup>°</sup> ?? _,_
4 Mobile Information Systems
where, _Te_ indicates the output torque of the motor.
_ia, ib, ic_ represents the instantaneous voltage on the
electronic stator winding, respectively. _ψf_ then
represents the magnetic chain on the rotor of this
motor.
④,e equation of motion of the tire is shown below.
,e force analysis of the tire is shown in Figure 6.
According to the wheel force analysis diagram, the
wheel motion equation is as follows:
_Te_ - _Tl_ - _Bω_ - _J_ <sup>_dω_</sup> (4)
_dt_ <sup>_,_</sup>
where, _Te_ is the output torque of the motor which is
the drive torque. _Tl_ is the load torque. _B_ is the coefficient of viscous friction of the rotor shaft of the
permanent magnet synchronous motor. _ω_ is the
angular velocity of the motor rotor. _J_ is the rotational
inertia of the wheel motor rotor and tire, and the
expression values are shown as
_J_ - <sup><u>1</u></sup> 2 <sup>_mr_</sup> <sup>2</sup> <sup>_,_</sup> (5)
where _m_ is the total mass of the tire and the motor
rotor and _r_ is the radius of the tire.
3. Design of the Controller
_3.1.OverallDesignoftheController._,e speed control of PM
synchronous motors in a DC environment is usually
achieved indirectly by changing the loading voltage on the
three-phase inverter using PWM modulated waves to
control the wheel speed. It is clear from the mathematical
modeling that the entire process from load voltage to output
wheel speed is high order, strongly coupled, and multivariate. In the actual control we need to face the following
situations:
(1) Nonidealization of model constraints. In order for
the modeling process to proceed smoothly, we formulated some assumptions about the model.
However, the existence of unavoidable factors such
as the manufacturing process and assembly errors in
the actual control process makes it difficult to achieve
the set model constraints perfectly.
(2),e values of the variables are difficult to measure.
During the high-speed operation of a hub motor,
variables such as instantaneous voltage and instantaneous current on the coil are difficult to measure.
(3) Constants present a strong time-domain [17]. As the
motor continues to run, certain factory parameters
of the motor will change as the motor runs over time.
For example, the stator coil resistance value will
gradually increase with the motor temperature.,e
maximum battery voltage decreases gradually as the
battery SOC decreases.
,e presence of many factors makes it difficult to establish an accurate mathematical model of the loading
where _u_ ( _t_ ) is the output of the PID control, _e_ ( _t_ ) is the
difference between the actual value of the controlled quantity
and the target value, and _Kp_, _Ki_, _Kd_ is the proportionality,
integration, and differentiation coefficients, respectively.
_r_
_Vxi_
_ω_
_Te_
_Fxi_
_Fzi_
Figure 6: Tire force analysis diagram.
voltage to the output speed. In order to reduce the influence
of the above factors on the motor control, a two-layer PID
nested control structure is designed in this paper, as shown
in Figure 7.,e inner loop PID is the torque loop, whose
main function is to control the load voltage loaded on the
three-phase inverter so that the motor output torque is close
to the target torque.,e outer loop PID is the speed loop,
whose function is to calculate the target torque of the inner
loop PID control using the difference between the actual
speed and the target speed, thus realizing the closed loop. In
the design, the inner loop PID regulation frequency is
significantly higher than the outer loop, allowing the torque
loop to have enough regulation times to approximate the
target torque derived from the speed loop.,is design allows
the system to well circumvent the problem of nonidealized
motor parameters and reduces the system to a first-order
nonlinear control problem between torque and speed.
When the actual output torque is very close to the target
torque, the control structure can be simplified as shown in
Figure 8, and the corresponding controlled model is simplified as shown in the following equation:
<u>1</u>
(6)
15 <sup>_πmr_</sup> <sup>2</sup> <sup>_N_</sup> <sup>_</sup> <sup>+</sup> 30 <sup>_<u>π</u>_</sup> <sup>_BN_</sup> <sup>�</sup> <sup>_Te_</sup> <sup>−</sup> <sup>_Tl,_</sup>
In the formula, _m_ is the total mass of the motor rotor tire;
_r_ is the radius of the tire; _N_ <sup>_</sup> is the first-order derivative of the
actual output speed; _B_ is the coefficient of viscosity of the
electronic rotor; _N_ is the actual output speed; _Te_ and _Tl_ are
the output torque and drag torque of the motor, respectively.
_3.2.ConventionalPIDControl._ PID algorithm is widely used
in practical industrial control. It compares and analyzes the
actual output of the controlled object with the set target
quantity, and the difference between the two is adjusted by
proportional link (P), integral link (I), and differential link
(D) to derive the control quantity.,e conventional PID
control algorithm is shown as
_t_
_t_ _<u>de</u>_ <u>(</u> _<u>t</u>_ <u>)</u>
_0_ <sup>_e_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)d</sup> <sup>_t_</sup> <sup>+</sup> <sup>_Kd_</sup> _dt_
_u_ ( _t_ ) � _Kpe_ ( _t_ ) + _Ki_ ?
_,_ (7)
_dt_
Mobile Information Systems 5
_d_
_KP_
_dt_
_d_
_KP_
_dt_
_KI_
_∫dτ_ _KD_
_+_
_+_ _Ug_ <mark>Motor</mark>
_+_
_eN_
_+_
_+_
_KI_ _Tg_
_Tc_ _Nc_
<mark>Tyre</mark>
_eT_
_+_
_–_
_<u>N</u>_
_+_
_–_
_+_
_∫dτ_ _KD_
_eN_
_<u>N</u>_
Figure 7: General structure of PID control.
_d_
_dt_
_KP_
_KI_
_+_
_+_
_+_
_Tg_ Motor
_Nc_
_+_
_–_
_∫dτ_ _KD_
Figure 8: Simplified PID control structure.
In the actual control, each observed quantity is not continuous, but discrete with a certain time interval.,erefore, we
need to discretize the above traditional PID algorithm formula,
and the discretized formula is shown as follows:
_k_
⎨⎧ _k_
⎩ _u_ ( _k_ ) � _Kpe_ ( _k_ ) + _Ki_ ? _e_ ( _i_ ) + _Kd_ [Δ _e_ ( _k_ )] _,_ Δ _e_ ( _k_ ) � _e_ ( _k_ ) − _e_ ( _k_ - 1) _._ (8)
_u_ ( _k_ ) � _Kpe_ ( _k_ ) + _Ki_ ?
_i_ �1
,e control performance of the PID algorithm depends
mainly on the value of _Kp_, _Ki_, _Kd_ and the greatest workload
in designing the PID controller comes from the constant
adjustment and trial and error of the three coefficients of
_Kp_, _Ki_, _Kd_ [18].,e role of the proportionality factor _Kp_ is
to speed up the response of the control system. _Kp_, the
larger the coefficient, the faster the response of the system
and the higher the accuracy of the system, but it will also
cause the system to overshoot and even cause the system to
be unstable. _Kp_, the smaller it is, the lower the response
speed of the system will be, thus prolonging the time for the
system to reach the steady state and making the dynamic
and static characteristics of the system both worse.,e
function of the integration factor _Ki_ is to eliminate the
steady-state error of the system. _Ki_, the larger the coefficient, the faster the system can eliminate the steady-state
error, but when _Ki_ is too large, it will cause integration
saturation at the beginning of the regulation process,
resulting in a large overshoot. If _Ki_ is too small, it will make
the steady-state error difficult to eliminate and affect the
regulation accuracy of the system. At the same time, the
measurement error will accumulate in the integration, and
the accumulated error for a long time will make the regulation accuracy degrade.,e differential coefficient _Kd_
can improve the dynamic performance of the system. It can
suppress the deviation in any direction and prevent the
overshoot phenomenon. However, an excessive amount of
_Kd_ makes the regulation process brake earlier, which makes
the regulation time longer and reduces the ability of the
system to resist disturbances.
_3.3. Adaptive PID Control._ PID control algorithm has been
widely used in the industry for its simple structure, good
robustness, and easy implementation. But the actual control
is mostly accompanied by changes in the control environment, the traditional PID control cannot change the proportional, integral, and differential coefficients in real time
according to the changing environment, which makes the
control effect is reduced or even out of control.
For the actual control situation, adaptive PID control
algorithms have been developed rapidly, especially the
generalized adaptive PID control algorithm without accurate
mathematical model of the controlled object and without a
priori knowledge. Since differential regulation has a large
impact on the antidisturbance ability of the system, the firstorder nonlinear PI control algorithm is used as an example
in this paper [18].,e form of its generalized adaptive PI
control algorithm is shown as follows:
_t_
_u_ ( _t_ ) � - _KP_ + Δ _KP_ ( _t_ )? _ε_ ( _t_ ) +� _KI_ + Δ _KI_ ( _t_ )??
_0_ <sup>_ε_</sup> <sup>(</sup> <sup>_τ_</sup> <sup>)d</sup> <sup>_τ._</sup> (9)
Unlike traditional PI control which uses constant gain
coefficients, the gain coefficients for adaptive PI control are
divided into two parts, where _KP_ is the proportional constant gain coefficient and _KI_ is the integral constant gain
6 Mobile Information Systems
coefficient. To simplify the debugging process, _KI_ - _βKP_ is
set, where _KP_ - 0 _, β_ - 0. Δ _KP_ ( _t_ ) and Δ _KI_ ( _t_ ) are timevarying gains that automatically adapt to environmental
changes using the algorithm. Δ _KP_ ( _t_ ) and Δ _KI_ ( _t_ ) are determined by the following equations:
⎪⎧⎪⎪⎪⎨
⎪⎪⎪⎪⎩
? _<u>cψ</u>_ <sup>2</sup>
Δ _KP_ - _ψ_ | _s_ | + _l_ <sup>_,_</sup>
Δ _KI_ - Δ _KP,_
(10)
where _c_ is a dummy parameter, ? _c_ is an estimate of _c_, _β_ and _l_
are small constants of the designer’s choosing according to
the actual situation, and _β_ - 0 _, l_ - 0. _s_ is a filter variable with
the expression.
_t_
_s_ - _ε_ + _β_ ?
_0_ <sup>_ε_</sup> <sup>(</sup> <sup>_τ_</sup> <sup>)d</sup> <sup>_τ,_</sup> (11)
? _c_ is determined by the following equation:
? _c_ _ �− _σ_ 1 _c_ 1? _c_ + <sup>_<u>σ</u>_</sup> <sup><u>1</u></sup> <sup>_<u>ψ</u>_</sup> <sup>2</sup> <sup>_<u>s</u>_</sup> <sup>2</sup> (12)
_ψ_ | _s_ | + _l_ <sup>_._</sup>
,e equations _σ_ 1 and _c_ 1 are positive numbers that need
to be freely chosen by the designer depending on the actual
situation of the control. _ψ_ is a scalar quantity used to describe the state of the system.
To prevent the system from going out of control in the
event of a contingency, an upper limit _Z_ needs to be set for
Δ _KP_ .,e expression is shown as
_ψ_ | _s_ | + _l_ <sup><</sup> <sup>_Z,_</sup>
⎪⎧⎪⎪⎪⎪⎪⎪⎨
⎪⎪⎪⎪⎪⎪⎪⎩
? _<u>cψ</u>_ <sup>2</sup>
Δ _KP_ - _ψ_ | _s_ | +
? _<u>cψ</u>_ <sup>2</sup>
Δ _KP_ - _Z,_ _ψ_ | _s_ | + _l_ <sup>></sup> <sup>_Z._</sup>
? _<u>cψ</u>_ <sup>2</sup> ? _<u>cψ</u>_ <sup>2</sup>
_ψ_ | _s_ | + _l_ <sup>_,_</sup> _ψ_ | _s_ | +
(13)
to change the step length of the system in real time
according to the state of the motor, so that generalized
adaptive PI control can perform better and get the optimal
control effect.
,e main components of fuzzy control are: fuzzy interface, fuzzy inference machine, and clear interface [19]. In
this paper, the error and the amount of change of error are
chosen as the input of fuzzy control to describe the state of
the system, and the interval (step size) of system regulation is
taken as the output of fuzzy control.,e structure of the
fuzzy controller is shown in Figure 9.
Fuzzy controller input variables and output variables
are called linguistic variables. For example, bigger negative,
medium negative, smaller negative, zero, bigger positive,
medium positive, smaller positive (abbreviated as {NB,
NM, NS, ZE, PS, PM, PB}), and other descriptors used to
describe the size of linguistic variables are called linguistic
variable values.,e set of values of linguistic variables is
called the fuzzy domain.,e range of the actual input and
output quantities of the fuzzy controller is called the
fundamental domain, which is a continuous domain.,e
basic theoretical domain needs to be transformed into a
discrete domain of finite integers in the fuzzification phase.
Quantization factors are needed for domain transformation between the joint basic and discrete theoretical domains.,e quantification factor is determined by the
following equation. where _K_ is the quantization factor; _n_ is
the number of discretized basic theoretical domains; _a_ and
_b_ are the upper and lower limits of the basic theoretical
domains, respectively.
_K_ - <sup>_<u>b</u>_</sup> <sup><u>−</u></sup> <sup>_<u>a</u>_</sup> _._ (14)
_n_
,e basic theoretical domain is discretized and transformed into a fuzzy domain using an affiliation function.,e
commonly used affiliation functions are triangular, trapezoidal, Gaussian, etc. In order to simplify the calculation of
this paper, we choose the triangular affiliation function.
,e input error _e_, the linguistic variables are taken as _E,_
the fuzzy domain is bigger negative, medium negative,
smaller negative, zero, smaller positive, medium positive,
bigger positive, and smaller positive (abbreviated as {NB,
NM, NS, ZE, PS, PM, PB}), the basic domain is [−300, 300],
and the discrete domain is taken as [−3, 3].,e quantization
factor is taken as 1/100.
,e variation of the input error _ec_, the linguistic variables
are taken as _EC_, the fuzzy domain is bigger negative, smaller
negative, zero, smaller positive, and bigger positive (abbreviated as {NB, NS, ZE, PS, PB}), the basic domain is [−60,
60], the discrete domain is taken as [−3, 3], and the
quantization factor is taken as 1/20.
,e output quantity step _s_, the linguistic variables are
taken as _S_ .,e fuzzy domains are small, relatively small,
medium, relatively big, and big (abbreviated as {S, RS, M,
RB, B}), the basic domain is [10, 50], and the discrete domain
is [1, 5].,e quantization factor is 1/10.
,e membership function of the error is shown in
Figure 10.
_3.4. Fuzzy Control of the Step Size._ In the actual control, the
generalized adaptive PI control can increase the proportional and differential coefficients in real time, thus speeding
up the response of the system. However, the hub motor has a
large inertia and response time, and once the motor cannot
respond in time, the adaptive control accumulates several
iterations during which the proportionality coefficient is
easily too large, thus making the system start to oscillate.
When the system starts to oscillate, the adaptive algorithm
will continue to increase the proportionality coefficient and
form positive feedback, thus making the system completely
out of control.
After the PID algorithm is discretized, the time between
two regulation controls is called the step size. Extending the
step length can make the motor respond in time, thus
reducing the accumulation of errors during the motor
response and preventing the system from going out of
control. However, lengthening the step length will reduce
the control accuracy of the system and increase the steadystate error of the system. In this paper, fuzzy control is used
Mobile Information Systems 7
Fuzzy controller
Rule base
Date base
_E_ Fuzzy S
Input _EC_ Fuzzification reasoning defuzzification output
Table 1: Error fuzzy subset membership function table.
<u>Membership</u> <u>−3</u> <u>−2</u> <u>−1</u> <u>0</u> <u>1</u> <u>2</u> <u>3</u>
PB 0 0 0 0 0.3 0.7 1
PM 0 0 0 0.3 0.7 1 0.7
PS 0 0 0.3 0.7 1 0.7 0.3
ZE 0 0.3 0.7 1 0.7 0.3 0
NS 0.3 0.7 1 0.7 0.3 0 0
NM 0.7 1 0.7 0.3 0 0 0
<u>NB</u> <u>1</u> <u>0.7</u> <u>0.3</u> <u>0</u> <u>0</u> <u>0</u> <u>0</u>
1.0
0.8
0.0
0.4
0.2
Figure 9: Fuzzy control structure diagram.
NB NM NS Z PS PM PB
NB NS Z PS PB
1.0
0.8
0.0
0.4
0.2
0.0
-3 -2 -1
0 1 2
3
basic theory of domain
Figure 10: Membership function of error.
A table of error membership functions is created from
the error membership function diagram, as shown in the
Table 1.
,e membership function diagram and the function
table of the change rate _EC_ of the input error are shown in
Figure 11 and Table 2.
,e membership function diagram and the function
table of the output step S are shown in Figure 12 and Table 3.
,is paper summarizes 35 fuzzy control rules based on a
large number of experiments that relate the error and the
rate of change of the error to the actual control system step
size.,ese control rules use the type of “if PB and PB then
B.”,ese rules are summarized in a fuzzy rule control table,
as shown in Table 4.
Finally the results of fuzzy inference are clarified using
the center of the gravity method, and the specific clarification rules are shown below, where _vτ_ is the step size _S_ the
affiliation function of the fuzzy set _uc_ ( _v_ ) the center of the
covered area.
0.0
-3 -2 -1
0 1 2
3
basic theory of domain
Figure 11: Membership function of the error rate of change.
Table 2: Fuzzy subset membership function table of the error rate
of change.
<u>Membership</u> <u>−3</u> <u>−2</u> <u>−1</u> <u>0</u> <u>1</u> <u>2</u> <u>3</u>
PB 0 0 0 0 0.3 0.7 1
PS 0 0 0.3 0.7 1 0.7 0.3
ZE 0 0.3 0.7 1 0.7 0.3 0
NS 0.3 0.7 1 0.7 0.3 0 0
<u>NB</u> <u>1</u> <u>0.7</u> <u>0.3</u> <u>0</u> <u>0</u> <u>0</u> <u>0</u>
S RS M RB B
_vτ_ - <sup><u>?</u></sup> _<u>k</u>_ <sup>_m_</sup>
?
_<u>k</u>_ <sup>_m_</sup> <u>�1</u> <sup>_<u>v</u>_</sup> _<u>k</u>_ <sup>_<u>u</u>_</sup> _<u>c</u>_ <u>�</u> <sup>_<u>v</u>_</sup> _<u>k</u>_ <u>?</u>
? <sup>_<u>m</u>_</sup> _k_ �1 <sup>_u_</sup> _c_ - <sup>_v_</sup> _k_ ?
(15)
<sup>_<u>m</u>_</sup> _k_ �1 <sup>_u_</sup> _c_ - <sup>_v_</sup> _k_ ? <sup>_~~.~~_</sup>
1.0
0.8
0.0
0.4
0.2
,e final system control is shown in Figure 13.,e error
is calculated by the real-time feedback of the rotational
speed, and the obtained error is used as the input of the
system to obtain the proportionality coefficient by the
generalized adaptive PID algorithm _KP_ and integral coefficient _KI_ ; the step size of this PID regulation is decided by
the fuzzy controller, and the final outer-loop PID generates
Figure 12: Membership function of the output step size.
0.0
1
2 3 4
basic theory of domain
5
8 Mobile Information Systems
Table 3: Fuzzy subset membership function table of the output step size.
<u>Membership</u> <u>1</u> <u>2</u> <u>3</u> <u>4</u> <u>5</u>
S 1 0.7 0.3 0 0
RS 0.7 1 0.7 0.3 0
M 0.3 0.7 1 0.7 0.3
RB 0 0.3 0.7 1 0.7
<u>B</u> <u>0</u> <u>0</u> <u>0.3</u> <u>0.7</u> <u>1</u>
Table 4: Fuzzy control rule table.
_E_
S
<u>PB</u> <u>PM</u> <u>PS</u> <u>ZE</u> <u>NS</u> <u>NM</u> <u>MB</u>
_EC_
PB B B RB M RS S S
PS RB RB M S M RS RS
ZE M M M S M M M
NS RS RS M S M RB RB
<u>NB</u> <u>S</u> <u>S</u> <u>RS</u> <u>M</u> <u>RB</u> <u>B</u> <u>B</u>
Generalized adaptive
PID controller
_ec_
Inner-loop PID
_ng_
_Tg_
_nc_
STM32
_d/dt_
External-loop Inner-loop PID
PID controller + controller
Inner-loop PID Hub
+ controller motor
+
- _e_
_ec_
Fuzzy
controller
_Tc_
_nc_
Figure 13: Overall control chart.
the control torque, which is input to the inner-loop PID and
outputs the control voltage to control the wheel motor
rotation.
4. Experiment and Analysis
,is experimental platform is shown in Figure 14, the external STM32 microcontroller receives the feedback speed
signal, the speed will be PID processing described above, the
output target torque, through CAN communication to vehicle VCU. Vehicle VCU will receive the torque through the
built-in PID conversion for the control of wheel motor
rotation.,e vehicle’s built-in speed controller feeds the
actual speed to VCU, which then transmits the speed to the
STM32 microcontroller via CAN communication to finally
achieve a closed loop.
Experimentally, the proportionality coefficient _KP_ and
the integration coefficient _KI_ were set as the optimal parameters for manual adjustment at 100 r/min.,e state
description quantity in generalized adaptive PI control is the
sum of the absolute value of the system error and the absolute value of the speed acceleration.,e three parameters
of PID regulation are unchanged, and the target speed of the
motor is set to 100 r/min and 300 r/min and record the actual
control of tire speed by the system under three modes of
generalized adaptive PID mode, fuzzy adaptive PID mode,
Figure 14: Hub motor experimental platform.
and conventional PID mode.,e experimental results are
shown in Figures 15 and 16.,e performance comparison
between different algorithms is shown in Table 5.
In terms of time to approach the target speed, the
generalized adaptive PID is the fastest, followed by the fuzzy
adaptive PID and finally the conventional PID control.,e
adaptive PID algorithm automatically increases the _KP_
factor according to the motor state to make the whole faster
Hub motor
CAN-bus
VCU
Battery
Mobile Information Systems 9
200
160
120
80
40
0
0 1 2 3
time:S
Adaptive PID
Fuzzy adaptive PID
PID
4 5
Figure 15: Effect diagram of target speed of 100.
500
400
300
200
100
0
0 1 2 3
time:S
Adaptive PID
Fuzzy adaptive PID
PID
4 5
Figure 16: Effect diagram of target speed 300.
Table 5: Control performance index comparison table.
<u>Control</u> <u>strategy</u> <u>Control</u> <u>goals</u> <u>(r/min)</u> <u>Rise</u> <u>time</u> <u>Steady-state</u> <u>duration</u> <u>Overshoot</u> <u>(%)</u> <u>Steady-state</u> <u>error</u> <u>(%)</u>
100 0.14 1.235 36 2
PID
<u>300</u> <u>0.215</u> <u>1.63</u> <u>23</u> <u>4</u>
100 0.06 0.975 50 4
Adaptive PID
<u>300</u> <u>0.11</u> <u>0.83</u> <u>29</u> <u>3.6</u>
100 0.075 0.685 30 1
Fuzzy adaptive PID
<u>300</u> <u>0.135</u> <u>0.625</u> <u>17</u> <u>3.3</u>
10 Mobile Information Systems
to approach the target speed.,e fuzzy adaptive PID algorithm extends the regulation interval to reduce the
number of iterations of the proportionality coefficient relatively slow, but also significantly faster than the traditional
PID algorithm.
In terms of the time to reach a steady state, the fuzzy
adaptive PID control is the best and generalized adaptive
PID control has the longest time to enter a steady state.,e
system lag caused by motor inertia makes the adaptive PID
control algorithm iterate the PID control coefficients rapidly
even after approaching the target speed, instead prolonging
the oscillation time.,e addition of fuzzy control allows the
system to adjust each PID control interval according to the
state of the motor, allowing the motor to respond in sufficient time to reduce the generation of oscillations.
In terms of overshoot, the fuzzy adaptive PID algorithm
is significantly smaller than the generalized adaptive PID
control algorithm.,e intelligently adjusted step size significantly reduces the transition accumulation of the proportional coefficient KP, effectively suppressing the control
inertia of the system and reducing the generation of
overshoot.
In terms of steady-state error, the three control methods
do not differ much. Fuzzy adaptive PID control is slightly
better than generalized adaptive PID control, and the effect
is close to that of conventional PID control.
From the comparison between Figures 15 and 16, it can
be concluded that the same PID parameters still play a role in
the control of the system as a result of changing the target
speed from 100 r/min to 300 r/min. However, the increase in
speed makes the steady-state error of the system increase
significantly, and the control effect is relatively reduced.,e
adaptive PID control algorithm with fuzzy adjustment step
size still allows the system to regulate faster and enter the
steady-state phase in less time than traditional PID
algorithms.
Overall, fuzzy adaptive PID control retains the ability of
generalized adaptive PID control to automatically adjust
parameters and can have a fast approach to the target. At the
same time, it can also effectively reduce the generation of
overshoot and reduce the time to enter the steady state. It
can not only approach the target quickly and effectively, but
also ensure the lower limit of traditional PID control effect
and provide a stable steady-state performance, which effectively increases the robustness of the system when facing
different working conditions.
5. Conclusion
In view of the problem that the generalized adaptive PID
control cannot respond to the lag caused by the inertia and
error of the system in time, and is easy to produce overshoot
and steady-state error, this paper designs the adaptive step
size adjustment algorithm of fuzzy control according to a lot
of control experience and summary. If the lag of the system
is large, the step length between the two adjustments is
lengthened, so that the system can have enough time to
respond to the control command and eliminate the lag of the
system. When the system lag is small, the PID adjustment
can be performed with a small step size to deal with the
sudden change of the system in time. Practical verifications
at different speeds are carried out on hub motors. Experiments show that the algorithm has a good fast response
ability and excellent adaptive ability in the control of the
motor. However, good fuzzy control results need to be based
on a lot of practical experience. Although the addition of
fuzzy control effectively optimizes the effect of control inertia, it also limits the generalizability of the control method.
Future research will address multiple factors of motor
hysteresis by effective mathematical modeling and propose a
generalized method for effective reduction of motor control
system hysteresis using modern control theory.
Data Availability
,e data in this paper are available from the corresponding
author upon request.
Conflicts of Interest
,e authors declare that they have no conflicts of interest.
Acknowledgments
,is work was supported by the Science and Technology
Research Projects of Colleges and Universities in Hebei,
China (No. ZD2018207).
References
[1] F. Hasan and M. R. Islam, “New Energy Vehicles from the
Perspective of Market and Environment,” _Journal of Business_
_Strategy_ _Finance_ _and_ _Management_, vol. 4, 2022.
[2] B. Lin and L. Shi, “Do environmental quality and policy
changes affect the evolution of consumers’ intentions to buy
new energy vehicles,” _Applied_ _Energy_, vol. 310, Article ID
118582, 2022.
[3] Z. Li, C. Liu, X. Song, and C. Wang, “Vibration suppression of
hub motor electric vehicle considering unbalanced magnetic
pull,” _Proceedings of the Institution of Mechanical Engineers -_
_Part_ _D:_ _Journal_ _of_ _Automobile_ _Engineering_, vol. 235,
pp. 3185–3198, 2021.
[4] S. Leng and L. Jin, “Distribution algorithm for torque control
of new energy four-wheel hub motor,” _Russian_ _Physics_
_Journal_, vol. 64, no. 9, pp. 1613–1628, 2022.
[5] Y. Yang, “Comparison of various PID control algorithms on
coupled-tank liquid level control system,” _Journal_ _of_ _Physics:_
_Conference_ _Series_, vol. 1622, no. 1, Article ID 012129, 2020.
[6] P. Zhao, J. Chen, Y. Song, X. Tao, T. Xu, and T. Mei, “Design
of a control system for an autonomous vehicle based on
adaptive-PID,” _International_ _Journal_ _of_ _Advanced_ _Robotic_
_Systems_, vol. 9, no. 2, p. 44, 2012.
[7] I. Mizumoto, D. Ikeda, T. Hirahata, and Z. Iwai, “Design of
discrete time adaptive PID control systems with parallel
feedforward compensator,” _Control_ _Engineering_ _Practice_,
vol. 18, pp. 168–176, 2010.
[8] M. Elsisi, M. Soliman, M. A. S. Aboelela, and W. Mansour,
“ABC based design of PID controller for two area load frequency control with nonlinearities,” _TELKOMNIKA_ _Indo-_
_nesian_ _Journal_ _of_ _Electrical_ _Engineering_, vol. 16, pp. 58–64,
2015.
Mobile Information Systems 11
[9] R. Mado´nski, M. Nowicki, and P. Herman, “Application of
active disturbance rejection controller to water supply system,” in _Proceedings_ _of_ _the_ _33rd_ _Chinese_ _Control_ _Conference_,
Nanjing, China, July 2014.
[10] Ye. Cao and Y. D. Song, “Adaptive PID-like fault-tolerant
control for robot manipulators with given performance
specifications,” _International Journal of Control_, vol. 93, no. 3,
pp. 377–386, 2018.
[11] Q. Yang, Z. Liu, and Y. Zhang, “Research and practice of
neural network PID process control algorithm based on
offshore oil and gas platform,” _Journal of Physics: Conference_
_Series_, vol. 1486, no. 3, Article ID 032039, 2020.
[12] M. Elsisi, “Optimal design of non-fragile PID controller,”
_Asian_ _Journal_ _of_ _Control_, vol. 23, pp. 729–738, 2021.
[13] M. C. Fang, Y. Z. Zhuo, and Z. Y. Lee, “,e application of the
self-tuning neural network PID controller on the ship roll
reduction in random waves,” _Ocean_ _Engineering_, vol. 37,
pp. 529–538, 2010.
[14] Y. Song, Y. Wang, and C. Wen, “Adaptive fault-tolerant PI
tracking control with guaranteed transient and steady-state
performance,” _IEEE_ _Transactions_ _on_ _Automatic_ _Control_,
vol. 62, pp. 481–487, 2017.
[15] Borchardt, Norman, R. Kasper, and W. Heinemann, “Design
of a wheel-hub motor with air gap winding and simultaneous
utilization of all magnetic poles,” in _Proceedings_ _of_ _the_ _2012_
_IEEE International Electric Vehicle Conference_, Greenville, SC,
USA, IEEE, March 2012.
[16] Islam, Rakib, and I. Husain, “Analytical model for predicting
noise and vibration in permanent-magnet synchronous
motors,” _IEEE Transactions on Industry Applications_, vol. 46,
no. 6, pp. 2346–2354, 2010.
[17] N. Tutkun and D. Maden, “Determination of the PID Con
troller Parameters for a DC Shunt Motor Using the Genetic
Algorithm Method,” in _Proceedings of the National Conference_
_on_ _Electrical,_ _Electronics_ _and_ _Computer_ _Engineering_, IEEE,
Bursa, Turkey, December 2010.
[18] Y. D. Song, _Control of Nonlinear Systems via PI, PD and PID:_
_Stability and Performance_, CRC Press, Boca Raton, FL, USA,
2018.
[19] Y. Z. Lu, M. He, and C. W. Xu, “Fuzzy modeling and expert
optimization control for industrial processes,” _IEEE_ _Trans-_
_actions_ _on_ _Control_ _Systems_ _Technology_, vol. 5, 1996.
섹션 본문
섹션 본문이 없습니다.
참고문헌 20건
- Application of active disturbance rejection controller to water supply system 2014 10.1109/chicc.2014.6895677
- Design of discrete time adaptive PID control systems with parallel feedforward compensator Control Engineering Practice · Elsevier BV · 2009 10.1016/j.conengprac.2009.09.003
- The application of the self-tuning neural network PID controller on the ship roll reduction in random waves Ocean Engineering · Elsevier BV · 2010 10.1016/j.oceaneng.2010.02.013
- Design of a wheel-hub motor with air gap winding and simultaneous utilization of all magnetic poles IEEE International Electric Vehicle Conference · 2012 10.1109/ievc.2012.6183222
- Design of a Control System for an Autonomous Vehicle Based on Adaptive-PID International Journal of Advanced Robotic Systems · SAGE Publishing · 2012 10.5772/51314
- Analytical Model for Predicting Noise and Vibration in Permanent-Magnet Synchronous Motors IEEE Transactions on Industry Applications · Institute of Electrical and Electronics Engineers · 2010 10.1109/tia.2010.2070473
- Fuzzy modeling and expert optimization control for industrial processes IEEE Transactions on Control Systems Technology · Institute of Electrical and Electronics Engineers · 1997 10.1109/87.553661
- Adaptive Fault-Tolerant PI Tracking Control With Guaranteed Transient and Steady-State Performance IEEE Transactions on Automatic Control · Institute of Electrical and Electronics Engineers · 2016 10.1109/tac.2016.2554362
- Determination of the PID controller parameters for a DC shunt motor using the genetic algorithm method Electrical, Electronics and Computer Engineering (ELECO), 2010 National Conference on · 2011
- Adaptive PID-like fault-tolerant control for robot manipulators with given performance specifications International Journal of Control · Taylor & Francis · 2018 10.1080/00207179.2018.1468928
- Optimal design of non‐fragile PID controller Asian Journal of Control · Wiley · 2019 10.1002/asjc.2248
- Research and Practice of Neural Network PID Process Control Algorithm Based on Offshore Oil and Gas Platform Journal of Physics Conference Series · IOP Publishing · 2020 10.1088/1742-6596/1486/3/032039
- Vibration suppression of hub motor electric vehicle considering unbalanced magnetic pull Proceedings of the Institution of Mechanical Engineers Part D Journal of Automobile Engineering · SAGE Publishing · 2021 10.1177/09544070211004507
- Determination of the PID controller parameters for a DC shunt motor using the genetic algorithm method International Conference on Electrical, Electronic and Computer Engineering · 2010
- Comparison of Various PID Control Algorithms on Coupled-Tank Liquid Level Control System Journal of Physics Conference Series · IOP Publishing · 2020 10.1088/1742-6596/1622/1/012129
- Distribution Algorithm for Torque Control of New Energy Four-Wheel Hub Motor Russian Physics Journal · Springer Science+Business Media · 2022 10.1007/s11182-022-02498-4
- Do environmental quality and policy changes affect the evolution of consumers’ intentions to buy new energy vehicles Applied Energy · Elsevier BV · 2022 10.1016/j.apenergy.2022.118582
- ABC Based Design of PID Controller for Two Area Load Frequency Control with Nonlinearities TELKOMNIKA Indonesian Journal of Electrical Engineering · Institute of Advanced Engineering and Science (IAES) · 2015 10.11591/tijee.v16i1.1588
- Control of Nonlinear Systems via PI, PD and PID 2018 10.1201/9780429455070
- New Energy Vehicles from the Perspective of Market and Environment 2022 10.12944/jbsfm.04.01.04