Hi All,
Just had another play this evening.
I decided to just fir the 1uf ceramic SMD caps across each FET and the main 4x680uF electros.
I did a few tests at the 50A I've limited it to at the moment and measured the ringing on the DC bus with 1 1uF cap per MOSFET pair and a couple across the input electros.
Its really hard to avoid noise pickup to make these measurements with a standard scope probe :lol: .
The earth clip lead works as a really good antenna. I wrapped the excess around the probe to reduce pickup.
There is still a small amount of ringing but some of that could still be pickup.
View attachment ADS00014.BMP
Occasionally there is a noisy burst (higher frequency) that isn't much worst in amplitude. I should really figure out what that is.
Since my scope and PC aren't isolated I disconnected the PC from the controller once I setup the test PWM levels and run the controller off isolated supplies. The only ground was through the scope.
I don't want an unexpected high current through a ground conductor. One of my work mates did that to his work PC :lol:. He took out the PSU & Motherboard and a pic debugger
He was lucky the PC was about to be replaced anyway.
Originally I only fitted 1uF caps for just the phase I was testing on and the level was higher.
Now I have caps for all phases and a couple directly across the electros and I'm running my test inductor across 2 phases and level is as the above plot.
I can add more leaded caps but I still don't have the caps I would really want. I can also add some smaller SMD caps if necessary.
I will see how things go when I start pushing the current up.
I now have the correct bolts to bolt all MOSFETS to the heatsink so I'm closer to being able to push it harder.
Also I might allow me to determine if the caps are self heating. They are warm at the moment but then again the whole board is warm without the heatsink attached (conducted heat after running for a while at 50A with no heatsink).
I also have the correct bolts for terminating phase wires and battery connections to the PCB.
I took my test inductor and my 80100 180 into work today to confirm my inductance measurements of the motor and to see how my air cored inductor compared with the motor.
The motor measures between 17uH and 29uH between 2 phases depending on rotor position.
My inductor was a little high ( too much dew
:lol: ) Took off 3 turns and now it measures 27uH.
I can take off a few more If I want to be in the middle of the motors range.
I have been talking to a few mates and I'm tempted to go straight to vector control!
I can always go back to halls etc if it dosn't work in the time frame I want.
I am working on a development plan to get it running vector control if I go that way
below is some of the steps:
1) spin of turnigy on sinewave without sensors or sensorless code (open loop). I can use this to get the current controllers working.
This will not be that usable for real applications but I get to see/hear the turnigy spin. I have had one for almost a year and haven't had anything to spin it up on so this is a priority.
I would think I can have the motor spinning on sinewave is a relatively short space of time.
2) Implement a crude startup algorithm that spins up the motor for tests (probably open loop up to some defines speed).
3) write and debug sensorless vector control using back emf techniques for medium and high speed.
4) Improve startup algorithm to be proper sensorless (The are are lots of techniques for sensorless at low speed and I need to find one that works for ebikes).
There is a huge number of papers on sensorless but we need one that works under heavy load.
If I move to sinewave the Inductor won't see too much use as I will move over to the Motor as I don't have enough wire to wind another 2 inductors and I have to run all three phases to test the current controllers. I'm confident that on my limited supply I can't hurt the motor.
The inductor will still be useful for testing the controller at higher currents by reducing complexity by running just one phase as DC but the vector control current controllers will require a 3 phase load.
One more day of work then I am on holiday with plenty of time to play with motor controllers
.
I get the feeling it is going to be a slow day at work
.
Edit:
I have had the controller pumping between 45A and 50A through my inductor for a couple of hours now. The heatsink is warm. I need to beef up the copper on the top side of the board used for the phase outputs as it gets quite warm so for higher current I will need to beef it up like I did on the bottom. This is not unexpected as I originally calculated approx 20degC rise for 50A and always expected to have to beef it up. Pretty easy to do as I designed the board to be beefed up by having areas without solder mask etc.
The HK 8 gage wire gets quite hot when wound into a coil and run for a long time
.
The leads to and from the coil are warm. It really goes to show the difference between a wire in free air and one close to others.
There has been no airflow over the heatsink and for half the time it was fins down. I stood it up to stop the heat rising through the PCB etc.
Definitely getting a bit more confident in the basic operation so I better write some software for the DQ current controllers
.
Ricky