Next Article in Journal
Alterations in Center of Pressure and Ground Reaction Forces Across Transition and Progression Conditions of Stair Negotiation in Adults with Chronic Ankle Instability: A Cross-Sectional Study
Previous Article in Journal
Query-Efficient Cross-Domain Black-Box Adversarial Robustness Assessment Without Retraining via Differentiable Spatial-Channel Mapping and Bandit Optimization
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Cascaded Acceleration–Velocity Control of a PMDC Motor for Flywheel Energy Storage Systems with Planetary Transmission

by
Mostafa Ebrahimi
and
Jacek Jackiewicz
*
Faculty of Mechatronics, Kazimierz Wielki University, ul. Kopernika 1, 85-074 Bydgoszcz, Poland
*
Author to whom correspondence should be addressed.
Appl. Sci. 2026, 16(17), 8836; https://doi.org/10.3390/app16178836
Submission received: 28 July 2026 / Revised: 22 August 2026 / Accepted: 2 September 2026 / Published: 5 September 2026

Abstract

Flywheel energy storage systems coupled with planetary transmissions require accurate carrier motion control to support efficient energy exchange and operation with carrier torque close to zero. This paper develops a digital cascaded acceleration and velocity control framework for a permanent magnet DC motor used as the carrier actuator in a planetary-transmission flywheel energy storage system. The controller combines an outer velocity loop, an inner acceleration loop, and a feedforward angular acceleration reference derived from the desired motion profile. Two digital implementation approaches are examined. The first preserves the continuous motor plant and includes A/D conversion, aliasing prevention and D/A reconstruction effects. The second uses a fully discrete acceleration plant for adaptive controller design. Based on this discrete model, two adaptive inner acceleration controllers are developed: adaptive deadbeat control and adaptive pole placement control. Both controllers replace only the inner acceleration PI controller, while the outer velocity loop and the feedforward structure remain unchanged. A normalized gradient estimator with projection updates the discrete plant coefficients online and keeps the estimates within calculated admissible bounds. Scilab/Xcos simulations evaluate the controllers under pulse acceleration disturbance, sinusoidal acceleration disturbance, and segmented reference tracking. The results show that both adaptive controllers reduce angular acceleration and angular velocity tracking errors compared with the digital PI baseline. The adaptive deadbeat controller gives the fastest response, whereas the adaptive pole placement controller provides a tunable compromise between response speed and smoothness.

1. Introduction

Flywheel energy storage systems (FESSs) are attractive for applications that require high power density, rapid charge and discharge operation, long cycle life, and repeated regenerative energy exchange. In railway and vehicle applications, a flywheel can absorb kinetic energy during braking and return it during acceleration, thereby reducing energy losses and improving system efficiency. Jackiewicz introduced a flywheel based regenerative braking concept in which a planetary transmission regulates the energy exchange between the drivetrain and the flywheel [1,2]. In that configuration, the carrier motion plays a central role. The carrier torque should remain close to zero, while the carrier velocity should follow a linear profile. This operating condition requires accurate regulation of both angular velocity and angular acceleration. Therefore, the motor connected to the planetary carrier should not be treated only as a conventional speed actuator. Its acceleration dynamics must also be included in the controller design.
Recent studies confirm that flywheel energy storage remains an active research area for transportation, renewable energy systems, and grid support applications. Reviews of FESS technologies emphasize their suitability for high power operation, regenerative braking, load frequency regulation, and applications that require frequent cycling [3,4,5,6]. In railway and urban transit systems, the recovery of braking energy is especially important because braking and acceleration occur repeatedly over short operating intervals. Researchers have studied wayside and onboard storage systems to improve energy use in DC railway networks and metro systems [7,8,9,10]. Hybrid propulsion concepts for rail vehicles also show that energy storage and power management strategies can significantly influence system level performance [11]. These studies demonstrate the relevance of FESS technology and show that effective control of the electromechanical interface is essential for practical implementation.
A planetary transmission introduces additional control requirements because the rotational speeds and torques of the sun gear, ring gear, and carrier are mechanically coupled. Planetary gear trains are widely used when compactness, torque distribution, and multiple speed paths are required [12]. Similar mechanical coupling principles also appear in electric and hybrid vehicle powertrains, especially in power split and continuously variable transmission concepts [13,14]. However, the flywheel transmission considered here actively controls the carrier using a permanent magnet DC motor (PMDC motor), and the desired operating condition requires controlled acceleration and carrier torque close to zero. This requirement differs from conventional motor speed regulation because the controller must generate a prescribed angular velocity trajectory while maintaining the corresponding acceleration profile. The problem also relates to railway longitudinal dynamics, where acceleration limits, velocity profiles, and traction or braking transitions directly affect system behavior and passenger comfort [15,16,17,18]. Previous studies on train longitudinal dynamics and coupler force reduction further show that accurate dynamic modeling and control can improve the behavior of multibody railway systems [19,20].
Conventional PMDC motor control is commonly formulated as a speed control problem, where a proportional integral or proportional integral derivative controller reduces the angular velocity tracking error. Classical and modern control references provide the fundamental basis for motor modeling, feedback control, stability analysis, discrete time pole assignment, and digital controller implementation [21,22,23,24,25]. However, a single velocity loop is not sufficient for the present application because the acceleration must also follow a prescribed profile. A cascaded control structure is more suitable for this purpose. In this structure, the outer loop regulates the slower or higher level variable, while the inner loop regulates a faster variable that relates more directly to the actuator dynamics. For the PMDC carrier actuator, the outer loop regulates velocity, while the inner loop regulates acceleration. This arrangement allows the controller to handle the desired angular velocity trajectory and its associated acceleration command consistently.
Digital implementation is also essential because a practical test bench controller will operate on a microprocessor or real time control platform. Digital control requires attention to sampling, discretization, computation delay, aliasing prevention, and signal reconstruction. The later stability evaluation also relies on discrete characteristic root locations and Jury type stability conditions, which are commonly used for discrete time systems and numerical stability assessment [25,26]. These topics are well established in sampled data and digital control theory [23,27,28]. Two digital implementation approaches are considered in this paper. The first preserves the continuous motor plant and introduces digital conversion effects, including A/D conversion, aliasing prevention and D/A reconstruction. This approach is close to the physical test bench situation, where the motor remains a continuous electromechanical plant but the controller operates digitally. The second approach converts the PMDC acceleration dynamics into a fully discrete state space model, which supports adaptive inner loop control because the controller uses the discrete acceleration plant coefficients directly.
Adaptive control is useful when plant parameters are uncertain, variable, or affected by unmodeled dynamics. Standard adaptive control methods use online parameter estimation and controller adjustment to improve performance under model uncertainty [29,30,31,32]. Adaptive laws often include projection or bounding mechanisms to keep online parameter estimates inside prescribed admissible sets, especially when the estimated coefficients are used directly in model based control laws [33]. Recent studies have continued to develop parameter estimation and adaptive control methods for dynamic systems, including improved estimator formulations and adaptive motor control strategies [34,35]. For motor drives, adaptive and model based control can improve transient response and robustness compared with fixed gain controllers, especially when the system operates under changing load or disturbance conditions. Deadbeat and pole placement methods are particularly relevant for discrete time systems because they use the plant model to assign the closed loop response directly. Recent motor control studies have applied deadbeat predictive and pole placement based adaptive methods to improve current, speed, and dynamic response characteristics [36,37]. Researchers have also investigated cascade based motor control structures to improve speed regulation and disturbance response [38].
Despite these developments, the control problem addressed in this paper remains insufficiently developed in the available literature. Existing FESS studies mainly focus on energy storage technologies, railway energy recovery, power management, or system-level storage performance [4,5,6,39]. These works usually do not examine the acceleration control of the motor that regulates the carrier motion in a planetary-transmission flywheel system. At the same time, motor control studies commonly focus on speed, current, or torque regulation. However, the present application requires the carrier velocity to follow a prescribed trajectory while its acceleration is also explicitly controlled. This requirement is directly related to the low carrier torque of the planetary gearset, which results solely from the coupling effect of friction and the mass moment of inertia of the planetary gear mechanism reduced to the carrier axis [40,41]. This favors low-loss bidirectional energy exchange in the flywheel system [1,2].
The novelty of this work is therefore not only the use of adaptive control for a PMDC motor, but its application to the inner acceleration loop of a cascaded carrier-motion controller for a planetary-transmission FESS. The proposed formulation treats the PMDC motor as a discrete acceleration plant. Based on this model, the fixed inner acceleration PI controller is replaced with adaptive deadbeat and adaptive pole-placement controllers. This gives a direct model-based link between the commanded acceleration and the voltage command, while the outer velocity loop and the feedforward acceleration reference remain unchanged. In this way, the paper connects the mechanical requirement of the flywheel transmission with a digital adaptive acceleration-control structure suitable for future test-bench implementation.
In this paper, we intend to popularize a more cost-effective solution. This approach serves as an alternative to both the digital cascade speed control of permanent-magnet DC motors proposed by Gondhalekar [42] and the field-oriented control of permanent-magnet motors. It should be emphasized that, to date, the cascade control of Gondhalekar’s DC brushed motor is the only known commercially available solution. Moreover, we intend to create a suitable control system for an electronic continuously variable transmission (e-CVT) that could achieve high mechanical efficiency, in the range of 95–97%, similar to the groundbreaking gear-based continuously variable transmission “Ratio Zero”, but without its drawbacks. These disadvantages include a high degree of mechanical complexity and the risk of vibration resulting from speed pulsations.
The main contributions of this paper are as follows:
  • A digital cascaded acceleration and velocity control architecture is developed for a PMDC carrier actuator in a planetary-transmission flywheel energy storage system.
  • The PMDC motor is reformulated as an acceleration plant whose input is the discrete voltage derivative and whose output is angular acceleration.
  • Two digital implementation approaches are presented: a sampled-data realization with converter effects and a fully discrete state-space realization for adaptive controller design.
  • Two adaptive inner-loop acceleration controllers are developed using a normalized gradient parameter estimator with projection.
  • The proposed adaptive controllers are compared with the baseline digital PI controller under pulse disturbance, sinusoidal disturbance, and segmented reference-tracking conditions.

2. System Modeling and Digital Cascaded Control Architecture

The proposed controller is developed for a PMDC motor connected to the carrier of a planetary transmission in a flywheel energy storage system. Figure 1 shows the mechanical arrangement considered in this work. The system consists of a permanent magnet DC motor, a magnetic clutch, a bevel gear stage, a planetary gearbox, a flywheel, and the mechanical connection to the vehicle power transmission. The PMDC motor connects to the planetary carrier through the magnetic clutch and bevel gear stage, while the flywheel connects mechanically to the sun gear. The external ring gear connects to the vehicle power transmission path and provides the mechanical interface with the train wheels.
During regenerative braking, kinetic energy from the vehicle wheels passes through the powertrain and ring gear into the planetary gearbox, and then transfers to the flywheel through the sun gear path. During vehicle acceleration, the energy flow reverses, and the flywheel returns the stored energy through the planetary transmission to the driven wheels. The controlled carrier motion adjusts the kinematic relationship among the ring gear, sun gear, and flywheel. This motion supports efficient bidirectional energy exchange and the carrier torque condition close to zero described in the original flywheel transmission concept [1].
The magnetic clutch provides a practical means of engaging or disengaging the PMDC motor from the carrier drive during startup, shutdown, protection procedures, and experimental test bench operation. The present control model assumes that the clutch remains fully engaged during controlled operation. Transient clutch engagement dynamics are therefore outside the scope of the present model.
The mechanical transmission model used in this study is therefore treated as an idealized kinematic interface for the purpose of controller development. Transmission efficiency losses, bearing friction, gear backlash, shaft compliance, clutch slip, and other nonlinear mechanical effects are not modeled explicitly in the present numerical study. These effects can influence the carrier torque, introduce additional delay or hysteresis, and modify the actual acceleration response of the physical system. In the present work, their influence is considered indirectly through acceleration-level disturbances and through the discussion of implementation limitations. A detailed electromechanical model including friction, backlash, transmission losses, and clutch engagement dynamics will be required for the next experimental stage of the planetary-transmission flywheel test bench.
For a planetary gear system operating under unsteady conditions, the fundamental torque balance can be formulated using D’Alembert’s principle by considering the external moments, internal meshing forces, and inertial reactions. In the considered operating mode, the angular accelerations of the ring and sun gear act with opposite signs. Therefore, the inertia-related effects can be reduced through a suitable optimization of the planetary gear geometry and the corresponding equivalent inertia referred to the carrier axis [40,41]. This observation supports the simplified model used in the present controller-design stage, while a more detailed nonlinear drivetrain model is left for the experimental validation stage.

2.1. PMDC Motor Model

The PMDC motor is modeled using the standard armature controlled motor equation. Neglecting the armature inductance, the transfer function from motor voltage V ( t ) to angular velocity ω ( t ) is
Ω ( s ) V ( s ) = K m J e q R m s + K m 2
where K m is the motor constant, R m is the armature resistance, and J e q is the equivalent inertia referred to the motor shaft. This first order model is commonly used for PMDC motor control when the electrical time constant is small relative to the mechanical dynamics [21,22].
Equation (1) can be rewritten in time domain form as
ω ˙ ( t ) = a ω ( t ) + b V ( t )
where
a = K m 2 J e q R m , b = K m J e q R m .
The angular acceleration is defined as ε ( t ) = ω ˙ ( t ) . Differentiating Equation (2) gives the acceleration plant representation
ε ˙ ( t ) = a ε ( t ) + b V ˙ ( t ) .
Thus, the PMDC motor can be represented as an acceleration plant whose input is the voltage derivative V ˙ ( t ) and whose output is the angular acceleration ε ( t ) . This representation is important because the proposed controller uses an inner acceleration loop rather than relying only on a conventional speed control loop. The continuous time state space representation of the acceleration subsystem is
x ˙ ( t ) = A x ( t ) + B u ( t ) , y ( t ) = C x ( t ) + D u ( t )
with
x ( t ) = ε ( t ) , u ( t ) = V ˙ ( t ) , A = a , B = b , C = 1 , D = 0 .
The acceleration plant in Equation (4) should be interpreted as a control-oriented representation of the PMDC carrier actuator. It does not introduce a new physical input to the motor; the physical actuator input remains the motor voltage V ( t ) . The term V ˙ ( t ) appears because the velocity model is differentiated to express the acceleration dynamics directly. This formulation is useful for the proposed cascaded structure, where the inner loop controls angular acceleration and the outer loop controls angular velocity.
In the digital implementation, the plant input is therefore represented by the discrete voltage derivative u [ k ] , which is generated from the voltage command through a filtered derivative. This filtering is necessary because direct numerical differentiation can amplify measurement noise and high-frequency components. Consequently, the acceleration-plant model is suitable for controller design and numerical evaluation, but its practical implementation requires careful filtering, sampling-time selection, and delay assessment before application to the physical test bench.

2.2. Discrete Formulation of the Acceleration Loop Components

For the fully discrete implementation, the continuous acceleration subsystem in Equation (4) is discretized with the sampling period T s . The resulting discrete state space model is written as
x [ k + 1 ] = A d x [ k ] + B d u [ k ] , y [ k ] = C d x [ k ] + D d u [ k ]
where
x [ k ] = ε [ k ] , x [ k + 1 ] = ε [ k + 1 ] , u [ k ] = V ˙ [ k ] , y [ k ] = ε [ k ] .
Thus, the discrete acceleration model becomes
ε [ k + 1 ] = A d ε [ k ] + B d u [ k ] .
The discrete coefficients are
A d = e a T s , B d = b a 1 e a T s , C d = 1 , D d = 0 .
Taking the z-transform of Equation (9), the corresponding discrete transfer function from U ( z ) to E ( z ) is
G ε ( z ) = E ( z ) U ( z ) = C d B d z A d + D d = B d z A d .
The digital PI controllers are implemented using the Tustin approximation, a standard bilinear transformation method in digital control design [23,27]. For a continuous PI controller
C ( s ) = K p + K i s ,
the Tustin approximation gives the incremental digital PI form
c [ k ] = c [ k 1 ] + q 0 e [ k ] + q 1 e [ k 1 ]
where e [ k ] is the controller input error, c [ k ] is the controller output, and
q 0 = K p + K i T s 2 , q 1 = K p + K i T s 2 .
For the inner acceleration controller, the error input is e ε [ k ] and the controller output is the voltage command V [ k ] . Therefore, the acceleration PI controller transfer function is
C ε ( z ) = V ( z ) E ε ( z ) = q 0 ε z + q 1 ε z 1
where coefficients q 0 ε and q 1 ε are obtained from Equation (14) by using K p = K p ε and K i = K i ε .
In the baseline digital PI implementation, the voltage derivative is generated using a filtered discrete derivative. The recursive form is
u [ k ] = α d u [ k 1 ] + β d V [ k ] V [ k 1 ]
where
α d = T f T f + T s , β d = 1 T f + T s .
The corresponding transfer function from the voltage command to the discrete plant input is
D V ( z ) = U ( z ) V ( z ) = β d ( z 1 ) z α d .

2.3. Conceptual Cascaded Acceleration and Velocity Control Architecture

The proposed controller uses a cascaded architecture with an outer velocity loop and an inner acceleration loop. The outer loop regulates angular velocity tracking, while the inner loop regulates the angular acceleration response of the PMDC motor. Acceleration feedback is appropriate for the carrier control problem because the desired operating condition requires both a prescribed angular velocity trajectory and controlled acceleration or deceleration.
The velocity tracking error, feedforward acceleration summation, and acceleration tracking error are defined as
e ω [ k ] = ω r e f [ k ] ω [ k ] , ε c [ k ] = ε r e f [ k ] + u ω [ k ] , e ε [ k ] = ε c [ k ] ε [ k ] .
Here, ω r e f [ k ] is the velocity reference, ω [ k ] is the measured velocity, u ω [ k ] is the velocity controller output, ε r e f [ k ] is the feedforward acceleration reference, and ε c [ k ] is the commanded acceleration for the inner loop. The feedforward acceleration reference provides the acceleration demand associated with the intended velocity trajectory, while the outer velocity loop corrects accumulated tracking error. This arrangement separates trajectory regulation from acceleration tracking. The conceptual signal flow of the cascaded structure is presented in Figure 2.

2.4. Digital Implementation Structures

The first digital implementation approach preserves the continuous PMDC motor transfer function and introduces converter effects around the digital control blocks. Following the sampled data representation described by Thomas [28], the anti aliasing filter associated with A/D conversion is represented as
G A D ( s ) = ( 1 / T s ) 2 ( s + 0.707 / T s ) 2 + ( 0.707 / T s ) 2
and the D/A converter is represented as
G D A ( s ) = 2 / T s s + 2 / T s .
This representation allows implementation effects to be evaluated before moving to a physical test bench, because the controller operates digitally while the motor remains a continuous electromechanical plant. The sampled data realization in Figure 3 includes the main conversion and reconstruction effects considered in this work.
The second digital implementation employs the fully discrete acceleration plant in Equation (9). The voltage command V [ k ] is related to the plant input u [ k ] through the filtered derivative relation in Equation (16), while the PMDC motor acceleration dynamics are implemented by the discrete state-space block. The velocity signal is then reconstructed from the acceleration response using the discrete integrator
ω [ k ] = ω [ k 1 ] + T s ε [ k ] .
This fully discrete representation forms the basis for the digital control structures investigated in the following sections, as illustrated in Figure 4.

2.5. Nominal Baseline Inner Acceleration Loop Stability Analysis

The stability of the baseline inner acceleration loop must be evaluated from the closed loop transfer function of the nominal PI based loop. The discrete acceleration plant alone does not represent the complete baseline loop, because this loop also includes the acceleration PI controller and the filtered discrete derivative block.
Using Equations (11), (15) and (18), the nominal inner loop is obtained as the cascade C ε ( z ) D V ( z ) G ε ( z ) . The derivative block maps the voltage command V ( z ) to the plant input U ( z ) , and the factor ( z 1 ) in D V ( z ) cancels the corresponding factor in the PI controller denominator. Therefore, the nominal open loop transfer function becomes
L ε ( z ) = C ε ( z ) D V ( z ) G ε ( z ) = β d B d ( q 0 ε z + q 1 ε ) ( z α d ) ( z A d ) .
The corresponding closed loop transfer function from the commanded acceleration E c ( z ) to the acceleration response E ( z ) is
T ε ( z ) = E ( z ) E c ( z ) = β d B d ( q 0 ε z + q 1 ε ) ( z α d ) ( z A d ) + β d B d ( q 0 ε z + q 1 ε ) .
The characteristic polynomial of the nominal inner acceleration loop is
P ε ( z ) = z 2 + a 1 z + a 0
where
a 1 = ( α d + A d ) + β d B d q 0 ε , a 0 = α d A d + β d B d q 1 ε .
For a second order discrete time polynomial z 2 + a 1 z + a 0 , the Jury stability conditions are [25,26]
1 + a 1 + a 0 > 0 , 1 a 1 + a 0 > 0 , 1 a 0 > 0 .
Equivalently, the two closed loop poles are obtained from
z 1 , 2 = a 1 ± a 1 2 4 a 0 2
and must satisfy
| z 1 | < 1 , | z 2 | < 1 .
Using the nominal motor parameters K m = 0.028 V s/rad, R m = 3.3 Ω , J e q = 9.64 × 10 6 kg m2, the sampling time T s = 0.001 s, and the derivative filter value T f = 1000 , the nominal inner acceleration loop poles are
z 1 = 0.999992 , z 2 = 0.888722 .
Both poles lie inside the unit circle. Therefore, the nominal linear inner acceleration loop is stable for the selected baseline controller parameters. This stability check applies to the nominal loop before voltage saturation, disturbance injection, and adaptive parameter updates are introduced. Figure 5 shows the corresponding closed loop pole locations in the unit circle.

3. Adaptive Inner Loop Acceleration Control

The fully discrete acceleration model developed in Section 2 provides the basis for the adaptive inner loop controllers. In the adaptive implementation, the outer velocity PI controller and the feedforward angular acceleration reference remain unchanged, while the baseline inner acceleration PI controller is replaced. The plant input remains the discrete voltage derivative u [ k ] . This signal is related to the voltage command V [ k ] through the filtered derivative relation defined in Equation (16). Therefore, the adaptive controllers are derived by first computing the required plant input u req [ k ] from the estimated acceleration model and then converting this input into the voltage command using the inverse form of the same filtered derivative relation.
Two model based adaptive acceleration controllers are considered: adaptive deadbeat control and adaptive pole placement control. Both controllers use online estimates of the discrete plant coefficients A ^ d [ k ] and B ^ d [ k ] . The design follows the indirect adaptive control principle, where a parameter estimator updates the plant model and the controller is calculated from the current estimated model [29,30,31,32]. Accordingly, the adaptive controller equations are obtained by applying certainty equivalence to the discrete acceleration model and assigning the desired closed-loop acceleration characteristic behavior, rather than by introducing separate empirical error based control laws.

3.1. Online Discrete Acceleration Estimation for the Plant

The adaptive controllers are based on the discrete acceleration plant in Equation (9). In the adaptive implementation, the nominal coefficients A d and B d are replaced by the online estimates A ^ d [ k ] and B ^ d [ k ] . Shifting Equation (9) by one sample gives a regression form based on the previous acceleration and input samples:
ε [ k ] = θ d T φ [ k 1 ]
where
θ d = A d B d , φ [ k 1 ] = ε [ k 1 ] u [ k 1 ] .
Here, θ d is the parameter vector, and φ [ k 1 ] is the regressor vector. The regressor groups the measured samples that multiply the plant coefficients in the linear regression model.
The corresponding estimated parameter vector is
θ ^ d [ k ] = A ^ d [ k ] B ^ d [ k ] .
Using the previous projected estimate θ ^ d [ k 1 ] , the one step acceleration prediction and the identification error are
ε ^ [ k ] = A ^ d [ k 1 ] ε [ k 1 ] + B ^ d [ k 1 ] u [ k 1 ] , e i d [ k ] = ε [ k ] ε ^ [ k ] ,
where ε ^ [ k ] is the predicted acceleration and e i d [ k ] is the identification error.
A normalized gradient update adjusts the estimated parameter vector. The update follows the standard recursive structure of parameter adaptation algorithms, in which the new parameter estimate is obtained from the previous estimate plus a correction term formed by the regressor vector, the prediction error, and an adaptation gain [31,32]. For the present acceleration model, the correction term is normalized by the regressor magnitude in order to reduce sensitivity to large variations in ε [ k 1 ] and u [ k 1 ] . The unconstrained vector update is written as
θ ˜ d [ k ] = θ ^ d [ k 1 ] + Γ φ [ k 1 ] e i d [ k ] δ + φ T [ k 1 ] φ [ k 1 ]
where θ ˜ d [ k ] is the unconstrained estimate before projection. In this expression, the adaptation gain matrix is selected as
Γ = γ A 0 0 γ B
where γ A > 0 and γ B > 0 are scalar adaptation gains for the estimated coefficients A ^ d [ k ] and B ^ d [ k ] , respectively. These gains are tuning parameters of the estimator and are not physical motor parameters. The diagonal form assigns an independent adaptation rate to each estimated coefficient, while δ > 0 prevents division by zero when the regressor magnitude is very small.
Expanding Equation (35) for the first order acceleration model gives the scalar update equations used in the Xcos implementation. The normalization denominator is
D [ k ] = δ + ε 2 [ k 1 ] + u 2 [ k 1 ] .
The normalized gradient increments are then
Δ A d [ k ] = γ A e i d [ k ] ε [ k 1 ] D [ k ] , Δ B d [ k ] = γ B e i d [ k ] u [ k 1 ] D [ k ] .
The preliminary unconstrained estimates are
A ˜ d [ k ] = A ^ d [ k 1 ] + Δ A d [ k ] , B ˜ d [ k ] = B ^ d [ k 1 ] + Δ B d [ k ] .
The unconstrained estimates are projected onto an admissible parameter set before they are used by the adaptive controllers. Projection operators are commonly used in adaptive control to keep parameter estimates inside prescribed bounded sets [29,33]. For the present two parameter model, the admissible set is defined as
Ω d = ϑ = ϑ A ϑ B R 2 : A ^ d , min ϑ A A ^ d , max , B ^ d , min ϑ B B ^ d , max .
The projected estimate is obtained from
θ ^ d [ k ] = Π Ω d θ ˜ d [ k ] ,
where Π Ω d ( · ) represents the projection onto the admissible set Ω d . Since Ω d is a rectangular set, this projection is implemented componentwise as
A ^ d [ k ] = Π [ A ^ d , min , A ^ d , max ] A ˜ d [ k ] , B ^ d [ k ] = Π [ B ^ d , min , B ^ d , max ] B ˜ d [ k ] .
For a scalar interval, the projection is equivalent to
Π [ ξ min , ξ max ] ( ξ ) = ξ min , ξ < ξ min , ξ , ξ min ξ ξ max , ξ max , ξ > ξ max .
The projection bounds are calculated from an uncertainty envelope around the nominal PMDC motor parameters. For the uncertainty calculation, the varied parameter values are written as K m var , R m var , and J e q var . In the numerical study, the motor constant and armature resistance are allowed to vary by ± 20 % , while the equivalent inertia is allowed to vary between 0.5 J e q and 2 J e q :
K m var [ 0.8 K m , 1.2 K m ] , R m var [ 0.8 R m , 1.2 R m ] , J e q var [ 0.5 J e q , 2 J e q ] .
Using the same nominal motor parameters and sampling time, the nominal coefficients from Equation (10) are
A d = 0.9757 , B d = 0.8694 .
The coefficient limits are obtained by evaluating Equation (10) at the corner points of the uncertainty domain in Equation (44). This gives
A d var [ 0.9151 , 0.9935 ] , B d var [ 0.2924 , 2.5268 ] .
The projection bounds are then rounded outward as
A ^ d , min = 0.91 , A ^ d , max = 0.995 , B ^ d , min = 0.29 , B ^ d , max = 2.53 .
The lower bound on B ^ d [ k ] keeps the estimated input coefficient positive and prevents division by a very small value in the adaptive deadbeat and pole placement control laws. The bounds on A ^ d [ k ] keep the estimated discrete pole inside the expected range of the first order PMDC acceleration model. Accordingly, the estimator combines normalized gradient adaptation with projection onto the admissible coefficient range.
The estimator is implemented as a recursive block that uses the previous acceleration and input samples to predict the current acceleration. The prediction error adjusts the estimated coefficients, and the projection step constrains the updated values before they are used by the adaptive controllers. This implementation sequence is illustrated in Figure 6. In the Xcos implementation, the scalar projection in Equation (43) is realized using saturation blocks whose lower and upper limits are set equal to the calculated projection bounds.

3.2. Adaptive Deadbeat Acceleration Controller

Deadbeat control is a discrete time model based control method that places the assigned closed-loop roots at the origin. In a first order discrete system, this assignment gives a one sample response under the assumed plant model. The method is applied here to the inner acceleration loop using the current estimated acceleration plant coefficients [23,24,36].
The acceleration command entering the inner loop is reconstructed from the acceleration error and measured acceleration as
ε c [ k ] = e ε [ k ] + ε [ k ] .
Using the estimates supplied by the online identifier, the frozen estimated first order acceleration plant at sample k is written as
G ^ ε ( z , k ) = E ( z ) U ( z ) = B ^ d [ k ] z 1 1 A ^ d [ k ] z 1 .
For deadbeat control, the desired closed-loop pulse transfer function is selected as
T d b ( z ) = z 1 .
For the frozen estimated model, the corresponding feedback compensator can be written in the standard form
C d b ( z , k ) = 1 G ^ ε ( z , k ) T d b ( z ) 1 T d b ( z ) = 1 A ^ d [ k ] z 1 B ^ d [ k ] ( 1 z 1 ) .
The compensator form in Equation (49) gives the transfer-function representation of the controller associated with the desired deadbeat closed-loop mapping. Since T d b ( z ) = z 1 , the desired closed-loop relation is E ( z ) = z 1 E c ( z ) , which is equivalent in the time domain to a one-sample acceleration response. The corresponding closed-loop characteristic root is placed at the origin,
z = 0 .
Therefore, the same deadbeat assignment can be implemented by enforcing
ε [ k + 1 ] = ε c [ k ] .
The estimated acceleration model used for the implemented law is
ε [ k + 1 ] = A ^ d [ k ] ε [ k ] + B ^ d [ k ] u req [ k ] .
Substituting Equation (51) into Equation (52) gives
A ^ d [ k ] ε [ k ] + B ^ d [ k ] u req [ k ] = ε c [ k ] .
Solving Equation (53) for the required plant input gives
u req [ k ] = ε c [ k ] A ^ d [ k ] ε [ k ] B ^ d [ k ] .
The required plant input is related to the voltage command through the filtered derivative relation
u req [ k ] = α d u [ k 1 ] + β d V [ k ] V [ k 1 ] .
Solving Equation (55) for the voltage command gives
V [ k ] = V [ k 1 ] + 1 β d u req [ k ] α d u [ k 1 ] .
Substituting Equation (54) into Equation (56) gives the implemented adaptive deadbeat voltage law:
V [ k ] = V [ k 1 ] + 1 β d ε c [ k ] A ^ d [ k ] ε [ k ] B ^ d [ k ] α d u [ k 1 ] .
Equation (57) computes the voltage command that imposes the deadbeat acceleration response under the current estimated plant model and the filtered derivative realization. The implemented block structure, including the previous voltage command, the filtered derivative state, and the bounded coefficient estimates, is presented in Figure 7.

3.3. Adaptive Pole Placement Acceleration Controller

Pole placement control assigns the root locations of a closed-loop characteristic equation and is a standard design approach in digital control [23,24]. Adaptive pole placement extends this idea by recalculating the controller from the current estimated plant model [29,31,37]. In this study, the method is applied to the inner acceleration loop by assigning the desired root position p ε of the first order closed-loop acceleration characteristic equation.
Using the estimated plant in Equation (47), the desired closed-loop pulse transfer function is selected as
T p p ( z ) = ( 1 p ε ) z 1 1 p ε z 1 , | p ε | < 1 .
The denominator of Equation (58) defines the desired closed-loop characteristic equation
1 p ε z 1 = 0 , or z p ε = 0 .
Thus, p ε denotes the assigned root position of the closed-loop acceleration characteristic equation. Stability requires this root to lie inside the unit circle.
For the frozen estimated model, the corresponding pole placement compensator can be written as
C p p ( z , k ) = 1 G ^ ε ( z , k ) T p p ( z ) 1 T p p ( z ) = ( 1 p ε ) ( 1 A ^ d [ k ] z 1 ) B ^ d [ k ] ( 1 z 1 ) .
The compensator form in Equation (60) identifies the controller associated with the assigned characteristic root. The implemented voltage law is then obtained from the equivalent one-step model matching relation. Equation (58) gives the desired first order closed-loop acceleration response
ε [ k + 1 ] = p ε ε [ k ] + ( 1 p ε ) ε c [ k ] .
The implemented pole placement law is obtained by matching the desired response in Equation (61) with the estimated plant model in Equation (52). This gives
A ^ d [ k ] ε [ k ] + B ^ d [ k ] u req [ k ] = p ε ε [ k ] + ( 1 p ε ) ε c [ k ] .
Solving Equation (62) for the required plant input gives
u req [ k ] = ( p ε A ^ d [ k ] ) ε [ k ] + ( 1 p ε ) ε c [ k ] B ^ d [ k ] .
Using the inverse filtered derivative relation in Equation (56), the implemented voltage command becomes
V [ k ] = V [ k 1 ] + 1 β d ( p ε A ^ d [ k ] ) ε [ k ] + ( 1 p ε ) ε c [ k ] B ^ d [ k ] α d u [ k 1 ] .
Equation (64) defines the implemented adaptive pole placement acceleration control law. The parameter p ε enters the voltage command as the assigned characteristic root of the inner acceleration loop. The implemented pole placement structure is shown in Figure 8.

3.4. Nominal Discrete Time Stability Interpretation of the Assigned Acceleration Dynamics

The stability interpretation in this study focuses on the nominal acceleration dynamics assigned by the adaptive deadbeat and adaptive pole placement controllers. The analysis is not intended as a complete Lyapunov proof for the full adaptive closed-loop system with projection, estimator transients, measurement noise, actuator saturation, and delay. Instead, it verifies the discrete-time stability of the acceleration dynamics imposed by the model-based inner-loop laws when the estimated model is treated as frozen at a given sample. This interpretation is consistent with the certainty-equivalence structure of the adaptive controller, in which the controller is recalculated from the currently updated parameter estimates.
For the pole placement controller, the selected value of p ε defines the assigned root of the closed-loop acceleration characteristic equation. As shown by Equation (61), the homogeneous part of the assigned first-order acceleration response is governed by p ε . Therefore, according to the basic stability criterion for the considered discrete-time system, the pole of the assigned discrete transfer function must lie strictly inside the unit circle in the complex z-plane:
| p ε | < 1 .
The assigned root position provides a direct interpretation of the acceleration loop dynamics. Roots closer to the origin produce faster first-order responses, while roots closer to the unit circle boundary produce slower responses with reduced aggressiveness. This relation between root position and acceleration response is summarized in Figure 9. In the numerical study, p ε = 0.3 is selected to obtain a stable and moderately fast acceleration response.
The adaptive deadbeat controller corresponds to the limiting case p ε = 0 . Under the estimated plant model and in the absence of delay, saturation, and estimation error, this choice places the nominal assigned acceleration root at the origin. Thus, the deadbeat law gives the fastest assigned first-order acceleration response in the nominal discrete-time interpretation.
The boundedness of the adaptive parameters is supported by the projection mechanism used in the estimator. The estimates A ^ d [ k ] and B ^ d [ k ] are constrained to the admissible set defined in Equation (40). Therefore, the estimated parameters cannot grow without bound during the simulation. In addition, the lower bound imposed on B ^ d [ k ] keeps the estimated input coefficient positive and prevents division by a very small value in the adaptive deadbeat and pole placement control laws. This keeps the implemented adaptive voltage laws well defined for all projected estimates used by the controller.
Parameter convergence should be interpreted in the usual adaptive-control sense. The normalized gradient estimator updates the model coefficients according to the prediction error, but exact convergence to the true plant parameters is not guaranteed unless the input and acceleration signals provide sufficient excitation. In the present study, exact parameter convergence is not required as the primary objective. The role of the estimator is to provide bounded online coefficients that allow the model-based inner-loop controller to maintain the assigned acceleration dynamics during the tested disturbance and tracking cases.
This stability interpretation is limited to the nominal assigned inner-loop acceleration dynamics. The complete practical response also depends on sampling time, estimator transients, numerical implementation, outer-loop interaction, disturbance level, sensor noise, voltage saturation, and computational delay. These effects are examined numerically through the disturbance and tracking tests, and they must be evaluated experimentally before applying the controller to the physical flywheel transmission test bench.

3.5. Implementation Summary

The adaptive deadbeat and adaptive pole placement controllers replace the baseline inner acceleration PI controller of the fully discrete cascaded structure. The outer velocity PI controller, the feedforward angular acceleration summation, the discrete acceleration plant, and the discrete velocity integrator remain unchanged.
The normalized gradient estimator supplies the projected online estimates A ^ d [ k ] and B ^ d [ k ] required by both adaptive controllers. Each adaptive controller first computes the required plant input u req [ k ] from the estimated acceleration model. The voltage command V [ k ] is then obtained by inverting the filtered derivative relation between V [ k ] and u [ k ] . The numerical experiments in the next section compare the baseline and adaptive controllers under acceleration disturbances and segmented reference tracking conditions.

4. Numerical Experiments and Controller Comparison

Scilab/Xcos numerical experiments were used to compare the baseline digital PI controller with the adaptive deadbeat and adaptive pole-placement controllers. The simulations evaluate disturbance rejection and reference tracking while keeping the outer velocity PI controller and the feedforward angular acceleration reference unchanged. Therefore, the comparison focuses on the effect of replacing only the inner acceleration controller.
Three simulation scenarios were selected to represent operating conditions relevant to the carrier actuator. The pulse disturbance evaluates recovery after an abrupt acceleration perturbation, the sinusoidal disturbance evaluates attenuation of sustained oscillatory perturbations, and the segmented reference trajectory assesses tracking during repeated transitions between acceleration, constant-speed, deceleration, and zero-speed intervals. Although these cases do not cover all possible operating conditions of a complete flywheel energy storage system, they provide a focused comparison of disturbance rejection and reference tracking for the proposed inner-loop acceleration controllers.
The baseline digital PI controller was selected as the reference controller because it represents the fixed-gain inner-loop structure that the adaptive deadbeat and adaptive pole-placement controllers are intended to replace. The purpose is not to rank all possible advanced motor-control methods, but to evaluate whether the same cascaded acceleration–velocity architecture improves when the inner acceleration PI loop is replaced by model-based adaptive acceleration control. The comparison is supported quantitatively using acceleration and velocity RMSE and MAE indices, as reported in Section 4.3. Comparisons with additional advanced controllers, such as robust predictive control or sliding-mode-based strategies, will be considered in future experimental studies after the physical test bench and measurement chain are completed.
Table 1 lists the simulation parameters used in the numerical experiments. The sampling time T s = 0.001 s was selected as a feasible digital implementation rate for future microprocessor-based test-bench development, while the derivative filter parameter T f was used to smooth the discrete voltage derivative and reduce high-frequency amplification. The PI gains were tuned to provide a stable baseline response. For the adaptive controllers, the initial estimates were set equal to the nominal discrete plant coefficients, and the adaptation gains γ A and γ B were selected conservatively to provide gradual parameter adjustment without excessive oscillation. The projection bounds for A ^ d [ k ] and B ^ d [ k ] were calculated from the motor-parameter uncertainty envelope described in Section 3.1. The assigned root p ε = 0.3 was selected to give a stable pole-placement response that is smoother than deadbeat control while remaining faster than a response close to the unit circle.

4.1. Acceleration Disturbance Modeling

In the initial controller development stage, the disturbance was considered as an external torque applied to the motor. However, the small equivalent inertia of the PMDC motor causes even small torque values to produce very large acceleration perturbations. For this reason, the final numerical experiments introduce the disturbance directly at the acceleration level. This disturbance acts as a bounded surrogate for equivalent acceleration effects associated with unmodeled dynamics, friction related perturbations, and carrier motion disturbances in the planetary transmission.
The acceleration disturbance is added to the output of the discrete acceleration plant before the signal is used for feedback and velocity reconstruction. Therefore, the disturbance directly affects the measured acceleration signal, while the velocity response is affected through the discrete integrator. The disturbed acceleration signal is represented as
ε m [ k ] = ε p [ k ] + ε d [ k ]
where ε p [ k ] is the output of the discrete PMDC acceleration plant, ε d [ k ] is the imposed acceleration disturbance, and ε m [ k ] is the measured acceleration signal used by the feedback loop and velocity reconstruction. This implementation allows the disturbance response to be evaluated without introducing unrealistically large torque induced acceleration caused by the small equivalent inertia of the motor. Two disturbance types were used to evaluate disturbance rejection. The pulse disturbance represents an abrupt acceleration level perturbation, while the sinusoidal disturbance represents a continuous periodic perturbation. These two cases test different aspects of the inner acceleration loop: transient recovery after a sudden disturbance and attenuation of sustained oscillatory excitation. The pulse acceleration disturbance used in the first disturbance-rejection test is shown in Figure 10.
The pulse disturbance response is presented in Figure 11. This test evaluates the ability of the inner acceleration loop to recover from an abrupt perturbation. The acceleration response shows that the adaptive controllers limit the disturbance induced deviation more effectively than the baseline digital PI controller. The velocity response remains close to the reference trajectory, indicating that the disturbance effect is mainly confined to the acceleration loop and does not accumulate significantly in the reconstructed velocity.
The sinusoidal disturbance depicted in Figure 12 was then applied to evaluate the controller response under sustained periodic excitation. Unlike the pulse disturbance, this case continuously perturbs the measured acceleration signal over a finite time interval and therefore tests each controller’s ability to limit oscillatory tracking error.
Figure 13 presents the response under sustained sinusoidal acceleration disturbance. This case is useful for evaluating whether the controller can attenuate a continuous oscillatory perturbation rather than only recover from a single transient event. The digital PI controller exhibits a more visible oscillatory component in the acceleration response, whereas the adaptive controllers reduce the disturbance induced fluctuation and preserve the velocity tracking trend.

4.2. Segmented Reference Tracking

A segmented reference trajectory was used to evaluate the controllers under a sequence of operating conditions. The reference includes constant speed operation, acceleration, deceleration, and zero speed intervals. This trajectory better represents flywheel transmission operation than a single acceleration or deceleration segment because the controller must respond to repeated changes in the commanded acceleration and velocity.
The reference trajectory is defined by the angular velocity reference ω r e f [ k ] and its corresponding feedforward angular acceleration reference ε r e f [ k ] . During constant speed intervals, the acceleration reference is zero. During acceleration and deceleration intervals, the acceleration reference takes positive or negative constant values. The same reference trajectory was applied to the digital PI, adaptive pole placement, and adaptive deadbeat controllers.
Figure 14 presents the response under the segmented reference trajectory. This test evaluates controller behavior during repeated transitions between acceleration, constant speed, deceleration, and zero speed operation. The results show that the adaptive inner loop improves the tracking of acceleration changes, which reduces the accumulated velocity error over the complete motion profile.

4.3. Quantitative Performance Indices

To provide a quantitative comparison, the root mean square error and mean absolute error were calculated for acceleration and velocity. The acceleration and velocity RMSE values are defined as
RMSE ε = 1 N k = 1 N ε r e f [ k ] ε [ k ] 2 , RMSE ω = 1 N k = 1 N ω r e f [ k ] ω [ k ] 2 .
The corresponding mean absolute errors are defined as
MAE ε = 1 N k = 1 N ε r e f [ k ] ε [ k ] , MAE ω = 1 N k = 1 N ω r e f [ k ] ω [ k ] .
Table 2 summarizes the results. The adaptive controllers reduce both acceleration and velocity tracking errors compared with the baseline digital PI controller. The improvement is especially clear in the velocity response, where the adaptive controllers reduce the tracking error by several orders of magnitude in the disturbance tests. The adaptive deadbeat controller gives the lowest error values in all test cases, while the adaptive pole placement controller also provides a substantial improvement over the digital PI controller. These results agree with the expected behavior of the two adaptive methods. Deadbeat control provides the fastest acceleration response, while pole placement provides a tunable response through the assigned characteristic root.

5. Discussion

The numerical results indicate that the inner acceleration controller strongly affects the overall cascaded response of the PMDC carrier actuator. Since the outer velocity loop and the feedforward acceleration reference remain unchanged in all tests, the observed performance differences can be attributed mainly to the inner loop control strategy. The improvement obtained with the adaptive controllers results from their direct use of the discrete acceleration plant, which allows the voltage command to be calculated from the desired acceleration dynamics rather than corrected only through fixed PI gains. This behavior is reflected in the lower acceleration and velocity error indices reported in Table 2.
The adaptive deadbeat controller gives the lowest error values because it imposes a one step acceleration response under the estimated plant model. This behavior agrees with the expected nature of deadbeat control and explains its faster recovery under the tested disturbance and tracking conditions. However, the same fast response also makes the controller more aggressive. In a physical implementation, this aggressiveness may increase sensitivity to modeling errors, sampling delay, measurement noise, and actuator constraints.
The adaptive pole placement controller provides a less aggressive alternative. By selecting the assigned characteristic root p ε , the designer can tune the compromise between response speed and smoothness. A smaller assigned root value moves the response closer to deadbeat behavior, while a larger value produces a slower but smoother acceleration response. This tunability is important for future test-bench implementation because the most accurate numerical response may not always be the most practical one when sensor noise, voltage saturation, and computational delay are present.
Improved acceleration tracking is critical at the system level, as carrier motion directly affects the torque distribution within the planetary transmission. The original flywheel-transmission concept requires the carrier torque to remain close to zero to support efficient bidirectional energy exchange between the drivetrain and the flywheel. The present study does not calculate the complete energy efficiency of the railway energy recovery system. Instead, it focuses on the actuator-level control problem that supports this mechanical operating condition. A full energy-performance assessment will require an extended electromechanical model of the transmission, flywheel, clutch, and vehicle load, together with experimental validation on the test bench.
The disturbance model used in the numerical experiments should also be interpreted carefully. In an electromechanical system, external torque is the natural physical disturbance acting on the motor shaft. However, the small equivalent inertia of the considered PMDC motor makes direct torque disturbance difficult to use in simulation, because even small torque values can produce large acceleration perturbations. For this reason, the disturbance was introduced at the acceleration level. This approach should be understood as a bounded surrogate for equivalent acceleration effects caused by unmodeled dynamics, friction-related changes, carrier-motion perturbations, and transmission irregularities. It provides a useful numerical test of disturbance rejection, but it does not replace a complete torque-based electromechanical disturbance model.
Several modeling limitations must therefore be considered before transferring the proposed controllers to the physical flywheel transmission test bench. The present numerical model does not explicitly include transmission efficiency losses, bearing friction, gear backlash, shaft compliance, clutch slip, magnetic clutch engagement dynamics, sensor noise, voltage saturation, or actuator dead zones. These effects can modify the acceleration response and may reduce the direct correspondence between the assigned discrete-time acceleration dynamics and the real system behavior. In particular, backlash and compliance can introduce hysteresis and oscillatory effects, while friction and efficiency losses can introduce load-dependent disturbances that the simplified acceleration plant model does not fully capture.
A practical limitation of the present adaptive implementation is its sensitivity to delay. Real microprocessor-based control systems introduce delay through signal acquisition, filtering, computation, communication, pulse-width modulation, and actuator response. These effects can be especially important for both adaptive deadbeat and adaptive pole-placement controllers because their control laws are based on a one-step relationship formulated for a discrete plant model. If the measured acceleration or voltage command arrives late, the controller may act on outdated information. Therefore, delay compensation and noise-aware acceleration estimation should be considered before transferring the adaptive controllers to the experimental flywheel transmission test bench.
A physical test bench for controller validation is currently under development. The planned platform is designed to reproduce friction-related disturbances acting on a rotating shaft through a disk, friction head, spring-loaded mechanism, and load-cell measurement arrangement. This setup will allow the digital PI, adaptive deadbeat, and adaptive pole-placement controllers to be compared under controlled mechanical disturbance conditions. At the present stage, the electrical and measurement subsystems are being examined, including the microprocessor-based controller, motor driver, encoder-based velocity estimation, acceleration reconstruction, sampling-time selection, and practical delay levels. Therefore, the present manuscript should be interpreted as the numerical controller-development stage preceding experimental validation. The experimental platform will be used in future work to evaluate the proposed controllers under friction, measurement noise, actuator saturation, and computational-delay conditions.
These considerations define the scope of the next experimental stage. Future implementation should quantify voltage-command limits, saturation activity, measurement-noise sensitivity, real-time computational delay, and the influence of mechanical transmission nonlinearities. These issues will determine whether the improved tracking performance observed in Scilab/Xcos can be reproduced reliably on the physical PMDC carrier actuator.

6. Conclusions

This paper developed a digital cascaded acceleration and velocity control framework for a PMDC motor used as the carrier actuator in a flywheel energy storage system with a planetary transmission. The control structure addresses the need to regulate both angular velocity and angular acceleration of the carrier, which supports operation with carrier torque close to zero in the flywheel transmission concept.
The PMDC motor was reformulated as an acceleration plant, where the input is the voltage derivative and the output is angular acceleration. This formulation allows the inner loop to control acceleration directly, while the outer loop regulates the angular velocity trajectory. Based on the fully discrete acceleration model, two adaptive inner loop controllers were developed: an adaptive deadbeat controller and an adaptive pole placement controller. Both controllers use a normalized gradient estimator with projection to update the discrete plant coefficients online and keep the estimates inside admissible bounds.
The numerical results show that both adaptive controllers reduce acceleration and velocity tracking errors compared with the baseline digital PI controller under pulse acceleration disturbance, sinusoidal acceleration disturbance, and segmented reference tracking. The adaptive deadbeat controller achieves the fastest response and the lowest error values, while the adaptive pole placement controller provides a tunable response through the assigned characteristic root.
The results indicate that adaptive inner-loop acceleration control is a promising approach for the proposed PMDC carrier actuator. However, this study remains limited to numerical simulation and should be interpreted as virtual prototyping of the control system before experimental validation. Future work will focus on implementation on the planetary-transmission flywheel test bench, with particular attention to friction-related disturbances, sensor noise, voltage saturation, actuator constraints, sampling-time selection, and computational delay.
The experimental stage will also allow the influence of the proposed carrier-motion control strategy on system-level energy exchange and transmission performance to be evaluated more directly.

Author Contributions

Conceptualization, M.E. and J.J.; methodology, M.E. and J.J.; software, M.E. and J.J.; validation, M.E.; formal analysis, M.E. and J.J.; investigation, M.E. and J.J.; data curation, M.E. and J.J.; writing—original draft preparation, M.E.; writing—review and editing, M.E. and J.J.; visualization, M.E.; supervision, J.J. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The simulation data supporting the findings of this study are available from the corresponding author upon reasonable request.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Jackiewicz, J. A Flywheel-Based Regenerative Braking System for Railway Vehicles. Acta Mech. Autom. 2023, 17, 52–59. [Google Scholar] [CrossRef] [Scilit]
  2. Jackiewicz, J. Energy Recovery Hybrid System with the Flywheel. In Perspectives in Dynamical Systems I—Applications; Awrejcewicz, J., Ed.; Springer Proceedings in Mathematics & Statistics; Springer: Cham, Switzerland, 2024; Voluem 453, pp. 273–291. [Google Scholar] [CrossRef] [Scilit]
  3. Amiryar, M.E.; Pullen, K.R. A Review of Flywheel Energy Storage System Technologies and Their Applications. Appl. Sci. 2017, 7, 286. [Google Scholar] [CrossRef] [Scilit]
  4. Li, X.; Palazzolo, A. A Review of Flywheel Energy Storage Systems: State of the Art and Opportunities. J. Energy Storage 2022, 46, 103576. [Google Scholar] [CrossRef] [Scilit]
  5. Ji, W.; Hong, F.; Zhao, Y.; Liang, L.; Du, H.; Hao, J.; Fang, F.; Liu, J. Applications of Flywheel Energy Storage System on Load Frequency Regulation Combined with Various Power Generations: A Review. Renew. Energy 2024, 223, 119975. [Google Scholar] [CrossRef] [Scilit]
  6. Matos, C.; Rosales-Asensio, E.; Carta, J.A.; Cabrera, P. Flywheels in Renewable Energy Systems: An Analysis of Their Role in Managing Intermittency. J. Energy Storage 2025, 122, 116674. [Google Scholar] [CrossRef] [Scilit]
  7. Meishner, F.; Sauer, D.U. Wayside Energy Recovery Systems in DC Urban Railway Grids. eTransportation 2019, 1, 100001. [Google Scholar] [CrossRef] [Scilit]
  8. Khodaparastan, M.; Mohamed, A. Flywheel vs. Supercapacitor as Wayside Energy Storage for Electric Rail Transit Systems. Inventions 2019, 4, 62. [Google Scholar] [CrossRef] [Scilit]
  9. Qu, X.; Tian, L.; Li, J.; Lou, C.; Jiang, T. Research on Charging and Discharging Strategies of Regenerative Braking Energy Recovery System for Metro Flywheel. In Proceedings of the 3rd Asia Energy and Electrical Engineering Symposium (AEEES), Chengdu, China, 26–29 March 2021; pp. 1087–1095. [Google Scholar] [CrossRef] [Scilit]
  10. Li, Y.; Liu, X.; Liang, Y.; Liu, S. Research on the Application of Flywheel Energy Storage Device in Rail Transit. Energy Storage Sci. Technol. 2024, 13, 2679–2686. [Google Scholar] [CrossRef]
  11. Kapetanovic, M.; Vajihi, M.; Goverde, R.M.P. Analysis of Hybrid and Plug-In Hybrid Alternative Propulsion Systems for Regional Diesel-Electric Multiple Unit Trains. Energies 2021, 14, 5920. [Google Scholar] [CrossRef] [Scilit]
  12. Arnaudo, K.; Karaivanov, D.P. Planetary Gear Trains; CRC Press: Boca Raton, FL, USA, 2019. [Google Scholar]
  13. Ehsani, M.; Gao, Y.; Longo, S.; Ebrahimi, K. Modern Electric, Hybrid Electric, and Fuel Cell Vehicles, 3rd ed.; CRC Press: Boca Raton, FL, USA, 2018. [Google Scholar]
  14. Emadi, A. (Ed.) Handbook of Automotive Power Electronics and Motor Drives, 2nd ed.; CRC Press: Boca Raton, FL, USA, 2017. [Google Scholar]
  15. Brenna, M.; Foiadelli, F.; Zaninelli, D. Electrical Railway Transportation Systems; Wiley: Hoboken, NJ, USA, 2018. [Google Scholar]
  16. Wu, Q.; Li, Y.; Dan, P. Optimization of Urban Rail Transit Station Spacing for Minimizing Passenger Travel Time. J. Rail Transp. Plan. Manag. 2022, 22, 100317. [Google Scholar] [CrossRef] [Scilit]
  17. Powell, J.P.; Palacin, R. Passenger Stability Within Moving Railway Vehicles: Limits on Maximum Longitudinal Acceleration. Urban Rail Transit 2015, 1, 95–103. [Google Scholar] [CrossRef] [Scilit]
  18. Zhai, W. Vehicle–Track Coupled Dynamics: Theory and Applications; Springer: Singapore, 2020. [Google Scholar]
  19. Jackiewicz, J. Coupler Force Reduction Method for Multiple-Unit Trains Using a New Hierarchical Control System. Railw. Eng. Sci. 2021, 29, 163–182. [Google Scholar] [CrossRef] [Scilit]
  20. Jackiewicz, J. Modeling the Longitudinal Dynamics of Electric Multiple Units with Xcos/Scilab Software. IOP Conf. Ser. Mater. Sci. Eng. 2021, 1199, 012066. [Google Scholar] [CrossRef] [Scilit]
  21. Ogata, K. Modern Control Engineering, 5th ed.; Prentice Hall: Upper Saddle River, NJ, USA, 2010. [Google Scholar]
  22. Dorf, R.C.; Bishop, R.H. Modern Control Systems, 14th ed.; Pearson: Harlow, UK, 2022. [Google Scholar]
  23. Franklin, G.F.; Powell, J.D.; Workman, M.L. Digital Control of Dynamic Systems, 3rd ed.; Addison-Wesley: Menlo Park, CA, USA, 1998. [Google Scholar]
  24. Iqbal, K. Introduction to Control Systems; LibreTexts: Davis, CA, USA, 2026. [Google Scholar]
  25. Jury, E.I. Theory and Application of the Z-Transform Method; John Wiley and Sons: New York, NY, USA, 1964. [Google Scholar]
  26. Jackiewicz, J. Numerical Method for Determining Material Stability Loss During Large Deformation. Proc. Appl. Math. Mech. 2026, 26, e70080. [Google Scholar] [CrossRef] [Scilit]
  27. Astrom, K.J.; Wittenmark, B. Computer-Controlled Systems: Theory and Design, 3rd ed.; Prentice Hall: Upper Saddle River, NJ, USA, 1997. [Google Scholar]
  28. Thomas, H.M. Control Systems Analysis and Design; CreateSpace Independent Publishing Platform: Scotts Valley, CA, USA, 2015. [Google Scholar]
  29. Ioannou, P.A.; Sun, J. Robust Adaptive Control; Prentice Hall: Upper Saddle River, NJ, USA, 1996. [Google Scholar]
  30. Ioannou, P.A.; Fidan, B. Adaptive Control Tutorial; SIAM: Philadelphia, PA, USA, 2006. [Google Scholar]
  31. Landau, I.D.; Lozano, R.; M’Saad, M.; Karimi, A. Adaptive Control: Algorithms, Analysis and Applications, 2nd ed.; Springer: London, UK, 2011. [Google Scholar]
  32. Astrom, K.J.; Wittenmark, B. Adaptive Control, 2nd ed.; Dover Publications: Mineola, NY, USA, 2008. [Google Scholar]
  33. Lavretsky, E.; Gibson, T.E.; Annaswamy, A.M. Projection Operator in Adaptive Systems. arXiv 2024, arXiv:1112.4232. [Google Scholar]
  34. Ortega, R.; Nikiforov, V.; Gerasimov, D. On Modified Parameter Estimators for Identification and Adaptive Control: A Unified Framework and Some New Schemes. Annu. Rev. Control 2020, 50, 278–293. [Google Scholar] [CrossRef] [Scilit]
  35. Gokce, C.O.; Ipek, M.E.; Dayioglu, M.; Unal, R. Parameter Estimation and Speed Control of Real DC Motor with Low Resolution Encoder. Results Control Optim. 2025, 19, 100549. [Google Scholar] [CrossRef] [Scilit]
  36. Gao, B.; Zhang, G.; Wang, G.; Xu, D. Deadbeat Predictive Current Control Strategy for Permanent Magnet-Assisted Synchronous Reluctance Motor Based on Adaptive Sliding Mode Observer. World Electr. Veh. J. 2025, 16, 202. [Google Scholar] [CrossRef] [Scilit]
  37. Alkamachi, A. Permanent Magnet DC Motor (PMDC) Model Identification and Controller Design. J. Electr. Eng. 2019, 70, 303–309. [Google Scholar] [CrossRef] [Scilit]
  38. Celik, E.; Karayel, M. Effective Speed Control of Brushless DC Motor Using Cascade 1PDf-PI Controller Tuned by Snake Optimizer. Neural Comput. Appl. 2024, 36, 7439–7454. [Google Scholar] [CrossRef] [Scilit]
  39. Zhang, J.W.; Wang, Y.H.; Liu, G.C.; Tian, G.Z. A Review of Control Strategies for Flywheel Energy Storage System and a Case Study with Matrix Converter. Energy Rep. 2022, 8, 3948–3963. [Google Scholar] [CrossRef] [Scilit]
  40. Yue, K.; Kang, Z.; Zhang, M.; Wang, L.; Shao, Y.; Chen, Z. Study on Gear Meshing Power Loss Calculation Considering the Coupling Effect of Friction and Dynamic Characteristics. Tribol. Int. 2023, 183, 108378. [Google Scholar] [CrossRef] [Scilit]
  41. Milev, S.; Nestorovski, B.; Tasevski, D.; Dimitrovski, Z. Changes in the Mass Moment of Inertia of the Planetary Gear Mechanism Reduced to the Axis of the Sun Gear Depending on the Ratio between the Radii of the Sun and Planet Gears. Mach. Technol. Mater. 2025, 19, 126–129. [Google Scholar]
  42. Gondhalekar, N. Cascade Control of DC Brushed Motor; GRIN Verlag: Munich, Germany, 2014. [Google Scholar]
Figure 1. Mechanical layout of the PMDC motor, planetary gearbox, and flywheel system, and its connection to the vehicle power transmission path.
Figure 1. Mechanical layout of the PMDC motor, planetary gearbox, and flywheel system, and its connection to the vehicle power transmission path.
Applsci 16 08836 g001
Figure 2. Conceptual cascaded acceleration and velocity control architecture with feedforward acceleration reference.
Figure 2. Conceptual cascaded acceleration and velocity control architecture with feedforward acceleration reference.
Applsci 16 08836 g002
Figure 3. Sampled data digital implementation with A/D and D/A converter effects.
Figure 3. Sampled data digital implementation with A/D and D/A converter effects.
Applsci 16 08836 g003
Figure 4. Fully discrete cascaded acceleration and velocity control structure.
Figure 4. Fully discrete cascaded acceleration and velocity control structure.
Applsci 16 08836 g004
Figure 5. Closed loop pole locations of the nominal inner acceleration loop in the unit circle.
Figure 5. Closed loop pole locations of the nominal inner acceleration loop in the unit circle.
Applsci 16 08836 g005
Figure 6. Projected normalized gradient estimator for the discrete acceleration plant.
Figure 6. Projected normalized gradient estimator for the discrete acceleration plant.
Applsci 16 08836 g006
Figure 7. Cascaded acceleration and velocity control architecture with the adaptive deadbeat acceleration controller.
Figure 7. Cascaded acceleration and velocity control architecture with the adaptive deadbeat acceleration controller.
Applsci 16 08836 g007
Figure 8. Cascaded acceleration and velocity control architecture with the pole placement acceleration controller.
Figure 8. Cascaded acceleration and velocity control architecture with the pole placement acceleration controller.
Applsci 16 08836 g008
Figure 9. Pole placement: (a) system response, and (b) unit circle interpretation.
Figure 9. Pole placement: (a) system response, and (b) unit circle interpretation.
Applsci 16 08836 g009
Figure 10. Pulse acceleration disturbance signal used for the transient disturbance rejection test.
Figure 10. Pulse acceleration disturbance signal used for the transient disturbance rejection test.
Applsci 16 08836 g010
Figure 11. Response to a pulse acceleration disturbance: (a,c) overall acceleration and velocity tracking; (b,d) zoomed views of the disturbance recovery.
Figure 11. Response to a pulse acceleration disturbance: (a,c) overall acceleration and velocity tracking; (b,d) zoomed views of the disturbance recovery.
Applsci 16 08836 g011
Figure 12. Sinusoidal acceleration disturbance signal used for the sustained disturbance rejection test.
Figure 12. Sinusoidal acceleration disturbance signal used for the sustained disturbance rejection test.
Applsci 16 08836 g012
Figure 13. Response to a sinusoidal acceleration disturbance: (a,c) overall acceleration and velocity tracking; (b,d) zoomed views during sustained disturbance.
Figure 13. Response to a sinusoidal acceleration disturbance: (a,c) overall acceleration and velocity tracking; (b,d) zoomed views during sustained disturbance.
Applsci 16 08836 g013
Figure 14. Tracking of the segmented reference trajectory: (a,d) overall acceleration and velocity responses; (b,e) deceleration transition; and (c,f) acceleration transition.
Figure 14. Tracking of the segmented reference trajectory: (a,d) overall acceleration and velocity responses; (b,e) deceleration transition; and (c,f) acceleration transition.
Applsci 16 08836 g014
Table 1. Simulation parameters used in the numerical experiments.
Table 1. Simulation parameters used in the numerical experiments.
ParameterSymbolValueUnit
Motor constant K m 0.028V s/rad
Armature resistance R m 3.3 Ω
Equivalent inertia J e q 9.64 × 10 6 kg m2
Sampling time T s 0.001s
Derivative filter parameter T f 1000s
Velocity proportional gain K p ω 25
Velocity integral gain K i ω 1
Acceleration proportional gain K p ε 100
Acceleration integral gain K i ε 1
Initial estimated coefficients A ^ d [ 0 ] , B ^ d [ 0 ] A d , B d
Adaptation gains γ A , γ B 1 × 10 5 , 1 × 10 5
Projection bounds for A ^ d A ^ d , min , A ^ d , max 0.91 , 0.995
Projection bounds for B ^ d B ^ d , min , B ^ d , max 0.29 , 2.53
Assigned root of the closed-loop acceleration p ε 0.3
Table 2. Quantitative comparison of controller tracking performance.
Table 2. Quantitative comparison of controller tracking performance.
Test CaseController RMSE ε (rad/s2) RMSE ω (rad/s) MAE ε (rad/s2) MAE ω (rad/s)
Pulse disturbanceDigital PI 3.889 × 10 2 9.159 × 10 3 3.508 × 10 3 9.123 × 10 3
Pulse disturbanceAdaptive pole placement 1.498 × 10 2 3.291 × 10 5 4.658 × 10 4 8.670 × 10 6
Pulse disturbanceAdaptive deadbeat 1.428 × 10 2 1.298 × 10 5 2.750 × 10 4 3.385 × 10 6
Sinusoidal disturbanceDigital PI 3.929 × 10 2 9.216 × 10 3 8.197 × 10 3 9.165 × 10 3
Sinusoidal disturbanceAdaptive pole placement 1.485 × 10 2 6.546 × 10 5 9.069 × 10 4 4.604 × 10 5
Sinusoidal disturbanceAdaptive deadbeat 1.415 × 10 2 4.159 × 10 5 5.809 × 10 4 2.964 × 10 5
Segmented trackingDigital PI 4.238 × 10 2 8.368 × 10 3 3.570 × 10 3 7.106 × 10 3
Segmented trackingAdaptive pole placement 1.706 × 10 2 1.040 × 10 4 7.084 × 10 4 1.641 × 10 5
Segmented trackingAdaptive deadbeat 1.632 × 10 2 7.304 × 10 5 5.268 × 10 4 1.149 × 10 5
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Ebrahimi, M.; Jackiewicz, J. Cascaded Acceleration–Velocity Control of a PMDC Motor for Flywheel Energy Storage Systems with Planetary Transmission. Appl. Sci. 2026, 16, 8836. https://doi.org/10.3390/app16178836

AMA Style

Ebrahimi M, Jackiewicz J. Cascaded Acceleration–Velocity Control of a PMDC Motor for Flywheel Energy Storage Systems with Planetary Transmission. Applied Sciences. 2026; 16(17):8836. https://doi.org/10.3390/app16178836

Chicago/Turabian Style

Ebrahimi, Mostafa, and Jacek Jackiewicz. 2026. "Cascaded Acceleration–Velocity Control of a PMDC Motor for Flywheel Energy Storage Systems with Planetary Transmission" Applied Sciences 16, no. 17: 8836. https://doi.org/10.3390/app16178836

APA Style

Ebrahimi, M., & Jackiewicz, J. (2026). Cascaded Acceleration–Velocity Control of a PMDC Motor for Flywheel Energy Storage Systems with Planetary Transmission. Applied Sciences, 16(17), 8836. https://doi.org/10.3390/app16178836

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop