Rafi Nasrallah

PhD Researcher @ UM6P · Smart BMS & E-Mobility

Rafi Nasrallah

PhD Researcher & Electrical Engineer — Next-Gen BMS, Embedded Systems & IoT for Electric Mobility @ UM6P

Professional Experience & Education

Academic Background

Physical Systems

2022 — 2023

Licence in Physical Sciences

Electronics Specialization

Faculty of Sciences Ben M'sik, Casablanca

Advanced scientific training combining electronics, electrotechnics, mechanics, applied physics and mathematical modelling, with exposure to digital electronics, materials, quantum and nuclear physics.

Electronics Electrotechnics Mechanics Applied Physics Mathematics
Scientific Foundations

2020 — 2022

DEUG in Physical Sciences

Faculty of Sciences Ben M'sik, Casablanca

Broad scientific foundation covering mechanics, thermodynamics, electromagnetism, electronics, mathematics, chemistry and quantum physics.

Mechanics Thermodynamics Electromagnetism Electronics Mathematics Chemistry
2019 — 2020 Baccalaureate — Science & Technology Electrical Specialization Mohammedia

Professional Experience

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

Completed

Feb 2026 – May 2026

Project: Smart BMS for Electric Mobility (Hardware, Algorithms & IoT Supervision)

  • Root-cause fix: Resolved a premature shutdown defect at 20% SoC and energy gauge instability on electric scooters, via a coupled hardware/software/process approach and a safety-architecture-compliant digital twin (IEC 62133 / ISO 26262).
  • Estimation architecture: Designed a hybrid SoC estimation stack (ECM 3RC + UKF + LSTM residual observer), validated via MIL simulation (RMSE < 2%) and an instrumented HiL prototype.
  • Embedded hardware: Designed and routed a 16S STM32-based BMS board in Altium Designer, with bidirectional active balancing (LTC3300-1) and a safety supervisor FSM.
  • Industrial supervision: Built a real-time MQTT/REST API dashboard for production monitoring, pack traceability, and KPI analysis.
Read the full technical report on the STM32-based Smart BMS

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 more

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 more

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 more

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 more

Smart Water Meter — Measuring Chamber Development

Ongoing independent engineering project focused on 3D geometrical modeling, kinematic analysis, and the complete-cycle motion of a rotary measuring chamber.

3D CADKinematicsMechatronicsCFD next
View project

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

Additional Projects & Engineering Studies

LV Electrical System Design

Electrical sizing, short-circuit calculations, and code compliance for an industrial pumping station.

Caneco BT ETAP Code Sizing

Speed Profile Conveyor

PLCnext automation with Modbus RTU VFD communication and HMI supervision interface.

PLCnext Modbus RTU HMI

Plastic Shredder Machine

3D mechanical CAD assembly modeling, drive motorization sizing, and transmission torque dimensioning.

Autodesk Inventor 3D CAD

Remote Solar Pump (IoT)

ESP32 control unit for solar pump telemetry and actuation via HiveMQ MQTT broker and web HMI.

ESP32 MQTT Web HMI

Micro Wind Turbine Control

Dynamic system modeling and nonlinear backstepping control law simulation for isolated PMSM turbine.

Backstepping MATLAB/Simulink

Power Electronics Hardware

SPWM H-Bridge inverter simulation (Proteus), hardware regulated boost converter, and full-wave rectifier build.

SPWM / Boost Proteus & Hardware

Arduino L-C Meter

Digital inductance & capacitance measurement circuit with Proteus simulation and custom physical build.

Arduino Hardware

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

Engineering & Research Stack

Automation & Control

TIA Portal PLCnext Mach3 CNC Simulink

Electrical & RF

Altium Designer LTspice OMICRON Test Universe Caneco BT ETAP ANSYS HFSS Proteus

Mechanical & CAD

ANSYS Mech Inventor Fusion 360 AutoCAD ProNest

Embedded & AI

STM32CubeIDE FreeRTOS PyTorch Google Colab Jupyter Git / GitHub

Languages

French: B2 - Upper-Intermediate
Arabic: Native

Patents

Automated System and Process for Welding and Assembling Corrugated Web Beam Profiles

Granted
Industrial Patent OMPIC
Filing Authority: OMPIC (Moroccan Industrial and Commercial Property Office)

An automated robotic manufacturing system developed for the assembly and welding of corrugated web beam profiles. The invention integrates robotic material handling, automated welding robots, corrugation-profile sensing, magnetic-actuator assembly mechanisms, rotation systems, and roller conveyors into a coordinated production line.

The system is designed to improve welding precision, production efficiency, process reliability, and operator safety, while reducing manual intervention, production time, and human error.

Patent No. 65133
Granted: 28 November 2025

Research & Development Focus

Next-Generation Smart BMS for Electric Mobility — Doctoral Research @ UM6P

Active Doctoral Research

Focus: Embedded systems, IoT architecture, and advanced battery intelligence for next-generation electric mobility applications at University Mohammed VI Polytechnic


Research Scope

Advancing the development of next-generation Battery Management Systems (BMS) tailored for electric mobility. This thesis serves as a natural continuation and deepening of my previous work in LiFePO₄ battery modeling, state estimation (SOC/SOH via ECM 3RC, UKF and LSTM residual correction), embedded STM32 hardware design, and cloud/edge IoT supervision.

Smart Water Meter — Rotary Measuring Chamber Development

In Development

Current stage: 3D geometrical modeling and kinematic study of the rotary measuring chamber, with hydraulic/CFD and embedded integration planned next


Project Scope

Developing the mechanical foundation of a smart water meter by defining the rotary measuring chamber, piston geometry, and motion throughout a complete cycle.

Key Technical Focus

  • 3D geometrical modeling
  • Piston and chamber kinematics
  • Complete-cycle motion study
  • Hydraulic and CFD analysis — next stage
  • Electronic and embedded integration — next stage