The controller is pretty well sealed (potted). Perhaps water is getting into the throttle wiring, or the hall wiring?
The Mac version crashes at launch on my 13" MBP from 2009 with MacOS 10.12.6 Sierra.justin_le wrote: ↑Mar 27, 2018 3:31 amHere you go guys:
V1.0B4 Phaserunner Suite for MacOS: https://www.dropbox.com/s/x4jl2bosmqhnq ... 4.zip?dl=0
V1.0B4 Phaserunner Suite for Linux: https://www.dropbox.com/s/dou1hs652go22 ... ar.gz?dl=0
The MacOS build hasn't been tested internally on any modern Mac devices, just on our old and slow dev computer. We'll get to that tomorrow but odds are that it should be fine so I've posted so we can get feedback from other users on other machines too.
I just tried running it (without a Phaserunner connected) on my iMac Retina running macOS High Sierra 10.13.3justin_le wrote: ↑Mar 27, 2018 3:31 amV1.0B4 Phaserunner Suite for MacOS: https://www.dropbox.com/s/x4jl2bosmqhnq ... 4.zip?dl=0
Here's the crash report:PhaseRunnerSuite cannot be opened because of a problem.
Check with the developer to make sure PhaseRunnerSuite works with this version of macOS. You may need to reinstall the application. Be sure to install any available updates for the application and macOS.
Click Report to see more detailed information and send a report to Apple.
Code: Select all
Process: PhaseRunnerSuite  Path: /Volumes/VOLUME/*/PhaseRunnerSuite.app/Contents/MacOS/PhaseRunnerSuite Identifier: grin.PhaseRunnerSuite Version: ??? Code Type: X86-64 (Native) Parent Process: ???  Responsible: PhaseRunnerSuite  User ID: 501 Date/Time: 2018-03-27 11:36:25.704 -0700 OS Version: Mac OS X 10.13.3 (17D102) Report Version: 12 Anonymous UUID: C88AA401-F140-CA3D-90C5-8DDF46E52F94 Time Awake Since Boot: 230000 seconds System Integrity Protection: enabled Notes: Translocated Process Crashed Thread: 0 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Termination Reason: DYLD, [0x1] Library missing Application Specific Information: dyld: launch, loading dependent libraries Dyld Error Message: Library not loaded: @rpath/QtPrintSupport.framework/Versions/5/QtPrintSupport Referenced from: /Volumes/VOLUME/*/PhaseRunnerSuite.app/Contents/MacOS/PhaseRunnerSuite Reason: image not found Binary Images: 0x108595000 - 0x10871fff7 +grin.PhaseRunnerSuite (???) <7E330AD0-850A-3194-ACBF-1B12E210668D> /var/folders/*/PhaseRunnerSuite.app/Contents/MacOS/PhaseRunnerSuite 0x10a4f7000 - 0x10a54198f dyld (519.2.2) <6695F30B-4E88-3C0B-9867-7D738C44A3E6> /usr/lib/dyld 0x7fff3abc6000 - 0x7fff3b066fe7 com.apple.CoreFoundation (6.9 - 1451) <7AFE9C8F-A562-3AFC-8402-117AA02F57E9> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation 0x7fff3d3d6000 - 0x7fff3d471fff com.apple.framework.IOKit (2.0.2 - 1445.40.1) <9CFA07B9-BA6E-31E4-AD4F-C47071A8C522> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit Model: iMac17,1, BootROM IM171.0147.B00, 4 processors, Intel Core i7, 4 GHz, 32 GB, SMC 2.34f2 Graphics: AMD Radeon R9 M395X, AMD Radeon R9 M395X, PCIe, 4 GB Memory Module: BANK 0/DIMM0, 16 GB, DDR3, 1867 MHz, 0x85F7, 0x48363432475534324733313836470000 Memory Module: BANK 1/DIMM0, 16 GB, DDR3, 1867 MHz, 0x85F7, 0x48363432475534324733313836470000 AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x14A), Broadcom BCM43xx 1.0 (18.104.22.168.1a3) Bluetooth: Version 6.0.2f2, 3 services, 27 devices, 1 incoming serial ports Network Service: Ethernet, Ethernet, en0 Network Service: Wi-Fi, AirPort, en1 PCI Card: Apple 57761-B0, Ethernet Controller, Thunderbolt@191,0,0 PCI Card: pci11c1,5901, IEEE 1394 Open HCI, Thunderbolt@190,0,0 PCI Card: pci12d8,400e, USB Open Host Controller, Thunderbolt@194,0,0 PCI Card: pci12d8,400e, USB Open Host Controller, Thunderbolt@194,0,1 PCI Card: pci12d8,400f, USB Enhanced Host Controller, Thunderbolt@194,0,2 Serial ATA Device: APPLE SSD SM0512G, 500.28 GB USB Device: USB 3.0 Bus USB Device: Backup+ Hub USB Device: Backup+ Hub BK USB Device: USB3.0 Hub USB Device: USB3.0 Hub USB Device: USB3.0 Hub USB Device: ScanSnap iX500 USB Device: Bluetooth USB Host Controller USB Device: FaceTime HD Camera (Built-in) USB Device: USB2.0 Hub USB Device: USB2.0 Hub USB Device: USB2.0 Hub USB Device: Magic Keyboard USB Device: Backup+ Hub USB Device: USB 2.0 Bus USB Device: Hub USB Device: Fitbit Base Station USB Device: FaceTime HD Camera (Display) USB Device: Apple Thunderbolt Display USB Device: Display Audio Thunderbolt Bus: iMac, Apple Inc., 28.1 Thunderbolt Device: Thunderbolt Display, Apple Inc., 3, 26.2
Code: Select all
Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Termination Reason: DYLD, [0x1] Library missing Application Specific Information: dyld: launch, loading dependent libraries Dyld Error Message: Library not loaded: @rpath/QtPrintSupport.framework/Versions/5/QtPrintSupport Referenced from: /Applications/PhaseRunnerSuite.app/Contents/MacOS/PhaseRunnerSuite Reason: image not found
Apparently I did not play those odds very well! Thanks guys for posting the detailed error reports, clearly there was something left out of the build package and I'll post as soon as we have an updated MacOS release that has been properly tested internally here.
Appreciate the early release and invitation to test. Glad to help out.justin_le wrote: ↑Mar 31, 2018 5:05 amApparently I did not play those odds very well! Thanks guys for posting the detailed error reports, clearly there was something left out of the build package and I'll post as soon as we have an updated MacOS release that has been properly tested internally here.
OK, here is an updated download for MacOS users to try.
It's the same binary build inside, but I repackaged as a .dmg to force macdeployqt to include the library that's causing the prev 1b4 package to crash for E-S users.
Worked perfectly on macOS High Sierra 10.13.14 2015 15" MacBook Pro. Autotuned the Crystalyte 3540 with no problems.justin_le wrote: ↑Apr 01, 2018 1:39 am
OK, here is an updated download for MacOS users to try.
https://www.ebikes.ca/downloads/PhaseRu ... b3.dmg.zip
Yeah, this is typical of motor rating. They don't give real data like KV, and winding resistance, but they do give fluffy data like power or torque values from which you can sortof infer stuff.
No, the number of pole pairs is based on the magnet count, not the coils. If you can look at the picture again count the magnets. If the motor has hall sensors, then you can find this trivially by plugging it a computer with the latest phaserunner software suite and using the dashboard view to watch a simulated hall LED and count how many times it toggles when you turn the wheel one revolution.From other forum members posts and the rebuilds of Gen 1 motors with the controller inside I see: - 18 coils in the hub (is this 9 pole pairs?)
The autotune process will figure out the motor KV so use an initial guess of like 8 rpm/V and you'll be fine. It takes a fair bit of effort to burn up a hub motor, I wouldn't worry about that, just set it up to a reasonable ~25A battery current limit or so. To really get the maximum power window you would want a thermistor in the motor and have the CA3 do thermal rollback if the motor overheats, but there's no need for that if you just want a power level to keep up with traffic.I'd appreciate any advice on the settings I can try to get started/get the max from this battery / motor / controller without burning anything out.
The battery conversation doesn't really belong on this thread, but all the basic principles apply. Once you know the motor KV from autotune then you can easily tell the minimum voltage needed to hit a given speed. We have the TDCM motor used on the Stromer, AtoB etc. on our simulator ( http://www.ebikes.ca/tools/simulator.ht ... otor=MTDCM ) and you can use the KV adjust slider to match the specific winding that you have, and get a sense of the real world speeds for a given pack voltage and vehicle loading. Then size the amp-hour capacity of the pack for the range that you need.A second related query is a better battery to suit this controller/motor combination (and the settings) - once I have the controller running I was aiming to replace the battery with something like a 52V triangle or rear pack around 20Ah e.g. eV3 / Unitpack power. I'm looking for a good commuting range able to keep up with the traffic and any comments on battery voltage/ capacity / format etc. and the Phaserunner setup changes before I hit the buy button would be helpful.
The Both the CA and the Phaserunner have the ability to limit battery amps and battery watts into the motor. But only the Phaserunner can limit the actual phase amps which is ultimately what causes overheating.
Controllers should not be talked about in terms of max power, that's the wrong way to look at them. The controller has thermal limitations to the continuous phase current that it can handle through the fets. In the case of a Phaserunner that's about 50 amps with no external heatsink, and about 70 amps when bolted to a large heat spreader. The word "safely" doesn't have much meaning since the if you exceed this limit for long enough and the controller gets hot, it will go into thermal rollback and reduce power appropriately.
You can set it to that that for sure but you'll never see it off the line because you are motor phase current limited. Off the line you'll have 96 amps of motor phase current, and that could be just 10, 20, 30 amps of battery current, depending on the motor motor winding resistance. As you speed up the battery current will continue to increase for the same phase current.I'd like a better acceleration from stand point. Can I put battery power at 96A?