Go Back  

DIY Electric Car Forums > EV Conversions and Builds > Controllers

Register Blogs FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
  #11  
Old 06-20-2010, 11:36 AM
jhuebner's Avatar
jhuebner jhuebner is offline
Senior Member
 
Join Date: Apr 2010
Location: Germany
Posts: 125
jhuebner is on a distinguished road
Default Re: Another homebrew AC-controller

Quote:
Originally Posted by JRoque View Post
What language and target hardware do you code for? I'm doing mostly basic and assembler on Atmel chips with some dabbling on C. I believe the Tumanako open source project is C exclusively and might be a good reference - or you can lend a hand in their effort
Sorry JRoque, totally missed that question. I only code in C so far. As mentioned I'm still using a PC for sine Wave generation. Thus I wrote a C program on top of a linux kernel with the Xenomai real time patch.
I don't need to use lookup tables since the PC can probably calculate 1000 sine Waves during one PWM period.

Now I am indeed planning to join the Tumanako project. Their code is written in C/C++ and runs on an STM32 µC.

Yesterday I wanted to employ my redesigned IGBT contact board but it was mirrored So now I built a mechanical prototype that looks like that:


Of course the controller board is missing here because it simply non-existent

/Johannes
Reply With Quote
Sponsored Links
  #12  
Old 06-21-2010, 10:36 AM
JRoque JRoque is offline
Senior Member
 
Join Date: Mar 2010
Location: Miami, FL USA
Posts: 691
JRoque is on a distinguished road
Default Re: Another homebrew AC-controller

Hey Johannes,

Quote:
Now I am indeed planning to join the Tumanako project.
Yes I saw your introduction to the team, that's excellent news. To be honest I kinda felt they were cutting themselves short by using a prebuilt external IGBT pack, but I'm warning up to the idea now. I also didn't like the $595 price tag they put on the board the team is developing. That number seems high - and suspiciously Marketing-driven - for an open source project. I've participated in more than one "open source" project where after it was developed, the principals decide it's a good commercial product and split further development to their own branch leaving the open source lagging behind. Hopefully this is not the case here since some of us can really use it for our DIY projects.

Quote:
Yesterday I wanted to employ my redesigned IGBT contact board but it was mirrored
You mean you didn't mirror the layer before routing it? If so, you have company on that corner. I must have done that so many times in my prototypes I lost count. Now I keep a steps list before I cut my proto boards and one of the steps is "mirror used bottom layers"

Do you route your own boards or is that chemically etched?

JR
Reply With Quote
  #13  
Old 06-21-2010, 02:14 PM
jhuebner's Avatar
jhuebner jhuebner is offline
Senior Member
 
Join Date: Apr 2010
Location: Germany
Posts: 125
jhuebner is on a distinguished road
Default Re: Another homebrew AC-controller

Quote:
Originally Posted by JRoque View Post
Yes I saw your introduction to the team, that's excellent news. To be honest I kinda felt they were cutting themselves short by using a prebuilt external IGBT pack, but I'm warning up to the idea now. I also didn't like the $595 price tag they put on the board the team is developing. That number seems high - and suspiciously Marketing-driven - for an open source project. I've participated in more than one "open source" project where after it was developed, the principals decide it's a good commercial product and split further development to their own branch leaving the open source lagging behind. Hopefully this is not the case here since some of us can really use it for our DIY projects.
I'm not planning to buy any custom-built hardware for now. I picked up some board with an STM32 from work. Concerning the power stage I'll just use what I've got so far. I designed it with a lot of help from Semikron themselves so I think the chances are good for it to actually work.


Quote:
Originally Posted by JRoque View Post
You mean you didn't mirror the layer before routing it? If so, you have company on that corner. I must have done that so many times in my prototypes I lost count. Now I keep a steps list before I cut my proto boards and one of the steps is "mirror used bottom layers"
Yeah kinda like that Top and bottom line up perfectly but when putting it on top of the module it is "right side left".

Quote:
Originally Posted by JRoque View Post
Do you route your own boards or is that chemically etched?
Erm what? It's both I did the layout with a program called FreePCB, printed it on a photo-sensitive board and etched everything away that wasn't black.

/Johannes
Reply With Quote
  #14  
Old 07-28-2010, 03:07 PM
jhuebner's Avatar
jhuebner jhuebner is offline
Senior Member
 
Join Date: Apr 2010
Location: Germany
Posts: 125
jhuebner is on a distinguished road
Default Re: Another homebrew AC-controller

Progress is slow but visible:



I've mounted IGBT and drivers to a large heatsink and am now driving it with an STM32 with the help of the Tumanako project. I've implemented a very simple sine Wave generator which I submitted to Tumanako.

It also looks like I'm close to cracking the current sensor issue with the help of the DRV401 IC. Tumanako has already implemented the field oriented control methods and is waiting for a suitable driver model to run it on.

I'm pretty optimistic that we'll have a working inverter soon, though not road legal...

/Johannes
Reply With Quote
  #15  
Old 09-01-2010, 08:32 PM
Automcdonough Automcdonough is offline
Member
 
Join Date: Sep 2010
Posts: 81
Automcdonough is on a distinguished road
Default Re: Another homebrew AC-controller

I'm a little worried about the board to IGBT connection not being physically stout enough, especially when you have more than 40A or so going through them. Probly won't happen with no load on the motor, but when you really put this to the test I think that will be the weak link.
Also 8 bit ought to be enough, it doesn't need to be silky smooth looking.
Reply With Quote
  #16  
Old 09-01-2010, 11:42 PM
JRoque JRoque is offline
Senior Member
 
Join Date: Mar 2010
Location: Miami, FL USA
Posts: 691
JRoque is on a distinguished road
Default Re: Another homebrew AC-controller

Hi. Are you referring to the IGBT driver board? I'm not sure where you say there will be 40 amps. The driver board won't put out that much and the IGBT will likely switch 400 A. Typo maybe?

JR
Reply With Quote
  #17  
Old 09-02-2010, 12:04 AM
jhuebner's Avatar
jhuebner jhuebner is offline
Senior Member
 
Join Date: Apr 2010
Location: Germany
Posts: 125
jhuebner is on a distinguished road
Default Re: Another homebrew AC-controller

Hi!

Heres a better picture:



The high current connections are made through the slugs that are screwed onto the board. The small wires are just used for driving the IGBT gates. Do you still think this connection could be overloaded? Oh BTW: theres just a 90A IGBT module beneath, so its not really high performance yet unless run at 800V or so

/Johannes
Reply With Quote
  #18  
Old 09-02-2010, 07:23 AM
Automcdonough Automcdonough is offline
Member
 
Join Date: Sep 2010
Posts: 81
Automcdonough is on a distinguished road
Default Re: Another homebrew AC-controller

Sorry I misunderstood what I was looking at, for some reason I thought you were intending to pump serious current through that control board!
Reply With Quote
  #19  
Old 09-19-2010, 03:15 AM
MPaulHolmes MPaulHolmes is offline
Member
 
Join Date: Feb 2008
Posts: 71
MPaulHolmes is on a distinguished road
Default Re: Another homebrew AC-controller

Awesome job, Johannes!!! You are the man. I can't wait to see you driving down the road with that sucker!
__________________
EV benefit #459: If you are clinically depressed, it's ok to go to the garage, turn your car on, and just sit there. But people will know it's just a cry for help.
Reply With Quote
  #20  
Old 09-26-2010, 02:02 PM
jhuebner's Avatar
jhuebner jhuebner is offline
Senior Member
 
Join Date: Apr 2010
Location: Germany
Posts: 125
jhuebner is on a distinguished road
Default Re: Another homebrew AC-controller

Thanks Paul



This weekend i learned my lesson about EMI. All the power cables were rather thin and I lacked an intermediate circuit capacity. As a result I was unable to read the motor shaft encoder because the MCU would count tons of spikes caused by the PWM. Voltage spikes on the DC bus would reach +-100V (at bus voltage of 80V and the motor idling)
As you can see, there are thicker cables now and a large capacitor. The voltage spikes have dropped to around +-5V and I can cleanly read the encoder. Well, sort of. I have to use the STM32s digital filter to get a clean count.
So, next I can implement a simple slip controller with the simple equation slip ~ torque (thats what it says in my text book)

/Johannes
Reply With Quote
Sponsored Links
Reply

Share or Bookmark this

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

 

All times are GMT -6. The time now is 07:05 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Copyright 2009 Green Web Publishing LLC
Ad Management by RedTyger