Jump to content

PWM Switching rate anybody?


SIMON CRAGG
 Share

Recommended Posts

For my first foray into converting IC to electric, I need a 100a ESC. After some excellent advise from this forum, I have got a YGE100a version. As it is set up for Hele operation as standard, I purchased a programme card which is a work of art in itself. After watching several videos on the subject, the only grey area is the PWM switching rate, which can be set anywhere between 8 and 16 HZ. I have absolutely no idea what to set it at! Can anybody help please?.

Link to comment
Share on other sites

Posted by SIMON CRAGG on 21/10/2019 20:00:48:

which can be set anywhere between 8 and 16 HZ. I have absolutely no idea what to set it at! Can anybody help please?.

 

Set it at 16. And it's KHZ, not HZ.

Its maximum switching rate of 16 KHZ is low by modern standards. Is it quite an old controller?

Why I ask is that  with a low switching rate and lots of poles in the motor (a typical outrunner) at high RPM (high throttle)  it may not work at all - the motor will just 'judder' or worse, as you don't notice it, the efficiency at full throttle or near full throttle  and thus the flight duration, will go down.

Don't worry too much about this if you are flying an 'ordinary' plane. But you can run into this problem with pylon racers, hotliners, and EDFs, where RPM tends to be high.

Edited By Brian Stevenson 1 on 22/10/2019 07:03:10

Edited By Brian Stevenson 1 on 22/10/2019 07:04:45

Link to comment
Share on other sites

I use YGE ESCs in a couple of hotliners with 4 pole motors running at 60,000 rpm, and I have seen 80,000 rpm when a prop came off (I use on board data loggers).

I have tried both 8kHz and 16 kHz pwm at different times and both work OK (but I am now using 8kHz), so I wouldn't worry too much. It won't do any harm so just try both and pick whichever sounds best!

Dick

Link to comment
Share on other sites

Blimey! Once again the sheer scale of my ignorance of things electrical astonishes me. I happily fly 'ordinary' electric aircraft without knowing any of this. Fascinating, shall delve deeper.

Meantime, being a sucker for TLAs (Three Letter Acronyms) , what does 'PWM' stand for please? I hunted through Chris' link - most interesting but that bit I didn't find.

(I suspect it may be ~obvious, like 'WOT' turned out to be wide open throttle. Or, 'full power' for most purposes, so I was puzzled why a TLA was used)

Link to comment
Share on other sites

Posted by Gary Manuel on 22/10/2019 12:09:19:

PWM = Pulse Width Modulation

Trouble with TLAs is that they can mean different things to different people. At work (thankfully, long ago) PWM was a Process Write Monitor and it still the first that springs to my miind despite the fact I learnt about Pulse Width Modulation much before.

Geoff

Link to comment
Share on other sites

Posted by John Robertson 3 on 22/10/2019 23:32:27:

Have a look at this; https://en.wikipedia.org/wiki/Pulse-width_modulation#Servos

Then scroll down for a link to: https://en.wikipedia.org/wiki/Servomechanism

and then: https://en.wikipedia.org/wiki/Servo_control

...but PWM as used to position a servo isnt really like PWM used for power control in an ESC
Servo PWM is just a signalling system limited to between 5% and 10% duty cycle at very slow 50cps.
An ESC (and almost anywhere else where PWM is used for power control) uses the full 0 to 100% duty cycle, usually but not necessarily at a much higher rate of several khz.

Also, remember that at 16khz PWM each FET is undergoing twice as many switching operations as it would at 8khz and as we know its the linear transition between off & on that can cause heating in the FETs.

At full throttle, assuming the ESC has been correctly calibrated, the PWM stops and the FETs are hard switched for the full commutation cycle, hence PWM rate shouldn't affect full throttle running

Cheers
Phil

 

Edited By Phil Green on 24/10/2019 22:33:56

Link to comment
Share on other sites

Posted by Phil Green on 24/10/2019 14:18:54:
Posted by John Robertson 3 on 22/10/2019 23:32:27:

Have a look at this; https://en.wikipedia.org/wiki/Pulse-width_modulation#Servos

Then scroll down for a link to: https://en.wikipedia.org/wiki/Servomechanism

and then: https://en.wikipedia.org/wiki/Servo_control

...but PWM as used to position a servo isnt really like PWM used for power control in an ESC
Servo PWM is just a signalling system limited to between 5% and 10% duty cycle at very slow 50cps.
An ESC (and almost anywhere else where PWM is used for power control) uses the full 0 to 100% duty cycle, usually but not necessarily at a much higher rate of several khz. Remember that at 16khz PWM each FET is undergoing twice as many switching operations as it would at 8khz and as we know its the linear transition between off & on that can cause heating in the FETs.

At full throttle, assuming the ESC has been correctly calibrated, the PWM stops and the FETs are hard switched for the full commutation cycle, hence PWM rate shouldn't affect full throttle running

Cheers
Phil

Edited By Phil Green on 24/10/2019 14:34:33

Many thanks for the clarification.

Still in the dark as to whether I set up the esc for 8 or 16khz though!

Link to comment
Share on other sites

Posted by SIMON CRAGG on 24/10/2019 14:57:45:

Still in the dark as to whether I set up the esc for 8 or 16khz though!

You can get a ballpark figure Simon using this formula, to better match your ESC.

The motor Kv x Volts x the pole count ÷ 20

The will not give the exact frequency that you set, but choose the nearest .

E.g 1500Kv on 4S 8 pole

1500 x 14.8 x 8 ÷ 20 = 8880

So set 8khz

Edited By Denis Watkins on 24/10/2019 15:20:54

Link to comment
Share on other sites

Posted by Denis Watkins on 24/10/2019 15:18:17:
Posted by SIMON CRAGG on 24/10/2019 14:57:45:

Still in the dark as to whether I set up the esc for 8 or 16khz though!

You can get a ballpark figure Simon using this formula, to better match your ESC.

The motor Kv x Volts x the pole count ÷ 20

The will not give the exact frequency that you set, but choose the nearest .

E.g 1500Kv on 4S 8 pole

1500 x 14.8 x 8 ÷ 20 = 8880

So set 8khz

Edited By Denis Watkins on 24/10/2019 15:20:54

Thanks Denis

Only trouble is I cannot find out what the pole count is of the Turnigy Aerodrive SK3 5055-430KV motor.

I think it is probably 12, so the formula would be:

430 x 22.2 x 12 divided by 20 = 5.72 or the lowest setting which is 8khz.

Link to comment
Share on other sites

Posted by SIMON CRAGG on 24/10/2019 15:26:54:

Aerodrive SK3 5055-430KV motor.

I think it is probably 12, so the formula would be:

430 x 22.2 x 12 divided by 20 = 5.72 or the lowest setting which is 8khz.

From the Hobbyking motor diagram Simon, the motor is 14 pole

Putting you even closer to 8kHz

BTW the motor does run cooler where frequency can be matched like this

Link to comment
Share on other sites

Posted by John Robertson 3 on 24/10/2019 22:10:04:

Simon - you DID ask "... Meantime, being a sucker for TLAs (Three Letter Acronyms) , what does 'PWM' stand for please? ..."!

This forum is a wonderful resource, is it not?

I am really grateful for all the help I have received from this forum. I have learnt an awful lot in a very short space of time. Having been ic since the seventies, its a big step trying to work out the correct combinations when changing a model, (in this case an 80" PT-19). I have yet to get started on the project, but having researched it to death, I am quietly confident that the model will fly even better than it did before!.

Link to comment
Share on other sites

Others will be along shortly, no doubt, but I think the "burst" figures relate normally to the ESC specs. The usual recommendation is that your maximum draw through the ESC should be 80% of the maximum rated current, so that gives headroom of 20% plus the quoted burst current to keep the smoke inside the ESC. I assume you've got some means of measuring the power drawn by the motor through the ESC, such as a watt meter. If so, run the set-up, note the figures and keep away from the current "danger limits" - the display on the meter will keep you right, so long as you pay attention to them you'll be OK and can move on from those first steps.

Link to comment
Share on other sites

Quite often motors are spec'd with 10/30 or 60 second max ratings. I think the most I've put through a 5055/430 is about 64A, 1500ish W but holding that sort of power on either the Curare or the Provost took the models OOS in less than 10 seconds and the motor was quite happy at that. With a 15*10 prop the 64" Provost looked most inappropriate with 2hp towing it along, and that is quite a draggy model.

Most of the time I find I'm bumbling around using15-40A with occasional bursts up to 50A or so for aerobatics.

Edited By Bob Cotsford on 29/10/2019 16:15:12

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...