Generating a PWM Pulse with xpctarget through PATI Board
조회 수: 1 (최근 30일)
이전 댓글 표시
I'm using xpctarget to generate a pulse via a PATI board. I am generating this PWM signal with the "PATI MPL PWM Generate" block in order to control a servo. When the servo is connected to the PATI board and I run the model on xpctarget, the servo shows no movement. The servo will however move when connected to RC input. I then measured the pulse that the RC emits with an oscilloscope. and set the high and low counts to match this pulse. When the PATI board is connected directly to the oscilloscope, it shows the same pulse that the RC had shown. The only difference is the RC gives off a signal Voltage of 3V while the PATI board gives a signal voltage of 5V, this should not be an issue though because the servo should be able to work within that range. My question is now two-fold. Firstly, why does the seemingly identical signal only work in RC and not the PATI board? The other question is how do I generate a pulse that has a "High" pulse of 3V through the PATI board. If I'm able to do this, I'd be able to rule out the voltage difference as the reason for error.
댓글 수: 0
답변 (1개)
Gordon Weast
2011년 5월 26일
I'm not sure what's happening with this. If you have the PATI output connected to your device and measure it with the oscilloscope, does the output still get to 5 volts? There could be a loading issue here. Your device might need more current than the board can supply. If that's the case, you would need to do some signal conditioning on the output, perhaps as simple as a higher current device that can drive the voltage you need being driven by the PATI.
The output voltage of the PATI can't be reduced. It's just an on or off signal and the board uses 0 and 5 volts.
댓글 수: 0
커뮤니티
더 많은 답변 보기: Power Electronics Community
참고 항목
카테고리
Help Center 및 File Exchange에서 Waveform Generation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!