How do pull up/pull down resistors affect PWM signals in motor control?

In summary, the engineer was looking for a lower pull down resistor to drive a pwm signal from 3 to 5 volts. The resistor might be used to increase the speed of transition or voltage range.
  • #1
waltersobchak
7
0
Hi all,

I am an electrical engineer and feel I should know this (embarrassing!), but I for the life of me still can't quite get this concept.

I understand conceptually the idea behind a pull up or a pull down, in that we want the IC to read a high state, by defaultm in the case of a pull up and low by default in case of pull down. But earlier to day an engineer was saying that we needed a lower pull down resistor to drive a pwm from 3 to 5 volts. I still don't get/understand the connection between a pull up/pull down and pwm signal? I get that its ideal to drive a motor using a pwm signal and a resistor could be used as an impedance to drive the pwm, but i still don't get the use of resistor in pwm to pull it "up" or "down"? an example, links or clarifications would be much appreciated. thanks
 
Engineering news on Phys.org
  • #2
Welcome to PF.

A pull up/down resistor would not be used as part of the H-bridge power circuit that drives a motor, but it may well be used in the PWM signal switching control circuits that drive the H-bridge. http://en.wikipedia.org/wiki/H_bridge

The digital PWM signal from the controller may not swing through a sufficient voltage to fully turn on or off the H-bridge switches. That will result in significant unnecessary power dissipation in the switch components. A resistor might be used to increase the speed of transition or voltage range.

Some circuits and ICs have an “open collector/drain” output. They can drive voltages higher than the logic supply, but need some current limited voltage pull up technique to do so. http://en.wikipedia.org/wiki/Open_collector

Others families such as TTL 74xx, 74LSxx and 74HCTxx outputs have asymmetric drive capabilities. They are happy to sink current but prefer not to source it. Pull up resistors will increase their output voltage range.

We would need more specific information before we could explain in more detail the particular case you have referred to.
 
  • #3
Hi Baluncore,

Thanks for the response.

The second and third point you made makes sense and seems to apply to the project I am working on.. basically I created a level translator circuit boosting 0-5V pwm to 0-12v pwm. While looking at the oscope the senior engineer kept saying we needed to add a lower resistance to the pull down resistor in order to get the voltage we needed. I guess it would make sense that he wanted to get the full voltage range. still why couldn't we get the voltage we want by varying the duty cycle.? and if it was a pull up then I am guessing we would have to increase the resistor value...
 
Last edited:
  • #4
waltersobchak said:
Hi Baluncore,
basically I created a level translator circuit boosting 0-5V pwm to 0-12v pwm. While looking at the oscope the senior engineer kept saying we needed to add a lower resistance to the pull down resistor in order to get the voltage we needed.
So what exactly is the low state impedance of your driver circuit in it's current form? Perhaps your colleague realized that your circuit was providing insufficient low state drive current to give sharp enough on state to off state transitions (of the mosfets).
 
  • #5
waltersobchak said:
I guess it would make sense that he wanted to get the full voltage range. still why couldn't we get the voltage we want by varying the duty cycle.?
Although PWM sets the average motor voltage over one or more complete cycles, the concern here is with the gate drive voltage during every single cycle. That cannot be averaged.

The critical thing about power switching is that the switch must either drop a very low voltage or have a very low current flowing. That is to minimise Wswitch = Vswitch * Iswitch. Clean fast transitions become very important in determining Wswitch.

It is not the average PWM voltage to the motor that is the problem here, it is the voltage to the gates of the switches. Unless that control voltage swings quickly and cleanly through the threshold voltage the switch is being operated for part of the cycle as a "Class A amplifier" rather than a "Class D switch".

If the PWM period is T then PWM can only be used to control average Vmotor over times greater than T. Times between zero and T are the domain of the gate drive circuits.
 
  • #6
waltersobchak said:
While looking at the oscope the senior engineer kept saying we needed to add a lower resistance to the pull down resistor in order to get the voltage we needed.

uart and baluncore's observations are spot on.
The 'scope told him something and we don't know what.
That would've been the time to ask him to point what it was about the 'scope trace telling him that..
Here's a trace that's in need of some help "pulling down", observe the down transition is slooo-ww, and the up transition is no Barney Oldfield.. .

100KHz-Square-Wave.jpg


Most senior guys appreciate honest questions.

frequency_generation_clip_image017.jpg
 
  • #7
thank you baluncore, uart and Jim Hardy.

Mr. Hardy, the pics really helped! I can't say I completely understand but definitely get some of it. Maybe I should consider taking a more indepth electronics course.
 

What is PWM?

PWM stands for Pulse Width Modulation. It is a technique used to control the amount of power delivered to a device by rapidly switching it on and off at varying intervals. This creates a square wave signal with a variable duty cycle, which can be used to control the average voltage delivered to a device.

How is PWM used in electronics?

PWM is commonly used in electronics to control the speed of motors, the brightness of LEDs, and the power delivered to various electronic components. It is also used in power converters and amplifiers to efficiently regulate the output voltage.

What is a pull up resistor?

A pull up resistor is a passive electronic component that is used to ensure a stable voltage level in a circuit. It is connected between a signal line and a positive power supply, and it pulls the signal line up to a high voltage level when there is no other input.

What is a pull down resistor?

A pull down resistor is similar to a pull up resistor, but it is connected between a signal line and a ground or negative power supply. It pulls the signal line down to a low voltage level when there is no other input.

Why are pull up/pull down resistors used with PWM?

Pull up and pull down resistors are often used with PWM signals to ensure that the signal remains stable when the device is in its off state. They also help to reduce noise and prevent floating inputs, which can cause unexpected behavior in electronic circuits.

Similar threads

Replies
46
Views
6K
  • Electrical Engineering
Replies
13
Views
2K
  • Electrical Engineering
Replies
1
Views
5K
  • Electrical Engineering
Replies
11
Views
100K
Replies
9
Views
7K
Replies
2
Views
9K
  • Electrical Engineering
Replies
22
Views
4K
  • Electrical Engineering
Replies
2
Views
2K
  • Other Physics Topics
Replies
22
Views
3K
  • Electrical Engineering
Replies
6
Views
1K
Back
Top