Author Topic: Stm32f105 ARM based dauther board for vems for canbus  (Read 33402 times)

Offline Kamuto

  • Hero Member
  • *****
  • Posts: 814
  • BHP: 19
Re: Stm32f105 ARM based dauther board for vems for canbus
« Reply #15 on: August 14, 2017, 01:02:14 am »
what would be interesting is to control dsg somehow :))
Vems installer in Lithuania
[email protected]

Offline mr_g

  • Full Member
  • ***
  • Posts: 205
  • BHP: 9
Re: Stm32f105 ARM based dauther board for vems for canbus
« Reply #16 on: August 14, 2017, 06:56:54 am »
That is not the problem if you get all ids that DSG expects from the car. Then we can emulate it.

I did emulate abs in Wrangler to enable Mercedes automatic gearbox to work with mercedes diesel engine...

Offline Kamuto

  • Hero Member
  • *****
  • Posts: 814
  • BHP: 19
Re: Stm32f105 ARM based dauther board for vems for canbus
« Reply #17 on: August 14, 2017, 12:51:26 pm »
That is not the problem if you get all ids that DSG expects from the car. Then we can emulate it.

I did emulate abs in Wrangler to enable Mercedes automatic gearbox to work with mercedes diesel engine...
anyway i still dont see your wiki page ;)
Vems installer in Lithuania
[email protected]

Offline gunni

  • Hero Member
  • *****
  • Posts: 1492
  • BHP: 37
Re: Stm32f105 ARM based dauther board for vems for canbus
« Reply #18 on: August 19, 2017, 07:39:03 pm »
Wiki = VEMS might do something (propably not though)
No Wiki = VEMS won't do anything.

Offline mr_g

  • Full Member
  • ***
  • Posts: 205
  • BHP: 9
Re: Stm32f105 ARM based dauther board for vems for canbus
« Reply #19 on: September 04, 2017, 10:34:50 am »
Here you go. Preliminary daughter board.
Canbus port, KWP port, 2xUART to vems, MCP3208 emulator, 2 A/D inputs, gyro-mems, etc...






Offline mr_g

  • Full Member
  • ***
  • Posts: 205
  • BHP: 9
Re: Stm32f105 ARM based dauther board for vems for canbus
« Reply #20 on: September 04, 2017, 10:39:47 am »
Here is daughter board card for H-bridge (drive by wire)



and here is 10x 17A minus output expander (1wire)



and here is IO 1wire expander



I love making small gadgets.. :D

Offline Kamuto

  • Hero Member
  • *****
  • Posts: 814
  • BHP: 19
Re: Stm32f105 ARM based dauther board for vems for canbus
« Reply #21 on: September 04, 2017, 11:15:29 am »
Here is daughter board card for H-bridge (drive by wire)



and here is 10x 17A minus output expander (1wire)



and here is IO 1wire expander



I love making small gadgets.. :D
folowing that :)) btw, can I get H-bridge files? :D
Vems installer in Lithuania
[email protected]

Offline MWfire

  • Hero Member
  • *****
  • Posts: 721
  • BHP: 35
Re: Stm32f105 ARM based dauther board for vems for canbus
« Reply #22 on: September 04, 2017, 10:44:16 pm »
IMHO H bridge driver need some improvements.  First there isn't any resistor between gate drive and driver. This  will kill mosfet during to fast closing. Second P and N mosfet are driven with same signal, this will give very big current during switching(N type(5ns+18ns) is much faster than P type(26ns+41ns)).
I don't see any capacitor on driver (tc4428), a lest 100nF is need. Also during turning of the DBW, energy from spring will make power(current). Because there isn't a capacitor and surge protector diode, that current will fry mosfets and driver.
Also heat sink for mosfet is to small.

Offline mr_g

  • Full Member
  • ***
  • Posts: 205
  • BHP: 9
Re: Stm32f105 ARM based dauther board for vems for canbus
« Reply #23 on: September 05, 2017, 11:54:41 am »
2mwfire: AP4506GEH have protection diodes inside... http://www.a-power.com.tw/files/AP_ProductData/PD_File/AP4506GEH.pdf

TC4428 http://ww1.microchip.com/downloads/en/DeviceDoc/20001422G.pdf

OK, 100nF can be added between GND and +15 below second AP4506. I forgot about that.

Heat sink is VEMS board because this boards solders on VEMS board exactly below IGN7-4 transistor places on VEMS board.

I asked you about current spikes while switching and you smiled at me about that... Now you are saying that I was right about currents.. :D

Offline mr_g

  • Full Member
  • ***
  • Posts: 205
  • BHP: 9
Re: Stm32f105 ARM based dauther board for vems for canbus
« Reply #24 on: September 06, 2017, 12:03:38 pm »
OK. So I have redefined the board. I have added IRF5305 so it doesn't need an external relay for power on (safety output P259 connect internally to Is pad), and 4 resistors in parallel with diodes to cope with Mosfet dead time. If you don't have outside flyback diode, you can simply add on 30V diode over +30 and GND... Ip is internally connected on PWM..



It is only 33x25mm in size and it solders on VEMS board. The bottom layer is GND all the way for better cooling and soldering on VEMS you get to use pins 10,11 for output and 12 for power supply for ETC.

Here is how it is positioned...





Fire, do you have any other complaint before I make another PCB's? What do you think?
2Kamuto: Yes of course. When MWfire confirms that it's ok, I will send you the files... I'm making myself a few pieces, and I could send you one PCB when it is done... :)

Offline mr_g

  • Full Member
  • ***
  • Posts: 205
  • BHP: 9
Re: Stm32f105 ARM based dauther board for vems for canbus
« Reply #25 on: September 06, 2017, 01:41:00 pm »
Here you go.. Latest version with better cooling, and added little mosfet N for safety output (I259 connected directly from VEMS PCB). I just hate many wires inside VEMS housing...


Offline mr_g

  • Full Member
  • ***
  • Posts: 205
  • BHP: 9
Re: Stm32f105 ARM based dauther board for vems for canbus
« Reply #26 on: September 08, 2017, 01:25:13 pm »
The final testing position of pins on canbus daughter board before sending PCB to manufaturer.


The final testing position of pins on H bridge daughter board.

Offline wersch

  • Jr. Member
  • **
  • Posts: 60
  • BHP: 1
  • ECU installer in Sweden
Re: Stm32f105 ARM based dauther board for vems for canbus
« Reply #27 on: September 08, 2017, 08:04:19 pm »
Nice job!
Vems should really consider you offer.

Offline mr_g

  • Full Member
  • ***
  • Posts: 205
  • BHP: 9
Re: Stm32f105 ARM based dauther board for vems for canbus
« Reply #28 on: September 11, 2017, 10:12:02 am »
Thank you wersch.

I have had some new ideas and browsed through the board and added KWP2000 support, and rotated connector because stepper chip on VEMS was in the same position... :) I think this one is going to PCB manufacturer...



Offline Kamuto

  • Hero Member
  • *****
  • Posts: 814
  • BHP: 19
Re: Stm32f105 ARM based dauther board for vems for canbus
« Reply #29 on: September 11, 2017, 04:19:16 pm »
it gets more and more interesting :))
Vems installer in Lithuania
[email protected]