PWM Signal from SoundCard

버전 1.0.0.0 (1.46 KB) 작성자: Michael Wunder
Create a pwm signal using a standard soundcard.
다운로드 수: 3.6K
업데이트 날짜: 2005/12/16

라이선스 보기

PWM Signals are used in a wide area of applications. Examples are a servos used for positioning in electromechanical control design (mechatronic). Here is a simple function that allows to create a pwm signal with a standard soundcard. Parameters are: pulsewidth and time between pulse-starts.

One restriction is that the approach allows duty cycles up to 50% only.

All you need is to add at the output of the soundcard is a resistor as load (1k) and a diode (1N4001). The image enclosed shows the output I got for:

>> PWMSound(1.5e-3,10e-3);

인용 양식

Michael Wunder (2024). PWM Signal from SoundCard (https://www.mathworks.com/matlabcentral/fileexchange/9366-pwm-signal-from-soundcard), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R14SP3
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
커뮤니티
 Power Electronics Control 커뮤니티에 더 많은 파일이 있습니다

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0