How to Build an Intelligent Car Charging Logic with?Loxone
You can build an individual charging logic that matches your mobility pattern without much?effort.
Are electric vehicles (EVs) still a good thing, given energy prices soar to unprecedented levels and we risk running into an energy scarcity situation the next winter?
Yes, of course, they are.
But only if you can charge your EV with renewable electricity, preferably from your own roof at home or work.
Easy, right?
Not really. Your car needs to be parked and plugged in at the time when the sun is shining. Plus, because solar energy varies with the clouds and over the day, you’ll need to spend lots of time and attention on managing the charging of your car.
The good news? There is a solution to this problem, which can easily be adapted to match your mobility patterns and your lifestyle.
The solution is called a building control system. In this article, I will take you through the intelligent car charging logic I built using Loxone. This building control system is relatively easy to use, yet still flexible enough to implement a variety of functions.
Before we start, let me be transparent: I am an electrical engineer by training, and the rest of this article will be quite technical.
What is?Loxone?
Loxone is an affordable off-the-shelf building control system. In my view, its key advantage is its modular design with a miniserver at its core. The miniserver is installed directly in your house, and logic can be configured and uploaded directly to the miniserver. Furthermore, a wide range of building automation components is supported; ranging from electric car charging stations to lighting products to media servers.
On the downside, the configuration is somehow clumsy and error-prone. But given the fact that configuration is a one-off effort and the advantages of Loxone are recurring, I’m happy to accept the downside.
The Setup
The overall energy setup of my house is described in a separate article:
The same thing is true for the basics of charging patterns, especially in the dark winter months:
My Loxone setup for car charging is as follows:
All components are connected through wired Ethernet, allowing stable connections and minimal latencies.
The Logic
Now for the fun part. I will describe my Loxone logic in detail.
Charging Mode
As a first step, the logic distinguishes between summer mode and winter mode:
As described in a previous article, I have optimized the summer and winter modes over time, adapting both to our needs and to geopolitical shifts.
Charging Station?Selector
Since we have two electric cars and cannot charge both cars simultaneously on 12kW each due to the limitations of our solar installation, a selector defines the charging priorities if both cars are connected:
领英推荐
Of course, the charging priorities can be overridden manually using the Loxone app.
Charging Current
To maximize self-sufficiency (and hence minimize energy costs), controlling the charging current is at the heart of my car charging logic. It takes into account available excess solar power, and the charge state of the house battery, and is even able to bridge short cloudy periods on variable days.
The charging current is set on a very simple feedback loop, where the charging current is compared to the available excess solar power.
Flexibilities
The logic I described above is mirroring just our mobility pattern and does not represent a generic solution.
However, Loxone features many elements to adapt a generic solution for individual needs. For myself, I used triggers and timers to make sure the charging logic works without any manual intervention.
Limitations
As mentioned in the introduction, the Loxone configuration software is somewhat clumsy. Here are the largest limitations to be aware of:
The Results
Using the charging logic described above, here are some typical summer mode charging patterns:
And here are some winter mode charging patterns:
Conclusion
Having the ability to control the charging logic for your electric cars is an asset both in financial and in self-sufficiency terms. Yet there are no generic solutions, as mobility patterns and individual needs vary widely.
If you’d like to use my logic as a starting point for your solution, post your email address in the comments section and I will send you the Loxone config file by email.
Growing a company ?? in troubled times ???? is a marathon.
As a tech entrepreneur ??, active reserve officer ??, and father of three ??????, I can help you with ?? practical entrepreneurship and resilience advice for all aspects of life. To the point ??, no fluff, because entrepreneurs are busy.
When I’m not busy, I get my rest and inspiration in the beautiful mountains ??? around Zermatt ????.
My job is to find the current and future badasses in the technology industry. I do not like pushy people.
2 个月Great article!