Power Generation Enhancement through Latching Control for a Sliding Magnet-Based Wave Energy Converter

<jats:p>A Surface-Riding Wave Energy Converter (SR-WEC) featuring a sliding magnet inside a pitching cylindrical hull is investigated as an easily deployable small power device to support small-scale marine operations. This study extends the earlier development of the system by authors to enhance power performance through the application of end spring and latching control. The inclusion of springs at the tube’s end enhances the magnet release and travel speeds as well as the average power output compared to systems without them. Further improvement of power output can also be achieved by employing optimal latching control. We introduced constant-angle and variable-angle unlatching strategies to determine optimal parameters in combination with passive and reactive power take-off (PTO) controls to assess their effectiveness. The optimized latching control and end spring can increase 60–80% more power output compared with the case without them under certain PTO damping. Additionally, we discussed the effects of limiting peak powers and associated energy leaks with latching.</jats:p>

section_content: The ocean waves contain vast renewable energy sufficient to contribute to more than 20% of the U. S. Annual Energy Production [1]. The majority of this wave energy resides in mild to intermediate sea states rather than a few severe high sea states [2]. For effective wave energy conversion in the mild to intermediate sea states, a new wave energy converter, a Surface-Riding Wave Energy Converter (SR-WEC), was studied by Jin et al. [3]. The SR-WEC consists of a light horizontal cylinder pitching with waves and a sliding magnet-based linear generator inside it, as illustrated in Figure 1. While riding on wave slopes, the cylinder undergoes pitch motions, causing the magnet to slide inside a tubular structure with coil windings, thereby generating electrical power as a linear generator. The SR-WEC was designed considering four features in addition to its inherent simplicity and conciseness: (1) wave slopes tend to increase in low sea states that occupy most annual sea states, while wave elevations continue to decrease with lower sea states; (2) the surfaceriding feature tends to minimize the wave-induced force on the structure; (3) multiple units can easily be modularized, inspected, and installed on the sea surface as a lightweight system, which contributes to reducing costs, resulting in a competitive Levelized Cost of Energy (LCOE); and (4) the dynamic resonance can be applied to maximize the cylinder pitch motions. The proposed WEC is also applicable for a small-power application that can be easily connected to a small-scale marine system to provide small power in low sea states. 

The first simplified version of the SR-WEC had been numerically and experimentally tested by Jin et al. [3], which was followed by a series of optimization pathways including geometric optimization to maximize pitch dynamics under target sea states and active control to further enhance power take-off (PTO). In this paper, we focus on developing optimal latching controls and PTO controls. These controls are considered simultaneous electrical and mechanical controls aimed at increasing power generation (or Capture Width Ratio) for short waves, thereby achieving higher annual average power. Our optimum latching control contrasts with previous latching studies in that (1) the mechanical resonance of the PTO dynamics does not exist due to the absence of mechanical restoring force and (2) magnet motions are neither oscillatory nor continuous due to the limitation of sliding length. 

J. Mar. Sci. Eng. 2024, 12, x FOR PEER REVIEW 2 of 24 control to further enhance power take-off (PTO). In this paper, we focus on developing optimal latching controls and PTO controls. These controls are considered simultaneous electrical and mechanical controls aimed at increasing power generation (or Capture Width Ratio) for short waves, thereby achieving higher annual average power. Our optimum latching control contrasts with previous latching studies in that (1) the mechanical resonance of the PTO dynamics does not exist due to the absence of mechanical restoring force and (2) magnet motions are neither oscillatory nor continuous due to the limitation of sliding length. Many wave energy converters (WECs) were designed to have their resonance frequencies near the most common sea states while daily sea states continue to change. To be er harness wave energy in varying wave conditions, diverse strategies of active controls can be employed, including the latching control. Hals et al. [4] and Maria-Arenas et al. [5] reviewed the conventional methods of PTO optimization utilizing mechanical resonance to maximize mechanical power conversion from hydrodynamic interactions [6, 7]. For PTO dynamics with mechanical resonance, either given by springs or hydrostatic restoring, Budal and Falnes [7, 8] introduced a conceptual latching control in a point absorber. In their study, its heave motion was controlled to allow the velocity to be in phase with the heave wave excitation. Subsequently, the latching application was extended to include rotational and other translational motions, and the latching duration was optimized based on each specific system and the practicality of latching/unlatching instances, as follows. Many wave energy converters (WECs) were designed to have their resonance frequencies near the most common sea states while daily sea states continue to change. To better harness wave energy in varying wave conditions, diverse strategies of active controls can be employed, including the latching control. Hals et al. [4] and Maria-Arenas et al. [5] reviewed the conventional methods of PTO optimization utilizing mechanical resonance to maximize mechanical power conversion from hydrodynamic interactions [6, 7]. For PTO dynamics with mechanical resonance, either given by springs or hydrostatic restoring, Budal and Falnes [7, 8] introduced a conceptual latching control in a point absorber. In their study, its heave motion was controlled to allow the velocity to be in phase with the heave wave excitation. Subsequently, the latching application was extended to include rotational and other translational motions, and the latching duration was optimized based on each specific system and the practicality of latching/unlatching instances, as follows. Greenhow et al. [9] applied pneumatic latching and the corresponding latching duration study on a terminal type of WEC named Clam, which involves clamping a control rod while interacting with a pitching front plate. Korde [10] investigated the use of latching control with variational formulations on a heaving buoy WEC. Babarit and Clément [11] proposed two techniques for implementing latching, which include an analytical solution for the WEC's motion equation and an optimal command theory based on Hamiltonian formulation and Pontryagin's maximum principle. These methods were tested on a heaving point absorber and a four-degree-of-freedom WEC. Falcão [12, 13] devised a sub-optimal phase control approach applicable to a high-pressure hydraulic PTO system without requiring wave prediction. Henrique et al. [14] applied a simple threshold unlatching control strategy to a generic two-body heaving WEC. Henrique et al. [15] also studied a latching control strategy over a receding horizon time frame for an oscillating water column spar buoy WEC. 

Sheng et al. [16, 17] utilized a latching duration that is half of the difference between a wave period and a floater's natural period and tested the method using a heaving point absorber. The above method for determining the latching duration was similarly employed in a recent study by Shadman et al. [18] on another heaving point absorber, which moves relative to a support structure mounted at the bottom. Wu et al. [19] employed two predictive latching control strategies, one being close-to-optimal and the other sub-optimal, along with one non-predictive strategy on a pitching-type solo Duck. Thomas et al. [20] introduced a machine learning algorithm that utilizes a shallow artificial neural network to determine the optimal latching time for heaving point absorbers. They compared their approach with a constant latching duration. 

Latching was utilized to control the phase between motion and load in PTO dynamics, revealing that PTO performance was optimized when latching emulated the mechanical resonance phase condition. Therefore, previous latching applications primarily aimed to align the maximum velocity with the peak of the excitation force, typically in PTO systems involving mass connected to mechanical stiffness. On the other hand, latching and its efficacy have rarely been studied in PTO systems without such mass-spring resonance. In this regard, we emphasize that our latching strategy deviates from conventional schemes. 

In this study, we extended the application of latching control to a novel sliding-based PTO system with a finite travel length. The PTO system is further optimized with the electrical reactive control of the electromagnetic field for any additional gain. Another power enhancement was achieved by placing elastic springs at the ends of the tube to store the remaining kinetic energy of the sliding magnet, and we anticipate that these will also minimize impacts on the hull structure. Two latching strategies of fixed-and varying-angle release are compared under varying parameters, and the latching efficiencies on the passive and reactive PTO systems are discussed. Furthermore, the desirable phase relation that maximizes power output is identified. 

The subsequent sections are arranged as follows. Section 2 formulates the given PTO system, including the sliding mechanism, excitation, and power estimation. Section 3 formulates end spring dynamics and describes two latching strategies. Section 4 presents simulation particulars and results from parametric studies. Finally, Section 5 provides a summary/conclusions and an outlook for future work.
section_name: Introduction

section_content: As illustrated in Figure 1, the SR-WEC has a magnet sliding inside a structure with coil windings to generate electric power from the pitch motion. The sliding PTO system is waterproof sealed inside a floating cylinder, contributing to its excellent operability and durability. The PTO dynamics can be formulated as m. . 

where m is the mass of the magnet assembly, s is the sliding displacement of the magnet along the axis at the middle of the tube, and θ is the time-varying pitch angle of the floating body. The linear generator force is described in terms of c PTO and k PTO as implemented in [5]. The pitch angle, the excitation in the magnet-sliding dynamics, is obtained from the 6 DOF (degree of freedom) time-domain dynamic equations of the floating cylinder by waves, based on Cummins' equation:

where M ij is the mass matrix, A ∞ ij is the added mass matrix at infinite frequency, B E ij is the linear equivalent viscous damping, K ij is the system's hydrostatic stiffness matrix, and ξ j is the 6 DOF displacement vector. F W i is the first-order wave-excitation force vector and F C i is the convolution integral related to the retardation function R ij and radiation damping B ij, as formulated below. 

It is assumed that the magnet mass is small compared to the total mass of the system so that the magnet sliding minimally affects (within 10%) the moment of inertia of the pitch motion. It is also assumed that the friction force related to the sliding motion is negligible due to sufficient lubrication, which was validated in our previous actuator test [3]. Subsequently, the sliding dynamics, Equation (1), is separated from the cylinder dynamics, Equation (2). More elaborate modeling of the actual electromagnetic forces and power generation by the given magnet and coil design can be found in [3]. 

Applying Approximate Complex-Conjugate Control [4] for a target period T target at which the pitch has the maximum amplitude in its spectrum, the impedance matching condition leads to the electrical linear stiffness coefficient:

The generator force and instantaneous power production are

Note that the reactive PTO control has a bi-directional power flow [21] such that the generator is used as a motor in some instances to extract better power. If k PTO is zero, the reactive PTO control becomes a typical passive PTO control. The reactive control application for SR-WEC was also investigated by Sheshaprasad et al. [22]. 

The PTO dynamics has the power input given as

The power loss and efficiency η can be defined as below. 

P loss = P input -P (9)

× 100 (10)

The efficiency, denoted as η in Equation (10), aims to quantify the kinetic energy loss in two scenarios: one where no end springs are used, and the other involving a leak induced by introducing realistic power and force limits. 

Power rating and generator-force rating represent the maximum power and force input allowed to flow through electrical equipment. Elevating these ratings increases the size, weight, and cost of the generator. Thus, it is desirable to have quantitative limits on electrical power and generator force to balance the cost and average power generation. 

During the design process of SR-WEC PTO, 3000 W and 1000 N of power and force limits (P limit and F limit ) were found to be optimal based on an independent parametric numerical study with these two variables for the power performance [23]. The study demonstrated how the average power was affected by the limits on generator peak power and force. Raising the power and force limits resulted in higher average power. However, exceeding the thresholds of 3000 W and 1000 N, respectively, led to diminishing returns. Therefore, considering the size limit and cost of the electrical components, these values were chosen as the power and force design objectives for the linear generator. While applying the power limit, the generator force is also limited in time by both the instantaneous force equivalent to the power limit ( P limit |.
section_name: Power Take-Off Dynamics of SR-WEC

section_content: ) and the constant F limit as below. 

F generator, f inal (t) = sign F generator min F generator, F limit, P limit

. 

During the sliding, the generator force acts as resistance in the velocity calculation using the Euler method with the passive PTO control as below. 

where t n represents the current time step, t n-1 represents the previous time step, and ∆t is the time step interval. Once the generator force is limited, a smaller resistance (F generator, f inal ) than the estimated generator force (F generator ) is employed in velocity calculations. This results in a higher magnet speed compared to the non-limiting power and force condition. This acceleration is further elevated by establishing a smaller force limit criterion ( P limit |.
section_name: s(t)|

section_content: ) due to the increased denominator compared to the non-limiting case. This process is repeated in every time step, leading to a larger impacting velocity v hit and a larger initial sliding velocity after unlatching. The growth in speed is sometimes repeated during the entire simulation, which results in a divergence of speed. Consequently, this divergence is followed by reduced sliding time, which results in lower average power as observed in some cases. By comparing the power produced by the respective PTO system to the input power from the external forcing, one can check the energy loss as formulated in Equation (9).
section_name: s(t)|

section_content: Although the given impedance matching condition presents that the electrical stiffness satisfies the sliding natural frequency matched with the target frequency to obtain resonance, the sliding motion is restricted by both ends of the linear generator, so the PTO dynamics become nonlinear rather than harmonic. Moreover, such nonlinearity breaks the resonance condition of the sliding (Equation ( 5 )). To overcome the inefficient performance due to the disabled resonance of the PTO dynamics, we developed a latching control in combination with a mechanical spring at each end of the linear generator. We note again that the floater was independently designed to maximize pitch motions.
section_name: Latching Control Strategy

section_content: We consider optimizing phase control through latching and elastic energy storage using springs at both ends to enhance PTO dynamics, resulting in a significant improvement in power generation in random waves. Conventional latching control studies often focus on achieving phase matching between PTO velocity and the corresponding excitation force. However, for the present non-resonant PTO system, the traditional phase control concept cannot be applied straightforwardly. 

In this study, we apply a fundamental latching control concept, which is latching the magnet and waiting for a favorable time to unlatch. This is mainly performed through numerically conducted parametric studies using the buoy inclination angle as the unlatch-ing variable. Additional power enhancement was also sought by reactive PTO control and the use of end springs. Using the results, we identify the relationship between the sliding motion and the peak excitation for the optimal cases, introducing a new phase-matching concept. The test with the reactive PTO control system aims to determine whether there is any benefit from the essential resonance component when applying latching control. 

Figures 2 and 3 illustrate how the leaving velocity v leave is estimated from the impact velocity (hitting velocity) v hit. During operation, an inclinometer sensor continuously measures the instantaneous pitch angle and provides feedback to the latching tool for unlatching the magnet at the desired moment. It is assumed that the feedback from the sensor and the latching tool works promptly. tion force. However, for the present non-resonant PTO system, the traditional phase control concept cannot be applied straightforwardly. 

In this study, we apply a fundamental latching control concept, which is latching the magnet and waiting for a favorable time to unlatch. This is mainly performed through numerically conducted parametric studies using the buoy inclination angle as the unlatching variable. Additional power enhancement was also sought by reactive PTO control and the use of end springs. Using the results, we identify the relationship between the sliding motion and the peak excitation for the optimal cases, introducing a new phase-matching concept. The test with the reactive PTO control system aims to determine whether there is any benefit from the essential resonance component when applying latching control. After the collision of the magnet with the spring plate, the magnet and the spring plate move together while compressing the spring. Their movement is then stopped by the latching tool. From the conservation of momentum, the speed of the magnet assembly right after the perfect plastic collision is estimated. The mass of the spring may also contribute to the collision, which can be included as an effective spring plate mass. 

The ratio of kinetic energies before and after is

Therefore, the coefficient represents the loss of kinetic energy, referred to as the collision coefficient in this manuscript. This coefficient is determined based on the mass of the spring plate, and Table 1 displays the values corresponding to a magnet mass of 75 kg, as used in this study. The rebounding velocity (or leaving velocity) is derived using energy conservation equations during the spring load and unload, as in Equations ( 15 ) and (16). By coupling the two equations, the leaving velocity is estimated by Equation ( 17 ). After the collision of the magnet with the spring plate, the magnet and the spring plate move together while compressing the spring. Their movement is then stopped by the latching tool. From the conservation of momentum, the speed of the magnet assembly right after the perfect plastic collision is estimated. The mass of the spring may also contribute to the collision, which can be included as an effective spring plate mass. 

The ratio of kinetic energies before and after is

Therefore, the coefficient represents the loss of kinetic energy, referred to as the collision coefficient in this manuscript. This coefficient is determined based on the mass of the spring plate, and Table 1 displays the values corresponding to a magnet mass of 75 kg, as used in this study. The rebounding velocity (or leaving velocity) is derived using energy conservation equations during the spring load and unload, as in Equations ( 15 ) and (16). By coupling the two equations, the leaving velocity is estimated by Equation ( 17 ). 

where m t represents the total mass of the magnet and spring plate, and k denotes the stiffness of the end spring. X o, X compressed(max), and X leave are spring displacements for the initial, maximum-compressed, and magnet-leaving instants, respectively. v stop and v leave stand for the velocities when the spring is fully compressed and when the magnet leaves the spring plate, respectively. The potential energy change of the magnet within the spring length during the spring compression is negligible, and, thus, it is not considered. The magnet leaves the spring system at the instant when the compressed spring is fully elongated back. It is also assumed that the magnet can be latched when the spring is fully compressed. 

In the latching control analysis detailed in Section 4, the effectiveness of the latching control is primarily investigated assuming a massless spring, with α set to 1. 00. The resulting rebounding velocity is simply estimated with

In the last part of Section 4, the analysis continues with the inclusion of spring mass in the form of collision coefficient (Equation ( 17 )) to observe its effect on the latching control output. The latching mechanism holds the magnet in place when kinetic energy is fully transformed into elastic energy in the spring. The simplified rebounding concept replaces the need to consider spring compression for every impact velocity, as formulated in Equations ( 17 ) and (18).
section_name: Phase Control with End Springs

section_content: Finding the optimal unlatching threshold under irregular waves is conducted through a parametric study by varying unlatching angles. First, a constant unlatching angle is applied. That is, the magnet is latched at the end of the tube and released at a specified buoy pitch angle. By comparing the average power production at various release angles (0 •, 5, 40 •, and 45 • ) for the same irregular-wave excitations, the optimal unlatching threshold angle is found. For example, a 20 • threshold means that the magnet is unlatched at every 20 • of the buoy inclination angle. If the maximum inclination angle is smaller than the threshold for some waves, the magnet is released at the local peak angle of the waves. Using this method, the magnet has a higher chance of being unlatched at the local peaks when a larger unlatching angle is assigned. In this study, only several peaks of the buoy exceeded the angle of 45 • (or 40 • ), so in such a large unlatching angle, the magnet was mostly released at peak angles. 

However, the optimal constant unlatching angle found from this parametric study may not be the best unlatching threshold for the average power outputs because the optimal unlatching angle may vary wave by wave under irregular wave conditions. Thus, the wave-by-wave unlatching strategy is suggested to further improve the average power outputs. This is achieved by selecting the unlatching time to occur at a certain angle before reaching the respective peak angles. For example, if 5 • is selected as an input relative angle, the magnet is released at a 5 • smaller angle than each local peak angle before the peak angle occurs. This criterion is applied to all the oscillations during the numerical simulation, so the respective unlatching angles continuously vary. This variable-angle unlatching strategy is also performed with a range of such relative angles to find the best average power production. 

Information on real-time pitch angle is required for unlatching, for which an insidehull-attached inclinometer can be used. Inclinometers are commonly used in offshore platforms for real-time monitoring. Various wave-prediction techniques [8, 24, 25] can also be applied to the target unlatching strategy, as discussed in the later section.
section_name: Constant-Angle Unlatching vs. Variable-Angle Unlatching

section_content: The target site (off the coast of North Carolina, i. e., NOAA buoy station 41002) was selected as a representative U. S. Atlantic Sea. The choice of a peak period (T p ) of 5. 22 s and a significant wave height (H s ) of 2. 0 m is the case of frequent occurrence, for which power enhancement by latching control is desired. The wave steepness (H s /L p ) is 0. 047, where L p represents the wavelength corresponding to the T p. The 1200 s long wave elevation time history is generated using the corresponding Pierson-Moskowitz (PM) spectrum. The corresponding buoy pitch motion time series is subsequently generated as in Figure 4. To minimize the effects of transient periods and motions in the time-domain simulation, a ramping function is applied, and the time series from 600 s to 1200 s is used as a steady state to calculate the average power output and peak power output. The time step of 1 ms was used for the instantaneous power calculation during the latching control application.
section_name: Results and Discussions

section_content: The target site (off the coast of North Carolina, i. e., NOAA buoy station 41002) was selected as a representative U. S. Atlantic Sea. The choice of a peak period ( p T ) of 5. 22 s and a significant wave height ( s H ) of 2. 0 m is the case of frequent occurrence, for which power enhancement by latching control is desired. The wave steepness ( s p H L ) is 0. 047, where p L represents the wavelength corresponding to the p T. The 1200 s long wave elevation time history is generated using the corresponding Pierson-Moskowi (PM) spectrum. The corresponding buoy pitch motion time series is subsequently generated as in Figure 4. To minimize the effects of transient periods and motions in the time-domain simulation, a ramping function is applied, and the time series from 600 s to 1200 s is used as a steady state to calculate the average power output and peak power output. The time step of 1 ms was used for the instantaneous power calculation during the latching control application. The numerical inputs for the latching control code include the buoy length of 3. 18 m, the mass of the magnet assembly of 75 kg, and the target period of 5. 85 s. The dimensions of buoy and magnet mass were selected to ensure a balance of buoyancy and weight while targeting a power generation range of 300-500 W without significantly affecting the buoy motion due to the sliding mass. In this regard, the decoupling of sliding dynamics from hull motion is also acceptable. The length and diameter (waterplane area) of the outer buoy and its pitch moment of inertia were the key parameters to the resonance tuning of its pitch motion for the target wave condition. Table 2 tabulates the input parameters and other dimensions of the SR-WEC for reference. 

Table 2. Input parameters and dimensions of the SR-WEC. The numerical inputs for the latching control code include the buoy length of 3. 18 m, the mass of the magnet assembly of 75 kg, and the target period of 5. 85 s. The dimensions of buoy and magnet mass were selected to ensure a balance of buoyancy and weight while targeting a power generation range of 300-500 W without significantly affecting the buoy motion due to the sliding mass. In this regard, the decoupling of sliding dynamics from hull motion is also acceptable. The length and diameter (waterplane area) of the outer buoy and its pitch moment of inertia were the key parameters to the resonance tuning of its pitch motion for the target wave condition. Table 2 tabulates the input parameters and other dimensions of the SR-WEC for reference. In this study, the sliding dynamics and latching mechanism were simulated using MATLAB ® (R2022a). The pitch time series was calculated using Charm3D (v. 3. 6. 2). Charm3D is an in-house simulator, developed at Texas A&M University, that calculates fully coupled floater-mooring dynamics under environmental sea loads.
section_name: Results and Discussions

section_content: We conducted two-dimensional parametric studies, varying damping coefficient c PTO from 10 to 300 N-s/m in increments of 10 N-s/m and constant unlatching angles θ unlatch from 0 • to 45 • in increments of 5 •. Note that each time-domain simulation has c PTO and θ unlatch fixed at specific values, while all the time-domain simulations with the reactive PTO control have a constant k PTO defined in Equation (5). Through the two-variable parametric studies, we systematically compared the results to highlight the effects of the end springs, generator power and force limits, and different electrical controls. We compared the results without end spring systems to those with end springs to highlight the importance of the end spring in this latching control application. For the end spring case, we also present the results with the power and force limits to present the optimal condition within the electrical design bounds and then briefly discuss the cases without the limits. The results are also presented side by side for the passive and reactive PTO controls to compare the outcomes from the two different PTO systems. 

Figures 5 and 6 illustrate that, in the absence of end springs, the power outputs exhibit a strong dependence on the PTO damping coefficient but a weak dependence on the unlatching angle. The cases of the red line, representing zero-degree unlatching, are equivalent to the situations where there is no latching control. With k PTO, the reactive control produces larger average power than the passive control. Even though the unlatching-angle dependence is not significant, the latching application to the reactive PTO control generates a better enhancement than the passive PTO case, especially when the release angle and c PTO are large. It is also noted the peak powers for all the simulation cases are under the power limit of 3000 W. The average power becomes maximum near c PTO = 200 N-s/m, while the maximum peak power occurs near c PTO = 80-100 N-s/m. We define the maximum average power as the optimal case. with a large PTO c is too slow during the half-pitch period. In these cases, the magnet does not travel the full length until the angle is reversed and slides back. On the other hand, in the optimal case (sufficiently large PTO c and unlatching angle), the magnet tends to travel the full length while generating a large power output. This exemplifies the importance of finding an optimal PTO c and unlatching angle. In the optimal case, additional reactive control further enhances the average power output compared to the passive control. 20°. If the magnet is released at much smaller or much larger angles, the sliding velocity with a large PTO c is too slow during the half-pitch period. In these cases, the magnet does not travel the full length until the angle is reversed and slides back. On the other hand, in the optimal case (sufficiently large PTO c and unlatching angle), the magnet tends to travel the full length while generating a large power output. This exemplifies the importance of finding an optimal PTO c and unlatching angle. In the optimal case, additional reactive control further enhances the average power output compared to the passive control. 

(a) (b) To understand when the maximum average power is produced, Table 3 and Figure 7 compare optimal cases to non-optimal cases that share one of the optimal parameters found, i. e., either damping or unlatching angle. In all three cases, the magnet is unlatched with zero velocity, so a gradual increase in sliding velocity is found. While WEC pitch motions are near-sinusoidal, the patterns of magnet sliding motions, generator forces, and power outputs are highly nonlinear. There exist significant differences in the power generation patterns among different latching parameters, while the pattern remains similar between reactive and passive PTO controls. If c PTO is small, the power output is to be small. If c PTO is too large, the sliding velocity is reduced, resulting in less power generation. In the case of optimal damping (200 N-s/m), the best unlatching time is around 15 • -20 •. If the magnet is released at much smaller or much larger angles, the sliding velocity with a large c PTO is too slow during the half-pitch period. In these cases, the magnet does not travel the full length until the angle is reversed and slides back. On the other hand, in the optimal case (sufficiently large c PTO and unlatching angle), the magnet tends to travel the full length while generating a large power output. This exemplifies the importance of finding an optimal c PTO and unlatching angle. In the optimal case, additional reactive control further enhances the average power output compared to the passive control. with greater percentages of enhancement by latching. The relative enhancement is larger in the case of reactive PTO control than passive control. Figure 8b shows that different optimal unlatching angles exist for different PTO damping values. The smaller the damping coefficient is, the larger the optimal unlatching angle becomes. Figure 8a presents the average power outputs at the optimum unlatching angle as a function of c PTO and the relative enhancement percentage in comparison to those without latching. The figure shows that smaller c PTO results in smaller average power even with greater percentages of enhancement by latching. The relative enhancement is larger in the case of reactive PTO control than passive control. Figure 8b shows that different optimal unlatching angles exist for different PTO damping values. The smaller the damping coefficient is, the larger the optimal unlatching angle becomes. In the above, we investigated the cases without end springs. Figure 9 shows average power outputs with end springs compared to those without end springs, where significant enhancement is found with end springs. In particular, the enhancement is amplified in the region of smaller PTO c and larger unlatching angles. It is also observed that the damping coefficient 90 N-s/m produces the optimal conditions for both passive and reactive PTO controls. See also the resulting peak power presented in Figure 10. In this case, the maximum power larger than the power limitation value of 3000 W occurs in the small-damping region of less than 60 N-s/m, which corresponds to the flat part at the top. In this region, the average power also drops significantly due to the energy leak compared to the nospring case. 

Table 4 and Figure 11 are for the cases of end springs and correspond to Table 3 and Figure 7 of the no-spring case. With end springs, the average power outputs with the optimal PTO c and unlatching angle are significantly enhanced compared to other non-optimal cases. In other words, the latching control plays a much more important role compared to no-spring cases. In the optimal case, the magnet experiences a large excitation force during the travel. On the other hand, under the ineffective unlatching condition (0° unlatching), the magnet experiences a small excitation force during the sliding by traveling at small inclination angles. In the case of large damping (300 N-s/m), the magnet frequently fails to reach the ends of the tube, resulting in a diminished latching effect. 

In the case of end springs, the power outputs are very similar between the passive and reactive PTO controls under the optimal damping coefficient (90 N-s/m). Because of the linear PTO k term in the generator force of the reactive PTO control, it produces a correspondingly linear increase in power output compared to the passive control case, which is not necessarily advantageous when the generated power exceeds the imposed power limit. From a practical point of view, a larger average power with smaller peaks (fluctuations) is the best. 

The energy efficiency  with respect to the PTO motion in Table 4 shows that there is no energy loss due to the application of the end spring as it stores the residual kinetic energy of the magnet. However, this happens only under the ideal condition of no friction, as assumed in this paper. In Figure 12, the optimal condition with end springs ( PTO In the above, we investigated the cases without end springs. Figure 9 shows average power outputs with end springs compared to those without end springs, where significant enhancement is found with end springs. In particular, the enhancement is amplified in the region of smaller c PTO and larger unlatching angles. It is also observed that the damping coefficient 90 N-s/m produces the optimal conditions for both passive and reactive PTO controls. See also the resulting peak power presented in Figure 10. In this case, the maximum power larger than the power limitation value of 3000 W occurs in the smalldamping region of less than 60 N-s/m, which corresponds to the flat part at the top. In this region, the average power also drops significantly due to the energy leak compared to the no-spring case. ) is also plo ed as a reference. For this reference case, the resulting average powers are 235. 6 W and 267. 5 W for the passive and reactive PTO controls, respectively. In these cases, the efficiency η is 67% and 70%, respectively, indicating a rather significant energy loss due to the loss of magnet kinetic energy at both ends of the tube. Table 4 and Figure 11 are for the cases of end springs and correspond to Table 3 and Figure 7 of the no-spring case. With end springs, the average power outputs with the optimal c PTO and unlatching angle are significantly enhanced compared to other nonoptimal cases. In other words, the latching control plays a much more important role compared to no-spring cases. In the optimal case, the magnet experiences a large excitation force during the travel. On the other hand, under the ineffective unlatching condition (0 • unlatching), the magnet experiences a small excitation force during the sliding by traveling at small inclination angles. In the case of large damping (300 N-s/m), the magnet frequently fails to reach the ends of the tube, resulting in a diminished latching effect. cases. The case of unlatching angle = 0° with end springs shows that even with end springs, if the unlatching timing is not right, there is no significant average power increase compared to the no-spring case. When optimal unlatching timing is applied, the largest aver- In the case of end springs, the power outputs are very similar between the passive and reactive PTO controls under the optimal damping coefficient (90 N-s/m). Because of the linear k PTO term in the generator force of the reactive PTO control, it produces a correspondingly linear increase in power output compared to the passive control case, which is not necessarily advantageous when the generated power exceeds the imposed power limit. From a practical point of view, a larger average power with smaller peaks (fluctuations) is the best. 

The energy efficiency η with respect to the PTO motion in Table 4 shows that there is no energy loss due to the application of the end spring as it stores the residual kinetic energy of the magnet. However, this happens only under the ideal condition of no friction, as assumed in this paper. In Figure 12, the optimal condition with end springs (c PTO = 90 N-s/m and θ unlatch = 35 • ) is directly compared to the optimal condition without end springs (c PTO = 200 N-s/m and θ unlatch = 15-20 • ). An additional case of no end springs (c PTO = 90 N-s/m and θ unlatch = 35 • ) is also plotted as a reference. For this reference case, the resulting average powers are 235. 6 W and 267. 5 W for the passive and reactive PTO controls, respectively. In these cases, the efficiency η is 67% and 70%, respectively, indicating a rather significant energy loss due to the loss of magnet kinetic energy at both ends of the tube. Figure 13 summarizes the power enhancements resulting from optimal unlatching with end springs as a function of c PTO values and compares them to other non-optimal cases. The case of unlatching angle = 0 • with end springs shows that even with end springs, if the unlatching timing is not right, there is no significant average power increase compared to the no-spring case. When optimal unlatching timing is applied, the largest average power increase occurs near c PTO = 80-90 N-s/m. When c PTO is smaller than 70 N-s/m, the average power drops rapidly because the generated power exceeds the imposed power limit, leading to significant energy leaks (see Figure 10 ). Figure 14 shows the corresponding optimal unlatching angles as a function of the PTO damping coefficient. When c PTO is larger than the optimal damping, the optimal unlatching angles decrease with c PTO. Otherwise, the opposite is true. The overall trend of power output and optimal unlatching angle is similar between passive and reactive PTO controls. Next, let us compare the above case with power limitation to the one without. In the la er scenario, we remove the power-and force-limiting conditions, assuming a sufficiently large generator capacity. Then, the energy leak issue caused by limiting the generator power and force for small PTO c disappears. The results are given in Figure 15. In this case, the best average power production happens when PTO c = 20-30 N-s/m with an unlatching angle of 45° for both PTO controls. Then, passive and reactive controls produce the best average power of 468. 3 W and 469. 7 W, respectively. Figure 16 shows that the optimal unlatching angles monotonically decrease as PTO c increases for both passive and Next, let us compare the above case with power limitation to the one without. In the latter scenario, we remove the power-and force-limiting conditions, assuming a sufficiently large generator capacity. Then, the energy leak issue caused by limiting the generator power and force for small c PTO disappears. The results are given in Figure 15. In this case, the best average power production happens when c PTO = 20-30 N-s/m with an unlatching angle of 45 • for both PTO controls. Then, passive and reactive controls produce the best average power of 468. 3 W and 469. 7 W, respectively. Figure 16 shows that the optimal unlatching angles monotonically decrease as c PTO increases for both passive and reactive PTO controls. The reactive PTO control generates a larger peak power (i. e., 10,331. 8 W) than the passive case (i. e., 8128. 9 W). The energy leaks associated with limiting the large peak powers within 3000 W are substantial in the small-c PTO region, leading to a significant reduction in the corresponding average power, as shown in Figures 9, 10 and 13 compared to Figure 15. The extremely high peak powers may pose practical challenges for generator design, despite some gains in average power production. This means that the examples with reasonable power and force limitations are more practical. 

Next, let us compare the above case with power limitation to the one without. In the la er scenario, we remove the power-and force-limiting conditions, assuming a sufficiently large generator capacity. Then, the energy leak issue caused by limiting the generator power and force for small PTO c disappears. The results are given in Figure 15. In this case, the best average power production happens when PTO c = 20-30 N-s/m with an unlatching angle of 45° for both PTO controls. Then, passive and reactive controls produce the best average power of 468. 3 W and 469. 7 W, respectively. Figure 16 shows that the optimal unlatching angles monotonically decrease as PTO c increases for both passive and reactive PTO controls. The reactive PTO control generates a larger peak power (i. e., 10,331. 8 W) than the passive case (i. e., 8128. 9 W). The energy leaks associated with limiting the large peak powers within 3000 W are substantial in the small-PTO c region, leading to a significant reduction in the corresponding average power, as shown in Figures 9, 10 and 13 compared to Figure 15. The extremely high peak powers may pose practical challenges for generator design, despite some gains in average power production. This means that the examples with reasonable power and force limitations are more practical.
section_name: Latching Control with Constant-Angle Criteria

section_content: In general, a smaller optimal PTO c generates a lower current, meaning less loss. In formulating sliding parameters, we confirm that sliding velocity is directly related to the damping coefficient, and it is critical in achieving the optimal power under latching control. This explains why the optimal damping has shifted from 200 N-s/m without end springs to 90 N-s/m (power and force limits) with end springs. We also identify a phase relation between the excitation and the magnet sliding for the optimal latching control.
section_name: Phase Relations under Optimal Latching

section_content: In general, a smaller optimal c PTO generates a lower current, meaning less loss. In formulating sliding parameters, we confirm that sliding velocity is directly related to the damping coefficient, and it is critical in achieving the optimal power under latching control. This explains why the optimal damping has shifted from 200 N-s/m without end springs to 90 N-s/m (power and force limits) with end springs. We also identify a phase relation between the excitation and the magnet sliding for the optimal latching control. T slide and v slide are the travel time (= t hitt leave ) from one end (t leave ) to the other end (t hit ) and the average speed during the slide, respectively. We define the relative position of the peak of excitation (or inclination angle) during each sliding as β = t peak -t leave t hit -t leave × 100 [%], where t peak represents the time when the excitation (or the inclination angle) reaches its peak value within the corresponding oscillation. 

Our extensive numerical simulations revealed that the optimal unlatching coincided with the peak angle at the middle of the travel displacement for the cases with end springs. This alignment also corresponds to β ≈ 50%. This means that the best unlatching time is slightly before the pitch angle reaches its maximum. When the maximum angle occurs in the middle of the travel distance or time, it allows for the largest slide angles to be maintained throughout the full slide. This case offers the best unlatching time and produces the maximum average power output. Figure 17 illustrates the above discussion in more detail. In Figure 17a, the travel time and average velocity of the end spring cases are plotted for the PTO damping 200 N-s/m and 90 N-s/m. The green circles on the graphs correspond to the best unlatching angles for each case. We have the best case when both the sliding velocity and travel time become adequate, which corresponds to the case of β ≈ 50%. To verify the new phase matching concept of   50%, we additionally applied the desired phase matching instant as an unlatching instant strategy in the passive PTO control cases under non-limiting power and force conditions, which we refer to as target unlatching. To achieve the desired peak inclination angle during each magnet sliding occurrence, the unlatching instant leave t is adjusted for every oscillation, respectively. By varying target  as a simulation input for each test, the resulting parameters including average power avg P are compared in Table 5. The actual resulting parameter  is also quan- tified for the verification of the target matching. The 50% target unlatching case produced the best power outcomes as expected, as shown in Figure 18. To verify the new phase matching concept of β ≈ 50%, we additionally applied the desired phase matching instant as an unlatching instant strategy in the passive PTO control cases under non-limiting power and force conditions, which we refer to as target unlatching. To achieve the desired peak inclination angle during each magnet sliding occurrence, the unlatching instant t leave is adjusted for every oscillation, respectively. By varying β target as a simulation input for each test, the resulting parameters including average power P avg are compared in Table 5. The actual resulting parameter β is also quantified for the verification of the target matching. The 50% target unlatching case produced the best power outcomes as expected, as shown in Figure 18.
section_name: Phase Relations under Optimal Latching

section_content: The target unlatching 50% scheme is ideal for power production. However, from a practical standpoint, achieving real-time operation that satisfies 50% unlatching per respective oscillation is complex and not straightforward. We propose a simple variableangle unlatching control, assuming that the time series of the pitch angle is known. In this regard, a parametric study of the variable unlatching instant is conducted by varying the relative angle before each local peak (maximum or minimum) inclination angle. The optimal damping coefficient of 90 N-s/m found in Section 4. 1 is used as an example case study with end springs. Tables 6 7 8 9 show the resulting power production with and without power and force limits for passive and reactive PTO controls, respectively. For each case, simulations were performed with relative angles of 0°, 3°, 6°, and 9°. 

When comparing Tables 6 and 7 with Tables 8 and 9, we observe that the produced average powers are significantly reduced when power and force limits are set, which is consistent with previous observations. In the tables, the peak-to-average power ratio is expressed as k. According to the parametric study, opting for the 3° variable unlatching produced the best average powers of 462. 1 W and 462. 7 W for the passive and reactive controls, respectively. These values are 24. 5 W and 24. 7 W higher than the best values by the constant unlatching angle set at 35° (see Table 4 ). The average power outputs between the two PTO controls are similar, but the peak power of the reactive PTO control is about 20% higher than that of the passive control. This implies that the passive PTO control functions be er with the variable-angle unlatching control. For example, with a 3550 W power limit (slightly higher than the previous limit of 3000 W), an average power of 462. 1 W can be achieved in the present example. 

It is important to note that the resulting parameters for the variable unlatching criteria aligned closely with the ideal target  = 50% target unlatching case. For example, the resulting  value was 56. 4% and avg P was 462. 1 W, which can be compared to 463. 4 W from the target  50% case presented in Table 5. It can be concluded that the variable-angle unlatching criterion is a practical and effective method to achieve optimal power production under irregular sea conditions.
section_name: Latching Control with Variable-Angle Criteria

section_content: The target unlatching 50% scheme is ideal for power production. However, from a practical standpoint, achieving real-time operation that satisfies 50% unlatching per respective oscillation is complex and not straightforward. We propose a simple variableangle unlatching control, assuming that the time series of the pitch angle is known. In this regard, a parametric study of the variable unlatching instant is conducted by varying the relative angle before each local peak (maximum or minimum) inclination angle. The optimal damping coefficient of 90 N-s/m found in Section 4. 1 is used as an example case study with end springs. Tables 6-9 show the resulting power production with and without power and force limits for passive and reactive PTO controls, respectively. For each case, simulations were performed with relative angles of 0 •, 3 When comparing Tables 6 and 7 with Tables 8 and 9, we observe that the produced average powers are significantly reduced when power and force limits are set, which is consistent with previous observations. In the tables, the peak-to-average power ratio is expressed as k. According to the parametric study, opting for the 3 • variable unlatching produced the best average powers of 462. 1 W and 462. 7 W for the passive and reactive controls, respectively. These values are 24. 5 W and 24. 7 W higher than the best values by the constant unlatching angle set at 35 • (see Table 4 ). The average power outputs between the two PTO controls are similar, but the peak power of the reactive PTO control is about 20% higher than that of the passive control. This implies that the passive PTO control functions better with the variable-angle unlatching control. For example, with a 3550 W power limit (slightly higher than the previous limit of 3000 W), an average power of 462. 1 W can be achieved in the present example. 

It is important to note that the resulting parameters for the variable unlatching criteria aligned closely with the ideal β target = 50% target unlatching case. For example, the resulting β value was 56. 4% and P avg was 462. 1 W, which can be compared to 463. 4 W from the β target 50% case presented in Table 5. It can be concluded that the variable-angle unlatching criterion is a practical and effective method to achieve optimal power production under irregular sea conditions.
section_name: Latching Control with Variable-Angle Criteria

section_content: So far, we have analyzed all the cases based on the assumption of a collision coefficient α = 1. 0. However, in reality, there will be a small amount of energy loss during the magnetspring-plate collision. To account for this, we conduct an additional parametric study by varying α for the 3 • variable unlatching case discussed in Section 4. 3. Since α values less than 1. 0 reduce the rebounding velocity as formulated in Equation ( 17 ), the resulting power production is expected to be lower. On the other hand, the reduced rebounding velocity may lessen the detrimental effect of energy leak by decreasing excessive peak power, which increases with α. 

Figure 19 presents the results of this parametric study. Without limiting power, the average power monotonically increases with increasing α values. With the power limit, the average power drops significantly when α is greater than 0. 95, due to the limitation of excessive power peaks. For all α values, the peak powers of reactive control are higher than those of passive control, consistent with the findings from previous sections. Table 10 summarizes the results for three selected cases with the largest available average powers under the power-limiting condition. The table also illustrates the improvements compared to cases without latching control, highlighting the enhancements achieved under the same damping coefficient of 90 N-s/m. Under practical conditions (a power limit of 3000 W and consideration of collision coefficient), the efficiency of latching control can reach up to 60-80%. In all cases considered, variable-angle unlatching controls perform be er than constant-angle unlatching controls.
section_name: Effect of Collision Coefficient

section_content: The PTO control and latching control methodologies were developed and tested to enhance the power production of the Surface-Riding Wave Energy Converter (SR-WEC) in irregular waves. The latching control, which holds the moving magnet at the end of the tube and releases it at a favorable buoy inclination angle, has been implemented as a mechanical control mechanism. The performance of two PTO controls (passive and reactive) was also systematically analyzed and compared. While the SR-WEC exhibits resonating pitch motions due to the optimized floater design, there is no resonance for the magnet's sliding motion within a finite travel length. Therefore, its latching and PTO controls differ significantly from other resonance-type WECs with published control methods. However, overall, latching controls improved the power production performance of the SR-WEC using a similar phase delay concept, resulting in a much be er output with an application of end spring at the end of the tube. 

It was shown that the end spring can store the residual kinetic energy of the magnet sliding motion, resulting in a larger rebounding velocity and faster magnet sliding. Consequently, the average power was significantly increased with a proper unlatching angle and optimal PTO damping. Without latching or end springs, the magnet sliding motion Table 10 summarizes the results for three selected cases with the largest available average powers under the power-limiting condition. The table also illustrates the improvements compared to cases without latching control, highlighting the enhancements achieved under the same damping coefficient of 90 N-s/m. Under practical conditions (a power limit of 3000 W and consideration of collision coefficient), the efficiency of latching control can reach up to 60-80%. In all cases considered, variable-angle unlatching controls perform better than constant-angle unlatching controls.
section_name: Conclusions

section_content: The PTO control and latching control methodologies were developed and tested to enhance the power production of the Surface-Riding Wave Energy Converter (SR-WEC) in irregular waves. The latching control, which holds the moving magnet at the end of the tube and releases it at a favorable buoy inclination angle, has been implemented as a mechanical control mechanism. The performance of two PTO controls (passive and reactive) was also systematically analyzed and compared. While the SR-WEC exhibits resonating pitch motions due to the optimized floater design, there is no resonance for the magnet's sliding motion within a finite travel length. Therefore, its latching and PTO controls differ significantly from other resonance-type WECs with published control methods. However, overall, latching controls improved the power production performance of the SR-WEC using a similar phase delay concept, resulting in a much better output with an application of end spring at the end of the tube. 

It was shown that the end spring can store the residual kinetic energy of the magnet sliding motion, resulting in a larger rebounding velocity and faster magnet sliding. Consequently, the average power was significantly increased with a proper unlatching angle and optimal PTO damping. Without latching or end springs, the magnet sliding motion was slower, necessitating a larger optimal PTO damping (200 N-s/m). However, with latching and end springs, the magnet sliding motion was faster, and smaller damping (90 N-s/m) was found to be optimal, leading to appreciably larger average powers. Nonetheless, the higher magnet velocity also resulted in larger peak powers, necessitating the imposition of a power-limiting condition, which in turn caused energy leakage and reduced average power. 

The performances of constant-angle unlatching and variable-angle unlatching were systematically compared, and the latter performed better in average power production. Further investigations of phase relation revealed the optimal power generation condition. The optimal cases corresponded to β ≈ 50% in which the maximum buoy inclinations coincided with the middle of the magnet slide. This finding was instrumental in verifying a variable-angle unlatching strategy as a practical one. Tests with the reactive PTO, along with latching and end springs, showed only a marginal increase in average power compared to the passive control with them, even though the reactive PTO exhibited better efficiency than the passive PTO in relation to phase delay when latching was used without end springs. Additionally, when there is energy loss during the collision of the magnet and spring plate, it might mitigate the detrimental effect of energy leakage by reducing excessive peaked power. 

The present optimal control design of SR-WEC was tailored for a target irregular wave condition of a specific deployment site. The investigation can be repeated for other wave conditions to develop a more comprehensive database and broader proactive control strategy, which may be combined with AI (artificial intelligence). An experimental study on the suggested latching mechanics and control, extending the earlier experimental validation of the performance of the SR-WEC without latching by authors (Jin et al. [3] ), is considered the next study.
section_name: Conclusions

section_name: Acknowledgments:

section_content: The authors are grateful to Chungkuk Jin for sharing the pitch motion time history of the SR-WEC. The authors also thank Matthew C. Gardner for providing a sample code for the time integration of the PTO sliding motion and Hamid A. Toliyat and Shrikesh Sheshaprasad for sharing their concept and algorithm related to power and force limits, as well as their general reactive control application on the SR-WEC.
section_name: Acknowledgments:

section_name: Institutional Review Board Statement: Not applicable.

section_content: Funding: This research is supported by a U. S. Department of Energy's Water Power Technologies Office project, DE-EE0008630.

section_content: Informed Consent Statement: Not applicable.
section_name: Institutional Review Board Statement: Not applicable.

section_name: Data Availability Statement:

section_content: The numerical data presented in this study are available upon request from the corresponding author at the author's discretion.
section_name: Data Availability Statement:

section_name: Conflicts of Interest:

section_content: The authors declare no conflict of interest.
section_name: Conflicts of Interest: