PWM into 6 amps using the VNH3SP30TR-E Hbridge IC.
Digital Junkie
Posts: 11
I am using the VNH3SP30TR-E and a propeller. I am using PWM object at 1Khz and sending this signal into the VNH3SP30TR-E. My problem is that the Power supply I am using begins to make a high pitched hum when running around 60%(duty cycle) and below (PWM object). My motor is a 6 amp motor @ 15 Volts
Any ideas of how I can over come this issue? Any discussion will be appreciated.
Mean well SP-200-15:
www.mouser.com/ProductDetail/Mean-Well/SP-200-15/?qs=6olcXJbp99SfiTvwqdXr1Q%3d%3d
VNH3SP30TR-E:
www.st.com/stonline/products/literature/ds/12688/vnh3sp30-e.pdf
Any ideas of how I can over come this issue? Any discussion will be appreciated.
Mean well SP-200-15:
www.mouser.com/ProductDetail/Mean-Well/SP-200-15/?qs=6olcXJbp99SfiTvwqdXr1Q%3d%3d
VNH3SP30TR-E:
www.st.com/stonline/products/literature/ds/12688/vnh3sp30-e.pdf
Comments
At first guess I would say it has something to do with the supply and it being a switched supply. Perhaps noise generated by the pulse width modulation of the H-Bridge is affecting the feedback circuit on your power supply? Are you also noticing voltage fluctuations when this happens? How about noise? You would need a scope for that.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering
50 72 6F 6A 65 63 74 20 53 69 74 65
·
I have a scope and the only thing I notice is that the 15Volt pulse begins to grow smaller as the duty cycle is decreased. Its a great looking square wave on the scope. I also don't see any noise however I am inclination is that the Power Supply's transformer is the source of the "Hum". Do I place the scope on the output of the power supply to try and acquire a noise signal? Do you think that the power supply is under rated or that prolonged use may damage the supply? Also any test that you can think of that I can run to learn more on this issue?
The power supply you’re using (or at least the one you linked) doesn’t usually have a transformer like a linear supply. Some do, but most have switching circuits that function without them. The switching supply can sometimes whine during peak current although it does say the unit you have has constant current limiting. What happens if you increase your PWM frequency to 4kHz?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering
50 72 6F 6A 65 63 74 20 53 69 74 65
·
...I think that I can let the Hum slide but its always on my mind and I cant let it go.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering
50 72 6F 6A 65 63 74 20 53 69 74 65
·
So this line of code using the PwmAsm object would run the IC at 80Hz? If so Ill calculate and run it at 4Khz.
P.S. Why are you suggesting 4Khz? Is there a reason behind that frequency or just an random test frequency?
Post Edited By Moderator (Chris Savage (Parallax)) : 9/29/2009 8:41:06 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering
50 72 6F 6A 65 63 74 20 53 69 74 65
·
If you dynamically match the PWM base frequency to the 'rpm times the number of armature coils', in most cases you won't hear any motor whine.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
Yea I ran it at 10Khz and the noise was about 10Khz. I could hear the Power supply buzzing/ I am running it lower but lost some control of the motor.
I am not sure about the PWM object it has conflicting comments posted in the period section. I cant decipher the assembly code to verify.
Its not the motor that is making the noise its the Power supply. I can hear it with my ears as if its not adequate or I am PWM too much current. At full speed no noticeable noise it present its when I run at 20% duty cycle etc..
Changing the PWM frequency can help and even changing the frequency along with the pulse-width is a solution. I have some A3985 micro-stepper drivers hooked to some mosfets to handle these motors but the oscillator is driven directly from the Prop so I can change the PWM frequency at will.
BTW, just reading your post again it sounds like you are trying to match the power-supply voltage and the coil voltage but that's not the usual way to do it as you are better off with a much higher power supply voltage relative to the coil voltage as the PWM controller will regulate the current anyway but the higher voltage increases the torque.
Just try the big capacitor as a solution. As a rule of thumb around 4,700uf low ESR should be good. Smaller higher ESR caps can be used in parallel for a similar effect.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
*Peter*
I was thinking about using an inductor in series of the motor, wont this be a better choice than a cap? I would calculate using the XL = 2πfL.
Most of these SMPSUs are designed to drive nice clean electronics and not great big motors so don't be surprised when they whinge and whine. A capacitor is an easy thing to add and test and may be all that is required. Just an extra thought though, you could add a series inductor in the supply and then the filter capacitor to isolate the PSU (in this case) from the "ups and downs" of driving motors. The inductor needs to be fairly large though and handle a bit of current so I leave that to you as an area of experimentation.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
*Peter*