Journal of Railway Transportation and Technology Vol. 5 No. eSSN: 2830-6880 AuImplementation of CC-CV Battery Charging Method with Temperature Control for Level CrossingsAy Yuli Prasetyo1. Santi Triwijaya2. Andri Pradipta3. Akhwan4. Akhsay Chandra Dewanta5. Aggie Brenda Vernandez6 Madiun State Polytechnic. Indonesia Railway Polytechnic. Semarang State Polytechnic Jl. Serayu. Pandean. Madiun City. INDONESIA Jl. Tirta Raya. Madiun City. INDONESIA Jl. Prof. Soedarto. Kec. Tembalang. Semarang City. INDONESIA Article Info ABSTRACT . PT) Article history: Level crossings are critical for ensuring the safety of long-distance railway operations. To maintain the reliability of these at-grade crossings, their power supply systems are equipped with lead-acid This study focuses on the battery charging system. A known effect of battery charging is temperature rise due to charge current flow. To resolve the charging time problem at level crossings, this research proposes Constant Current Ae Constant Voltage (CC-CV) method, which also regulates temperature to extend battery lifespan. Battery charging tests were conducted by comparing the CC-CV and Switch Mode Power Supply (SMPS) methods, starting from the minimum battery voltage . 72 V) until the voltage set point was reached. The results show that the SMPS method required 5 hours with an average charging temperature of 34. 0AC. In contrast, the CC-CV method required only 2. hours with an average temperature of 35. 4AC. Therefore, the CC-CV method can significantly accelerate the charging time while ensuring the temperature remains within the specified maximum limit. This shorter charging duration is expected to enhance the reliability and prevent service disruptions at level crossings. Received December 25, 2025 Revised March 12, 2026 Accepted March 30, 2026 Keywords: Batteries Level crossing CC-CV Charging Temperature *Corresponding Author: Santi Triwijaya. Department of Mechanical Engineering. Indonesian Railway Polytechnic Jl. Tirta Raya. Pojok. Nambangan Lor. Manguharjo. Madiun. Jawa Timur 63161. Indonesia Email: santi@ppi. INTRODUCTION Level crossings are critical safety interfaces between railroad tracks and roadways . Their safety is highly dependent on the reliable operation of warning devices, such as flashing red lights, sirens, and automatic gates. , . , . The electrical systems of these devices, including the DC/AC motors responsible for lowering and raising the gate barriers, are powered by battery supplies. Crucially, without power from the battery, the gates will remain inoperative even if the train detection system is active, creating a significant safety hazard. Various types of batteries are utilized at level crossings in Indonesia, with lead-acid batteries being one of the most common. Due to their reputation for dependability and rugged operation, lead-acid batteries Author 1 et al. Journal of Railway Transportation and Technology. Vol. 0 No. are widely adopted in applications including electric vehicles, renewable energy storage, and industrial machinery . However, a primary challenge in their utilization is maintaining efficiency and extending service life through an appropriate charging process . In principle, batteries are charged by applying continuous current until the voltage reaches a maximum threshold . Continuing to charge beyond this point can lead to energy waste, excessive heating . , and a shortened battery lifespan. Consequently, an effective and efficient charging method is key to optimizing the performance and durability of lead-acid batteries. Several mechanisms in battery charging include the conventional Switch Mode Power Supply (SMPS) and the CC-CV method. The SMPS method is generally designed to produce a constant output voltage by regulating the switching process based on voltage feedback from the output side . In this system, the amount of current flowing depends on the characteristics of the connected load. If the load requires a larger current, the output current will increase until it reaches the power source's capacity limit or until the protection system operates . In contrast, the SMPS with the CCAeCV method is able to regulate the output current and voltage in a controlled manner through two operating modes. , . In the initial stage, the system works in CC mode to maintain a stable current, then switches to CV mode after the voltage arrives a certain magnitude. CC-CV method is a commonly used charging technique. This method begins with CC phase until a set point voltage is reached, then switches to a CV phase until the charging current drops to a low level . It aims to reduce charging time and prevent overcharging . However, charging with a relatively high, constant current carries the risk of causing a significant temperature to rise in the battery . A major issue associated with lead-acid battery charging is temperature management. Excessive heat during charging can cause electrode material degradation, electrolyte evaporation, and in extreme cases, a risk of explosion . Therefore, implementing a temperature cut-off system is crucial to maintain a safe temperature range and prevent overheating . Based on this background, this research aims to develop a CC-CV-based lead-acid battery charging system prototype equipped with a temperature cut-off mechanism. This mechanism allows the system to automatically halt charging when the battery temperature exceeds a predetermined threshold, thereby preventing damage and enhancing operational safety. The integration of the CC-CV method with temperature control is expected to significantly improve charging efficiency and extend battery life. RESEARCH METHOD To support this research, a device was designed and constructed to apply the CC-CV method while accounting for battery temperature during charging at the level crossing. Subsequently, data was collected from the device for performance evaluation. Electrically, the device utilizes a 220 V AC power source, which is stepped down to 12 V DC to supply the buck-boost converter module serving as the core charging regulator. This 12 V supply is further stepped down to 5 V DC using an LM2596 regulator to power the microcontroller. The charging parametersAinamely current, voltage, and battery temperatureAiare monitored in real-time and displayed on a 16x2 LCD screen. Battery voltage is read using a voltage divider circuit sensor, while the charging current is measured with an ACS712 sensor. Battery temperature is monitored using a MAX6675 temperature sensor module. The complete block diagram of the designed system is presented in Figure 1. This system is the hardware implementation of the previously described algorithm. The Arduino processes data from the sensors, then controls the buck-boost converter to execute CC-CV charging, while simultaneously monitoring temperature via the MAX6675. If the temperature exceeds the limit, the Arduino commands the Relay to open the circuit to stop charging, thereby protecting the battery from overheating. Figure 2 details the logical workflow of the implemented battery charging algorithm, which integrates CC-CV method with a critical temperature-based safety cut-off. The process initializes by reading the battery's starting voltage, current, and temperature. It then enters the CC phase, maintaining a fixed charging current until the battery voltage reaches a predefined set point of 11. 72 V. Upon reaching this threshold, the algorithm transitions to CV phase, where the voltage is held constant at 11. 72 V. This allows the battery to safely approach full capacity as the charging current naturally tapers, eliminating the risk of overvoltage. Through both charging phases, the system continuously monitors the battery temperature. A primary safety feature is activated if the temperature exceeds the maximum safe limit of 37AC. In this event, the system commands a normally open (NO) relay to disconnect the charging circuit, immediately and automatically halting the process to prevent overheating and protect the battery's integrity Author 1 et al. Journal of Railway Transportation and Technology. Vol. 0 No. Source Baterai Lead-Acid Power Supply Buck-Boost Converter LM2596 voltage sensor Relay ACS758 Arduino Mega 2560 Pro MAX6675 Input Proces LCD Output Figure 1. Block diagram of the proposed lead-acid battery charging system. Start Initialization i, v, and t CC-CV method Charging battery with CC Measuring i, v, and t t > 37AC Yes V = 12 Volt Yes Relays Normally Open (NO) contacts Charging with i, v, and t End Gambar 2. Flowchart of the proposed method RESULTS AND DISCUSSION This study evaluates the efficacy of CC-CV method by comparing it against a conventional Switch Mode Power Supply (SMPS) method as a baseline. The evaluation is based on charging speed, the characteristic relationship between charging current and battery voltage, and the relationship between battery temperature and voltage. Tests were conducted on a wet-type Lead-Acid battery. INCOE NS60L, with the following specifications: 45 Ah capacity, 12 V nominal voltage, 13. 8 V charging voltage, and a charging current range of 21Ae30 A. Test Results Using the Switch Mode Power Supply (SMPS) Method Author 1 et al. Journal of Railway Transportation and Technology. Vol. 0 No. The graph illustrates the characteristic charging profile of the lead-acid battery under test using the SMPS method, as depicted in Figures 3 and 4. Testing was performed by measuring the battery voltage from its initial state . efore chargin. until the charging voltage reached a stable condition . o further chang. The results show the battery voltage increased from 11. 72 V to 13. 4 V over a charging duration of 300 minutes . At the beginning of the charge cycle . = . , the voltage was recorded at 13. 4 V with a charging current of 21 A and a battery temperature of 29AC. Over time, the battery temperature rose to 33. 2AC. A gradual decrease in charging current was also observed, from 21 A down to 4 A, as the battery voltage approached its maximum . 4 V). Figure 3. Comparison of battery voltage and charging current characteristics using the SMPS method. Figure 4. Battery voltage and temperature profiles during SMPS charging After the charging phase was terminated and a resting period (A10 minute. was applied, the battery voltage dropped and stabilized at 12. 0 V . esting voltag. Measuring the resting voltage after this interval is considered more accurate for representing the battery's true state. A rise in battery voltage generates a corresponding decrease in charging current, as depicted in Figure 3. This inverse relationship is attributed to the increase in the battery's internal resistance during the charging process. Figure 4 demonstrates that extended charging duration correlates with increased battery voltage, a process that subsequently elevates the battery Test Results of the CC-CV Method with Temperature Limitation In this testing, the CC-CV method was employed along with a temperature constraint mechanism integrated into the charging controller. The battery used for the test was an INCOE NS60L wet-type Lead-Acid Prior to the main tests, a calibration process was performed on all sensors . oltage, current, and temperatur. of the proposed device. This calibration aimed to minimize measurement errors, ensuring the acquired data had a low error rate and was reliable. Through the application of this method, comprehensive performance data was obtained, including: Charging Speed (Duratio. Characteristic Relationship between Charging Current and Battery Voltage. Characteristic Relationship between Battery Temperature and Battery Voltage. Author 1 et al. Journal of Railway Transportation and Technology. Vol. 0 No. These data sets form the basis for analysing the effectiveness and advantages of the temperature-aware CC-CV method compared to the conventional (SMPS) method. Overall, the testing of the proposed method demonstrated a well-controlled charging trend: battery voltage and temperature increased proportionally, while the charging current decreased significantly as the battery approached full capacity. The implementation of the temperature-constrained CC-CV method yielded charging characteristics significantly different from the SMPS method, as shown in Figures 5 and 6. The Fast and Controlled Charging Profile is represented in Figure 5. C Constant Current (CC) Phase: The initial period . -30 minute. shows the charging current maintained constantly at 21 A, while the battery voltage rises linearly from 11. 72 V. C Transition and Constant Voltage (CV) Phase: At the 30-minute mark, the voltage reaches the set point of 12. 0 V. The system then transitions to the CV phase, marked by stable voltage and an exponential decrease in current. The current drops sharply to below 5 A within the next 20 minutes. C Charging Speed: The total charging time is only about 130 minutes . hours 10 minute. , substantially faster than the 300 minutes required by the SMPS method. This proves the effectiveness of the CC-CV method in accelerating the process without causing overvoltage. Effective Temperature Management is shown in Figure 6. C Thermal Response: The graph shows that the battery temperature increases gradually alongside the voltage during the CC phase, peaking at approximately 35. 5AC. C Temperature Stabilization: After the system enters the CV phase . , the temperature rise slows and eventually stabilizes below 36AC. This indicates reduced heat generation as the charging current C Overheating Prevention: The maximum temperature remains under the 37AC safety limit. This profile proves that the temperature cut-off algorithm functions as a safety guard while also demonstrating that the CC-CV charging profile itselfAiwith its current-reducing CV phaseAicontributes to managing temperature Figure 5. Measured battery voltage and charging current during implementation of the proposed CC-CV charging method. Figure 6. Battery voltage and temperature profiles obtained with the proposed charging method. CONCLUSION Author 1 et al. Journal of Railway Transportation and Technology. Vol. 0 No. The proposed battery charging mechanism, which integrates CC-CV method with temperature monitoring, successfully delivers a faster, more stable, and more efficient charging process compared to the conventional Switch Mode Power Supply (SMPS) method. Quantitatively, the mechanism achieves: A charging time reduction of over 50%, from 300 minutes (SMPS) to just 130 minutes. Effective thermal stability by limiting the maximum battery temperature to OO35. 5AC, safely below the 37AC threshold. This success is supported by the optimal CC-CV charging profile combined with the temperature cut-off mechanism. Safe and precise charging completion, evidenced by a distinct change from the CC phase to CV phase, ensuring battery reaches full capacity without overvoltage risk. Therefore, the temperature-supervised CC-CV method has been validated as a viable solution for enhancing the reliability of level crossing power supply systems, ensuring quicker and more dependable power Further research is needed to test the durability and performance of battery charging systems using the CC-CV method over a specific time period. Furthermore, this method needs to be applied and tested on various battery types and capacities to determine the reliability, charging stability, and suitability of the method to the characteristics of each battery. ACKNOWLEDGEMENTS We, as the authors, would like to express our gratitude for the support provided to the PPI Madiun Laboratory Team for their cooperation and technical assistance during the field testing at the level crossing. Thanks, are also extended to the Head of the Railway Electrical Technology Study Program for the permission and institutional support provided. REFERENCES