BRONZE
BRONZE 등급의 판매자 자료

8051 microcontroller를 이용한 sine wave generator

8051 microcontroller와 COMPACT51 보드를 이용하여 sine wave generator를 만드는 실험입니다. (싸인파형을 만들어냅니다.) DAC를 통해 CPU에서 생성한 값을 pin을 통해 내보내는 형태입니다. embedded board는 주어진 환경이 제한되어 있기 때문에, 최적화가 필요합니다. 그에 초점을 맞추어, 싸인파가 일그러지지 않도록, 가장 최선의 방법을 찾아가는 과정이 들어있습니다. 프로그램은 C언어로 제작하였습니다. 따라서 다른 board에서도 충분히 활용 가능하며, PC에서도 작동합니다. (약간의 수정만 하면 가능) 리포트 내용은 영어로 되어 있지만, 한국인 대학생이 작성하여 어려운 내용이 없습니다. (해석하기 어렵지 않을 것으로 보입니다.) 소스코드는 문서파일에 들어 있습니다. 최종적으로 A+ 받은 자료입니다.
7 페이지
압축파일
최초등록일 2009.12.24 최종저작일 2009.10
7P 미리보기
8051 microcontroller를 이용한 sine wave generator
  • 미리보기

    소개

    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

    참고자료

    · 없음
  • 자료후기

    Ai 리뷰
    매번 새로운 인사이트를 제공해 주어 지식의 폭이 넓어지는 기분입니다. 지식판매자 덕분에 많은 것을 배우고 있습니다. 정말 추천하고 싶습니다!
    • 자주묻는질문의 답변을 확인해 주세요

      해피캠퍼스 FAQ 더보기

      꼭 알아주세요

      • 자료의 정보 및 내용의 진실성에 대하여 해피캠퍼스는 보증하지 않으며, 해당 정보 및 게시물 저작권과 기타 법적 책임은 자료 등록자에게 있습니다.
        자료 및 게시물 내용의 불법적 이용, 무단 전재∙배포는 금지되어 있습니다.
        저작권침해, 명예훼손 등 분쟁 요소 발견 시 고객센터의 저작권침해 신고센터를 이용해 주시기 바랍니다.
      • 해피캠퍼스는 구매자와 판매자 모두가 만족하는 서비스가 되도록 노력하고 있으며, 아래의 4가지 자료환불 조건을 꼭 확인해주시기 바랍니다.
        파일오류 중복자료 저작권 없음 설명과 실제 내용 불일치
        파일의 다운로드가 제대로 되지 않거나 파일형식에 맞는 프로그램으로 정상 작동하지 않는 경우 다른 자료와 70% 이상 내용이 일치하는 경우 (중복임을 확인할 수 있는 근거 필요함) 인터넷의 다른 사이트, 연구기관, 학교, 서적 등의 자료를 도용한 경우 자료의 설명과 실제 자료의 내용이 일치하지 않는 경우
    문서 초안을 생성해주는 EasyAI
    안녕하세요. 해피캠퍼스의 방대한 자료 중에서 선별하여 당신만의 초안을 만들어주는 EasyAI 입니다.
    저는 아래와 같이 작업을 도와드립니다.
    - 주제만 입력하면 목차부터 본문내용까지 자동 생성해 드립니다.
    - 장문의 콘텐츠를 쉽고 빠르게 작성해 드립니다.
    - 스토어에서 무료 캐시를 계정별로 1회 발급 받을 수 있습니다. 지금 바로 체험해 보세요!
    이런 주제들을 입력해 보세요.
    - 유아에게 적합한 문학작품의 기준과 특성
    - 한국인의 가치관 중에서 정신적 가치관을 이루는 것들을 문화적 문법으로 정리하고, 현대한국사회에서 일어나는 사건과 사고를 비교하여 자신의 의견으로 기술하세요
    - 작별인사 독후감
    해캠 AI 챗봇과 대화하기
    챗봇으로 간편하게 상담해보세요.
    2025년 05월 30일 금요일
    AI 챗봇
    안녕하세요. 해피캠퍼스 AI 챗봇입니다. 무엇이 궁금하신가요?
    4:21 오후