Electronics-Lab.com Community

# Pulse Width Modulation

## Recommended Posts

Presently I am doing a project on wheelchair which use a 24V DC motor to drive it. I would like to implement the use of pulse width modulation to control the speed of the motor.
However, at my very best knowledge, all the PWM circuit that I saw is low input voltage which range from 5 to 12V. Hence do you have or know a PWM circuit with an input of 24V? Your suggestions or comments are welcome.

Regards,
Zhongyang
Biomedical Engineering
Ngee Ann Polytechnic

##### Share on other sites

Hi,

How much current is the maximum that the motor(s) will need?

Ante ::)

##### Share on other sites
• 1 month later...

Do you think a series transistor would work? Set the current you will need when the voltage is 24V. Bias the transistor with the input voltage. Use a second transistor to reverse the junction. Drive that transistor with PWM clock. You can step down the voltage with resistors to run the PWM clock. A PWM clock can be constructed from an inverter oscillator with diodes and resistors to dissipate the voltage from the capacitor. There is an example of this in the theory section called "pulse width modulation".

##### Share on other sites

Hi,

How much current is the maximum that the motor(s) will need?

Ante ::)

The motor is ratred at 11A, 24V.

##### Share on other sites

At 24v you will get 11A. At a lower voltage you will get lower current. Since you are PWM the current will go from 11A down to something near 0A.

##### Share on other sites

Why don't you use a IRF640 Power MOSFET like the attachment. This might work. I used a LM3524 PWM once to drive a power resistor at 12 V / 2.5 A

##### Share on other sites

I think you need a good heatsink for the mosfet, it can handle up to 30 A, though it gets really hot..

##### Share on other sites

That is interesting. But where is the VDS you will need when the transistor is on. The motor will require 24V and you will be left without VDS. I should also note that mine too will have a low VCE at that current. So use a higher input voltage. This is the only way.

I have it. You could operate the transistor at it's saturation current. This is not a linear situation and the performance of the motor will suffer. But since you drive it into cutoff anyway, why not!

##### Share on other sites

s0225,
Here is a little more for you. 12 or 24 volt operation.The complete article is here on this site in our projects section at: http://www.electronics-lab.com/projects/motor_light/003/index.html

MP

##### Share on other sites

MP,
That circuit is good for controlling the speed of small DC motors. However, for a wheelchair, its low 400Hz switching frequency may sound annoying and cause vibration. The circuit's old, slow opamp isn't capable of a higher frequency and its slew-rate is so slow that the MOSFET heats considerably during the switching time.
Modern high-power PWM circuits operate at 20KHz or more. A controller manufacturer's very detailed ramblings are here:
http://www.4qd.co.uk/faq/index.html

Kevin,
PWM circuits used for motor speed control, lamp dimming or Switched-Mode-Power-Supplies always operate the switching transistor at saturation and cutoff, in order to reduce the heat which is caused when a transistor conducts current with a voltage across it:
a) Transistor is turned-on hard, has low voltage across it and therefore its power dissipation is low. The load receives almost the full supply voltage.
b) Transistor is cutoff, has zero current through it and therefore its power dissipation is also zero. The motor's current continues through the freewheeling diode.
The PWM circuit modulates the average voltage across the load.

##### Share on other sites

sure, it would take some modification for more current. This is stated in the project. However, this is a step in the right direction from the one in the earlier post.

So, instead of only pointing out what you feel will not work, have you considered posting a link to the forum of a circuit which WILL work from time to time? Or perhaps, what you consider to be a better circuit? I think this would be much more helpful to others.

MP

##### Share on other sites

MP,
This stuff ain't simple.
It has a pretty-good PWM motor controller, but it is limited to only 90 percent of max motor speed, and becomes an expensive smoke generator (that can be fixed) when regererative braking down a steep hill or when being towed. The sub-link to this controller is here:
http://www.4qdtec.com/pwm-01.html#soph

##### Share on other sites

...and here it is for better view for the group.
No, I did not read the complete article. It reads like a sales pitch.

MP

##### Share on other sites

Why is PWM so popular in motor control. I know why it is used, but what happened to the AC motor or any type of other variable waveforms that can be applied to motors. What about varying the voltage? How about varying the frequency instead of the pulse width. Can't you realize different motor properties with these other types of waveforms. I don't fully understand the motor but I know that you can have speed, torque and various load situations and that there is a countervoltage that develops. Any tidbits of information would be helpful to my understanding. Thank you.

##### Share on other sites

To All,

To minimize the temperature in the power stage it is important to have fast rise and fall times =(nice looking square wave). There are two ways to go with the choice of frequency. One is to calculate the optimal frequency for the motor used, second to use a high frequency like 15

##### Share on other sites

Thanks, Ante,
That CMOS 555 chip looks like it will control PWM much better than an analog triangle generator or simple inverters, due to its well-defined thresholds and speed.
I can use it for the electric model airplane that I won.
With a simple NPN-PNP transistor buffer, like the complicated circuit, it will drive a MOSFET transistor and the wheelchair very well.

## Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

×   Pasted as rich text.   Paste as plain text instead

Only 75 emoji are allowed.

×   Your previous content has been restored.   Clear editor

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