Lebowski said:basically I got the same functionality just not the fancy interface
Plus a different (better in my opinion) algorithm running the motor
just measured, it takes 9.7 usec to do ADC measurements, compute everything and output the new PWM settings.
Improvement on this number is possible so it will be possible to run at over 100 kHz loop frequency !
Pity processing the analog throttles takes 6 usec, but that's only done 100 times a sec.
You can actualy switch between the internal oscilator and an external crystal on the fly, SO I was thinking about running a faster PWM frequency for the startup then at X rpm have it drop down to a lower PWM frequency to help reduce switching losses.liveforphysics said:Lebowski said:basically I got the same functionality just not the fancy interface
Plus a different (better in my opinion) algorithm running the motor
just measured, it takes 9.7 usec to do ADC measurements, compute everything and output the new PWM settings.
Improvement on this number is possible so it will be possible to run at over 100 kHz loop frequency !
Pity processing the analog throttles takes 6 usec, but that's only done 100 times a sec.
That is really fast Lebowski. Seems like you should be able to control some very sharp rise dI/dT motors with that speed. And run them up to very high RPM. This is exciting stuff.
1) loop sample frequency: 40.00 kHz
2) 1st order phase loop integrator coefficient: 0.0709
3) 2nd order phase loop integrator coefficient: 12.7999
4) amplitude loop integrator coefficient: 3.0899
5) maximum amplitude: 120 %
9) return to main menu
1) calibrate throttle 1
2) calibrate throttle 2
3) polynomal coefficients throttle 1 (x, x^2, x^3): -1.0000, 0.0000, 0.0000
4) polynomal coefficients throttle 2 (x, x^2, x^3): 0.1022, 0.3842, 0.4982
5) use analog throttle 1: YES
6) use analog throttle 2: NO
receive throttle over CAN: NO
7) TX throttle over CAN: NO
8) test throttle
9) return to main menu
------> 1
close or hold slight open throttle 1 for offset measurement
press any key to begin measurement
measured voltage: 1174 mV
fully open throttle 1
press any key to begin measurement
measured voltage: 3960 mV
InstaSPIN™-BLDC Solution
In keeping with TI’s philosophy of making motor control more accessible and easier to use by design engineers, TI is proud to announce the release of its newest motor control technology, InstaSPIN-BLDC. Targeted at low cost BLDC applications, InstaSPIN-BLDC is a sensorless control technique based on the premise that “simple is better”. In field tests with over 50 different motor types, InstaSPIN-BLDC was able to get each motor up and running in less than 20 seconds! The reason for this incredible robustness is because InstaSPIN-BLDC doesn’t require any knowledge about motor parameters to work, and you only need to adjust a single tuning value.
Unlike other sensorless BLDC control techniques based on back-EMF zero-cross timing, InstaSPIN-BLDC monitors the motor’s flux to determine when to commutate the motor. With the help of a free GUI (see figure), the user can watch the flux signal in a plot window, and set the “Flux Threshold” slider to specify at what flux level the motor should be commutated. Optimal commutation can be verified by observing the phase voltage and current waveforms, which are also displayed.
In addition to its ability to work with just about ANY BLDC motor, InstaSPIN-BLDC has demonstrated incredible resilience to speed transient perturbations. With zero-cross timing, you are always using PAST information to predict FUTURE commutation events. But InstaSPIN-BLDC monitors a real-time flux waveform to determine the appropriate time to commutate. Abrupt speed changes will be reflected in the flux waveform in real time, so that it will still cross the specified threshold value at exactly the right time to commutate.
Using flux for commutation vs. back-EMF zero-cross timing also enables more stable operation at lower speeds. Unlike the flux signal, the back-EMF signal amplitude diminishes at lower speeds, resulting in poor signal-to-noise performance. InstaSPIN-BLDC enables smoother operation at low speeds, and provides more reliable motor starting, even under heavy loads.
I don't think its possible to have all three driven all the time... I am pretty sure its just one phase actualy energised at a time. If you try to fire a second or third phase while the first one is still energized it will likely need one of the fets from the oposite side of one of the 2 H bridges besing used in the first phase so it will just creat a pass though event ( you will be turning on a positive fet and a negative fet on the same bridge at the same time and just shorting them out)bearing said:I'm impressed by your work Lebowski, and looking forward to follow your progress.
One thing is bugging me, though. You say the motor is driven with true three-phase sinusoidal currents. I like that. But I don't understand how it can be sensorless at the same time. If all phases are continuously driven, then there is never an undriven phase to measure the back-EMF on. Would you like to explain how this works? (or is it part of the secret sauce that you don't want to give away for free?)
bearing said:I'm impressed by your work Lebowski, and looking forward to follow your progress.
One thing is bugging me, though. You say the motor is driven with true three-phase sinusoidal currents. I like that. But I don't understand how it can be sensorless at the same time. If all phases are continuously driven, then there is never an undriven phase to measure the back-EMF on. Would you like to explain how this works? (or is it part of the secret sauce that you don't want to give away for free?)
It is impossible to replicate that with 3 H bridges. You only actualy get one peak at a time. Other wise you would get a blown H bridgec_a said:three phase sinus:
Alan B said:My present understanding:
In three phase sensorless drive the phase current/voltage relationships are used to determine the rotor position since all three phases have driven current and back EMF is obscured by the drive voltages.
Here is one way to do it (sensored). (With three half bridges.)Arlo1 said:It is impossible to replicate that with 3 H bridges. You only actualy get one peak at a time. Other wise you would get a blown H bridge
I never stated DC. With "driven" I meant "PWM-driven with a sinusodial shape to the duty cycle".Gordo said:Where does the conclusion that true three-phase current is a DC state come from?
I'm not sure if you are trying to explain something simple to me here, or if there was something in depth in there. In that case I missed the point. I have a good understanding of electronics and the many ways to implement motor drives.Gordo said:The current and voltage are switched, (AC) going from zero to maximum and back to zero. Therefore there is back-EMF to measure.
Alan B said:In three phase sensorless drive the phase current/voltage relationships are used to determine the rotor position since all three phases have driven current and back EMF is obscured by the drive voltages.
Gordo said:Alan B said:My present understanding:
In three phase sensorless drive the phase current/voltage relationships are used to determine the rotor position since all three phases have driven current and back EMF is obscured by the drive voltages.
Are the SOIC ACS714-20 current sensors used because the back EMF can't be seen?