Another SMD lebowski PCB

Electric Motors and Controllers

Re: Another SMD lebowski PCB

Postby bobc » Wed Apr 19, 2017 2:30 pm

No 1 built up, I'll put some electrons in there tomorrow.....
DSC01707.JPG
1st assembled control board
DSC01707.JPG (120.09 KiB) Viewed 378 times

1st power up test: PSUs all right and drive_0 LED lit. - good
bad - 1) micro seemed to be sweating a bit (56C in a 25C ambient) - 2) freewheel diode in 5V PSU way too hot, probably inappropriate, I'll look at a swap
RS232 comms not yet tested, I'll try to do that tomorrow - might be able to check out throttle interface too
Last edited by bobc on Thu Apr 20, 2017 3:45 pm, edited 1 time in total. View post history.
bobc
100 kW
100 kW
 
Posts: 1001
Joined: Thu Jan 20, 2011 5:08 pm
Location: Knutsford England

Re: Another SMD lebowski PCB

Postby Volttan » Sat Apr 29, 2017 3:57 am

IMG_6249.JPG
IMG_6249.JPG (92.46 KiB) Viewed 336 times

IMG_6246.JPG
IMG_6246.JPG (72.24 KiB) Viewed 336 times


Big thanks Bob, very cool board. RS232 communication works, on Monday the connection to the power module and check whether everything works.
Volttan
1 mW
1 mW
 
Posts: 12
Joined: Thu Sep 29, 2016 11:44 am
Location: Sokołów Podlaski Poland

Re: Another SMD lebowski PCB

Postby bobc » Sun Apr 30, 2017 12:17 pm

good news - you're way ahead of me now (won't be home til next week)
microcontrollers are pretty simple to drive, give it 5V and it will strut its stuff - The fun starts in the application.....
hopefuuly it has a goodly ground plane & reasonable power net route and should behave OK - being small is an advantage too :)
bobc
100 kW
100 kW
 
Posts: 1001
Joined: Thu Jan 20, 2011 5:08 pm
Location: Knutsford England

Re: Another SMD lebowski PCB

Postby bobc » Tue May 09, 2017 7:16 am

Back to work.... OK there was a problem with the 15V switcher, it was the tantalum capacitor, these are simply too good (very low parasitics) and it was stopping the control loop in the LM5017 working properly. I swapped the capacitor for an Al can electrolytic & all was sweetness and light (+ on board temperatures reduced by nearly 100 degrees !!!!) A change to the feedback circuit would also have worked (even better) but would cost time (re-layout) and frankly this is totally good enough.
Oh yeah, changed the diode on the 5V supply for a shottky - that brought local temps down by 40 to 50degrees too..
Last edited by bobc on Tue May 09, 2017 7:19 am, edited 1 time in total. View post history.
bobc
100 kW
100 kW
 
Posts: 1001
Joined: Thu Jan 20, 2011 5:08 pm
Location: Knutsford England

Re: Another SMD lebowski PCB

Postby whereswally606 » Tue May 09, 2017 7:25 am

so how far away are we from putting this on my scooter Bob? zoom zoom zoom. So much work to do on the office at the moment havent any time to come help.
Distributing "Lebowski" FOC Controller PCB (Through hole) since 2016
Moped: Emax 110s 2009
whereswally606
100 kW
100 kW
 
Posts: 1033
Joined: Sun Jun 19, 2011 2:11 pm
Location: Cheshire, UK

Re: Another SMD lebowski PCB

Postby bobc » Tue May 09, 2017 1:56 pm

months maybe years Andy.... :)
Plugged it into RS232 & plugged setup jumper; yep all good.
plugged in a thumb throttle, calibrated, coefficients 1 0 0 throttle test perfect.
Looking good so far!
Needs a power stack to get much further, I can check gate drive PWM but that's about it.
bobc
100 kW
100 kW
 
Posts: 1001
Joined: Thu Jan 20, 2011 5:08 pm
Location: Knutsford England

Re: Another SMD lebowski PCB

Postby bobc » Wed May 10, 2017 2:54 pm

Here is PWM at 20kHz with 25% duty cycle and 300ns dead time.
So that's working.
25pc20khz.JPG
25% duty at 20kHz with 300ns dead time
25pc20khz.JPG (88.34 KiB) Viewed 237 times

bad news is that I think I zapped one of the micro outputs with 15V.... I need to use my newky brown bottle bottom specs when I'm working on this small stuff :(
bobc
100 kW
100 kW
 
Posts: 1001
Joined: Thu Jan 20, 2011 5:08 pm
Location: Knutsford England

Re: Another SMD lebowski PCB

Postby bobc » Thu May 11, 2017 6:52 am

Question for Lebowski.....
The pickit interface: microchip say that to use the debugger you can't have pullups on PGD and PGC.
The standard control board (and this little one) DO have both pullups on these pins AND a PICkit interface. Does this lead to reprogramming problems? - did you ever use the PICkit interface on the board?
I ask because if I need to reprogram for whatever reason, I will be sending you the whole board (not just the chip) and expecting you to use the PICkit programming interface :)
bobc
100 kW
100 kW
 
Posts: 1001
Joined: Thu Jan 20, 2011 5:08 pm
Location: Knutsford England

Re: Another SMD lebowski PCB

Postby Lebowski » Thu May 11, 2017 8:49 am

bobc wrote:Question for Lebowski.....
The pickit interface: microchip say that to use the debugger you can't have pullups on PGD and PGC.
The standard control board (and this little one) DO have both pullups on these pins AND a PICkit interface. Does this lead to reprogramming problems? - did you ever use the PICkit interface on the board?
I ask because if I need to reprogram for whatever reason, I will be sending you the whole board (not just the chip) and expecting you to use the PICkit programming interface :)

I use my standard board for development of the controller IC and reprogram the chip daily :D but I never use the debug feature, only the programming feature and I can imagine it is different.
User avatar
Lebowski
1 GW
1 GW
 
Posts: 3033
Joined: Tue Jun 28, 2011 1:38 am
Location: beautiful Zurich, Switzerland

Re: Another SMD lebowski PCB

Postby bobc » Thu May 11, 2017 9:23 am

That's good. Having fried an IO port on one, I'll swap it for an empty chip & post it to you to see how it goes.
Having the "plug" on the control board makes it almost inevitable that you'll tater it during debug, I'm swapping everything to having a socket on the little board and the "plug" on the inverter...
Like Voltan did above.

Still learning.........

Oh yeah - I'll populate the PICkit plug position too :)
bobc
100 kW
100 kW
 
Posts: 1001
Joined: Thu Jan 20, 2011 5:08 pm
Location: Knutsford England

Re: Another SMD lebowski PCB

Postby bobc » Fri May 19, 2017 2:07 pm

Been quiet for a bit - working through power supply issues.
The main issue is that some retard at work had put a red plug on a black wire & corresponding black plug on red wire (of some clip=on power leads). I've been zapping stuff with negative polarity for weeks. Good trick to remember if you really want to do somebody's head in.
So, 3 working boards now, just need some passives adding.
And a corresponding power board...........
bobc
100 kW
100 kW
 
Posts: 1001
Joined: Thu Jan 20, 2011 5:08 pm
Location: Knutsford England

Re: Another SMD lebowski PCB

Postby whereswally606 » Mon May 22, 2017 7:21 am

Looking forward to the progress. got no time in the next few weeks though as busy building the office. So so busy. after that its paternity leave so i should have a bit of spare time then. but probably less than id like. :shock:
Distributing "Lebowski" FOC Controller PCB (Through hole) since 2016
Moped: Emax 110s 2009
whereswally606
100 kW
100 kW
 
Posts: 1033
Joined: Sun Jun 19, 2011 2:11 pm
Location: Cheshire, UK

Previous

Return to Motor Technology

Who is online

Users browsing this forum: No registered users and 7 guests