Skip to content
Paid Course Login
Free Course Login
  • About Us
  • Terms and Conditions
  • Privacy Policy
  • Disclaimer
  • Contact Us

MAE Learning

My Automobile Engineering

  • CoursesExpand
    • MBD BasicExpand
      • Introduction to Model Based Development for Automotive Using SIMULINK
      • Introduction to MATLAB Scripting for Automobile Engineering
      • Introduction to Model Based Development for Automotive โ€“ Basic Understanding
      • Learn MBD concept focus on MIL and SIL Testing
    • MBD IntermediateExpand
      • Simulink for Automotive with Model-Based Development Basics
      • MATLAB Scripting with Model-Based Development Basics
      • MATLAB Simulink and Scripting Foundations for Automotive MBD
    • MBD AdvanceExpand
      • A Complete Automotive Model Based Development
    • UDS CourseExpand
      • Complete Beginner Program in Automotive MBD and UDS
      • Introduction To Unified Diagnostic Services (UDS) โ€“ AUTOSAR and MBD Explained
    • EV CourseExpand
      • Introduction to Battery Technology for Electric Vehicle
    • Free Course
    • Courses Demo Video
  • Study MaterialExpand
    • Automotive EmbeddedExpand
      • Automotive Embedded
      • Software Development
    • MATLABExpand
      • MATLAB Interview Q&A
      • Simulink Tutorial
      • M-Scripting Tutorial
    • AUTOSARExpand
      • AUTOSAR Architecture
    • ISO 26262
  • Blogs
YouTube Linkedin Facebook Instagram
MAE Learning
My Automobile Engineering
YouTube Linkedin Instagram
Paid Course Login
Free Course Login
  • Courses
    • MBD Basic
      • Introduction to Model Based Development for Automotive Using SIMULINK
      • Introduction to MATLAB Scripting for Automobile Engineering
      • Introduction to Model Based Development for Automotive โ€“ Basic Understanding
      • Learn MBD concept focus on MIL and SIL Testing
    • MBD Intermediate
      • Simulink for Automotive with Model-Based Development Basics
      • MATLAB Scripting with Model-Based Development Basics
      • MATLAB Simulink and Scripting Foundations for Automotive MBD
    • MBD Advance
      • A Complete Automotive Model Based Development
    • UDS Course
      • Complete Beginner Program in Automotive MBD and UDS
      • Introduction To Unified Diagnostic Services (UDS) โ€“ AUTOSAR and MBD Explained
    • EV Course
      • Introduction to Battery Technology for Electric Vehicle
    • Free Course
    • Courses Demo Video
  • Study Material
    • Automotive Embedded
      • Automotive Embedded
      • Software Development
    • MATLAB
      • MATLAB Interview Q&A
      • Simulink Tutorial
      • M-Scripting Tutorial
    • AUTOSAR
      • AUTOSAR Architecture
    • ISO 26262
  • Blogs

Battery SOC Monitoring

Hello Guys welcome to MAE Learning and in this Simulink exercise we will learn and develop a logic that will monitor Battery State of Charge (SOC) and perform control actions:

  • If SOC < 20% โ†’ trigger Low Battery warning.
  • If SOC < 10% โ†’ disconnect non-essential loads.
  • If SOC โ‰ฅ 80% โ†’ Enable Fast charging mode.

Control Requirements

  1. Low Battery Warning
    • Condition: SOC < 20%
    • Action: Set LowBattery = 1
  2. Disconnect Non-Essential Loads
    • Condition: SOC < 10%
    • Action: Disable/disconnect loads that are not essential.
  3. Fast Charging Mode
    • Condition: SOC โ‰ฅ 80%
    • Action: Enable fast charging control logic (FastChargeEnable = 1).

System Logic

Logic Table:

Implementation (Simulink)

  • Comparators:
    • < 20 โ†’ LowBattery output
    • < 10 โ†’ DisconnectLoads output
    • โ‰ฅ 80 โ†’ FastChargeEnable output
  • Switch Blocks:
    • Select between load power values (e.g., 0 W vs 100 W).
    • Select between normal and fast charge current (e.g., 10 A vs 30 A).
  • Indicators / Scopes:
    • Visualize SOC and output flags.

Example Behavior

Given a SOC profile:

  • Start at 50% โ†’ No action.
  • Drop to 15% โ†’ LowBattery = 1.
  • Drop to 5% โ†’ LowBattery = 1, DisconnectLoads = 1.
  • Charge to 85% โ†’ FastChargeEnable = 1.

Simulation Output

๐Ÿ”ฅ Top Posts
  • Loading...

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 9 other subscribers
  • 48,278 hits
ยฉ 2026 MAE Learning. All Rights Reserved.
โญโญโญโญโญ 4.9/5 Google Reviews

Categories

Archives

Follow Us

Blog Stats

  • 48,278 hits

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 9 other subscribers
Scroll to top
MAE Learning
WhatsApp
Need Help?
Ask here
Loading Comments...
Search