Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
LinkBack Thread Tools Display Modes
Old 20th July 2008, 01:23 PM   (permalink)
Default PWM and H-Bridge (R/C project)

Hello there. I'm new here.

I'm gonna make an R/C project. Right now I'm testing the H-Bridge, so I have made an PWM based on 555.

There is here the first problem. When I start making a frequency variation through the potentiometer, just right DC motor start rolling there is a strange sound coming from the DC motor. I think it might be something related with the frequency and the DC motor (coils?).

I'd like to know how can I eliminate that sound.
AMSA84 is offline  
Old 20th July 2008, 01:31 PM   (permalink)
Default

The sound you hear may be the coils in the motor acting like miniature speakers. If you change the frequency, the noise should change. It is very common. Some people go high frequency (e.g., 20KHz); some just live with it.

John
jpanhalt is offline  
Old 20th July 2008, 01:43 PM   (permalink)
Default

Ok. I just thought about that. But imagine..

There is a contorl signal that will allow the PWM signal drive the transistors to make the car go fwd and backwd. If I want the car to ride kinda slow, wich frequency I'll need? Something like what, 2khz? But maybe you have are right, because I'm not experimenting the car at the ground, he's on air (supported).

But do you understand what I'm trying to say?

Best regards
AMSA84 is offline  
Old 20th July 2008, 02:07 PM   (permalink)
Default

Quote:
Originally Posted by AMSA84 View Post
Ok. I just thought about that. But imagine..

There is a contorl signal that will allow the PWM signal drive the transistors to make the car go fwd and backwd. If I want the car to ride kinda slow, wich frequency I'll need?

Best regards
It is the duty cycle, which controls the speed, not the frequency.
BeeBop is offline  
Old 20th July 2008, 02:24 PM   (permalink)
Default

Quote:
Originally Posted by AMSA84 View Post
Something like what, 2khz? But maybe you have are right, because I'm not experimenting the car at the ground, he's on air (supported).
I find 2KHz quite annoying. At 20KHz, hearing response is fairly low (gone if you are old like me), but there are harmonics. Just make the frequency something you can live with and control speed with duty cycle, as already mentioned. John
jpanhalt is offline  
Old 20th July 2008, 02:46 PM   (permalink)
Default

The inductance of a motor reduces the current when the PWM frequency is high.
If you want to have full power then the frequency should be from 200Hz to about 4kHz.
__________________
Uncle $crooge
audioguru is offline  
Old 20th July 2008, 03:16 PM   (permalink)
Default

Quote:
Originally Posted by AMSA84;
Hello there. I'm new here.

I'm gonna make an R/C project. Right now I'm testing the H-Bridge, so I have made an PWM based on 555.

There is here the first problem. When I start making a frequency variation through the potentiometer, just right DC motor start rolling there is a strange sound coming from the DC motor. I think it might be something related with the frequency and the DC motor (coils?).

I'd like to know how can I eliminate that sound.
The sound could be generated in the motor because its being driven by a square wave instead of a sine wave. The square wave has multiple frequencies see FFT which will shake the coils and make noises. You may be able to dampen the effect if you put a capacitor across the motor.
Jim Aman is offline  
Old 20th July 2008, 04:03 PM   (permalink)
Default

Quote:
Originally Posted by audioguru View Post
The inductance of a motor reduces the current when the PWM frequency is high.
If you want to have full power then the frequency should be from 200Hz to about 4kHz.
That point has been argued many times. I think 4QD has a fairly balanced discussion of it and makes both high- and low-frequency drives.

Quote:
http://www.4qd.co.uk/faq/bmnc4.html#switfreq

The lower switching frequencies are better with smaller, higher voltage motors where the motor has a much larger inductance. However high current, low voltage motors have a very low inductance so a high switching frequency is necessary for best performance.
Ultimately, it becomes a balance of linearity, efficiency, and noise. The OP did not say much about his motor.

If I were just building a toy to run around the house, I would opt for higher frequency to avoid the annoyance.

John
jpanhalt is offline  
Old 20th July 2008, 08:32 PM   (permalink)
Default

Ok. Thank you guys. There is another doubt:

I've noted that the frequency on the output of 555 (PWM mode) is diferent from the frequency at the motor input.

Can anyone tell me why? That is not supposed to be equal? The transistors are switching at the same frequency than the 555? Or what determines the frequency at the motor input is the ON time of the duty-cycle?

Best regards
AMSA84 is offline  
Old 20th July 2008, 08:34 PM   (permalink)
Default

You could smooth the current out a bit with a large capacitor right at the motor, similiar to the noise blocking caps that are on most DC motors. Small motor run capacitors may work as they're not usually polarized. I've heard some people suggest using back to back electrolytics as a non-polarized cap but I don't know how reliable this is.
__________________
"Because I be what I be. I would tell you what you want to know if I
could, mum, but I be a cat, and no cat anywhere ever gave anyone a
straight answer, har har."
Sceadwian is offline  
Old 20th July 2008, 08:52 PM   (permalink)
Default

What you mean by "smooth the current out a bit with a large capacitor right at the motor"?

Please explain yourself.

Best regards!
AMSA84 is offline  
Old 20th July 2008, 09:04 PM   (permalink)
Default

As for the frequency shift, my first guess is that you are seeing an artifact of they way you are measuring it. Are you using an o'scope or something like a digital multimeter? Does the error change with duty cycle?

John
jpanhalt is offline  
Old 20th July 2008, 09:27 PM   (permalink)
Default

Well, I'm using a digital multimeter (but tomorrow I'll watch on a scope). The frequency at the motor input changes a little bit. Variantions ~400Hz.

So my doubt is that the frequency at the motor input is defined by the ON time of the duty-cycle?

Another question, how can you guys explain me why the output of the PWM 555 signal changes when we vary the potentiometer? I know that the "speed" of the motor is based on the ON time of the duty-cycle, but what I cannot understand is why the voltage changes. For example, 15% of the duty-cycle corresponds to 2.5V and 50% carresponds to 5.0V. Can you understand what I mean?

Best regards
AMSA84 is offline  
Old 20th July 2008, 10:10 PM   (permalink)
Default

Your voltmeter is showing a time averaged voltage, not peak to peak. That is, on DC, the sampling time includes several cycles. When you use the o'scope, you will see the peaks are fairly constant in amplitude. John
jpanhalt is offline  
Old 20th July 2008, 10:14 PM   (permalink)
Default

Ok then. Tomorrow I'll study the wave forms in every single part of the cricuitry and if doubt persist I'm gonna let you know.

Best regards
AMSA84 is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Can I Drive an H-Bridge with a "slave" H-Bridge DamoRC General Electronics Chat 5 25th March 2008 02:23 PM
H-Bridge with PWM dino_hasan Robotics Chat 13 12th February 2008 11:25 PM
Ac bridge vinke General Electronics Chat 24 2nd December 2007 05:24 PM
H-Bridge Project chemelec Electronic Projects Design/Ideas/Reviews 0 9th May 2005 01:40 AM
USB TO IDE Bridge patil_ruturaj Electronic Projects Design/Ideas/Reviews 3 23rd February 2003 10:29 PM



All times are GMT. The time now is 06:09 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

eXTReMe Tracker