Rafi Nasrallah
EN FR

Open to engineering opportunities

Rafi Nasrallah

Electrical Engineer specializing in embedded systems, IoT and smart BMS

Three values guide my work: integrity, quality and curiosity.

Selected engineering focus

My work connects BMS design, embedded systems, battery analytics, and production supervision into practical engineering solutions.

Smart BMS & Battery Analytics

ECM 3RC, UKF, LSTM residual correction, SOC/SOH estimation.

ECM 3RC UKF LSTM residuals SOC/SOH

Embedded Hardware & Industrialization

STM32, Altium Designer, 16S BMS, EMC, protections, CAN/I2C/SPI.

STM32 Altium 16S BMS CAN/I2C/SPI

Industrial Supervision & Traceability

MQTT, REST API, dashboards, KPI monitoring, production traceability.

MQTT REST API Dashboards Traceability

About Me

State Engineer in Electrical Engineering and Industrial Systems Control, with a research focus on smart Battery Management Systems, battery analytics, and AI-assisted SOC estimation for LiFePO4 batteries. Experienced in physical battery modeling, ECM-based simulation, Unscented Kalman Filtering, LSTM residual correction, and digital-twin-based validation for electric mobility applications. Skilled in MATLAB/Simulink, Python, embedded systems, and industrial data acquisition, with strong interest in predictive modeling, SOH estimation, anomaly detection, and real-time battery health monitoring.

Internships & Education

Professional Experience

Engineering Intern (Internship – R&D and Industrialization) — Emove Véhicules

Completed

Feb 2026 – May 2026

Project: Systemic resolution of a critical premature shutdown defect (at 20% SoC) and energy gauge instability during abrupt accelerations on electric scooters through a coupled Hardware / Software / Process approach.

  • Digital Twin: Development of a high-fidelity virtual battery (15S2P configuration, LFP chemistry) integrating dynamic hysteresis models and a digital guard/safety architecture (IEC 62133 / ISO 26262 standards).
  • Estimation Algorithms & AI: Design and implementation of a hybrid State of Charge (SoC) estimation architecture combining a physical model (ECM 3RC), an Unscented Kalman Filter (UKF), and an LSTM neural network. Development of a residual observer (AI) to compensate for unmodeled phenomena.
  • Advanced Energy Management: Integration of a bidirectional active balancing system (LTC3300-1) and development of a safety supervisor (Finite State Machine - FSM) for degraded mode management and system protection.
  • Hardware & Embedded Design: Designed and routed in Altium Designer a 16S Battery Management System (BMS) board based on an STM32 architecture, integrating EMC considerations, power protections, and I2C, SPI, and CAN communication interfaces.
  • Validation & Robustness: Validation of algorithms via MIL simulation on a digital twin (RMSE < 2 %) and experimental validation on an instrumented HiL prototype (Arduino, High-side MOSFET).
  • Quality Management (QMS): Development and implementation of a strict industrial cell qualification procedure (PR-BAT-01) inspired by the ISO 9001 standard.
  • Supervision and Digitalization: Creation of a real-time industrial dashboard (MQTT, REST API) for production monitoring, complete traceability of battery packs, and KPI analysis.

Engineering Internship - SMCV

July 2025 – September 2025

Industrial Automation (PLC/HMI), Mechanical Design

Software Used: TIA Portal, Autodesk Inventor

  • Injection Molding Machine: Programmed Siemens PLC (TIA Portal) and implemented HMI interfaces.
  • Mechanical Arm: Designed and modeled the assembly in 3D CAD.
  • Automatic Hot-Press: Designed/analysed mechanical and thermal components, sized actuators, and programmed PLC/HMI.
Read about the SMCV industrial automation internship

Internship - ONEE

July 2024 – August 2024

National Office of Electricity and Water

Software Used: OMICRON Test Universe, SIPROTEC Tools

  • Conducted operational analysis of installed Siemens protection relays.
  • Developed a comprehensive testing protocol for system verification.
  • Executed verification and validation procedures for the testing protocol.
  • Developed and finalized comprehensive technical documentation for compliance records.
Read about the ONEE protection-relay internship

Apprenticeship - Rafi Robotiques et Machineries

2020 – 2023 (3 Years)

Mechanical Repair, CNC & Robotics

  • Mechanical repair of Sharmaann horizontal boring machine.
  • Design and fabrication of 5-axis welding robots.
  • Repair and reprogramming of CNC Lathe Machine (Siemens Sinumerik 840D).
  • Reprogramming of Spring Assembly Machine (Matissar).
Read about the CNC and robotics apprenticeship at Rafi Robotiques

Academic Background

2023 - 2026

Engineering Degree Program

ENSET Mohammedia

Electrical Engineering and Industrial Systems Control

2022 - 2023

Licence in Physical Sciences

Faculty of Sciences Ben M'sik, Casablanca

Electronics Specialization

2020 - 2022

DEUG in Physical Sciences

Faculty of Sciences Ben M'sik, Casablanca

General Physics and Chemistry

2019 - 2020

Baccalaureate in Science and Technology

Technical High School, Mohammedia

Electrical Specialization

Key Projects

Smart BMS for Electric Mobility

End-of-studies internship project focused on LFP scooter battery reliability, combining ECM/UKF/LSTM SOC estimation, STM32-based BMS hardware architecture, battery quality procedures, and industrial supervision.

BMSSTM32UKFLSTMAltiumElectric Mobility
Read the full technical report on the STM32-based Smart BMS

Rectangular Waveguide (TE10) Analysis

Designed and simulated advanced 3D microwave channels using ANSYS HFSS. By precisely visualizing the complex electric and magnetic fields, I proved how integrating a ceramic dielectric (Alumina) drastically shrinks the system's physical footprint

View Details

Transient Thermal Analysis (FEA vs. LCM)

Conducted a comparative study of Lumped Capacitance Modeling vs. FEA (ANSYS, Fusion 360) to validate the cycle time for automated hot nut insertion in polycarbonate.

View Details

Luenberger-Based Rendezvous Control

Designed a full autopilot system (Luenberger Observer + State-Feedback Controller) to achieve orbital rendezvous using only angle-data ($y=\theta$), overcoming numerical instability via system normalization.

View Details

LV Electrical System Design

LV Electrical System Design, Sizing & Code Compliance for a Pumping Station. (Software: Caneco BT, ETAP)

Speed Profile Conveyor

  • Automation: Developed automation code on PLCnext Engineer (Phoenix Contact).
  • Communication: Implemented Modbus RTU communication between PLC and VFD.
  • HMI: Designed the HMI for system supervision and control.

Plastic Shredder

  • 3D Design: Completed full CAD modeling using Autodesk Inventor.
  • Dimensioning: Performed dimensioning of motorization and transmission systems (power calculations, component selection).

Remote Solar Pump Control (IoT)

  • IoT Dev: Programmed ESP32 control unit for data acquisition and pump actuation.
  • Cloud: Established MQTT communication via HiveMQ broker.
  • Supervision: Designed a web HMI for remote monitoring and control.

Micro Wind Turbine Control

  • Modeling: Performed full dynamic system modeling.
  • Control: Designed a Nonlinear Control (Backstepping) law.
  • Simulation: Validated performance for an isolated PMSM system using MATLAB/Simulink.

Power Electronics (Sim & Hardware)

  • SPWM Inverter: Modeled H-Bridge (MOSFETs, IR2110 driver) and analog SPWM generation circuit in Proteus.
  • Regulated Boost Converter: Designed, simulated (Proteus), and built hardware with voltage regulation loop.
  • Full-Wave Rectifier: Hardware build and Proteus simulation with capacitive filtering.

Arduino L-C Meter

  • Simulation (Proteus) and hardware construction.

Skills and Tools

Technical Expertise

Smart BMS & Battery Analytics
Battery Modeling & SOC/SOH Estimation
Embedded Systems & IoT
Industrial Automation & Supervision
Electrical Design & Power Electronics
Digital Twin & MIL/HiL Validation
Modeling, Estimation & Advanced Control
Machine Learning & Deep Learning
HFSS / Electromagnetic Simulation
Mechanical Design & 3D Modeling

Software Proficiencies

Automation & Control

TIA Portal PLCnext Eng. Mach3 CNC MATLAB/Simulink

Mechanical & Simulation

ANSYS Mech. Inventor Fusion 360 AutoCAD ProNest

Electrical, Power & RF

Caneco BT ETAP ANSYS HFSS Proteus

Data Science & Cloud

PyTorch Google Colab

Languages

French: B2 - Upper-Intermediate
Arabic: Native

Patents

Automated system and process for welding and assembling corrugated web beam profiles

Granted
Filing Authority: OMPIC (Moroccan Industrial and Commercial Property Office)
Patent No. 65133
Granted: 28 November 2025

Recent Projects & Development Focus

Engineering Intern (Internship – R&D and Industrialization) — Emove Véhicules

Completed

Systemic resolution of premature shutdown and energy gauge instability on electric scooters


Project Scope

Built a coupled Hardware / Software / Process approach around a high-fidelity Digital Twin, hybrid SoC estimation, active balancing, embedded BMS hardware, HiL validation, and production traceability.

Key Technical Focus

  • LFP Battery Digital Twin (15S2P)
  • ECM 3RC, UKF & LSTM SoC Estimation
  • STM32-Based 16S BMS Hardware
  • MQTT / REST Production Dashboard
View Project Gantt

Areas of Interest

Smart BMS
AI-Assisted SOC/SOH Estimation
Battery Analytics
Modeling & Advanced Control
Embedded Systems & IoT

State Engineer in Electrical Engineering and Industrial Systems Control, with a research focus on smart Battery Management Systems, battery analytics, and AI-assisted SOC estimation for LiFePO4 batteries. Experienced in physical battery modeling, ECM-based simulation, Unscented Kalman Filtering, LSTM residual correction, and digital-twin-based validation for electric mobility applications. Skilled in MATLAB/Simulink, Python, embedded systems, and industrial data acquisition, with strong interest in predictive modeling, SOH estimation, anomaly detection, and real-time battery health monitoring.