Search found 1801 matches

by Pete9008
Wed Jul 12, 2023 6:40 pm
Forum: Charging
Topic: Develop a QCA7000 board?
Replies: 575
Views: 8758309

Re: Develop a QCA7000 board?

mikeselectricstuff wrote: Wed Jul 12, 2023 6:28 pm NPN transistor and pullup to 12V?
Vgs max for the device is only 14V so danger of over volting it :(

Wondering whether the HCT gate is the way to go after all, just use something like a HCT08 (AND gate so no inversion) instead so that a low on the input defaults to the contactor being off?
by Pete9008
Wed Jul 12, 2023 6:19 pm
Forum: Charging
Topic: Develop a QCA7000 board?
Replies: 575
Views: 8758309

Re: Develop a QCA7000 board?

I'm inclined to agree. Datasheet says they should be happy doing 1A at 3.3V gate drive. Apologies, I hadn't read the datasheet thoroughly enough, the on resistance at 3V is a bit high and 1A is about the limit. Still not keen on the HCT04 though so would look for another device better suited to a 3...
by Pete9008
Wed Jul 12, 2023 11:03 am
Forum: Volvo
Topic: Volvo V60 ERAD motor
Replies: 10
Views: 14050

Re: Volvo V60 ERAD motor

There's a bit more data here viewtopic.php?t=1433
by Pete9008
Wed Jul 12, 2023 11:00 am
Forum: Charging
Topic: Develop a QCA7000 board?
Replies: 575
Views: 8758309

Re: Develop a QCA7000 board?

Had a look over the schematic (not exhaustive but fairly thorough). Looks good :) I agree with all Catphish's points, in particular the processor, the F103 is getting a bit long in the tooth now (I first used it 15years ago!). Is the idea that this board is only powered up if the charging flap is op...
by Pete9008
Wed Jul 12, 2023 8:50 am
Forum: Volvo
Topic: Volvo V60 ERAD motor
Replies: 10
Views: 14050

Re: Volvo V60 ERAD motor

Interesting motor! I particularly like the co-axial design and the clutches. Is it liquid cooled too?
by Pete9008
Wed Jul 12, 2023 8:47 am
Forum: Charging
Topic: Develop a QCA7000 board?
Replies: 575
Views: 8758309

Re: Develop a QCA7000 board?

Any chance you could add a pdf of the schematic to the repo? I'd like to have a look but don't have Kicad 7 installed.
by Pete9008
Tue Jul 11, 2023 6:01 pm
Forum: Toyota/Lexus
Topic: Toyota Auris and Yaris Inverter Logic board
Replies: 140
Views: 43218

Re: Toyota Auris and Yaris Inverter Logic board

I believe I need UDC working properly to test Pete's auto tune, but still got to get the manual tune offset confirmed before running auto tune to see if they come close. It just uses udc to estimate the starting pwm value so if udc is under reading it will use too big a pwm value to start with and ...
by Pete9008
Mon Jul 10, 2023 6:27 pm
Forum: Volvo
Topic: Volvo V60 ERAD motor
Replies: 10
Views: 14050

Re: Volvo V60 ERAD motor

Assume you are driving the resolver with a few kHz? If so then you are seeing the waveform envelope on the scope and the 10 pulses are each a half cycle (so 5 full cycles the same as the phase output) so I would guess 5 pole pairs on both.

Edit - what are the ratings of that motor?
by Pete9008
Mon Jul 10, 2023 6:21 pm
Forum: Nissan
Topic: Nissan Leaf Motor Specs for FOC
Replies: 2
Views: 3340

Re: Nissan Leaf Motor Specs for FOC

Can't help with all of those but you can find some of them here https://openinverter.org/forum/viewto ... #p52763
by Pete9008
Sun Jul 09, 2023 8:41 pm
Forum: Projects
Topic: Smart Roadster (with Prius Gen3 Inverter and Outlander Rear Motor)
Replies: 254
Views: 34984

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

I'm the opposite of you. Give me real chunks of metal to throw together and I'm happy . I'll leave you the coding and I'll come along and plug and play 😁 Not realy, I prefer hardware too, electronics hardware or machining, welding, building :) Was doing electronics as a hobby well before I was 10 b...
by Pete9008
Sun Jul 09, 2023 10:07 am
Forum: Projects
Topic: Smart Roadster (with Prius Gen3 Inverter and Outlander Rear Motor)
Replies: 254
Views: 34984

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

So software - still can't face actually writing it but starting to at least think about it again :) Plan is basically to: Try these ideas https://openinverter.org/forum/viewtopic.php?p=58635#p58635 Restructure the scheduler - wondering whether to moving to a single 1ms tick isr in place of the sched...
by Pete9008
Sun Jul 09, 2023 9:49 am
Forum: Inverters / Motor Controllers
Topic: My Car tried to Kill me today (1973 Beetle +SDU Conversion), Potential Cruise Control Bug ?
Replies: 114
Views: 25676

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

Not a huge fan of adding lots of code to try and increase reliability - worked on a system in the past when a stray pointer in the error logging code caused the system to intermittently crash, took ages to find and the error logging code had never even been used for diagnostics in the field! If you ...
by Pete9008
Fri Jul 07, 2023 7:54 am
Forum: Inverters / Motor Controllers
Topic: Flux is strengthening instead of weakening? [SOLVED]
Replies: 3
Views: 857

Re: Flux is strengthening instead of weakening? [SOLVED]

Guessing that you are running on the wrong syncofs null. Try adding/subtracting 32768 to syncofs (whichever keeps the value below 65536) and trying again. The motor will run backwards (which can be fixed by swapping a couple of phases and retuning syncofs) but you should then have field weakening ra...
by Pete9008
Tue Jul 04, 2023 3: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: 25676

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

Sounds good :) There is a now an upper limit to cruise control power (cruisethrotlim), defaulting to 50% I was assuming that this was what idlethrotlim did but it's not is it? Would it be worth adding another parameter for this that defaults to say 20%? My reasoning is that on a FWD car, even with a...
by Pete9008
Sun Jul 02, 2023 6:40 pm
Forum: Inverters / Motor Controllers
Topic: My Car tried to Kill me today (1973 Beetle +SDU Conversion), Potential Cruise Control Bug ?
Replies: 114
Views: 25676

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

I'm just here cause someone came up with a better thread title than one of mine ! :lol: That is probably an answer to number 2. Just reduce power to less harmful levels if things go out of check. Could also be a requirement that the brake pedal must be depressed once at power up to at least check a...
by Pete9008
Sun Jul 02, 2023 6:17 pm
Forum: Inverters / Motor Controllers
Topic: My Car tried to Kill me today (1973 Beetle +SDU Conversion), Potential Cruise Control Bug ?
Replies: 114
Views: 25676

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

Some good points there :) I'd quite like to have most of the configuration parameters kept in flash, so that they are effectively read only, and only allow them to be updated when the inverter is not running. It's a big change though and also looses a lot of the current flexibility which is very nic...
by Pete9008
Sun Jul 02, 2023 5:50 pm
Forum: User Interface
Topic: ESP32 Based Web Interface & Data Logger
Replies: 318
Views: 110624

Re: ESP32 Based Web Interface & Data Logger

:)

Sorry about that, those two lines completely slipped my mind. Guess that they are actually needed then!
by Pete9008
Sun Jul 02, 2023 4:13 pm
Forum: User Interface
Topic: ESP32 Based Web Interface & Data Logger
Replies: 318
Views: 110624

Re: ESP32 Based Web Interface & Data Logger

Oops, just remembered on my F405 version I added two lines just before the SD start up, not sure they got pushed to the F103 version (which I'm still running on the prototype hardware so not needed): //initialise SD card in SDIO mode gpio_set_direction(GPIO_NUM_2,GPIO_MODE_INPUT); //hardware pull up...
by Pete9008
Sun Jul 02, 2023 3:58 pm
Forum: User Interface
Topic: ESP32 Based Web Interface & Data Logger
Replies: 318
Views: 110624

Re: ESP32 Based Web Interface & Data Logger

:) What did you change? Having looked again I think it might have been corruption of the param table in flash (if the min and max values get messed up it will start seeing spot vals as parameters)? Edit - Not seen that, my SD card mounts fine every time (on both the prototype and proper PCB versions...
by Pete9008
Sun Jul 02, 2023 3:31 pm
Forum: User Interface
Topic: ESP32 Based Web Interface & Data Logger
Replies: 318
Views: 110624

Re: ESP32 Based Web Interface & Data Logger

Somehow it seems to be treating spot values as parameters (isparam being wrongly interpretted). Could this be something to do with the recent param_prj.h file changes? Have you replaced the one in the repo with your own? Will set up my test rig and try it but 99.9% sure it works fine here and git is...
by Pete9008
Sun Jul 02, 2023 3:05 pm
Forum: User Interface
Topic: ESP32 Based Web Interface & Data Logger
Replies: 318
Views: 110624

Re: ESP32 Based Web Interface & Data Logger

Sure that worked here, is that the auto-setup or auto-setup-withlogging branch? Looks like an issue with the added 'si' field used to decode the spot values. Is it using the right version of libopeninv? Edit - for the auto-setup-withlogging branch libopeninv should be on version ac64ccc off my githu...
by Pete9008
Sun Jul 02, 2023 2:20 pm
Forum: Inverters / Motor Controllers
Topic: My Car tried to Kill me today (1973 Beetle +SDU Conversion), Potential Cruise Control Bug ?
Replies: 114
Views: 25676

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

That would make sense, makes for a nice simple implementation in the cruise control code.
by Pete9008
Sun Jul 02, 2023 1:48 pm
Forum: User Interface
Topic: ESP32 Based Web Interface & Data Logger
Replies: 318
Views: 110624

Re: ESP32 Based Web Interface & Data Logger

That looks like it should work :)

Has Damien moved to Kicad yet?

Seem to remember reading on the wiki that plugging the CTs in before reversing the pinout could damage the sensors, could that be the problem?
by Pete9008
Sun Jul 02, 2023 1:18 pm
Forum: User Interface
Topic: ESP32 Based Web Interface & Data Logger
Replies: 318
Views: 110624

Re: ESP32 Based Web Interface & Data Logger

If Damien followed my pinout then the RS485/422 should be on the UART you need so the easiest way it to remove that and bring out the UART lines.

Alternatively I do have a spare transceiver here that could be bodged onto your IO board header to make it talk RS422. Let me know if you want it?
by Pete9008
Sun Jul 02, 2023 1:15 pm
Forum: Inverters / Motor Controllers
Topic: My Car tried to Kill me today (1973 Beetle +SDU Conversion), Potential Cruise Control Bug ?
Replies: 114
Views: 25676

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

I've already made my suggestions above but in case it wasn't clear enough. Short term: Reduce throttle availability in cruise mode. The default in the param_prj.h is 50%, on something like an SDU that is way too much. You need just enough to maintain cruise at the speeds, and on the gradients, you a...