Search found 1801 matches

by Pete9008
Sat Jul 01, 2023 6:23 pm
Forum: Inverters / Motor Controllers
Topic: My Car tried to Kill me today (1973 Beetle +SDU Conversion), Potential Cruise Control Bug ?
Replies: 114
Views: 25073

Re: My Car tried to Kill me today (1973 Beetle +SDU Conversion), Potential Cruise Control Bug ?

Looks good. The dual CAN ports are a good idea :-)

Does it still have 12V power (can't see the connection point)?

Bit bulky compared to mine but a lot easier to build!

Edit - Interested to see what the software support for CAN logging is like.
by Pete9008
Sat Jul 01, 2023 5:50 pm
Forum: Inverters / Motor Controllers
Topic: My Car tried to Kill me today (1973 Beetle +SDU Conversion), Potential Cruise Control Bug ?
Replies: 114
Views: 25073

Re: My Car tried to Kill me today (1973 Beetle +SDU Conversion), Potential Cruise Control Bug ?

Not seen those, have you got a link or picture?

Glad it seems to be getting a bit more traction than I was aware of :)
by Pete9008
Sat Jul 01, 2023 5:41 pm
Forum: Inverters / Motor Controllers
Topic: My Car tried to Kill me today (1973 Beetle +SDU Conversion), Potential Cruise Control Bug ?
Replies: 114
Views: 25073

Re: My Car tried to Kill me today (1973 Beetle +SDU Conversion), Potential Cruise Control Bug ?

The trouble is I doubt that the software was actually in any kind of error state during the above, it was just happily running cruise control. This is the kind of logging I'm doing https://openinverter.org/forum/viewtopic.php?p=57268#p57268 , full details of the implementation are in the ESP32 data ...
by Pete9008
Sat Jul 01, 2023 5:10 pm
Forum: Toyota/Lexus
Topic: Toyota Auris and Yaris Inverter Logic board
Replies: 140
Views: 42412

Re: Toyota Auris and Yaris Inverter Logic board

Still progress though. I've never had much luck soldering connectors like the white one with hot air, too cool and it doesn't solder properly, too hot and it turns crispy/melts with very little margin in between. I've had much more success with a decent fine tipped soldering iron and a magnifying gl...
by Pete9008
Sat Jul 01, 2023 5:06 pm
Forum: Inverters / Motor Controllers
Topic: My Car tried to Kill me today (1973 Beetle +SDU Conversion), Potential Cruise Control Bug ?
Replies: 114
Views: 25073

Re: My Car tried to Kill me today (1973 Beetle +SDU Conversion), Potential Cruise Control Bug ?

Got to agree, I find it surprising, disappointing and fairly demotivating the lack of interest that there appears to be in threads discussing potentially serious problems. I'm concerned that the lack of apparent interest, and a tendency to blame the install, wiring, parameters, operator, etc all ten...
by Pete9008
Fri Jun 30, 2023 11:32 am
Forum: Projects
Topic: 1971 GMCe Lexus GS450H BMW 530e Tesla Model S Electruck [FINISHED]
Replies: 1280
Views: 560112

Re: 1971 GMCe Lexus GS450H BMW 530e Tesla Model S powered Electruck [FINISHED]

Well now, that's something we can calculate, can't we? With a thermal expansion coefficent of 23.0e-6 1/K for Aluminium and 13.0e-6 1/K for Steel, and an assumed length of 1 banana (25.4mm) for your spacer and a whooping 100K temperature difference, we arrive at an elongation of 58nm for the Alumin...
by Pete9008
Fri Jun 30, 2023 11:25 am
Forum: Toyota/Lexus
Topic: Toyota Auris and Yaris Inverter Logic board
Replies: 140
Views: 42412

Re: Toyota Auris and Yaris Inverter Logic board

:D

Guess it was a poor joint on whichever connector pin supplies the pwm optos?
by Pete9008
Fri Jun 30, 2023 10:01 am
Forum: Toyota/Lexus
Topic: Toyota Auris and Yaris Inverter Logic board
Replies: 140
Views: 42412

Re: Toyota Auris and Yaris Inverter Logic board

On the base of the transistors you should see a square wave between 0v and around 0.6v. On the collector is should be a few volts. If you can see 5v/12v on the igbt board side connector pins it should be ok. Could the pwm transistors be the issue, duff or incorrect parts? Do you have any way to test...
by Pete9008
Fri Jun 30, 2023 8:09 am
Forum: Toyota/Lexus
Topic: Toyota Auris and Yaris Inverter Logic board
Replies: 140
Views: 42412

Re: Toyota Auris and Yaris Inverter Logic board

I did notice on my Prius inverter that when in the fault state the igbt board turns off the supply to the pwm input pullups (effectively disabling them). Could that fit with what you see? The pwm signal into the board should normally be a few volts (think the pull up is to 5v). Don't understand what...
by Pete9008
Fri Jun 30, 2023 8:05 am
Forum: Inverters / Motor Controllers
Topic: stm32_sine compiling with MacOS
Replies: 6
Views: 3023

Re: stm32_sine compiling with MacOS

As long as you don't remove the bootloader it should be possible to recover but not guaranteed. People have bought out the stlink connections too in the past, just in case! When writing to flash the code execution actually stops for a while so having the inverter in run mode while doing it is a bad ...
by Pete9008
Fri Jun 30, 2023 7:57 am
Forum: Mitsubishi
Topic: Outlander Rear Motor - Spinning/Flipping
Replies: 4
Views: 3861

Re: Outlander Rear Motor - Spinning/Flipping

I do like the idea of no rust to deal with! Spent a couple of hours yesterday under the tow car topping up the wax under seal. Job I've been avoiding for over a year, horrible black sticky stuff and the rust still comes back!

Look forward to seeing a build thread :)
by Pete9008
Fri Jun 30, 2023 7:52 am
Forum: Inverters / Motor Controllers
Topic: stm32_sine compiling with MacOS
Replies: 6
Views: 3023

Re: stm32_sine compiling with MacOS

Personally I'd change your wiring rather than bypass the protections - they are there for a reason! Unless you know what you are doing and are very careful there is potential to damage the inverter!
by Pete9008
Fri Jun 30, 2023 7:42 am
Forum: Toyota/Lexus
Topic: Toyota Auris and Yaris Inverter Logic board
Replies: 140
Views: 42412

Re: Toyota Auris and Yaris Inverter Logic board

Assume that is on a phase output with the ground on battery 0v? In that case no it doesn't look right but it is encouraging that there is something there. Any more details/pics of how you have it connected/wired up? Assuming that you are running the HV at a low, safe voltage I'd be inclined to run i...
by Pete9008
Tue Jun 27, 2023 12:23 pm
Forum: Mitsubishi
Topic: Outlander Rear Motor - Spinning/Flipping
Replies: 4
Views: 3861

Re: Outlander Rear Motor - Spinning/Flipping

https://openinverter.org/forum/viewtopic.php?p=30293#p30293 Seems to have it upside down without problems. I'm sure there are other mentions of this motor in all sorts of orientations and running backwards and forwards. Thanks for the link, had somehow managed to miss the earlier posts in that thre...
by Pete9008
Sun Jun 25, 2023 1:03 pm
Forum: Inverters / Motor Controllers
Topic: My Car tried to Kill me today (1973 Beetle +SDU Conversion), Potential Cruise Control Bug ?
Replies: 114
Views: 25073

Re: My Car tried to Kill me today (1973 Beetle +SDU Conversion), Potential Cruise Control Bug ?

One more though on this - would it be sensible to make it so that switching to neutral, or changing direction, also cancels cruise? At the moment the brake input has no redundancy, all you need is a broken wire or switch and cruise can't be cancelled. Adding logic to check for a change in direction ...
by Pete9008
Sun Jun 25, 2023 12:59 pm
Forum: Projects
Topic: Smart Roadster (with Prius Gen3 Inverter and Outlander Rear Motor)
Replies: 254
Views: 34438

Re: Smart Roadster (with Prius Gen3 Inverter and Outlander Rear Motor)

It's been a few weeks so probably due an update. Basically not a lot of progress. Health is gradually improving but that means the house renovation is slowly restarting (and that's taking pretty much all my energy) so any physical build activity is unlikely in the near future. As always there seems ...
by Pete9008
Sun Jun 25, 2023 12:47 pm
Forum: Mitsubishi
Topic: Outlander Rear Motor - Spinning/Flipping
Replies: 4
Views: 3861

Outlander Rear Motor - Spinning/Flipping

I plan to use an Outlander rear motor in my conversion due to it's compact size and weight and reasonable power. The only issues is that I'd prefer to have the motor in front of the axle line rather than behind it for a number of reasons (weight distribution, clearance to suspension components, wiri...
by Pete9008
Thu Jun 22, 2023 5:45 pm
Forum: Inverters / Motor Controllers
Topic: IPM Motor Simulation and FOC Software
Replies: 986
Views: 118608

Re: IPM Motor Simulation and FOC Software

Glad you got it working :)

Just to clarify did the code change fix the first bug and then the environment variable fixed another bug that was introduced when updating Qt?
by Pete9008
Thu Jun 22, 2023 5:42 pm
Forum: General
Topic: Charger for single cell cycling before battery pack build
Replies: 12
Views: 689

Re: Charger for single cell cycling before battery pack build

Thinking about it if you lost the hysteresis wouldn't it just do CC/CV on the discharge too?

Could you add a FET across one of the voltage ref biasing resistors to force the op-amp to the inactive state?
by Pete9008
Thu Jun 22, 2023 4:55 pm
Forum: General
Topic: Charger for single cell cycling before battery pack build
Replies: 12
Views: 689

Re: Charger for single cell cycling before battery pack build

Yes I get that but would you be happy doing the CC/CV bit in firmware or do you want it all in hardware? Like the way you have done the hysteresis on the discharger, guessing it was cycling as the cell voltage recovered? Edit - think I see why you have done it that way now, it allows the micro to me...
by Pete9008
Thu Jun 22, 2023 4:01 pm
Forum: General
Topic: Charger for single cell cycling before battery pack build
Replies: 12
Views: 689

Re: Charger for single cell cycling before battery pack build

Is the aim to terminate the charge/discharge without using the 328p so that it's safe regardless of what the firmware does? If you are happy letting the 328p get involved with controlling the charge then I'd be tempted to make a bridge but using your current source circuit top and bottom with the mi...
by Pete9008
Thu Jun 22, 2023 3:49 pm
Forum: Inverters / Motor Controllers
Topic: IPM Motor Simulation and FOC Software
Replies: 986
Views: 118608

Re: IPM Motor Simulation and FOC Software

Just pushed a fix up to github, let me know if it helps?

Should have done it that way to start with, far quicker to do than I expected!
by Pete9008
Thu Jun 22, 2023 3:41 pm
Forum: Inverters / Motor Controllers
Topic: IPM Motor Simulation and FOC Software
Replies: 986
Views: 118608

Re: IPM Motor Simulation and FOC Software

No problem, thanks for testing it. Think I might know what that is, saw something similar yesterday but the proper fix needed a few dozen references to an enum to be changed that conflicts with one defined in the libraries. Thought I'd found a quick workaround but obviously not! Need to update my Qt...
by Pete9008
Thu Jun 22, 2023 11:53 am
Forum: Mitsubishi
Topic: Outlander rear motor and inverter
Replies: 319
Views: 742877

Re: Outlander rear motor and inverter

There are two that come to mind (probably others too): FFMan's BMW bobby_come_lately's Z3 Probably worth having a look through the threads or contacting them. Worth noting that unless you have the inverter phase connections and the resolver connections exactly the same as them the syncofs value will...
by Pete9008
Thu Jun 22, 2023 11:46 am
Forum: Inverters / Motor Controllers
Topic: IPM Motor Simulation and FOC Software
Replies: 986
Views: 118608

Re: IPM Motor Simulation and FOC Software

The lack of persistence on parameters was bugging me so now fixed - it saves all the parameters to a .paramPersist.json file on closing and then reloads them on opening. While there I also made it remember the last path used for loading and saving json files and added persistence for the torque, mod...