Freescale Semiconductor DRM079の取扱説明書

34ページ 0.25 mb
ダウンロード

ページに移動 of 34

Summary
  • Freescale Semiconductor DRM079 - page 1

    RS08 Micr ocontr oller s freescale.com DRM079 Rev. 0 5/2006 Designer Reference Manual Variable Speed DC Fan Control using the MC9RS08KA2 ...

  • Freescale Semiconductor DRM079 - page 2

    ...

  • Freescale Semiconductor DRM079 - page 3

    V ariable Speed DC F an Control using the MC9RS08KA2, Rev . 0 Freescale Semiconductor 3 Variable Speed DC Fan Control using the MC9RS08KA2 Designer Reference Manual by: Vincent Ko Freescale Semiconductor, Inc. Hong Kong To provide the most up-to-date information, the revisi on of our docume nts on the World Wide Web will be the most current. Your p ...

  • Freescale Semiconductor DRM079 - page 4

    Revision History V ar iable Speed DC Fan Contr ol using the MC9RS08KA2, Rev . 0 4 Freescale Semiconductor ...

  • Freescale Semiconductor DRM079 - page 5

    V ar iable Speed DC Fan Contr ol using the MC9RS08KA2, Rev . 0 Freescale Semiconductor 5 Table of Contents Chapter 1 Introduction 1.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 1.2 Freescale’s New Generation Ultra Low Cost MCU . . . . . . . . . . ...

  • Freescale Semiconductor DRM079 - page 6

    Table of Contents V ar iable Speed DC Fan Contr ol using the MC9RS08KA2, Rev . 0 6 Freescale Semiconductor ...

  • Freescale Semiconductor DRM079 - page 7

    V ar iable Speed DC Fan Contr ol using the MC9RS08KA2, Rev . 0 Freescale Semiconductor 7 Chapter 1 Introduction 1.1 Introduction This document describes the imp lementation of a DC brushless fan controller using the Freescale ultra low cost MC9RS08KA2 8-bit microcontroller (MCU). The design contains a temperature sensor the MCU reads with control o ...

  • Freescale Semiconductor DRM079 - page 8

    Introduction V ar iable Speed DC Fan Contr ol using the MC9RS08KA2, Rev . 0 8 Freescale Semiconductor 1.2 Freescale’s New Genera tion Ultra Low Cost MCU The MC9RS08KA2 microcontroller unit (MCU) is an extremely low cost, small pin count device for home appliances, toys, and small g eometry applications, such as a DC fan controller. This device is ...

  • Freescale Semiconductor DRM079 - page 9

    Bi-Phase BLDC Motor V ar iable Speed DC Fan Contr ol using the MC9RS08KA2, Rev . 0 Freescale Semiconductor 9 1.4 Bi-Phase BLDC Motor The brushless DC motor (BLDC) design for DC fan is commonly consist of a permanent magnet attached on the rotor and the stator phase co il windings are mounted on the moto r shaft as illustrated in Figure 1-2 . The BL ...

  • Freescale Semiconductor DRM079 - page 10

    Introduction V ar iable Speed DC Fan Contr ol using the MC9RS08KA2, Rev . 0 10 Freescale Semiconductor ...

  • Freescale Semiconductor DRM079 - page 11

    Commutation V ar iable Speed DC Fan Contr ol using the MC9RS08KA2, Rev . 0 Freescale Semiconductor 11 Chapter 2 Motor Control 2.1 Commutation The typical bi-phase BLDC has one pole-pair per phase. Each commuta tion rotates the rotor by 90 degrees and four commutation ste ps complete a mechan ical revolution. Each pole-pair is implemented by two coi ...

  • Freescale Semiconductor DRM079 - page 12

    Motor Control V ar iable Speed DC Fan Contr ol using the MC9RS08KA2, Rev . 0 12 Freescale Semiconductor 2.3 Commutation Waveforms In general, in a bi-phase motor design, alternate co ils are tied together and give a single connection to the driver. In this design, the driver conne ction for coil A and coil C is called L1 (see Figure 2-1 ). Similarl ...

  • Freescale Semiconductor DRM079 - page 13

    Motor Startup V ar iable Speed DC Fan Contr ol using the MC9RS08KA2, Rev . 0 Freescale Semiconductor 13 Dramatic changes in the dead-time val ue will cause the motor to stall. In this design a software loop in the MCU will control the dead-time variation. Even with the drama tic change in the temperature sensor reading, the software loop will only ...

  • Freescale Semiconductor DRM079 - page 14

    Motor Control V ar iable Speed DC Fan Contr ol using the MC9RS08KA2, Rev . 0 14 Freescale Semiconductor ...

  • Freescale Semiconductor DRM079 - page 15

    Block Diagram V ar iable Speed DC Fan Contr ol using the MC9RS08KA2, Rev . 0 Freescale Semiconductor 15 Chapter 3 Implementation 3.1 Block Diagram The block diagram of the DC fan design is illustrated in Figure 3-1 . A 12V low cost bi-phase BLDC motor is used in this application. The MCU performs alter nate outputs to the two NPN transistors that d ...

  • Freescale Semiconductor DRM079 - page 16

    Implementation V ar iable Speed DC Fan Contr ol using the MC9RS08KA2, Rev . 0 16 Freescale Semiconductor Hall sensor output is conn ected to the MCU’s GP IO port, PTA2, wh ich has a programmable edge trigger keyboard interrupt (KBI). The programmable e dge trigger feature provides an effective way to monitor the Hall sensor signal. As mentioned i ...

  • Freescale Semiconductor DRM079 - page 17

    Control Loop V ar iable Speed DC Fan Contr ol using the MC9RS08KA2, Rev . 0 Freescale Semiconductor 17 Figure 3-2. Firmware Control Loop START TargetPWMPeriod = L ongest ActualPWMPeriod = Longest Drive L1 De-energized coils = DeadTime Drive L2 Read Temp. Sensor Read Temp. Sensor 128ms? Update TargetPWMPeriod Increment DeadTime Target > Actual? T ...

  • Freescale Semiconductor DRM079 - page 18

    Implementation V ar iable Speed DC Fan Contr ol using the MC9RS08KA2, Rev . 0 18 Freescale Semiconductor 3.4 Temperature Sensor Measurement The temperature sensor measurement is perfo rmed based on the methodology of an emulated ADC described in the applica tion note, AN3266 “Getting Started with RS08”. Figure 3-3. Emulated ADC Schematic The sc ...

  • Freescale Semiconductor DRM079 - page 19

    Temperature Sensor Measurement V ar iable Speed DC Fan Contr ol using the MC9RS08KA2, Rev . 0 Freescale Semiconductor 19 Table 3-2 shows the entire dynamic range of the temper ature sensor voltage can be covered by about 44 timer counts. For convenience, the timer overflow period is set to 63, which is identical to the size of the paging window ($0 ...

  • Freescale Semiconductor DRM079 - page 20

    Implementation V ar iable Speed DC Fan Contr ol using the MC9RS08KA2, Rev . 0 20 Freescale Semiconductor As described in the previous section the ove rall dead-time duration should be deterministic, the double WAIT statements in the sub routine can ensure the execution time to be mostly constant. When the MCU is woken up from the first WAIT (whi ch ...

  • Freescale Semiconductor DRM079 - page 21

    Temperature Sensor Measurement V ar iable Speed DC Fan Contr ol using the MC9RS08KA2, Rev . 0 Freescale Semiconductor 21 T able 3-3. T emperature Conver sion T able Temperatu re (°C) Channel Resistan ce (k Ω ) (from sensor data sheet) Voltage across Sensor (V) Predefined Motor Speed (rpm) Target PWM Period (Timer Counts (1) ) NO TES: 1. The reso ...

  • Freescale Semiconductor DRM079 - page 22

    Implementation V ar iable Speed DC Fan Contr ol using the MC9RS08KA2, Rev . 0 22 Freescale Semiconductor ...

  • Freescale Semiconductor DRM079 - page 23

    Temperature Sensor Measurement V ar iable Speed DC Fan Contr ol using the MC9RS08KA2, Rev . 0 Freescale Semiconductor 23 Appendix A. Schematic R2 1 2 10K 220 R1 1 2 C2 1 2 2u2F/25V C3 1 2 2u2F/25V R8 12 1K5 22nF C7 1 2 10K VR1 1 2 3 NDS7002A Q3 1 2 3 4K7(1%) R10 1 2 PA3/AO/BKGD PA2/K2/RST VDD VSS PA5/K5 PA4/K4 PA1/K1/A- PA0/K0/A+ 9RS08KA2DN U1 1 2 ...

  • Freescale Semiconductor DRM079 - page 24

    Implementation V ar iable Speed DC Fan Contr ol using the MC9RS08KA2, Rev . 0 24 Freescale Semiconductor ...

  • Freescale Semiconductor DRM079 - page 25

    Temperature Sensor Measurement V ar iable Speed DC Fan Contr ol using the MC9RS08KA2, Rev . 0 Freescale Semiconductor 25 Appendix B. Program Listing ;************************************************************** ; ; (c) copyright Freescale Semiconductor. 2006 ; ALL RIGHTS RESERVED ; ;************************************************************** ; ...

  • Freescale Semiconductor DRM079 - page 26

    Implementation V ar iable Speed DC Fan Contr ol using the MC9RS08KA2, Rev . 0 26 Freescale Semiconductor MTIM_TCLK_FALLING equ $20 MTIM_TCLK_RISING equ $30 ;========================================================================= ; ACMP Definition ;========================================================================= ACMP_OUTPUT_FALLING equ $0 ...

  • Freescale Semiconductor DRM079 - page 27

    Temperature Sensor Measurement V ar iable Speed DC Fan Contr ol using the MC9RS08KA2, Rev . 0 Freescale Semiconductor 27 TargetPeriod ds.b 1 ActualPeriod ds.b 1 DriveTime ds.b 1 SensorReading ds.b 1 MotorRunning ds.b 1 org RAMStart ; variable/data section org ROMStart ; code section main: Entry: ;---------------------------------------------------- ...

  • Freescale Semiconductor DRM079 - page 28

    Implementation V ar iable Speed DC Fan Contr ol using the MC9RS08KA2, Rev . 0 28 Freescale Semiconductor sta KBIES ;HALL rising Edge Trigger sta KBIPE ;KBI Enable ;------------------------------------------------------- ;Config MTIM ; ;Timer prescalar=256 -> Timer clk = 16kHz ;Bus = 4MHz ;Max OF period = 16.384ms ;Timer resolution = 64us ;------ ...

  • Freescale Semiconductor DRM079 - page 29

    Temperature Sensor Measurement V ar iable Speed DC Fan Contr ol using the MC9RS08KA2, Rev . 0 Freescale Semiconductor 29 ;5) Read Temp Sensor Again bsr ReadSensor ; Read Sensor value ;6) Dead time control StartTimer ;7) During the dead time, update dead time period every 128ms brclr SRTISC_RTIF, MAP_ADDR_6(SRTISC), UpdateLater; Update PWM duty cycl ...

  • Freescale Semiconductor DRM079 - page 30

    Implementation V ar iable Speed DC Fan Contr ol using the MC9RS08KA2, Rev . 0 30 Freescale Semiconductor ; X indicate the coil to be driven ;%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SetPWM: mov #255, MTIMMOD ; OF period mov #(mMTIMSC_TRST|mMTIMSC_TOIE), MTIMSC; Reset and Start Timer lda #20 mov #(mKBISC_KBIE), KBI ...

  • Freescale Semiconductor DRM079 - page 31

    Temperature Sensor Measurement V ar iable Speed DC Fan Contr ol using the MC9RS08KA2, Rev . 0 Freescale Semiconductor 31 NoReading: mov #$00, SensorReading ; Smallest Number clr ACMPSC ; disable ACMP mov #(mMTIMSC_TSTP|mMTIMSC_TRST), MTIMSC ; mask interrupt and clear flag mov #(MTIM_BUS_CLK|MTIM_DIV_256), MTIMCLK; Reset Timer resolution rts ;%%%%%% ...

  • Freescale Semiconductor DRM079 - page 32

    Implementation V ar iable Speed DC Fan Contr ol using the MC9RS08KA2, Rev . 0 32 Freescale Semiconductor lda #255 Quiet: bclr BUZZER, PTAD ; Clear buzzer mov #30, MTIMMOD mov #(mMTIMSC_TRST|mMTIMSC_TOIE), MTIMSC; Reset and Start Timer wait mov #(mMTIMSC_TSTP|mMTIMSC_TRST), MTIMSC; mask interrupt and clear flag sta MAP_ADDR_6(SRS) ; Bump COP dbnza Q ...

  • Freescale Semiconductor DRM079 - page 33

    ...

  • Freescale Semiconductor DRM079 - page 34

    How t o Reach Us: Home P age: www .freescale.com E-mail: suppor t@freescale.com USA/Eur ope or Locatio ns Not Listed: F reescale Semiconductor T echnical Information Center, CH370 1300 N. Alma School Road Chandler , Arizona 85224 +1-800-521-6274 or +1-480-768-2130 suppor t@freescale.com Europe, Middle East, and Africa: F reescale Halbleiter Deutsch ...

メーカー Freescale Semiconductor カテゴリー Welding System

Freescale Semiconductor DRM079のメーカーから受け取ることができるドキュメントは、いくつかのグループに分けられます。その一部は次の通りです:
- #BRANDの図面#
- DRM079の取扱説明書
- Freescale Semiconductorの製品カード
- パンフレット
- またはFreescale Semiconductor DRM079の消費電力シール
それらは全部重要ですが、デバイス使用の観点から最も重要な情報は、Freescale Semiconductor DRM079の取扱説明書に含まれています。

取扱説明書と呼ばれる文書のグループは、Freescale Semiconductor DRM079の取り付け説明書、サービスマニュアル、簡易説明書、またはFreescale Semiconductor DRM079のユーザーマニュアル等、より具体的なカテゴリーに分類されます。ご必要に応じてドキュメントを検索しましょう。私たちのウェブサイトでは、Freescale Semiconductor DRM079の製品を使用するにあたって最も人気のある説明書を閲覧できます。

Freescale Semiconductor DRM079デバイスの取扱説明書はどのようなものですか?
取扱説明書は、ユーザーマニュアル又は単に「マニュアル」とも呼ばれ、ユーザーがFreescale Semiconductor DRM079を使用するのを助ける技術的文書のことです。説明書は通常、全てのFreescale Semiconductor DRM079ユーザーが容易に理解できる文章にて書かれており、その作成者はその分野の専門家です。

Freescale Semiconductorの取扱説明書には、基本的な要素が記載されているはずです。その一部は、カバー/タイトルページ、著作権ページ等、比較的重要度の低いものです。ですが、その他の部分には、ユーザーにとって重要な情報が記載されているはずです。

1. Freescale Semiconductor DRM079の説明書の概要と使用方法。説明書にはまず、その閲覧方法に関する手引きが書かれているはずです。そこにははFreescale Semiconductor DRM079の目次に関する情報やよくある質問、最も一般的な問題に関する情報を見つけられるはずです。つまり、それらはユーザーが取扱説明書に最も期待する情報なのです。
2. 目次。Freescale Semiconductor DRM079に関してこのドキュメントで見つけることができる全てのヒントの目次
3. Freescale Semiconductor DRM079デバイスの基本機能を使うにあたってのヒント。 Freescale Semiconductor DRM079のユーザーが使い始めるのを助けてくれるはずです。
4. トラブルシューティング。Freescale Semiconductor DRM079に関する最も重要な問題を診断し、解決するために役立つ体系化された手続き
5. FAQ。よくある質問
6. 連絡先。一人では問題を解決できない場合に、その国におけるFreescale Semiconductor DRM079のメーカー/サービスへの連絡先に関する情報。

Freescale Semiconductor DRM079についてご質問がありますか?

次のフォームを使用してください

見つけた説明書を読んでもFreescale Semiconductor DRM079の問題を解決できない場合、下記のフォームを使用して質問をしましょう。ユーザーのどなたかがFreescale Semiconductor DRM079で同様の問題を抱えていた場合、その解決方法を共有したいと考えるかもしれません。

画像のテキストを入力してください

コメント (0)