Manuale per l’uso Freescale Semiconductor DRM079

34 pagine 0.25 mb
Scarica

Vai alla pagina 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 ...

Fabbricante Freescale Semiconductor Categoria Welding System

I documenti che otteniamo dal fabbricante del dispositivoFreescale Semiconductor DRM079 possono essere suddivisi in diversi gruppi. Questi sono tra gli altri:
- disegni tecnici Freescale Semiconductor
- manuali per l’uso DRM079
- schede prodotto Freescale Semiconductor
- opuscoli
- o etichette energetiche Freescale Semiconductor DRM079
Tutti sono importanti, ma le informazioni più importanti dal punto di vista di utilizzo del dispositivo possono essere trovate nel manuale per l’uso Freescale Semiconductor DRM079.

Un gruppo di documenti denominato manuali per l’uso, è anche suddiviso in tipi più specifici, come: Manuali di installazione Freescale Semiconductor DRM079, manuali di manutenzione, brevi manuali o manuali utente Freescale Semiconductor DRM079. A seconda delle esigenze, si dovrebbe cercare il documento necessario. Nel nostro sito web, puoi visualizzare il manuale più popolare per l'uso del prodotto Freescale Semiconductor DRM079.

Manuale completo del dispositivo Freescale Semiconductor DRM079, come deve essere?
Il manuale per l’uso, denominato anche istruzioni per l’uso, o semplicemente il manuale è un documento tecnico progettato per aiutare ad utilizzare Freescale Semiconductor DRM079 dagli utenti. I manuali sono di solito scritti da uno scrittore tecnico, ma in un linguaggio accessibile a tutti gli utenti Freescale Semiconductor DRM079.

Il manuale per l’uso completo Freescale Semiconductor, dovrebbe includere vari elementi di base. Alcuni di loro sono meno importanti, come ad esempio: copertina / pagina del titolo o pagina di autore. Tuttavia, la parte rimanente, dovrebbe fornire informazioni importanti dal punto di vista dell'utente.

1. Introduzione e la guida su come utilizzare il manuale Freescale Semiconductor DRM079 - All'inizio di ogni manuale, dovremmo trovare indizi su come utilizzare il documento. Dovrebbe contenere informazioni sulla posizione dell’indice Freescale Semiconductor DRM079, FAQ o i problemi più comuni : i punti che sono più spesso cercati dagli utenti di ogni manuale
2. Indice - elenco di tutti i suggerimenti per Freescale Semiconductor DRM079 che possono essere trovati nel documento corrente
3. Suggerimenti su come utilizzare le funzioni di base del dispositivo Freescale Semiconductor DRM079 - che ci dovrebbe aiutare nei primi passi durante l'uso Freescale Semiconductor DRM079
4. Troubleshooting - sequenza sistematica delle attività che vi aiuterà a diagnosticare e, successivamente, risolvere i problemi più importanti del Freescale Semiconductor DRM079
5. FAQ - domande più frequenti
6. Dettagli di contatto Informazioni su dove cercare il contatto con il fabbricante / servizio Freescale Semiconductor DRM079 in un dato paese, se il problema non può essere risolto da noi stessi.

Hai una domanda su Freescale Semiconductor DRM079?

Utilizza il modulo sottostante

Se non hai risolto il problema con Freescale Semiconductor DRM079 con l'aiuto del manuale che hai trovato, fai una domanda utilizzando il modulo sottostante. Se un utente ha avuto un problema simile con Freescale Semiconductor DRM079 è probabile che voglia condividere il modo di risolverlo.

Riscrivi il testo dall’immagine

Commenti (0)