Search found 53 matches
- Tue Jan 19, 2021 1:13 pm
- Forum: Inverters / Motor Controllers
- Topic: Inverter Firmware v4.97.R
- Replies: 18
- Views: 2962
Re: Inverter Firmware v4.97.R
So the solution on my machine was a slight modification of the instructions for Windows on the libopencm3 github page. Instead of using msys to get a Linux-like CLI, I used cygwin. And I simply made sure the $PATH included everything I needed, rather than use the "export PATH" command in t...
- Tue Jan 19, 2021 2:00 am
- Forum: Vehicle Control (VCU)
- Topic: The ZombieVerter VCU Project
- Replies: 930
- Views: 181497
Re: The ZombieVerter VCU Project
<snip> It's repetitive because it's generating a map of the interrupts that are different for all the supported ST / ARM platforms. There are windows specific build instructions on the github for libopencm3: https://github.com/libopencm3/libopencm3 If that helps get you going with libopencm3, great...
- Mon Jan 18, 2021 3:45 pm
- Forum: Vehicle Control (VCU)
- Topic: The ZombieVerter VCU Project
- Replies: 930
- Views: 181497
Re: The ZombieVerter VCU Project
I created the fork and cloned it locally. I'm now getting build errors on libopencm3 In file included from ../cm3/vector.c:22: ../../include/libopencm3/cm3/vector.h:41:10: fatal error: libopencm3/cm3/nvic.h: No such file or directory #include <libopencm3/cm3/nvic.h> I'm working my way thru that err...
- Mon Jan 18, 2021 1:13 pm
- Forum: Inverters / Motor Controllers
- Topic: Inverter Firmware v4.97.R
- Replies: 18
- Views: 2962
Re: Inverter Firmware v4.97.R
I never noticed that python was used as it is just present in any linux distro. But yes it runs a number of "genhdr" scripts as first step, which suspiciously sounds like code generation :) Thanks. In a strange way, my stubborn refusal to build a Linux machine is helping me learn. If they...
- Sun Jan 17, 2021 11:33 pm
- Forum: Inverters / Motor Controllers
- Topic: Inverter Firmware v4.97.R
- Replies: 18
- Views: 2962
Re: Inverter Firmware v4.97.R
I'm trying to learn by compiling the code myself, so I've got Code::Blocks loaded up and running. For now I've just downloaded the v4.97.R from Github as a zip file. I'm getting an error that the compiler can't find an include file: libopencm3/stm32/F1/nvic.h. Sure enough, there's no include file by...
- Tue Jan 05, 2021 12:18 pm
- Forum: Battery Managment (BMS)
- Topic: 4-channel BMS with daisychain bus
- Replies: 230
- Views: 65387
Re: 4-channel BMS with daisychain bus
The above quote was about diode D3. This used to be a 3V6 Zener that would limit the voltage when the opto fired up to 16V into the comms input. Problem was, on the boards with pull-ups (all but first) the Zener was constantly draining about 1 mA from the cells which kind of makes the µA standby mo...
- Sun Jan 03, 2021 5:37 pm
- Forum: Battery Managment (BMS)
- Topic: 4-channel BMS with daisychain bus
- Replies: 230
- Views: 65387
Re: 4-channel BMS with daisychain bus
Hey, Johannes, I've got a question for you. I have a set of ver 5.3 slave boards built by JLCPCB. I just had them leave off the diodes, since the BOM still has the Zeners in there. Here's the last discussion I picked up about them: <snip> Now lies some work ahead. Unfortunately the Zeners fitted to ...
- Wed Dec 16, 2020 10:16 pm
- Forum: Projects
- Topic: Electric Motorcycle Project
- Replies: 3
- Views: 1162
Re: Electric Motorcycle Project
I actually did get the motor spinning. Here's the reverse-engineering doc I posted up on DIYElectricCar. I'm looking into Johannes' 4-channel BMS now. There are still some additional changes I want to make to the board, including re-sizing it to fit better and making use of the fault signals coming ...
- Wed Dec 02, 2020 9:03 pm
- Forum: Tesla
- Topic: Tesla Model 3 Rear Drive Unit Hacking
- Replies: 640
- Views: 138684
Re: Tesla Model 3 Rear Drive Unit Hacking
<snip> 0x86 97 (Write DiagCfg2) - To all chips Wait 73us 0x00 E0 (write 00 to DiagCfg2) - Disable everything Wait 27us 0x3A AA (Global reset) - To all chips Wait 85us Super exciting? Of course! Well, no, probably not. It's dull but anyone who wants to better understand what they're doing would need...
- Mon Nov 30, 2020 12:32 am
- Forum: Getting Started
- Topic: How charging works?
- Replies: 3
- Views: 1302
Re: How charging works?
One of my go-to resources is the Battery University web site: https://batteryuniversity.com/learn/art ... t_chargers
- Wed Nov 25, 2020 9:10 pm
- Forum: Battery Managment (BMS)
- Topic: 4-channel BMS with daisychain bus
- Replies: 230
- Views: 65387
Re: 4-channel BMS with daisychain bus
I decided to push things forward by publishing some stuff. So: Get your cell modules made at JLCPCB from these files: https://github.com/jsphuebner/bms-hardware/tree/master/BMS%20Slave%20Files/BatMeas5.3%20Manufacturing%20Files Get the master module made from these files (read below!): https://gith...
- Thu Sep 17, 2020 3:05 pm
- Forum: Battery Managment (BMS)
- Topic: Very basic BMS
- Replies: 22
- Views: 4363
Re: Very basic BMS
I'm not familiar with the Lee Hart BattMon - can you point me to some information about it? Now that I've got my motor spinning on the bench with the Openinverter.org controller, I'm starting to puzzle through everything else that has to go into an EV. Here is some reading: http://www.evdl.org/page...
- Thu Sep 17, 2020 12:55 pm
- Forum: Battery Managment (BMS)
- Topic: Very basic BMS
- Replies: 22
- Views: 4363
Re: Very basic BMS
I'm half considering not running a BMS other than the Lee Hart BattMon sensor. It seems every BMS solution is more than I'm spending on my whole build. Interesting in seeing what yours ends up costing by the time you're done. I'm not familiar with the Lee Hart BattMon - can you point me to some inf...
- Sun Sep 13, 2020 11:30 pm
- Forum: Inverters / Motor Controllers
- Topic: Inverter Firmware v4.90.R
- Replies: 11
- Views: 2441
Re: Inverter Firmware v4.90.R
Thanks, Johannes! Was the spurious currentlimit fault occuring when dcsw was commanding to close the main contactor?
- Sun Sep 13, 2020 11:27 pm
- Forum: Inverters / Motor Controllers
- Topic: FOC for asynchronous motors
- Replies: 13
- Views: 2577
Re: FOC for asynchronous motors
A number of years ago, I was the project engineer for a very large inverter/motor drive for a government program. We were powering a linear induction motor, and needed to apply a lot of force at the start of the motor length, with essentially no movement of the runner. We also had to stop that runne...
- Tue Sep 08, 2020 2:15 pm
- Forum: Inverters / Motor Controllers
- Topic: Noisy ANGLE spot value - SOLVED [SOLVED]
- Replies: 3
- Views: 1947
Re: Noisy ANGLE spot value [SOLVED]
I assume you're using the sine firmware as it's an async motor. And I further assume that what you're seing is the slip frequency :) So temporarily set fslipmin to 0 and re-observe. You resolver signals looks good to me All good assumptions, Johannes. The firmware doesn't let me set fslipmin to 0, ...
- Mon Sep 07, 2020 10:38 pm
- Forum: Inverters / Motor Controllers
- Topic: Noisy ANGLE spot value - SOLVED [SOLVED]
- Replies: 3
- Views: 1947
Noisy ANGLE spot value - SOLVED [SOLVED]
I've gotten my adapted V2.0 controller to spin the GM e-Assist motor using the power stage of a Honda IMA inverter. BUT.... I'm seeing one thing that puzzles me. The rotor angle read back over the web interface seems very noisy, even when the motor is not spinning. Which makes me wonder what I've do...
- Sun Aug 16, 2020 9:10 pm
- Forum: Inverters / Motor Controllers
- Topic: Resolver Excitation with V2 mainboard
- Replies: 52
- Views: 11262
Re: Resolver Excitation with V2 mainboard
It will only become active once you enter run mode. Sine firmware supports resolver as well Thanks, Johannes. I found an error in my board layout that is holding the overcurrent limit fault. Am I correct that this will prevent entering run mode? Edit: Yes, adding a jumper in place of the missing tr...
- Sun Aug 16, 2020 6:16 pm
- Forum: Inverters / Motor Controllers
- Topic: Resolver Excitation with V2 mainboard
- Replies: 52
- Views: 11262
Re: Resolver Excitation with V2 mainboard
I'm having trouble getting the resolver excitation working on my adapted Rev 2 board. I'm running Rev 4.87R-foc software, the encoder mode is set to Resolver, but I'm not getting any pulses at PD2, so obviously no excitation signal out. However, I don't have any other external I/O connected yet. Are...
- Sun Jul 26, 2020 1:13 am
- Forum: Tesla
- Topic: Tesla Model 3 Rear Drive Unit Hacking
- Replies: 640
- Views: 138684
Re: Tesla Model 3 Rear Drive Unit Hacking
Nice work! I've got to admit, the modboard idea really intrigues me. Looking forward to seeing the schematic.
- Thu Sep 12, 2019 12:53 am
- Forum: User Interface
- Topic: File Location? Or other problem
- Replies: 20
- Views: 5329
Re: File Location? Or other problem
All right, here's what I did: I edited your run.ps1 script, to comment out the 'openBrowser' function call. That allowed me to start up the php server using your .bat file, but not have it start any browser up automatically. Once the PowerShell window showed that php had started, I opened Firefox an...
- Wed Sep 11, 2019 11:12 am
- Forum: User Interface
- Topic: File Location? Or other problem
- Replies: 20
- Views: 5329
Re: File Location? Or other problem
I'll try those tonight. In the meantime, could you look at php.ini, and post up what's under [SESSION], please?
- Wed Sep 11, 2019 12:21 am
- Forum: User Interface
- Topic: File Location? Or other problem
- Replies: 20
- Views: 5329
Re: File Location? Or other problem
I downloaded the new version in its entirety, and tried to run it tonight. Good news is that running the batch file opened up IE without any of my brute-force methods. :) Bad news is the behavior of the web pages is still the same. I got the High Voltage Warning, clicked "I Agree," and the...
- Tue Sep 10, 2019 12:47 am
- Forum: User Interface
- Topic: File Location? Or other problem
- Replies: 20
- Views: 5329
Re: File Location? Or other problem
My working theory right now is that the php SESSION variable array isn't being passed from one page to another properly. Dima - any thoughts on what needs to be set in php.ini? One more piece of information - I brute-forced Firefox to start, instead of Internet Explorer. No difference in the behavio...
- Sun Sep 08, 2019 4:36 pm
- Forum: User Interface
- Topic: File Location? Or other problem
- Replies: 20
- Views: 5329
Re: File Location? Or other problem
If I issue "all" I get back a full listing of parameters. "list" gives a listing of all the available parameters, and their acceptable values. So I'm pretty confident I have both bootloader and firmware flashed. Plus I have the flashing green LED on the Olimex, which would indica...