Vecmocon https://vecmocon.com Mon, 09 Mar 2026 08:47:39 +0000 en-US hourly 1 https://wordpress.org/?v=6.8.2 https://vecmocon.com/wp-content/uploads/2024/10/cropped-cropped-Clip-path-group-32x32.png Vecmocon https://vecmocon.com 32 32 How to Design Apps Where Users Can’t Ctrl+Z https://vecmocon.com/how-to-design-apps-where-users-cant-ctrlz/ Mon, 09 Mar 2026 08:47:36 +0000 https://vecmocon.com/?p=10913 In modern software design, we are obsessed with “frictionless” experiences. We worship at the altar of Google Docs, Notion, and Figma, where every error is a temporary lapse, easily erased by the grace of Ctrl+Z. In the SaaS world, efficiency is king, and the “Undo” button is the safety net that allows us to move fast and break things.

But at Vecmocon, we build software for a world where “breaking things” isn’t an option.

When you are designing the interface for Vec-TR.ai, our vehicle intelligence platform, you aren’t just managing data; you are managing kinetic energy. When an engineer prepares a Firmware Over-The-Air (FOTA) update for a fleet of 10,000 electric scooters, a single accidental click doesn’t just delete a paragraph—it can “brick” a fleet, strand riders in traffic, or disrupt a Battery Management System (BMS) mid-calculation.

In the world of Software-Defined Vehicles (SDV), the “Undo” privilege doesn’t exist. Here is how we design for the “No Ctrl+Z” reality.

The Psychology of “FOTA Anxiety”

Before we wrote a single line of CSS for our FOTA module, we sat with OEM engineers. We observed a phenomenon I call “The Hover Hesitation.” It’s that cold moment of anxiety where an engineer’s mouse hovers over the ‘Deploy’ button. They’ve checked the code, they’ve run the simulations, but the weight of deploying firmware to thousands of high-voltage assets is immense. In typical UX design, our job is to remove that hesitation.

We did the opposite.

We realized that for mission-critical interfaces, delight is secondary to confidence. We stopped trying to make the process “fast” and started making it “deliberate.” We introduced Intentional Friction—designing obstacles that force the human brain to switch from “autopilot” to “active engagement.”

The Vec-TR Solution: Two-Step Cognitive Verification

To manage this “No Ctrl+Z” environment, we restructured the FOTA workflow into three distinct, high-friction zones: File Management, Command Creation, and Command Tracking.

1. File Management: The Integrity Gate

In a standard app, uploading a file is a background task. In Vec-TR, it is a formal declaration. The system doesn’t just “take” the file; it validates it against the hardware architecture. If you try to upload a firmware binary meant for a Proton-series BMS into an Electron-series VIM (Vehicle Intelligence Module), the UI doesn’t just show an error—it stops the journey. We force a manual verification of checksums, ensuring the “Source of Truth” is untainted before it ever reaches the “Send” stage.

2. Command Creation: Moving from “Click” to “Commit”

This is where we implemented Two-Step Cognitive Verification. Instead of a single “Update” button, we broke the action into two distinct psychological phases:

  • The Intent: Selecting the fleet and the firmware.
  • The Commitment: A secondary confirmation screen that summarises the impact: “You are about to update 4,500 assets. Estimated downtime: 12 minutes. Continue?”

We often require the user to type a specific confirmation word or perform a non-standard gesture. This breaks the muscle memory of clicking “OK” and forces the prefrontal cortex to engage.

3. Command Tracking: The “Point of No Return”

Once the command is live, the UI shifts from a “Management” tool to a “Monitoring” tool. We provide real-time telemetry on the update’s progress across the fleet.

Safety Nets in a Hard-Wired World

Since we can’t Ctrl+Z, we built “Escape Hatches” instead. These are not “Undo” buttons, but systemic safeguards:

  • Asset Validation: The VIM (Vehicle Intelligence Module) checks the vehicle’s state before accepting the update. If the scooter is moving or the SOC (State of Charge) is below 20%, the update is rejected at the edge.
  • The Abort & Retry Logic: While you can’t “undo” a partial flash, you can halt a rollout. If the first 50 vehicles show a spike in CAN bus errors, our system allows for an immediate “Global Abort” to save the remaining 9,950 assets.
  • Scheduled Triggers: We implement scheduled triggers, giving teams a “cooldown” window between the setup and the execution.

Designing for Confidence, Not Just Delight

As designers in the deep-tech space, we have a different North Star. We aren’t trying to keep users on our platform for hours; we want them to spend as little time as possible in our FOTA module, but feel 100% certain while they are there.

At Vecmocon, we solve problems that go far beyond “changing button colors.” We are designing the digital-to-analogue interface that powers the future of mobility. We don’t design for the ease of a keystroke; we design for the safety of the rider and the integrity of the machine.

In a world without Ctrl+Z, friction is the ultimate safety feature.

]]>
10913
How IoT Is Transforming EVs and the Mobility Sector https://vecmocon.com/how-iot-is-transforming-evs-and-the-mobility-sector/ Wed, 19 Nov 2025 12:48:42 +0000 https://vecmocon.com/?p=10714 The Internet of Things (IOT) has brought a revolutionary impact on electric vehicles and the mobility sector as a whole that ICE vehicles could never have, especially in the 2 and 3-wheeler sector. Why so? Due to the electrification of vehicles. Since a majority of the parts, like batteries, motor controller, VCU, etc, are all controlled by silicon chips, enabling them to connect with the IOT device.

But why are we calling it revolutionary? Well, because now it has enabled a lot of business use cases for an automobile and brought a lot of opportunities to streamline and safeguard those use cases.

In this blog, we will elaborate on the value that IoT brings to the table, how people are building various businesses with this technology, and explore how it works and its associated challenges.

Role of IOT in an EV and how it works:

If we see it mechanically, it’s a little device that sits inside the vehicle (mostly on top of the battery pack) to do the following tasks:

  1. Send vehicle-level data to the cloud
  2. Store critical vehicle data if cloud connectivity is not possible
  3. Enable GPS connectivity
  4. Real-time decision making or Edge computing

Here’s how it works,

Microcontroller unit (MCU): It’s the most fundamental part of an IOT device.

It acts as the brain of the IoT device. It receives signals from various sensors, processes the data, and determines the actions to take or the information to send to the cloud. The MCU also executes the firmware, the embedded software that defines how the IOT device behaves in different conditions.

Communication module: It handles how the device connects to external networks. This could include GSM, 4G LTE, or even 5G connectivity. Through this, the IoT device sends live vehicle data such as speed, battery health, and motor status to the cloud servers. It also receives commands or software updates remotely, allowing two-way communication between the vehicle and backend systems.

GPS module: This continuously tracks the vehicle’s location, speed, angle, axis, etc., enabling fleet operators or OEMs to monitor vehicle movement in real-time. It can also support functions like geofencing, route optimisation, or theft prevention.

CAN communication interface: the link between the IoT device and the vehicle’s other electronic systems. Through the Controller Area Network (CAN) bus, the IOT device exchanges information with the BMS, motor controller, charger, and dashboard cluster. This enables it to collect data, such as battery voltage, current, temperature, or fault codes, directly from each subsystem.

Power management circuit, which ensures the IoT device gets a stable and noise-free power supply, is usually derived from the vehicle’s low-voltage auxiliary line. It manages startup sequences, protects against voltage spikes, and maintains energy efficiency.

Together, these components form a smart and self-sufficient system. When a sensor detects a change, a rise in battery temperature, the MCU processes this data and decides whether to alert the cloud or take immediate action locally through edge computing. The communication module then sends the relevant information to the backend, where analytics platforms can interpret trends or flag anomalies.

Vecmocon’s IOT device – VIM

At Vecmocon, we built the Vehicle Intelligence Module (VIM) not as just another GPS tracker, but as the central nervous system of an electric vehicle. It is a fully automotive-grade IoT platform designed to give OEMs, fleets, and service teams complete, real-time visibility and control over their EVs.

Unlike generic telematics devices that only push basic location data, the VIM is engineered ground-up for deep EV integration. It communicates directly with critical subsystems like the BMS, motor controller, charger, and VCU over high-speed CAN, enabling insights that go far beyond simple tracking.

What makes Vecmocon’s VIM different?

  • EV-First Architecture – Built to read 200+ real-time parameters including cell-level battery data, fault codes, thermal status, charging behavior, and drivetrain efficiency.
  • Smart Edge Processing – Instead of dumping raw data to the cloud, VIM processes part of the data locally, enabling faster decisions and reduced cloud load.
  • Cloud + OTA Ready – Fully compatible with Vecmocon’s cloud stack and supports secure firmware-over-the-air updates to both the VIM and other ECUs like BMS/VCU.
  • Industry-Grade Reliability – Designed as per automotive EMC/EMI standards, IP67 waterproofing, and -20°C to +70°C thermal tolerance.
  • Dual Power & Backup – Works with vehicle power but also includes an inbuilt lithium backup so critical functions like theft alerts and GPS tracking stay active even when the vehicle is switched off.
  • Plug-and-Scale Deployment – Supports 2W, 3W, and LCV platforms with the same firmware architecture, making it easy for OEMs to scale across models.

The result? A single IoT system that acts as—

  • A real-time diagnostic tool for OEMs
  • A fleet-intelligence engine for operators
  • A performance and safety shield for end customers
  • A data feedback loop for next-gen product development

In short, VIM is not an addon — it is the intelligence layer of an EV.

Business use cases of VIM:

The Vehicle Intelligence Module (VIM) turns a vehicle into a connected, data-driven system. By continuously sensing, analysing, and transmitting data, it unlocks multiple business and operational benefits.

  • Real-time asset tracking: The biggest challenge for any fleet owner is asset security, where devices like VIM play a vital role in identifying the location of the vehicle, geo-fencing, and tracking asset history.
    Such features are mostly used by Vehicle or battery leasing companies to keep track of their asset, do user profiling and mitigate risks.
  • Remote diagnostics and updates: OEMs can remotely access diagnostics, identify faults, and deploy over-the-air updates or implement FOTA. It cuts service costs and time, while 2 and 3 wheeler ICE vehicles still depend on physical workshops for every calibration or fix.
  • Data-driven decision making: This particular feature is mostly used by financing companies to identify the cost of financing any particular vehicle or to identify the risk of financing any particular person. Based on their driving pattern and vehicle performance. To enable the above, the data from VIM helps a lot.
  1.  Smarter user experience
    For riders, VIMs enable app-based visibility into battery health, charging status, and performance insights.
  2.  Predictive maintenance
    VIMs track key parameters like battery temperature, voltage, and motor current to predict issues before they occur. This reduces downtime and increases vehicle life, unlike ICE vehicles that rely on periodic, reactive servicing.

In essence, the VIM is what makes EVs intelligent machines capable of learning, adapting, and delivering value far beyond traditional engines.

Challenges with IOT and how Vecmocon is solving them

IoT is redefining how EVs connect, operate, and evolve, but it also brings challenges that demand deep engineering precision. At Vecmocon, we’ve built our IoT ecosystem to overcome these real-world constraints without compromising reliability or performance.

1. Connectivity and Network Reliability

One of the biggest real-world challenges for any IoT system in electric vehicles is unreliable network availability. EVs in India frequently operate in areas with weak cellular coverage such as basements, hilly terrain, rural delivery routes, dense urban clusters, underground parking, industrial zones, and metal-shielded warehouses. In such conditions, both GSM/4G connectivity and GPS positioning can drop, leading to gaps in data transmission and loss of real-time visibility.

Traditional telematics systems fail under these circumstances because they depend on uninterrupted cloud connectivity. Vecmocon’s VIM is designed to avoid this dependency through a store-and-forward architecture.

It locally stores all critical vehicle data — including GPS position, battery health, fault logs, trip history, and charging events — in non-volatile memory. When network connectivity is restored, the VIM automatically syncs all pending data to the cloud in the correct chronological order. This ensures that no information is lost, even if the vehicle has been offline for several hours or days.

In addition to data buffering, the VIM applies intelligent prioritization. High-severity events such as thermal runaways, over-current faults, or unauthorized vehicle movement are tagged as priority data and uploaded first during reconnection. Lower priority logs are compressed to optimize bandwidth during sync. The device can also function in a completely offline mode during workshop servicing, with logs retrievable through CAN or Bluetooth, allowing diagnostics even without cloud access.

This architecture ensures that connected intelligence continues to operate even in low-signal environments, and that fleet operators, OEMs, and service teams never face blind spots in vehicle history or performance analytics.

In summary, Vecmocon’s VIM eliminates the weakest link in EV connectivity by ensuring:

  • No data loss, even during extended network outages
  • Complete traceability for warranty, service, and fleet analytics
  • Reliable vehicle monitoring without dependence on continuous GSM availability
  • Edge-based decision-making and logging, not cloud-dependent execution

This turns IoT from a “works only when connected” feature into a reliable, fault-tolerant system fit for real-world Indian EV operations.

  1. Power Consumption and Efficiency
    IoT devices draw from the vehicle’s limited battery. Vecmocon’s power-saving mode reduces power draw exponentially as SOC drops. A small backup battery also powers essential IoT functions without affecting vehicle range.
  2. Data Volume and Bandwidth Management
    Continuous streaming of GPS, BMS, and motor data consumes heavy bandwidth. Vecmocon uses edge computing to process data locally and send only key insights to the cloud saving bandwidth and enabling faster analytics.
  3. Security and Data Privacy
    Sensitive data, such as location and performance metrics, requires airtight protection. Vecmocon ensures this through secure boot, TLS encryption, and PKI authentication, keeping every transmission safe and verified.
  4. Environmental and Mechanical Robustness
    IoT devices are exposed to vibration, heat, and moisture. Vecmocon designs with automotive-grade hardware, IP67 enclosures, and EMI shielding ensuring consistent performance in all environments.
  5. Firmware Updates and Maintenance
    Vecmocon’s secure FOTA system allows remote firmware updates with rollback and digital verification, ensuring safe and consistent upgrades across the fleet.
  6. Scalability and Cloud Infrastructure
    Managing millions of connected EVs demands scalability. Vecmocon leverages distributed IoT architecture and cloud platforms like AWS IoT and Azure IoT Hub to handle massive data loads efficiently.

Conclusion: The Connected Future of Mobility

The Internet of Things has become the invisible engine driving the next evolution of electric mobility. It has turned EVs from being just clean machines into intelligent ecosystems capable of sensing, learning, and improving themselves in real time. From predictive maintenance and remote diagnostics to data-driven design and fleet optimisation, IoT has unlocked possibilities the ICE world could never imagine.

But this transformation isn’t without challenges. Connectivity gaps, energy constraints, and data overload continue to test the boundaries of what IoT can achieve on wheels. And that’s where Vecmocon stands out by engineering hardware, software, and cloud infrastructure that make connected mobility both practical and scalable.

As EV adoption accelerates, the vehicles of the future won’t just move people they’ll move information, intelligence, and insight. And with solutions like Vecmocon’s VIM at the core, that future isn’t far away. It’s already on the road.

]]>
10714
Redefining CC-CV Charging With Higher Efficiency & Accuracy https://vecmocon.com/redefining-cc-cv-charging-with-higher-efficiency-accuracy/ Fri, 08 Aug 2025 07:22:12 +0000 https://vecmocon.com/?p=9606

In this blog we explore CC-CV charging from a technical point of view, understand its importance and break down a major misconception in the market around the CC-CV. 

Introduction:

Ever wondered why your EV charges quickly at first, then suddenly slows down toward the end? It’s not a bug, it’s how most chargers are designed to work. But surprisingly, that design choice isn’t always the most efficient.

There are various types of charging methods, each of them work towards charging the battery effectively. One of the methods is CC-CV charging wherein the battery charges its significant capacity using the Constant Current (CC) and the remaining portion of it is charged using the Constant Voltage (CV). This transition happens mainly because if we charge 100% battery using the CC, we may see a wrong State of Charge (SOC), overcharging, excessive heat and other problems.

But here’s the catch: most chargers switch to CV too early, sometimes when the battery is only 70–80% full. That early transition leads to longer tail-end charging times, energy losses and reduced overall efficiency – all because of one outdated assumption.

So, at Vecmocon, we ask one simple question: What if that switch could be smarter? What if the battery itself could tell us the right moment to transition?

In this blog, we’ll break down how rethinking that one moment the CC-CV transition can unlock faster, safer, and more intelligent EV charging, and how our technology is leading the way.

Why is CC-CV transition required?

To understand why the CC-CV transition is necessary, we need to look at how a lithium-ion battery behaves during charging and the components inside a Battery Management System (BMS) that manage this process.

To better understand why is CC-CV transition is required, let’s use the analogy of a glass & water – 

Think of charging a battery like filling a glass of water. When the glass is empty, you can pour quickly without worrying, as the risk of overflow is minimal. But as the water level rises and nears the top, you slow down the pour and become more careful to avoid water spilling.

This mirrors how CC-CV charging works at the start. When SOC is lower, we charge faster with CC, then as the SOC rises, we shift to CV, a much controlled and slower charging mode.In the Constant Current (CC) phase, the charger delivers a fixed current to the battery pack. This current is usually in the range of 0.5C to 1C(where C is the capacity of the battery in ampere-hour (Ah), depending on the battery specifications. During this phase, the battery voltage steadily increases. The current sensor (typically a Hall effect sensor or a shunt resistor) continuously monitors the charging current, and the microcontroller (MCU) inside the BMS ensures it stays within the safe range.

The OCV–SOC curve maps a battery’s open-circuit voltage to its state of charge, and in a CCCV charging profile it determines the precise SOC at which charging shifts from the constant-current (CC) phase to the constant-voltage (CV) phase for optimal performance and safety.

As the battery voltage approaches its upper threshold, usually around 3.4V per cell for LFP chemistry. The total battery pack voltage is sensed by the charger, and it initiates the transition to CV. At this point, continuing to charge at the same current could cause the voltage to rise above safe limits. This can lead to dangerous effects like lithium plating, excessive heat, or cell degradation.

To prevent this, the charger switches to the Constant Voltage (CV) phase. Here, the voltage is held steady at the maximum limit, and the current begins to decrease by following Ohm’s Law, as the battery approaches full charge.

How CC-CV takes place inside the battery:

Now that we know why the CC-CV transition is important, let’s look at how it actually happens inside the battery both from the electrochemical side and from the control system’s perspective.

When you start charging a lithium-ion battery, it enters the Constant Current (CC) phase. During this time, lithium ions begin moving from the cathode (positive electrode) to the anode (negative electrode) through the electrolyte.

Inside the battery, this increasing voltage corresponds to more lithium ions being stored in the anode. The BMS continuously monitors each cell’s voltage using cell monitoring ICs, while the microcontroller checks for safety and balance. If one cell starts charging faster than the others, balancing circuits are triggered to keep the pack uniform.

As the battery nears full charge, the cell voltage approaches its peak, usually around 3.5 volts per cell(for LFP), depending on the battery chemistry. This is where the transition to the Constant Voltage (CV) phase happens.

In the CV phase, the charger stops increasing voltage and holds it steady at the peak level of 3.5 volts per cell. The battery is now almost full, and its voltage starts increasing. This makes it harder for current to flow in. As a result, the charging current naturally begins to taper down. This slower current allows the remaining lithium ions to safely intercalate into the anode without stressing the battery. Due to the lower current in CV mode, it takes longer to charge.

Throughout this phase, the BMS uses current sensors to track how fast the current is falling. Once it drops below a certain limit   typically around 0.05C the battery is considered fully charged. If any cell crosses the safe voltage or temperature range during this time, the charge control MOSFETs will isolate the pack to prevent damage.

This entire transition is carefully managed by the BMS firmware, combining real-time data from voltage sense lines, current sensors, temperature sensors, and MOSFET switching circuits.

How VECMOCON is breaking this misconception:

The market has standardized this transition timing i.e. around 70 to 80% of the SOC which is not correct for all the batteries in the market.

In real-world EV charging scenarios, the voltage measured at the battery terminals can be significantly affected by the voltage drop across the DC charging cable — especially at higher charging currents. This drop is governed by Ohm’s Law (V = I × R), where even a small resistance in the cable can lead to substantial losses at high current levels. As a result, the charger may prematurely reach the target voltage (e.g., 4.2 V per cell) not at the actual battery terminals, but at the charger’s end of the cable. This leads the Battery Management System (BMS) to falsely detect that the battery has reached its upper charging threshold and shift into the Constant Voltage (CV) phase earlier than necessary. This early transition not only extends the overall charging time but can also lead to incomplete battery utilization and reduced energy throughput.

Hence, the timing to switch to CV purely depends upon the battery chemistry and SOH, having a generalized range or terminal voltage measured by a Charger can sometimes be too late or too early. To understand the consequences of switching to CV inaccurately, let’s see the comparison of 2 conditions. 

ScenarioSwitching to CV Too EarlySwitching to CV Too Late
Charging TimeCharging takes significantly longer due to extended CV phase and slow current tapering.May appear faster at first but eventually slows down as voltage overshoots must be corrected.
Energy EfficiencyLower overall efficiency, more time spent in low-current trickle charging with higher relative losses.Can create sudden current surges when voltage exceeds safe limits, causing inefficiencies in voltage regulation.
Thermal StressLower immediate thermal stress but longer sustained heat over time.Higher peak thermal stress cells heat up quickly and require active cooling to avoid damage.
Perceived SoC AccuracyCan underreporting usable capacity battery may appear to “charge slowly” after 80%.Can overreport SoC, temporarily the voltage readings can falsely suggest higher charge state.

Despite these drawbacks, early CV switching has become an accepted practice mainly because it avoids complex control challenges and safety. As a result, many customers and even OEMs have come to assume this is the “right way” to charge. In reality, it’s a shortcut, not a best practice.

How VECMOCON chargers switch to CV more accurately

At Vecmocon, we follow the same CC-CV principle but with much more intelligence behind the switch. Our in-house smart control algorithm dynamically manages the transition point based on real-time data from the battery, instead of using a fixed SoC threshold.

In a CCCV charging system, CAN communication plays a vital role in ensuring the accurate and timely transition from constant current (CC) to constant voltage (CV) mode by enabling real-time SOC monitoring from the Battery Management System (BMS). The BMS continuously calculates SOC using algorithms based on the OCV–SOC curve, coulomb counting, and temperature compensation, then transmits this data over the CAN bus to the charger. By receiving and interpreting this SOC data instantly, the charger can precisely determine when the battery has reached the SOC threshold for switching to CV mode, ensuring optimal charging efficiency, battery safety, and longevity while avoiding overcharging or thermal stress.


WHAT MAKES VECMOCON SYNONYMOUS WITH ACCURACY:

  • We extend the CC phase much closer to the true full charge
  • We switch to CV more accurately, leading to controlled and better charging retention.
  • We continuously monitor cell-level voltage, current, SoC, temperature, and SOH

This allows us to make the CC-CV transition not just safe, but efficient and adaptive, tailored to the actual condition of the battery, not a one-size-fits-all setting.

Customer Perception vs. Engineering Reality

There’s a widespread belief in the market that switching to CV early is safer or better for the battery. But this is more of an industry habit than a scientifically grounded practice. In many cases, it’s just a result of using simpler charging logic.

In contrast, our chargers:

  • Charge faster
  • Consume less energy
  • Are more protective of battery health over time
]]>
9606
CAN-based Bootloaders in the Automotive Industry & EVs https://vecmocon.com/can-based-bootloaders-in-the-automotive-industry-evs/ Wed, 23 Jul 2025 08:43:44 +0000 https://vecmocon.com/?p=9518 The modern automobile is a marvel of engineering, but at its heart, it’s a complex network of computers. These computers, known as Electronic Control Units (ECUs), control everything from your Motor Controller to your airbags in any Electric vehicle. And just like any computer, the software running on these ECUs needs occasional updates.

Imagine you could update your vehicle’s software as easily as downloading a new app on your phone. In the automobile industry, that’s becoming increasingly possible thanks to bootloaders, and a key player in this process is the Controller Area Network (CAN) bus.

What’s a Bootloader?

Think of a bootloader as the gatekeeper for your vehicle’s Electronic Control Units (ECUs), the mini-computers that manage everything from the Motor Controller to the Display Cluster in Electric Vehicles. This tiny program runs at startup and loads the main ECU software. But here’s the cool part: bootloaders also allow reprogramming of that software.

CAN: The Information Highway

Now, how does the update get to the bootloader? That’s where CAN comes in. CAN is a communication protocol that acts as the internal network for ECUs.  Using CAN messages, a diagnostic tool can securely send new software to the bootloader, which then takes care of flashing it onto the ECU’s memory.

Benefits of CAN-based Bootloaders

  • Remote Updates: Imagine fixing a software bug or improving EV performance without a trip to the mechanic. CAN-based bootloaders enable remote updates, keeping your vehicle running at its best.
  • Security: CAN offers a robust communication layer, making it difficult for unauthorized access during updates.
  • Flexibility: Bootloaders allow for staged rollouts of new features or bug fixes, ensuring a smooth transition for vehicle owners.

At Vecmocon, We use CAN-based Bootloaders to remotely push the updates using iVec-IoT in our customer’s Battery Management Systems for further enhancing, custom configuration, and resolving any issues. Customers who do not use our IoT devices still benefit from CAN-based Bootloaders during the R&D, Testing, and Integration phase of Battery Pack Development.

Designing a CAN-based Bootloader: Key Considerations

Developing a CAN bootloader requires careful consideration of several factors:

  • Size Constraints: Bootloaders typically reside in limited ECU memory. Code size optimization is crucial for efficient operation.
  • Reliability and Error Handling: The bootloader must handle potential errors during the update process, like communication failures or corrupted data packets. A robust recovery mechanism is essential.
  • Security Measures: The bootloader should implement authentication mechanisms to accept only authorized firmware updates. Encryption can further safeguard data integrity.
  • Flexibility and Futureproofing: The bootloader design should be adaptable to support future software updates and potential hardware upgrades within the ECU.
  • Parallel / Multi-Target Update: The bus can have multiple assets on the same can bus(Parallel Battery) or different assets with the same bootloader protocol.

The bootloader is organized into three layers: 

  • Bootloader(BSW Layer) – is in charge of starting the user application and polling for incoming data. 
  • Communication handling / Memory handling(ECU Layer) – is in charge of processing the received data and handling the writes to non-volatile memory. 
  • Microcontroller drivers(HAL Layer) – are in charge of handling all the low-level communication with the actual peripherals available on the microcontroller. 

Firmware update methods

To update the firmware in a microcontroller, either of two methods is followed. These two methods are the a/b approach and the in-place approach. 

In-place approach has been used. In this method, the microcontroller only stores one firmware image, which might occupy all the available flash memory. In this case, the update cannot be done while the microcontroller is running and if the update process did not finish correctly it can be difficult to recover the old image.

The a/b swap approach refers to when the microcontroller stores two images in separate flash regions. In this case, it might be possible to do the firmware update of one region while the microcontroller is running. Since the microcontroller stores two different firmware, the old firmware and the updated one, it is possible to instantly recover in case the new firmware does not work correctly. The main disadvantage is that two application images should fit in the microcontroller’s NVM, therefore reducing the maximum firmware application size. Another challenge in this method is the firmware remapping since there are two applications in different physical addresses of the NVM.

Bootloader workflow overview

  1. The first step is to initialize the available communication channels. Communication interfaces can be enabled to work simultaneously, but since the bootloader is optimized for size, the bootloader’s linker file would have to be modified to accommodate the generated code. Therefore, it is recommended to use only one kind of communication at a time.
  2. The second step is to initialize the timeout mechanism. After a reset, the microcontroller will poll the selected communication channel, if no activity was detected during the time allowed by the timeout mechanism the device will attempt to execute the last application loaded, if the device hasn’t received an application it will get stuck in a loop. To attempt the download of an application another reset is required. 
  3. If a timeout occurs or an application is flashed to the device, the bootloader must disable all peripherals initiated at the init of the bootloader. This step is required to ensure the application starts executing on an environment close to of reset state. 
  4. Once the device has been set to its reset state the device attempts to jump to the user application.

The following figure showcases the memory layout that the bootloader and the application can follow. Keeping Bootloader Vectors at the start of Memory makes sure on device reset, the bootloader code executes first. Dividing the bootloader into two different locations gives the flexibility of using different memory locations like D-Flash. The designer of software architecture must update the linker file accordingly.

By carefully addressing these factors, engineers can create CAN-based bootloaders that ensure smooth, secure, and reliable software updates for the ever-evolving automotive landscape.

The Road Ahead

CAN-based bootloaders are revolutionizing the way vehcile software is updated. As vehicles become increasingly complex and software-driven, these tiny programs will play a vital role in ensuring safety, performance, and a truly connected driving experience.

Further Exploration:

This blog is just a starting point. If you’re interested in learning more, you can explore topics like:

  • Unified Diagnostic Service (UDS): The communication standard used for ECU diagnostics, including bootloader interaction.
  • Flash Bootloader (FBL): A specific bootloader commonly used in automotive ECUs.
  • Security Considerations: How vehcile manufacturers ensure safe and secure software updates.

So, the next time you hear about a software update for your vehicle, remember the silent hero behind the scenes: the CAN-based bootloader, making sure your vehicle stays up-to-date and on the road.

]]>
9518
Powering the Future of Mobility: EV Components for Two-Wheelers and Three-Wheelers https://vecmocon.com/powering-the-future-of-mobility-ev-components-for-two-wheelers-and-three-wheelers/ Wed, 15 Jan 2025 09:54:02 +0000 https://vecmocon.com/?p=8632 As the global shift towards sustainable transportation accelerates, the electric vehicle (EV) market is expanding at an unprecedented pace. Two-wheelers and three-wheelers are emerging as game-changers, particularly in regions where urbanization and last-mile connectivity drive demand for cost-effective and eco-friendly mobility solutions. At Vecmocon, we specialize in providing critical components—such as Battery Management Systems (BMS), chargers, Vehicle Intelligence Modules (VIM), EV clusters, and motor controllers—to empower this transformation.

Why Focus on Two-Wheelers and Three-Wheelers?

Two-wheelers and three-wheelers constitute a significant portion of the transportation landscape, especially in developing nations. They are:

  1. Affordable: These vehicles are cost-effective for both personal and commercial use.
  2. Efficient: They offer high energy efficiency compared to traditional internal combustion engine vehicles.
  3. Eco-Friendly: Electrification significantly reduces carbon emissions and air pollution.

Our components are designed to enhance the performance, safety, and reliability of these vehicles, ensuring a seamless transition to electric mobility.

Key Components We Offer

1. Battery Management Systems (BMS)

The BMS is the heart of any EV’s power system. It ensures:

  • Optimal Performance: By monitoring and balancing battery cells.
  • Safety: Protecting against overcharging, overheating, and short circuits.
  • Longevity: Extending battery life through efficient management.

Designed for both swappable and fixed battery packs, our smart CAN-enabled BMS solutions are adaptable to various vehicle configurations, ensuring lightweight designs and robust performance.

2. EV Chargers

Reliable charging solutions are critical to the widespread adoption of electric vehicles. Our chargers are:

  • Fast and Efficient: Reducing downtime for users.
  • Smart: Equipped with features like CAN communication and usage analytics.
  • Durable: Built to withstand varying environmental conditions, ensuring reliability in diverse operating scenarios.

3. Vehicle Intelligence Module (VIM)

Serving as the brain of the vehicle, our VIM facilitates seamless communication between subsystems, enabling intelligent decision-making and enhancing overall vehicle performance. This integration supports advanced features and contributes to a smarter, more responsive ride.

4. EV Clusters

Our EV clusters provide clear and comprehensive displays of critical information, ensuring riders have real-time access to essential data for a safe and efficient journey. The intuitive interface enhances user experience and vehicle operability.

5. Motor Controllers

Utilizing advanced motor control and field-oriented control algorithms, our motor controllers enable vehicles to learn and evolve, optimizing performance and efficiency over time. This adaptability ensures that vehicles remain at the forefront of technological advancements.

Supporting the EV Ecosystem

At Vecmocon, we are more than component suppliers; we are enablers of innovation. We work closely with OEMs and fleet operators to deliver:

  • Customized Solutions: Tailored components that meet specific operational needs.
  • Technical Support: Expertise to guide integration and optimize performance.
  • Sustainability Goals: Solutions that align with global efforts to combat climate change.

Recent Achievements

In November 2024, we secured $10 million in the first phase of our Series A funding, a testament to our commitment to advancing electric mobility solutions.

Partner with Us for a Greener Tomorrow

The electric revolution is here, and it’s transforming the way we move. By focusing on high-quality, reliable components for two-wheelers and three-wheelers, Vecmocon is driving this change forward. Let’s collaborate to build a future where mobility is sustainable, efficient, and accessible for all.

Contact us today to learn more about our EV solutions and how we can power your journey to electrification.

]]>
8632