Welcome, Guest
Username: Password: Remember me

TOPIC: How do the two PWM inputs work

How do the two PWM inputs work 11 months 3 hours ago #612

  • brownt
  • brownt's Avatar
  • OFFLINE
  • New Member
  • Posts: 8
  • Thank you received: 1
  • Karma: 1
Disconnecting PWM10 doesn't seem to make any difference to any of the effects. Why are there two different resistor values connected to PWM9 and PWM10, and what is the theory behind its operation?
The administrator has disabled public write access.

How do the two PWM inputs work 10 months 3 weeks ago #616

  • Ray
  • Ray's Avatar
  • NOW ONLINE
  • Administrator
  • Posts: 363
  • Thank you received: 79
  • Karma: 16
Last Edit: 10 months 3 weeks ago by Ray.
The administrator has disabled public write access.

How do the two PWM inputs work 10 months 3 weeks ago #626

  • brownt
  • brownt's Avatar
  • OFFLINE
  • New Member
  • Posts: 8
  • Thank you received: 1
  • Karma: 1
thanks for that. I have a better idea now, but I still don't comprehend something. Is the frequency of the sample signal replicated in the duty cycle?, and if so then how is the amplitude replicated?.

In software, what does is needed to modify the amplidtude, and what is needed to modify the frequency?

Oh I think I get it now. The amplitude is reflected in the duty cycle and the frequency is reflected in the period. Is that correct?
Last Edit: 10 months 3 weeks ago by brownt. Reason: added content
The administrator has disabled public write access.

How do the two PWM inputs work 10 months 3 weeks ago #628

  • Ray
  • Ray's Avatar
  • NOW ONLINE
  • Administrator
  • Posts: 363
  • Thank you received: 79
  • Karma: 16
Oh I think I get it now. The amplitude is reflected in the duty cycle and the frequency is reflected in the period. Is that correct?
Yes, the duty cycle of the PWM frequency is reflected in the amplitude. The PWM signal is filtered using a low pass filter:

class_d-Fig-07.jpg


In the image above as an example you can see a pwm signal that is low pass filtered so you can get an "audio" signal.
The administrator has disabled public write access.
Time to create page: 0.140 seconds
Powered by Kunena Forum
Joomla SEF URLs by Artio