Main Page: Difference between revisions

From openinverter.org wiki
Jump to navigation Jump to search
m (→‎EV conversions:: added link)
 
(161 intermediate revisions by 30 users not shown)
Line 1: Line 1:
Welcome to the openinverter.org Wiki Site.
The openinverter project mainly aims to reuse existing components from production electric vehicles. We also aim to give some general guidelines on how to convert a vehicle to electric drive.


Everyone registered at the forum can login here with the same username and password and can make changes.
= Before you begin: =
'''Please take the time to read.'''


The open inverter project consists of some reference designs for the <u>[[Main Board Version 2|control hardware]]</u> using an STM32F103, the inverter firmware, and an easy to use web interface. Other hardware variants include <u>[https://github.com/damienmaguire/ drop in boards for Tesla]</u> small and large drive units.
You undertake '''your''' project at '''your own risk.''' Make sure you're aware of the risks of working with high voltage and [[HighVoltageSafety]]


If you have received a kit you are probably looking for <u>[[Schematics and Instructions|build instructions]]</u>.
'''Developers's time is best spent developing;''' '''Support is best found in the forums''' - Developers of various projects are often bombarded with private messages and emails. Managing these emails and questions is a extremely large undertaking. Please read, and take the time to understand the information available here and across the web if you don't understand a topic. Developers are not your personal support team, unless you want to pay them directly for their time.  


If you want to tune your inverter check the <u>[[Parameters|parameter description]]</u>.
Read more about [[Application Support]].    


You might also want to set up <u>[[CAN communication|CAN communication]]</u> or use the inverter as a <u>[[Battery Charging|battery charger]]</u> also.
'''Consider donating to the many developers''' that have made all this possible and to help keep making things possible:
<!-->
 
[https://www.patreon.com/openinverter www.patreon.com/openinverter],
 
https://www.evbmw.com/,
 
https://www.paypal.com/paypalme/celeron55   
 
[https://openinverter.org/forum/index.php '''Always check the forums'''], new developments and solutions are coming along every day, questions being answered, or perhaps you can answer. we work better as a community sharing our knowledge...   
 
'''...update this wiki.''' Answers and solutions should find their way here so they don't remain buried in a 30 page long support thread. To edit the wiki, login with your forum credentials.   
 
'''Welcome to the open inverter community'''
 
= Legalities=
*[[Legalities|Legalities around conversion projects]]
Different countries have different legislation, if you want your car to certified for the road in your country please take the time to review this section. It might save you going down the wrong direction and creating something that can never be driven, or incur costs.
= Introduction =
The open inverter started as a scratch built inverter and control board led by Johannes Hübner who designed and built his open open source AC motor controller dubbed the "open inverter".
 
Since then, the community has established and documented hardware and software approaches to reuse OEM inverters with the Open control board, and has more recently started on controlling OEM inverters over CAN, a process which doesn't require replacing any internal parts.
 
The main goal of the open inverter community is to reverse engineer many of these components for use in a variety of projects such as:
 
* EV conversion
* Energy storage
* Power generation
* Charging infrastructure
* etc.
 
Open inverter projects now span over many different areas surrounding PEV, HEV, and PHEV components, such as:
* Motor Controllers
* 1-3 phase power converters
* DC/DC converters
* buck/boost converters
* Battery Management Systems (BMS)
* Vehicle integration
* etc.
 
As a result, there is a growing collection of open source software and hardware designed for the never ending list of OEM parts. 
 
There's a variety of methods of repurposing these OEM components. Methods here are generally chosen with future proofing in mind , reducing chances of firmware or software updates from the manufacture "bricking" or blocking the open source control efforts. 
 
such efforts include: 
 
* Mainboard/brain replacement
*[[Getting started with CAN bus|CANBUS/LINBUS]]
*[[wikipedia:Synchronous_serial_communication|Sync serial]]
*[[wikipedia:FlexRay|FlexRay]]
*[[wikipedia:Pulse-width_modulation|PWM]]
* Sirmware/software reprogramming
* etc.
 
Resulting in many bespoke boards running the main open inverter software or other open/semi-open source code designed to ether replace OEM motherboards or VCUs. 
 
This has lead to a large collection of different boards and software, many with redundant features.  To unify many of these development projects, the community at large is focused on making a set of standard VCUs and replacement control boards which handle the ever growing list of OEM components.   
 
=== Many of the VCU and replacement boards consist of these 3 main parts: ===
{| class="wikitable"
|+
!Hardware
!Firmware
!Web Interface
|-
|The design and development of the [[Main Board Version 3|control hardware]] based around an STM32F103 chip. This provides the control signals to the power stage and on to the attached components.
|The development of the code that goes on the STM32F103 chips and determines, amongst other things what signals are sent to the power stage and the attached components.
|Using an ESP8266 chip, the development of a simple [[Web Interface|web based interface]] to adjust the parameters on the firmware chip and to display values returned from the chip, for example motor speed (RPM).
|}
 
 
= Getting Started =
 
'''Please note:''' Performing a 'full' EV conversion can often be more straight forward than trying to make small modifications to OEM vehicles - an OEM system will normally require a set of components all talking to each other and keeping each other happy! Trying to, for example, add a different battery charger, or bypassing certain restrictions will often require significant reverse engineering of the existing system to ensure that the new component(s) do not cause errors or problems in the system which can avalanche into significant problems! A full EV conversion, in comparison, can usually focus on just keeping one component happy at a time (although integrating these different components can still require a lot of work).
 
The Community is focused on the electrical systems required for an EV, and may not be best placed to assist with mechanical issues specific to your vehicle.
 
===Glossary of Terms===
It is recommended you read the '''[[Glossary of Terms]]''' before you begin. Often you'll find TLAs (three letter acronyms) peppered through the support forum and on this wiki, take the time to familiarise yourself with them before hand, remember this exists, or bookmark/favourite it so you can referent back to it.
 
===EV conversions:===
A few main parts are needed for an EV conversion, such as:
*[[Motors]]
*[[:Category:Inverter|Inverter]]
**('''Note:''' [[ZombieVerter VCU|ZombieVerter]] projects require a matched pair of Inverter and Motor as they would have come out of a vehicle)
*[[Batteries]]
*[[:Category:Charger|Chargers / Charge Controllers]]
*[[:Category:DC/DC|DC/DC Converters]]
*[[:Category:HVJB|HV Junction Box]]
*[[Heaters]]
*[[:Category:HVAC|HVAC]]
*Brake Assist
**[[Vacuum Pumps]]
**Electronic Brake Boosters
*[[:Category:Power Steering|Power Steering]]
*[[Rapid Charging]]
*[[VCU Comparison]]
*[[Shift Controlers]]
 
Existing information on these items can be found on the <u>[[EV Conversion Parts]]</u> page.
 
A collection of various connector part numbers can be found here: [[Connector Part Numbers]]
 
===OEM Parts: ===
A variety of [[:Category:OEM|OEM]] parts members of the community have reversed engineered for custom use cases:
*[[:Category:BMW|BMW]]
*[[:Category:Chevrolet|Chevrolet]]
*[[:Category:Ford|Ford]]
*[[:Category:Hyundai|Hyundai]]
*[[Isabellenhütte Heusler]]
*[[:Category:Land Rover|Land Rover/Jaguar]]
*[[:Category:Mercedes-Benz|Mercedes-Benz]]
*[[:Category:MG|MG]]
*[[:Category:Mitsubishi|Mitsubishi]]
*[[Nissan]]
*[[:Category:Opel|Opel/Vauxhall]]
*[[:Category:Peugeot|Peugeot]]
*[[Renault]]
*[[:Category:Tesla|Tesla]]
*[[Toyota|Toyota/Lexus]]
*[[:Category:VAG|VAG (VW, Audi, Skoda, Seat, Porsche, ...)]]
*[[:Category:Volvo|Volvo]]<br />
 
===Required skills/Knowledge===
[[Category:Request_for_Review]]
To perform a successful EV conversion, you may require the following skills and/or knowledge (this is not an exhaustive list)
 
* You will need to have the skills, knowledge and tools required to perform significant mechanical work on your vehicle. A service or workshop manual will be useful.
*Basic DC electrical knowledge, such as using a multimeter, soldering, identifying components.
*A willingness and ability to troubleshoot problems (mechanical, electrical, code...).
* Safety in relation to high voltage DC systems. '''HV DC can be more dangerous than AC mains voltages!'''
*Basic understanding on the purposes of various EV components (motor, inverter, DC-DC...)
*A grasp of 3 phase motor control concepts can be useful (especially if using an openinverter control board)
*An understanding of CAN (and other digital communication systems) will be very useful
*The legal restrictions and requirements for your country/state
 
===FAQ===
 
*[[Common Inverter FAQ]] - questions common to all hardware variants
*[[Tesla Inverter FAQ]] - questions regarding Tesla Large Drive Units and Small Drive Units
*[[Electronics Basics]] - general advice for troubleshooting electronic circuits
*[[I want a cheap ev conversion|cheap EV conversions]] - this entry point for the penny pinchers
*[[I want a powerful ev conversion|performant EV conversions]]  - where torque trumps money
 
= Mechanical Design Database =
[[Mechanical design database|'''<u>Mechanical design database</u>''']]
 
here you will find measurements, models, files, etc for a variety of components  such as:
 
* adapter plates
* motor couplers
*drive shaft flanges
*battery mounts
*etc.
 
 
 
= Cooling System Components =
 
=== Water Pumps ===
[[Water Pumps|https://openinverter.org/wiki/Water_Pumps]]
 
=== Coolant Fittings ===
[[Coolant Fittings|https://openinverter.org/wiki/Coolant_Fittings]]
 
=== Coolant Valves ===
[[Coolant Valves|https://openinverter.org/wiki/Coolant_Valves]]
 
=Open Inverter Projects=
 
===Open Inverter (Core Project/s)===
{| class="wikitable"
!
!Description  / Notes
|-
|'''ZombieVerter VCU'''
*[[ZombieVerter VCU]]
*[[Web Interface (ZombieVerter VCU)|Web Interface]]
*[[OEM component compatibility]]
|Designed around a matched pair of Inverter and Motor taken from the original OEM vehicle the ZombieVerter is there to make those two components believe they are still in the original vehicle and are fed necessary commands to act as if they still are and interpret and responses back from the equipment for feedback (regen / rpm / etc)
|-
|'''Open Inverter Hardware'''
*[[Hardware Theory of Operation]]
*[[Schematics and Instructions]] - for the "vanilla" inverter kit.
*[[Mini Mainboard]]
*[[Foccci]] (CCS interface)
*[[Main Board Version 3]]
*[[Main Board Version 2]]
*[[Main Board Version 1]]
*[[Sense Boards]]
*[[Gate Driver]]
*[[Sensor Board|Legacy Sensor Board]]
*[[OEM Repurposing]]
| Quite flexible in its application. The Open Inverter can be used to build a custom inverter itself where you supply the high power and high voltage components to create your own inverter, or to be used as the basis to take over control of OEM inverters so that they can drive nearly any attached motor to that inverter.
|-
| rowspan="3" |'''Open Inverter Software'''
*[[Using FOC Software]]
*[[Downloads]]
*[[Features]]
*[[Web Interface]]
*[[Battery Charging]]
*[[Errors]]
*[[CAN communication]]
*[[Parameters]] (Tune your inverter)
*[[Configuration Files]]
*[[Software Theory of Operation]]
*[[Open Inverter Testing]]
|Two of the more important software aspects to master are below.<!-- Just repurposed the can comms and parameters text. didn't want to get rid, but also perhaps more from the left column could be here? -->
|-
|'''CAN communication'''
 
Common across boards is the ability to communicate with a CAN Bus, which is a 'control area network' or a technical way of saying how various components, sensors, controls, etc communicate with one another within the car. '''Read more about [[CAN communication|CAN Communication]]'''
 
There is also a project to standardise the messages across the various control boards, [[Introduction CAN STD|read more]]
|-
|'''Parameters'''
 
The openinverter firmware uses a set of about 70 parameters to adapt it to different inverter power stages, motors and position feedback systems. Also it lets you calibrate the throttle pedal, change regenerative braking settings and so on.
 
 
Parameter definitions can be found here: [[Parameters]]
 
 
Working parameter sets can be found in the [https://openinverter.org/parameters openinverter parameter database]
|}
 
=== Open Inverter Related Projects (Control Boards/VCUs)===
{| class="wikitable"
|+
! Project
!Description  / Notes
|-
|'''[[Tesla|Tesla Small Drive and Large Drive Units:]]'''
|Commonly there is a large drive unit and small drive unit available from the Model S. <!-- Model 3 options? -->
These combine the inverter and motor into a single package. 
 
The control boards for these replace the existing control board within them.
|-
|'''[[Lexus GS450h Drivetrain]]:'''
| The GS450h contains a gearbox (where the motors are located).
Using the [[ZombieVerter VCU]], the inverter and the gearbox itself provide 
 
a powerful set up suitable for rear wheel drive set ups, replacing the existing longitudinally mounted gearbox. 
|-
|'''[[Toyota Prius Gen3 Board|Prius Generation 3 Inverter:]]'''
|A cheap available inverter from the popular Prius hybrid, this
board goes inside that inverter and allows you to control the features of it.
|-
|'''[[Auris/Yaris Inverter:]]'''
|Similar to the Prius board, there's subtle differences between them
and therefore the need for a separate board.
|-
|'''[[Nissan Leaf Gen2 Board]]'''
|Replaces the nissan OEM logic board with a rev 3 openiverter main board
|-
|[[Ford ranger ev board|'''Ford ranger ev board''']]
|openinverter kit for the ford ranger ev
|-
| colspan="2" |[[OEM Repurposing|'''All Control Boards / OEM Inverters''']]
|}
 
===Use inverter as a battery Charger===
Both the open inverter and some OEM inverters can be used as a battery charger, further saving on component costs. You can read more about how the open inverter and the theory of charging [[Battery Charging|here]].
 
===Open Inverter Renewables Projects===
Recently added to the forums are projects and discussions around turning the Open Inverter project towards capturing, storing and using renewable energy.<!-->
If you need help with your EV conversion check out my <u>consulting offers</u>.
If you need help with your EV conversion check out my <u>consulting offers</u>.


Finally, if you want to support the project <u>visit the shop</u>, become a <u>Patron</u> or send donations to paypal 'at' johanneshuebner.com .
Finally, if you want to support the project <u>visit the shop</u>, become a <u>Patron</u> or send donations to paypal 'at' johanneshuebner.com .
<-->
<-->
= Hardware =
* [[Main Board Version 3]]
* [[Main Board Version 2]]
* [[Main Board Version 1]]
* [[Sense Boards]]
* [[Gate Driver]]
* [[Hardware Theory of Operation]]
* [[Sensor Board|Legacy Sensor Board]]
= Software =
* [[Software Theory of Operation]]
* [[CAN communication]]
* [[Web Interface]]
* [[Parameters]]
* [[Downloads]]
* [[Errors]]
* [[Configuration Files]]
* [[Battery Charging]]


= Inverter Kits =
* [[Features]]
* [[Schematics and Instructions]] - for the "vanilla" inverter kit.
* [[Toyota Prius Gen2 Board]]
* [[Toyota Prius Gen3 Board]]


= Tesla Boards =
=Open Inverter CAN std.=
* [[Introduction Tesla|Introduction]]
*[[Introduction CAN STD|Introduction]]
* [[Files Tesla|Schematics, pcb layouts, BOMs and Gerber files]]
*[[CAN table CAN STD|CAN table]]
* [[Where to buy Tesla|Where to buy]]
*[[Getting started with CAN bus]]
* [[Support forum Tesla|Support forum]]<br>
*[[CAN communication|Setting up Open Inverter CAN Communication]]
= Ford Ranger TIM inverter =
* [[Introduction TIM|Introduction]]
* [[Schematics and connector pinout]]
* [[Modifications to original wiring]]
* [https://openinverter.org/forum/viewtopic.php?f=16&t=186#p2349 Hardware installation]


= Conversion Projects =
=Conversion Projects=
* [[VW Polo 86C Conversion]]
*[[VW Polo 86C Conversion]]
* [[Touran Conversion]]
*[[Touran Conversion]]
 
*[[Audi A2 Conversion]]
= OEM Parts =
*[https://openinverter.org/forum/viewtopic.php?f=11&t=326&hilit=gt86 toyota gt86 nissan leaf motor]
* [[Nissan Leaf BMS]]<!-->
*[https://openinverter.org/forum/viewtopic.php?f=11&t=210 Porsche Boxster 986 Tesla conversion]
= Draft Main Page =
*[[VW Beetle 2003 Budget Conversion]]
* [[Main Page - Under Development]]
*[https://openinverter.org/forum/viewforum.php?f=11 Further Projects on the forum]
<-->

Latest revision as of 05:24, 24 September 2024

The openinverter project mainly aims to reuse existing components from production electric vehicles. We also aim to give some general guidelines on how to convert a vehicle to electric drive.

Before you begin:

Please take the time to read.

You undertake your project at your own risk. Make sure you're aware of the risks of working with high voltage and HighVoltageSafety

Developers's time is best spent developing; Support is best found in the forums - Developers of various projects are often bombarded with private messages and emails. Managing these emails and questions is a extremely large undertaking. Please read, and take the time to understand the information available here and across the web if you don't understand a topic. Developers are not your personal support team, unless you want to pay them directly for their time.

Read more about Application Support.

Consider donating to the many developers that have made all this possible and to help keep making things possible:

www.patreon.com/openinverter,

https://www.evbmw.com/,

https://www.paypal.com/paypalme/celeron55

Always check the forums, new developments and solutions are coming along every day, questions being answered, or perhaps you can answer. we work better as a community sharing our knowledge...

...update this wiki. Answers and solutions should find their way here so they don't remain buried in a 30 page long support thread. To edit the wiki, login with your forum credentials.

Welcome to the open inverter community

Legalities

Different countries have different legislation, if you want your car to certified for the road in your country please take the time to review this section. It might save you going down the wrong direction and creating something that can never be driven, or incur costs.

Introduction

The open inverter started as a scratch built inverter and control board led by Johannes Hübner who designed and built his open open source AC motor controller dubbed the "open inverter".

Since then, the community has established and documented hardware and software approaches to reuse OEM inverters with the Open control board, and has more recently started on controlling OEM inverters over CAN, a process which doesn't require replacing any internal parts.

The main goal of the open inverter community is to reverse engineer many of these components for use in a variety of projects such as:

  • EV conversion
  • Energy storage
  • Power generation
  • Charging infrastructure
  • etc.

Open inverter projects now span over many different areas surrounding PEV, HEV, and PHEV components, such as:

  • Motor Controllers
  • 1-3 phase power converters
  • DC/DC converters
  • buck/boost converters
  • Battery Management Systems (BMS)
  • Vehicle integration
  • etc.

As a result, there is a growing collection of open source software and hardware designed for the never ending list of OEM parts.

There's a variety of methods of repurposing these OEM components. Methods here are generally chosen with future proofing in mind , reducing chances of firmware or software updates from the manufacture "bricking" or blocking the open source control efforts.

such efforts include:

Resulting in many bespoke boards running the main open inverter software or other open/semi-open source code designed to ether replace OEM motherboards or VCUs.

This has lead to a large collection of different boards and software, many with redundant features. To unify many of these development projects, the community at large is focused on making a set of standard VCUs and replacement control boards which handle the ever growing list of OEM components.

Many of the VCU and replacement boards consist of these 3 main parts:

Hardware Firmware Web Interface
The design and development of the control hardware based around an STM32F103 chip. This provides the control signals to the power stage and on to the attached components. The development of the code that goes on the STM32F103 chips and determines, amongst other things what signals are sent to the power stage and the attached components. Using an ESP8266 chip, the development of a simple web based interface to adjust the parameters on the firmware chip and to display values returned from the chip, for example motor speed (RPM).


Getting Started

Please note: Performing a 'full' EV conversion can often be more straight forward than trying to make small modifications to OEM vehicles - an OEM system will normally require a set of components all talking to each other and keeping each other happy! Trying to, for example, add a different battery charger, or bypassing certain restrictions will often require significant reverse engineering of the existing system to ensure that the new component(s) do not cause errors or problems in the system which can avalanche into significant problems! A full EV conversion, in comparison, can usually focus on just keeping one component happy at a time (although integrating these different components can still require a lot of work).

The Community is focused on the electrical systems required for an EV, and may not be best placed to assist with mechanical issues specific to your vehicle.

Glossary of Terms

It is recommended you read the Glossary of Terms before you begin. Often you'll find TLAs (three letter acronyms) peppered through the support forum and on this wiki, take the time to familiarise yourself with them before hand, remember this exists, or bookmark/favourite it so you can referent back to it.

EV conversions:

A few main parts are needed for an EV conversion, such as:

Existing information on these items can be found on the EV Conversion Parts page.

A collection of various connector part numbers can be found here: Connector Part Numbers

OEM Parts:

A variety of OEM parts members of the community have reversed engineered for custom use cases:

Required skills/Knowledge

To perform a successful EV conversion, you may require the following skills and/or knowledge (this is not an exhaustive list)

  • You will need to have the skills, knowledge and tools required to perform significant mechanical work on your vehicle. A service or workshop manual will be useful.
  • Basic DC electrical knowledge, such as using a multimeter, soldering, identifying components.
  • A willingness and ability to troubleshoot problems (mechanical, electrical, code...).
  • Safety in relation to high voltage DC systems. HV DC can be more dangerous than AC mains voltages!
  • Basic understanding on the purposes of various EV components (motor, inverter, DC-DC...)
  • A grasp of 3 phase motor control concepts can be useful (especially if using an openinverter control board)
  • An understanding of CAN (and other digital communication systems) will be very useful
  • The legal restrictions and requirements for your country/state

FAQ

Mechanical Design Database

Mechanical design database

here you will find measurements, models, files, etc for a variety of components such as:

  • adapter plates
  • motor couplers
  • drive shaft flanges
  • battery mounts
  • etc.


Cooling System Components

Water Pumps

https://openinverter.org/wiki/Water_Pumps

Coolant Fittings

https://openinverter.org/wiki/Coolant_Fittings

Coolant Valves

https://openinverter.org/wiki/Coolant_Valves

Open Inverter Projects

Open Inverter (Core Project/s)

Description / Notes
ZombieVerter VCU Designed around a matched pair of Inverter and Motor taken from the original OEM vehicle the ZombieVerter is there to make those two components believe they are still in the original vehicle and are fed necessary commands to act as if they still are and interpret and responses back from the equipment for feedback (regen / rpm / etc)
Open Inverter Hardware Quite flexible in its application. The Open Inverter can be used to build a custom inverter itself where you supply the high power and high voltage components to create your own inverter, or to be used as the basis to take over control of OEM inverters so that they can drive nearly any attached motor to that inverter.
Open Inverter Software Two of the more important software aspects to master are below.
CAN communication

Common across boards is the ability to communicate with a CAN Bus, which is a 'control area network' or a technical way of saying how various components, sensors, controls, etc communicate with one another within the car. Read more about CAN Communication

There is also a project to standardise the messages across the various control boards, read more

Parameters

The openinverter firmware uses a set of about 70 parameters to adapt it to different inverter power stages, motors and position feedback systems. Also it lets you calibrate the throttle pedal, change regenerative braking settings and so on.


Parameter definitions can be found here: Parameters


Working parameter sets can be found in the openinverter parameter database

Open Inverter Related Projects (Control Boards/VCUs)

Project Description / Notes
Tesla Small Drive and Large Drive Units: Commonly there is a large drive unit and small drive unit available from the Model S.

These combine the inverter and motor into a single package.

The control boards for these replace the existing control board within them.

Lexus GS450h Drivetrain: The GS450h contains a gearbox (where the motors are located).

Using the ZombieVerter VCU, the inverter and the gearbox itself provide

a powerful set up suitable for rear wheel drive set ups, replacing the existing longitudinally mounted gearbox.

Prius Generation 3 Inverter: A cheap available inverter from the popular Prius hybrid, this

board goes inside that inverter and allows you to control the features of it.

Auris/Yaris Inverter: Similar to the Prius board, there's subtle differences between them

and therefore the need for a separate board.

Nissan Leaf Gen2 Board Replaces the nissan OEM logic board with a rev 3 openiverter main board
Ford ranger ev board openinverter kit for the ford ranger ev
All Control Boards / OEM Inverters

Use inverter as a battery Charger

Both the open inverter and some OEM inverters can be used as a battery charger, further saving on component costs. You can read more about how the open inverter and the theory of charging here.

Open Inverter Renewables Projects

Recently added to the forums are projects and discussions around turning the Open Inverter project towards capturing, storing and using renewable energy.


Open Inverter CAN std.

Conversion Projects