Ricky_nz
10 kW
Hi Roy,RWP said:Hi Ricky,
Been following your thread with great interest. Thank you for your pioneering work.
I would like one or two of the boards when they are ready. While a relatively good solderer I am not so interested in soldering surface mount components to the board. Hoping one option would be a board with all the surface mounted parts attached.
Cheers,
Roy
I can only manage to hand solder a few boards at a time although the last two I buuilt at the same time as it was much quicker as I only had to find each part once but once I get out of the software and hardware development phase
I will have to look at the toaster oven methods of soldering boards with solder paste etc unless I find someone else who is keen to assemble a batch.
I will just have to see how things go. I would think at least organising some way to assembly the control boards quickly would be a good start as the power electronics board has much less surface mount parts and is really easy to assemble apart from lots of heat being required.
Thanks, Im hoping I don't disappoint :lol:.liveforphysics said:You are awesome Ricky! So many folks are patiently and excitedly waiting on every new update of your awesome project.
So far it seems to be going ok and I'm learning a lot about motor control with 3 phase etc.
Other news:
I have finally solved a problem where on half the power ups the board/software would go so far and hang but if you touched it it might start and run. I found the problem trying to probe the ADC clock input and the scope probe touching a locked up board started it. a few more power cycles and I discovered in the locked up state there was no clock to the ADC. The 8MHz clock for the ADC comes from the micro clock out and I had ended up with a race condition where some times a PWM interrupt would occur before the ADC had clock and there is a busy loop in the interrupt checking that the ADC has finished the conversion and with no clock it was never not busy hence the lockup. The fix move the clock output enable from the wrong place ( from early testing) to inside the ADC initialise routine well before the PWM interrupt is enabled and then all is well. Every boot is a good one now.
I was worried I had an issue with the 3V micro and 5V ADC or something related to that but I had checked the thresholds and they are all good.
I have now fitted the voltage divider to measure the DC bus voltage and calibrated the ADC input. I added a new commend to the command line STatus which prints out interesting values in human readable form. I converted the measured voltage from 'per unit' back to Volts using the base voltage. There is some thing satisfying about having a real voltage printed out on the command line although previously seeing 0.36 was ok but to see 14.4V is much better. I have added the code to display the phase currents in this same command and as soon as I implement the first order filter for the RMS I should be able to print RMS currents on the command line.
I have started on the proper protection code and have added under / over voltage protection based on the measured bus voltage using the ADC at the PWM rate. I will add the hardware voltage trip soon. I have a small issue with resetting the control code after a trip but I have a solution and just need to implement it.
I will also add a software current trip so I can set a current limit much lower than the hardware one which will be useful for the next set of tests I want to do which are full voltage at low current.
I did a test earlier today where I ran it at 70A RMS / phase for a couple of minutes. This was mainly reactive current as I have no way to load the motor yet. I did detect some heating in the main electros so I think I will go ahead and fit the film capacitors in addition to the 1uf ceramic SMD caps in the free locations on the PCB. I have a couple of possible values and types to consider. The heating could also be because my power supply running it is being stressed (possible sagging) and is connected via about 1 meter of cable.
Since the target current per phase for the 80-100 180 is 85A RMS/phase its looking good.
I should be able to push more than 85A/phase once I get things finalised and actually run it off LIPO but that doesn't happen until all protections are in place.
I also are finding the nickel plated brass bolts I am using to attach the outputs to the PCB are getting quite warm/hot.
I probably need to tighten them to the board a bit more when I next unbolt everything from the heatsink. Maybe even solder them to the PCB. I guess I could just not use bolts and just solder output wires into the hole in the PCB but bolts and lugs are more convenient for prototyping etc. I guess unless I can find copper bolts (do they exist?) these are probably the best I can do and some of it may be that they are just not tightened enough.
I have the bolt go through the PCB and have one nut on top and then the lug and a second nut. I suspect I would get lower resistance by sitting the lug directly against the pcb and just using one nut above it so the lug itself contacts the PCB rather than having to go through the brass nut. The PCB is not likely tu be crushed as the hole is surrounded in vias that are all filled with solder.
Still no hardware failures so far but a full/near full voltage test is on the horizon, 75V version, I will probably take it up to 57V to begin with ( have a handy 57.4V stack of 150W meanwells) and if all is well push towards 70 with another supply in series.
Once I have done the full voltage low current test in addition to a low voltage full current test I will know that the power electronics are capable of the full current/voltage which isn't easy to test on the bench.
Bad bearing:
I am almost certain now that my first motor has a bad bearing. Scraping noises / squeeky noises etc depending on RPM setting. also run at low current at reasonable speed the motor heats up around the skirt bearing. Hopefully these aren't too hard to replace. I will probably leave it as it is for now as It shouldn't cause problems in my test stand apart from a bit of load and heating. hopefully my 1 year newer motor doesn't have the problem as thats the one I intend to fit to a bike first.