Search found 343 matches

by mjc506
Mon Oct 17, 2022 8:14 am
Forum: Inverters / Motor Controllers
Topic: IPM Motor Simulation and FOC Software
Replies: 986
Views: 114474

Re: IPM Motor Simulation and FOC Software

My head hurts hahah. I'm not sure if I'm surprised how close the Prius, MGR and HSG are, or how much different the leaf is :)

I need to download this and have a proper play...
by mjc506
Sun Oct 16, 2022 5:10 pm
Forum: User Interface
Topic: ESP32 Based Web Interface & Data Logger
Replies: 316
Views: 94146

Re: ESP32 Based Web Interface & Data Logger

You should be able to 'roll back' to pre-merge at the very least? My git is rusty, but I remember doing it far too many times...
by mjc506
Sun Oct 16, 2022 4:50 pm
Forum: Inverters / Motor Controllers
Topic: IPM Motor Simulation and FOC Software
Replies: 986
Views: 114474

Re: IPM Motor Simulation and FOC Software

I've got one of these supremely high quality items... Cheapy Amazon LCR meter . Like I say, I don't trust it at all, just because it's so cheap, but I have to admit it reports reasonable numbers for a range of (known) inductors, and is handy to measure very low resistances too (motor phase windings ...
by mjc506
Sun Oct 16, 2022 11:45 am
Forum: Inverters / Motor Controllers
Topic: IPM Motor Simulation and FOC Software
Replies: 986
Views: 114474

Re: IPM Motor Simulation and FOC Software

No problem! Just an LCR meter... like you say, I don't know how much I trust it, but it does come up with good numbers on known inductors. The HSG is a small motor - about 150mm dia, 100m length stator, rated circa 12kW (depends which OEM you ask!) designed just as a starter/generator for mild and f...
by mjc506
Sun Oct 16, 2022 11:03 am
Forum: Inverters / Motor Controllers
Topic: IPM Motor Simulation and FOC Software
Replies: 986
Views: 114474

Re: IPM Motor Simulation and FOC Software

If I've measured right, I get (very approximately) 4mH for the HSG (both Ld and Lq)
by mjc506
Sun Oct 16, 2022 10:48 am
Forum: Inverters / Motor Controllers
Topic: IPM Motor Simulation and FOC Software
Replies: 986
Views: 114474

Re: IPM Motor Simulation and FOC Software

Is it possible to measure Ld and Lq from a motor?

Edit: Should've googled first, of course. I'll see what I can do with a Hyundai HSG (SPM), if that's useful?

Do you account for changing Ld and Lq with current?
image.png
https://www.physicsforums.com/attachmen ... pdf.79167/
by mjc506
Sat Oct 15, 2022 9:15 am
Forum: General
Topic: Lets get Damian a 3D printer
Replies: 29
Views: 2998

Re: Lets get Damian a 3D printer

Done. Can you 3D print an entire open source M3? :-)

(Haven't you hacked it all for free yet? hahah)
by mjc506
Tue Oct 11, 2022 2:35 pm
Forum: General
Topic: Emails and other private messages
Replies: 22
Views: 126258

Re: Emails and other private messages

Sorry to hear this :( Whilst it would be a massive loss for the OI community if anyone were to leave, I can certainly understand the sentiment, and of course have no right to ask you to stay (but I will anyway :-) Please stay!) I'm not sure I have any clever suggestions for 'solving' the problem. Re...
by mjc506
Thu Oct 06, 2022 5:37 pm
Forum: Tesla
Topic: Tesla Large Drive Unit (LDU) Motor Teardown and maintenance
Replies: 475
Views: 306007

Re: Tesla Large Drive Unit (LDU) Motor Teardown and maintenance

I used to sell components for the heavy commercial and industrial refrigeration industry - massive surge vessels, valves, pumps etc for fairly nasty refrigerants like ammonia, R22 (before it was banned), Co2... Valve spindles were sealed with two o-rings, a gap between them filled with refrigeration...
by mjc506
Thu Oct 06, 2022 4:57 pm
Forum: General
Topic: World wide shipping
Replies: 5
Views: 1427

Re: World wide shipping

The company I used to work for had to send some brochures and catalogues to some customers in Sweden. Turned out it was cheaper to send me (from the UK) by plane, hire a car, pay petrol, meals, hotels etc than to send them by courier... Sorry, that probably doesn't help much :) Had bad experiences w...
by mjc506
Wed Oct 05, 2022 10:04 pm
Forum: User Interface
Topic: ESP8266 streaming
Replies: 1
Views: 3219

Re: ESP8266 streaming

If you UDP, you'll want/need to put some way of making sure packets arrive in order (a simple counter should be enough) Could probably leave the http server stuff in, and just send the esp into a tight loop (with yield() ) doing the UDP forwarding upon browsing to the page (so you'd need a power cyc...
by mjc506
Wed Oct 05, 2022 7:53 am
Forum: User Interface
Topic: ESP32 Based Web Interface & Data Logger
Replies: 316
Views: 94146

Re: ESP32 Based Data Logger

I guess with johu's binstream command, you'll be specifying what you want logged? And yours is fixed so you know what's coming? Oh, sorry. Yes, a full param dump to go with each log would be handy. Can't see why the json wouldn't be good enough? Doesn't have to be massively fast, only has to be done...
by mjc506
Sun Oct 02, 2022 10:17 am
Forum: User Interface
Topic: ESP32 Based Web Interface & Data Logger
Replies: 316
Views: 94146

Re: ESP32 Based Data Logger

Really must get to grips with the linux command line, I've spent far too long relying using windows. Any chance that you have another line of Linux black magic to receive tcp the data? I used netcat to receive, but then did some bitrate calculating on the ESP side. I did initially use the network i...
by mjc506
Sat Oct 01, 2022 9:53 am
Forum: User Interface
Topic: ESP32 Based Web Interface & Data Logger
Replies: 316
Views: 94146

Re: ESP32 Based Data Logger

I don't think I even saved the script (arduino, sorry) but something like this: const uint ServerPort = 8888; WiFiServer Server(ServerPort); WiFiClient RemoteClient; void setup() { Server.begin(); } void loop() { uint8_t ReceiveBuffer[30]; while (RemoteClient.connected() && RemoteClient.avai...
by mjc506
Fri Sep 30, 2022 8:24 pm
Forum: User Interface
Topic: ESP32 Based Web Interface & Data Logger
Replies: 316
Views: 94146

Re: ESP32 Based Data Logger

I suppose if you stream data to a laptop, that's technically there, right? hahaha
by mjc506
Fri Sep 30, 2022 7:48 pm
Forum: User Interface
Topic: ESP32 Based Web Interface & Data Logger
Replies: 316
Views: 94146

Re: ESP32 Based Data Logger

Ah, of course. Good point!

Dashcam cards seem to last ok. I wonder how hard it would be to get the ESP talking SATA... hahah
by mjc506
Fri Sep 30, 2022 7:30 pm
Forum: User Interface
Topic: ESP32 Based Web Interface & Data Logger
Replies: 316
Views: 94146

Re: ESP32 Based Data Logger

Nice :-)

Nothing wrong with relying on the user to keep an eye on free space etc (especially if there'll be a 'start logging' button)
by mjc506
Fri Sep 30, 2022 2:37 pm
Forum: Projects
Topic: Smart Roadster (with Prius Gen3 Inverter and Outlander Rear Motor)
Replies: 254
Views: 33738

Re: Smart Roadster

Yeah, it depends where the bottleneck is. Usually the batteries (especially short term, inverters and motors tend to be thermally limited so can go a bit higher for a few seconds). So that's a DC power limit, so AC amps (and hence torque) can be quite high at low rpm. At one extreme (locked rotor, 1...
by mjc506
Fri Sep 30, 2022 2:17 pm
Forum: User Interface
Topic: ESP32 Based Web Interface & Data Logger
Replies: 316
Views: 94146

Re: ESP32 Based Data Logger

Not bad :-) I think there's a way of disabling brownout detection, and then monitoring '5V' with the ADC, but that'd be rather unreliable... Although there might be enough bulk capacitance bulk capacitance on the 12V line to catch something. Will probably depend too much on the individual system and...
by mjc506
Fri Sep 30, 2022 9:44 am
Forum: Projects
Topic: Smart Roadster (with Prius Gen3 Inverter and Outlander Rear Motor)
Replies: 254
Views: 33738

Re: Smart Roadster

Why assume constant torque? :)

75kW and 1000kg gives me 4.65sec to 60mph (ignoring physical limits like traction at low speeds and drag)
by mjc506
Thu Sep 29, 2022 5:52 pm
Forum: User Interface
Topic: ESP32 Based Web Interface & Data Logger
Replies: 316
Views: 94146

Re: ESP32 Based Data Logger

A binary stream would be a fantastic addition! Agree on the 32bit, any point in being able to select which variables to stream, or just always send everything? Yes, datarate is more likely to be limited by the serial connection (and SD card maybe? not sure how good the ESPs are with that). I've just...
by mjc506
Wed Sep 28, 2022 8:53 pm
Forum: User Interface
Topic: ESP32 Based Web Interface & Data Logger
Replies: 316
Views: 94146

Re: ESP32 Based Data Logger

I was going to suggest that it may be possible to at least graph stuff in the browser - doesn't need a masses amount of support from the server (ESP) but relying on javascript for graphing a few million points may be optimistic... No concerns with wifi speed imho. I've a few ESP32s here for 'playing...
by mjc506
Fri Sep 09, 2022 9:10 pm
Forum: Mitsubishi
Topic: Outlander rear motor and inverter
Replies: 319
Views: 682461

Re: Outlander rear motor and inverter

Does anyone have any photos of the (rear) inverter open? Or front!