Freescale Semiconductor DRM079 manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34

Ir a la página of

Buen manual de instrucciones

Las leyes obligan al vendedor a entregarle al comprador, junto con el producto, el manual de instrucciones Freescale Semiconductor DRM079. La falta del manual o facilitar información incorrecta al consumidor constituyen una base de reclamación por no estar de acuerdo el producto con el contrato. Según la ley, está permitido adjuntar un manual de otra forma que no sea en papel, lo cual últimamente es bastante común y los fabricantes nos facilitan un manual gráfico, su versión electrónica Freescale Semiconductor DRM079 o vídeos de instrucciones para usuarios. La condición es que tenga una forma legible y entendible.

¿Qué es un manual de instrucciones?

El nombre proviene de la palabra latina “instructio”, es decir, ordenar. Por lo tanto, en un manual Freescale Semiconductor DRM079 se puede encontrar la descripción de las etapas de actuación. El propósito de un manual es enseñar, facilitar el encendido o el uso de un dispositivo o la realización de acciones concretas. Un manual de instrucciones también es una fuente de información acerca de un objeto o un servicio, es una pista.

Desafortunadamente pocos usuarios destinan su tiempo a leer manuales Freescale Semiconductor DRM079, sin embargo, un buen manual nos permite, no solo conocer una cantidad de funcionalidades adicionales del dispositivo comprado, sino también evitar la mayoría de fallos.

Entonces, ¿qué debe contener el manual de instrucciones perfecto?

Sobre todo, un manual de instrucciones Freescale Semiconductor DRM079 debe contener:
- información acerca de las especificaciones técnicas del dispositivo Freescale Semiconductor DRM079
- nombre de fabricante y año de fabricación del dispositivo Freescale Semiconductor DRM079
- condiciones de uso, configuración y mantenimiento del dispositivo Freescale Semiconductor DRM079
- marcas de seguridad y certificados que confirmen su concordancia con determinadas normativas

¿Por qué no leemos los manuales de instrucciones?

Normalmente es por la falta de tiempo y seguridad acerca de las funcionalidades determinadas de los dispositivos comprados. Desafortunadamente la conexión y el encendido de Freescale Semiconductor DRM079 no es suficiente. El manual de instrucciones siempre contiene una serie de indicaciones acerca de determinadas funcionalidades, normas de seguridad, consejos de mantenimiento (incluso qué productos usar), fallos eventuales de Freescale Semiconductor DRM079 y maneras de solucionar los problemas que puedan ocurrir durante su uso. Al final, en un manual se pueden encontrar los detalles de servicio técnico Freescale Semiconductor en caso de que las soluciones propuestas no hayan funcionado. Actualmente gozan de éxito manuales de instrucciones en forma de animaciones interesantes o vídeo manuales que llegan al usuario mucho mejor que en forma de un folleto. Este tipo de manual ayuda a que el usuario vea el vídeo entero sin saltarse las especificaciones y las descripciones técnicas complicadas de Freescale Semiconductor DRM079, como se suele hacer teniendo una versión en papel.

¿Por qué vale la pena leer los manuales de instrucciones?

Sobre todo es en ellos donde encontraremos las respuestas acerca de la construcción, las posibilidades del dispositivo Freescale Semiconductor DRM079, el uso de determinados accesorios y una serie de informaciones que permiten aprovechar completamente sus funciones y comodidades.

Tras una compra exitosa de un equipo o un dispositivo, vale la pena dedicar un momento para familiarizarse con cada parte del manual Freescale Semiconductor DRM079. Actualmente se preparan y traducen con dedicación, para que no solo sean comprensibles para los usuarios, sino que también cumplan su función básica de información y ayuda.

Índice de manuales de instrucciones

  • Página 1

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

  • Página 2

    [...]

  • Página 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[...]

  • Página 4

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

  • Página 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 . . . . . . . . . .[...]

  • Página 6

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

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 10

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

  • Página 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[...]

  • Página 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[...]

  • Página 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 [...]

  • Página 14

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

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 22

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

  • Página 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 [...]

  • Página 24

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

  • Página 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 ; ;************************************************************** ;[...]

  • Página 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[...]

  • Página 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: ;----------------------------------------------------[...]

  • Página 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 ;------[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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 ;%%%%%%[...]

  • Página 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[...]

  • Página 33

    [...]

  • Página 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[...]