duratia Posted January 9, 2006 Report Share Posted January 9, 2006 Hi,I use DC motor with plastic gear to move thing. When I gave PWM at 23KHz frequency, it didn't move when the direction is reversed. I tried to gave PWM at 1KHz, then it moved fine. Do you know what is the relation between frequency and the voltage in DC motor? Quote Link to comment Share on other sites More sharing options...
audioguru Posted January 9, 2006 Report Share Posted January 9, 2006 Hi Duratia,Motors have inductance which limits current at high frequencies.PWM circuits have a max slew rate which limits output current at high frequencies.Attach your PWM circuit as a nice clear GIF or PNG file type and include part numbers for its transistors and ICs for us to see if they are fast enough to operate at 23kHz. ;D Quote Link to comment Share on other sites More sharing options...
ante Posted January 9, 2006 Report Share Posted January 9, 2006 Or a screen dump from a scope will tell! ;D Quote Link to comment Share on other sites More sharing options...
audioguru Posted January 9, 2006 Report Share Posted January 9, 2006 I suspect that an ultra-slow LM358 is being used. Quote Link to comment Share on other sites More sharing options...
duratia Posted January 11, 2006 Author Report Share Posted January 11, 2006 Hi,I use L293D H-Bridge IC. I have just re-read the datasheet, the max frequency is only 5 KHz."This device is suitable for use in switching applicationsat frequencies up to 5 kHz."Once, I read a book that suggest to use more than 20KHz PWM in order to no audible sound can be heard. Is it right?PWM is generated by microcontroller (8051). LM358 is used, but its signal ends on the ADC. It won't affect the PWM, I guess. Quote Link to comment Share on other sites More sharing options...
audioguru Posted January 11, 2006 Report Share Posted January 11, 2006 Usually when you use old parts, you get lousy old performance.Some of the new PWM IC's use a 1MHz switching frequency, so that tiny or integrated-on-chip capacitors and an inductor can be used.Some young people can hear 20kHz. I heard "ultrasonic burglar detectors" very loudly when I was young. They drove me nuts! The deaf old engineers who designed them thought they couldn't be heard.My ability to hear the harmonics caused by distortion made me interested in electronics and ways to reduce distortion. At my last job the latest speaker came off the production line. I heard its tweeter's coil rubbing its magnet. My boss said it sounded fine. A replacement tweeter fixed it. Getting rid of my boss fixed him! I'm an old geezer and am happy that I can still hear 14kHz. I would hate to hear everything sounding like an AM radio or telephone. Because I've been in electronics so long, my hearing has a bit of a notch at exactly 1kHz. Some musicians can't hear 440Hz anymore. :'( ;D Quote Link to comment Share on other sites More sharing options...
duratia Posted January 25, 2006 Author Report Share Posted January 25, 2006 Hi,What is the different if I use PWM 1kHz 75% and 100 Hz 75%? Is it true that the voltage is different? Or maybe the energy supplied to motor DC is different? Any comment? Can anyone tell me the relationship? Quote Link to comment Share on other sites More sharing options...
audioguru Posted January 25, 2006 Report Share Posted January 25, 2006 Hi,What is the different if I use PWM 1kHz 75% and 100 Hz 75%? Is it true that the voltage is different? Or maybe the energy supplied to motor DC is different? Any comment? Can anyone tell me the relationship?If the PWM signal has fast rise and fall times, I think the two frequencies would operate a DC motor exactly the same.I haven't tried it, but I think that the inductance of a DC motor would limit its current if a much higher PWM frequency is used. Quote Link to comment Share on other sites More sharing options...
indulis Posted January 25, 2006 Report Share Posted January 25, 2006 75% duty cycle is 75% duty cycle and frequency has nothing to do with what the voltage will be. The average voltage will be the duty cycle multiplied by the input voltage. Motors are wound such that they have pole pairs. I have seen up to a 12 pole DC motor. The easy way to find out how many poles your motor is to count the "strips" on the commutator ring and divide by 2 (at least I think that will tell you, not 100% sure). There is a correlation between the number of poles and what the optimum PWM frequency is. Most small motors are PM (permanent magnet) The motor controller I built for my wind tunnel uses a PM 24VDC fan, and I had the "adjust" the swithching frequency to make the fan turn at really low speeds (low duty cycle...~3%). Quote Link to comment Share on other sites More sharing options...
duratia Posted January 26, 2006 Author Report Share Posted January 26, 2006 Hi,Why if calculating PWM voltage, it uses V average? Why not using V rms? Does anyone have any reason about it? Quote Link to comment Share on other sites More sharing options...
audioguru Posted January 26, 2006 Report Share Posted January 26, 2006 Hi Duratia,RMS is used to calculate the amount of work done by a sine-wave. The peak voltage of a sine-wave is much higher than its average voltage.The peak voltage of a square-wave is the same as double its average voltage.The average voltage of a PWM circuit is the peak voltage times the duty-cycle. Quote Link to comment Share on other sites More sharing options...
indulis Posted January 26, 2006 Report Share Posted January 26, 2006 By definition, a Root Mean Square (RMS) voltage gives the same heating effect as a DC voltage of the same value. In the case of a square wave, the RMS value is:Vrms=Vpk*Sqrt(Ton/period)Ton/period is also the duty cycle. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.