• 파일시티 이벤트
  • LF몰 이벤트
  • 캠퍼스북
  • 서울좀비 이벤트
  • 탑툰 이벤트
  • 닥터피엘 이벤트
  • 아이템베이 이벤트
  • 아이템매니아 이벤트

8051 microcontroller를 이용한 sine wave generator

*창*
개인인증판매자스토어
최초 등록일
2009.12.24
최종 저작일
2009.10
7페이지/파일확장자 압축파일
가격 7,000원 할인쿠폰받기
다운로드
장바구니

소개글

8051 microcontroller와 COMPACT51 보드를 이용하여
sine wave generator를 만드는 실험입니다. (싸인파형을 만들어냅니다.)
DAC를 통해 CPU에서 생성한 값을 pin을 통해 내보내는 형태입니다.

embedded board는 주어진 환경이 제한되어 있기 때문에,
최적화가 필요합니다. 그에 초점을 맞추어, 싸인파가 일그러지지 않도록,
가장 최선의 방법을 찾아가는 과정이 들어있습니다.

프로그램은 C언어로 제작하였습니다.
따라서 다른 board에서도 충분히 활용 가능하며,
PC에서도 작동합니다. (약간의 수정만 하면 가능)

리포트 내용은 영어로 되어 있지만,
한국인 대학생이 작성하여 어려운 내용이 없습니다. (해석하기 어렵지 않을 것으로 보입니다.)

소스코드는 문서파일에 들어 있습니다.

최종적으로 A+ 받은 자료입니다.

목차

(1) Investigate the use of D/A converter. (Reference: DAC0804 manual)
(2) Investigate the use of timer in mode 2. (Reference: 8051 User’s Manual)
(3) Write a pseudo-code that generates 50Hz and 100Hz sine waveforms when the number of samples
in a sine waveform period is fixed at 100.
(4) Write a pseudo-code that generates 50Hz and 100Hz sine waveforms when the time interval of
writing value to D/A converter is fixed at 0.1ms.
(5) In this experiment, you have to show both methods of generating sine waveforms: fixing the
number of samples in a period and fixing the time interval of writing values to D/A converter. Among
these two methods, explain which method is faster and why.

1) When you generated a sine waveform, was the frequency of output signal satisfied?
2) Was there any significant distortion or vibration on the output signal?
3) Was the number of samples in a period matched to designed value?
4) Was there any error? If yes, state the reasons.
5) What was the maximum frequency of waveform? How did you find out?

본문내용

(1) Investigate the use of D/A converter. (Reference: DAC0804 manual)
DAC0800 is the high-speed current-output digital-to-analog converter (DAC). DAC0800 has the following specification.

▷ Fast setting output current: 100ns
▷ Full scale error: ±1 LSB
▷ Nonlinearity over temperature: ± 0.1%
▷ Full scale current drift: ± 10 ppm/°C
▷ High output compliance: -10V to +18V
▷ Complementary current outputs
▷ Interface directly with TTL, CMOS, PMOS and others
▷ 2 quadrant wide range multiplying capability
▷ Wide power supply range: ± 4.5V to ±18V
▷ Low power consumption: 33mW at ±5V
▷ Low cost

One of the important factors is fast setting output current. 100ns means the elapsing time to make and stabilize the output when the digital input is injected. As the speed of CPUs becomes faster and faster, the peripheral devices or components are required to




Reversely, let us consider the case when we apply the method to the low frequency sine wave. For the fixed sampling number, the accuracy would be low in the sense of the exact value. The result would have the rough form of the sine wave, but the connection would be the straight line rather than the curve. However, in the graphical point of view, we can see the rough sine wave, and in the very low frequency, the curve can be looked like straight line for the short angle distance. So, the result is somehow acceptable. For the fixed time interval, the accuracy would be rather guaranteed comparing to the fixed sampling number case with the proper time interval. However, it would do sampling too much. If the processor deals only this sine wave sampling (or generation), it does not cause any problem, but the real situation is normally not.
Therefore, the discussion has to be done

참고 자료

없음

압축파일 내 파일목록

lab4_main.docx
pre_lab4.docx
*창*
판매자 유형Bronze개인인증

주의사항

저작권 자료의 정보 및 내용의 진실성에 대하여 해피캠퍼스는 보증하지 않으며, 해당 정보 및 게시물 저작권과 기타 법적 책임은 자료 등록자에게 있습니다.
자료 및 게시물 내용의 불법적 이용, 무단 전재∙배포는 금지되어 있습니다.
저작권침해, 명예훼손 등 분쟁 요소 발견 시 고객센터의 저작권침해 신고센터를 이용해 주시기 바랍니다.
환불정책

해피캠퍼스는 구매자와 판매자 모두가 만족하는 서비스가 되도록 노력하고 있으며, 아래의 4가지 자료환불 조건을 꼭 확인해주시기 바랍니다.

파일오류 중복자료 저작권 없음 설명과 실제 내용 불일치
파일의 다운로드가 제대로 되지 않거나 파일형식에 맞는 프로그램으로 정상 작동하지 않는 경우 다른 자료와 70% 이상 내용이 일치하는 경우 (중복임을 확인할 수 있는 근거 필요함) 인터넷의 다른 사이트, 연구기관, 학교, 서적 등의 자료를 도용한 경우 자료의 설명과 실제 자료의 내용이 일치하지 않는 경우

이런 노하우도 있어요!더보기

찾던 자료가 아닌가요?아래 자료들 중 찾던 자료가 있는지 확인해보세요

최근 본 자료더보기
탑툰 이벤트
8051 microcontroller를 이용한 sine wave generator
  • 레이어 팝업
  • 레이어 팝업
  • 레이어 팝업