Main Page: Difference between revisions

From openinverter.org wiki
Jump to navigation Jump to search
(Reworded the opening paragraph and reordered. Moved legalities closer to the top as can be a significant blocker. couple of typos.)
m (Added CAN communication page to list of CAN standard links)
(17 intermediate revisions by 9 users not shown)
Line 4: Line 4:
You undertake '''your''' project at '''your own risk.'''
You undertake '''your''' project at '''your own risk.'''


'''The information provided on this wiki and the support forums is intended as information only'''.  The Open Inverter project and its contributors take no responsibility for how you use the information contained within these pages, nor any liability for injuries, or death, that may result from your actions.   
'''The information provided on this wiki and the support forums is intended as information only'''.  The Open Inverter project and contributors to the forums and this wiki take no responsibility for how you use the information on this site, nor any liability for injuries, or death, that may result from your actions.   


'''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.     
'''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.     


'''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     
'''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...     
[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...     
Line 18: Line 24:
= Legalities=
= Legalities=
*[[Legalities|Legalities around conversion projects]]
*[[Legalities|Legalities around conversion projects]]
Different countries have different legislation, if you want you 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.
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 =
= Introduction =
The open inverter project originates from Johannes Hübner designing/building his own open source AC motor controller, dubbed the "open inverter"  
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".


With the rising popularity/availability of hybrid and electric vehicles, there is a growing supply of high quality and relatively inexpensive parts from auto-wreckers.
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:
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
* EV conversion
Line 74: Line 80:
= Getting Started =
= Getting Started =


=== It is r'''ecommend reading the [[Glossary of Terms]] before continuing further.'''===
'''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: ===
===EV conversions:===
A few main parts are needed for an EV conversion, such as:
A few main parts are needed for an EV conversion, such as:
*[[Motors]]
*[[Motors]]
*[[:Category:Inverter|Inverter]]
*[[:Category:Inverter|Inverter]]
**('''Note:''' ZombieVerter projects require a matched pair of Inverter and Motor as they would have come out of a vehicle)
*[[Batteries]]
*[[Batteries]]
*[[:Category:Charger|Chargers / Charge Controllers]]
*[[:Category:Charger|Chargers / Charge Controllers]]
Line 89: Line 101:
**Vacuum Pumps
**Vacuum Pumps
**Electronic Brake Boosters
**Electronic Brake Boosters
* [[:Category:Power Steering|Power Steering]]
*[[:Category:Power Steering|Power Steering]]
* [[Rapid Charging]]
*[[Rapid Charging]]
*[[VCU Comparison]]


Existing information on these items can be found on the <u>[[EV Conversion Parts]]</u> page.
Existing information on these items can be found on the <u>[[EV Conversion Parts]]</u> page.


===OEM Parts:===
===OEM Parts: ===
A variety of [[:Category:OEM|OEM]] parts members of the community have reversed engineered for custom use cases:
A variety of [[:Category:OEM|OEM]] parts members of the community have reversed engineered for custom use cases:
*[[:Category:BMW|BMW]]
*[[:Category:BMW|BMW]]
Line 108: Line 121:
*[[Toyota|Toyota/Lexus]]
*[[Toyota|Toyota/Lexus]]
*[[:Category:VAG|VAG (VW, Audi, Skoda, Seat, Porsche, ...)]]
*[[: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===
===FAQ===
Line 113: Line 140:
*[[Common Inverter FAQ]] - questions common to all hardware variants
*[[Common Inverter FAQ]] - questions common to all hardware variants
*[[Tesla Inverter FAQ]] - questions regarding Tesla Large Drive Units and Small Drive Units
*[[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]]


==[[mechanical design database]]==
here you will find measurements, models, files, etc for a variety of components  such as:
Designs for:


*adapter plates
*adapter plates
Line 123: Line 155:
*etc.
*etc.


=Open Inverter Projects=
===Open Inverter (Core Project/s)===
{| class="wikitable"
{| class="wikitable"
|+
!
====Open Inverter (Core Project/s) ====
!
!
!  
!Description  / Notes
====Open Inverter Related Projects (Control Boards/VCUs)====
|-
|'''core universal hardware and software components'''
 
| rowspan="8" |
|
|-
|-
|'''ZombieVerter VCU'''
|'''ZombieVerter VCU'''
Line 141: Line 166:
*[[Web Interface (ZombieVerter VCU)|Web Interface]]
*[[Web Interface (ZombieVerter VCU)|Web Interface]]
*[[OEM component compatibility]]
*[[OEM component compatibility]]
| rowspan="2" |'''[[Tesla|Tesla Small Drive and Large Drive Units:]]'''
|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)
commonly there is a large drive unit and small drive unit available. 
 
These combine the inverter and motor into a single package. 
 
The control boards for these replace the existing control board within them.
|-
|-
| rowspan="3" |
|'''Open Inverter Hardware'''
======Open Inverter Hardware======
*[[Hardware Theory of Operation]]
*[[Hardware Theory of Operation]]
*[[Schematics and Instructions]] - for the "vanilla" inverter kit.
*[[Schematics and Instructions]] - for the "vanilla" inverter kit.
Line 160: Line 179:
*[[Sensor Board|Legacy Sensor Board]]
*[[Sensor Board|Legacy Sensor Board]]
*[[OEM Repurposing]]
*[[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.
|-
|-
|'''[[Lexus GS450h Drivetrain]]:'''
| rowspan="3" |'''Open Inverter Software'''
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.
|-
| rowspan="4" |
======'''Open Inverter Software'''======
*[[Using FOC Software]]
*[[Using FOC Software]]
*[[Downloads]]
*[[Downloads]]
Line 190: Line 193:
*[[Software Theory of Operation]]
*[[Software Theory of Operation]]
*[[Open Inverter Testing]]
*[[Open Inverter Testing]]
|'''[[Auris/Yaris Inverter:]]'''
|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? -->
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
|-
|-
|
|'''CAN communication'''
|[[OEM Repurposing|All Control Boards / OEM Inverters]]


|-
|
|
|
|-
| colspan="3" |
======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]]'''
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]]
There is also a project to standardise the messages across the various control boards, [[Introduction CAN STD|read more]]
|-
|-
|
|'''Parameters'''
|
 
|
|-
| colspan="3" |
====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.  
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.  


Line 230: Line 210:


Working parameter sets can be found in the [https://openinverter.org/parameters openinverter parameter database]
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
|-
|-
| colspan="3" |
|'''[[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.
|-
|-
| colspan="3" |  
|'''[[Lexus GS450h Drivetrain]]:'''
======Use inverter as a battery Charger======
|The GS450h contains a gearbox (where the motors are located).
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]].
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 .
<-->= Open Inverter CAN std.=
<-->
 
 
=Open Inverter CAN std.=
*[[Introduction CAN STD|Introduction]]
*[[Introduction CAN STD|Introduction]]
*[[CAN table CAN STD|CAN table]]
*[[CAN table CAN STD|CAN table]]
*[[Getting started with CAN bus]]
*[[Getting started with CAN bus]]
*[[CAN communication|Setting up Open Inverter CAN Communication]]


=Conversion Projects=
=Conversion Projects=
Line 254: Line 270:
*[https://openinverter.org/forum/viewtopic.php?f=11&t=326&hilit=gt86 toyota gt86 nissan leaf motor]
*[https://openinverter.org/forum/viewtopic.php?f=11&t=326&hilit=gt86 toyota gt86 nissan leaf motor]
*[https://openinverter.org/forum/viewtopic.php?f=11&t=210 Porsche Boxster 986 Tesla conversion]
*[https://openinverter.org/forum/viewtopic.php?f=11&t=210 Porsche Boxster 986 Tesla conversion]
*[[VW Beetle 2003 Budget Conversion]]
*[https://openinverter.org/forum/viewforum.php?f=11 Further Projects on the forum]
*[https://openinverter.org/forum/viewforum.php?f=11 Further Projects on the forum]

Revision as of 13:44, 18 January 2023

Before you begin:

Please take the time to read.

You undertake your project at your own risk.

The information provided on this wiki and the support forums is intended as information only. The Open Inverter project and contributors to the forums and this wiki take no responsibility for how you use the information on this site, nor any liability for injuries, or death, that may result from your actions.

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.

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.

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.

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