Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/newdedyk/domains/bkmanuals.com/public_html/includes/pages/manual_inc.php on line 26
Freescale Semiconductor M68HC08 manuale d’uso - BKManuals

Freescale Semiconductor M68HC08 manuale d’uso

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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72

Vai alla pagina of

Un buon manuale d’uso

Le regole impongono al rivenditore l'obbligo di fornire all'acquirente, insieme alle merci, il manuale d’uso Freescale Semiconductor M68HC08. La mancanza del manuale d’uso o le informazioni errate fornite al consumatore sono la base di una denuncia in caso di inosservanza del dispositivo con il contratto. Secondo la legge, l’inclusione del manuale d’uso in una forma diversa da quella cartacea è permessa, che viene spesso utilizzato recentemente, includendo una forma grafica o elettronica Freescale Semiconductor M68HC08 o video didattici per gli utenti. La condizione è il suo carattere leggibile e comprensibile.

Che cosa è il manuale d’uso?

La parola deriva dal latino "instructio", cioè organizzare. Così, il manuale d’uso Freescale Semiconductor M68HC08 descrive le fasi del procedimento. Lo scopo del manuale d’uso è istruire, facilitare lo avviamento, l'uso di attrezzature o l’esecuzione di determinate azioni. Il manuale è una raccolta di informazioni sull'oggetto/servizio, un suggerimento.

Purtroppo, pochi utenti prendono il tempo di leggere il manuale d’uso, e un buono manuale non solo permette di conoscere una serie di funzionalità aggiuntive del dispositivo acquistato, ma anche evitare la maggioranza dei guasti.

Quindi cosa dovrebbe contenere il manuale perfetto?

Innanzitutto, il manuale d’uso Freescale Semiconductor M68HC08 dovrebbe contenere:
- informazioni sui dati tecnici del dispositivo Freescale Semiconductor M68HC08
- nome del fabbricante e anno di fabbricazione Freescale Semiconductor M68HC08
- istruzioni per l'uso, la regolazione e la manutenzione delle attrezzature Freescale Semiconductor M68HC08
- segnaletica di sicurezza e certificati che confermano la conformità con le norme pertinenti

Perché non leggiamo i manuali d’uso?

Generalmente questo è dovuto alla mancanza di tempo e certezza per quanto riguarda la funzionalità specifica delle attrezzature acquistate. Purtroppo, la connessione e l’avvio Freescale Semiconductor M68HC08 non sono sufficienti. Questo manuale contiene una serie di linee guida per funzionalità specifiche, la sicurezza, metodi di manutenzione (anche i mezzi che dovrebbero essere usati), eventuali difetti Freescale Semiconductor M68HC08 e modi per risolvere i problemi più comuni durante l'uso. Infine, il manuale contiene le coordinate del servizio Freescale Semiconductor in assenza dell'efficacia delle soluzioni proposte. Attualmente, i manuali d’uso sotto forma di animazioni interessanti e video didattici che sono migliori che la brochure suscitano un interesse considerevole. Questo tipo di manuale permette all'utente di visualizzare tutto il video didattico senza saltare le specifiche e complicate descrizioni tecniche Freescale Semiconductor M68HC08, come nel caso della versione cartacea.

Perché leggere il manuale d’uso?

Prima di tutto, contiene la risposta sulla struttura, le possibilità del dispositivo Freescale Semiconductor M68HC08, l'uso di vari accessori ed una serie di informazioni per sfruttare totalmente tutte le caratteristiche e servizi.

Dopo l'acquisto di successo di attrezzature/dispositivo, prendere un momento per familiarizzare con tutte le parti del manuale d'uso Freescale Semiconductor M68HC08. Attualmente, sono preparati con cura e tradotti per essere comprensibili non solo per gli utenti, ma per svolgere la loro funzione di base di informazioni e di aiuto.

Sommario del manuale d’uso

  • Pagina 1

    M68HC08 Micr ocontr oller s freescale.com Designer Reference Manual Dimmable Light Ballast with Power Factor Correction DRM067 Rev. 1 12/2005[...]

  • Pagina 2

    [...]

  • Pagina 3

    Dimmable Light Ballast with P o wer Factor Correction, Rev . 1 Freescale Semiconductor 3 Dimmable Light Ballast with Power Factor Correction Designer Reference Manual by: Petr Frgal Freescale Czech Systems Center Roznov pod Radhostem, Czech Republic To provide the most up-to-date information, the revisi on of our docume nts on the World Wide Web wi[...]

  • Pagina 4

    Dimmable Light Ballast with P o wer Factor Correction, Rev . 1 4 Freescale Semiconductor Draft 2 for Review[...]

  • Pagina 5

    Dimmable Light Ballast with P o wer Factor Correction, Rev . 1 Freescale Semiconductor 5 Contents Chapter 1 Introduction 1.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 1.2 Benefits of this Solution . . . . . . . . . . . . . . . . . . . . . . . . . [...]

  • Pagina 6

    Dimmable Light Ballast with P ower Factor Correction 6 Freescale Semiconductor Chapter 5 Software Design 5.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 5.2 Control Algorithm Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .[...]

  • Pagina 7

    Dimmable Light Ballast with P o wer Factor Correction, Rev . 1 Freescale Semiconductor 7 Chapter 1 Introduction 1.1 Introduction This reference design describes th e design of a full y digital dimmable light ballast with power factor correction (PFC) control for two parallel connected fluorescent la mps. This reference design focuses on th e lamp b[...]

  • Pagina 8

    Introduction Dimmable Light Ballast with P o wer Factor Correction, Rev . 1 8 Freescale Semiconductor • Energy saving • Ease of adapting software for different lamps • Ease of re-programming the system behavior • Software can simplify the hardwa re • Diagnostic functions — fault state, tube end-of-life, ignition fault, tube remo ved •[...]

  • Pagina 9

    The MC68HC908LB8 Microc ontroller Dimmable Light Ballast with P o wer Factor Correction, Rev . 1 Freescale Semiconductor 9 • Dual channel high resolution PWM (HRP) with deadtime insertion and shutdown inpu t to perform light control and dimming functions for ballasts. The outputs u se frequency dithering to achieve a 3.9 ns output resolution. •[...]

  • Pagina 10

    Introduction Dimmable Light Ballast with P o wer Factor Correction, Rev . 1 10 Freescale Semiconductor[...]

  • Pagina 11

    Dimmable Light Ballast with P o wer Factor Correction, Rev . 1 Freescale Semiconductor 11 Chapter 2 Control Theory 2.1 Introduction This chapter covers fluoresce nt lamp theory and two PFC concepts - discont in uous conduction mode and hysteresis current control mode. 2.1.1 Fluorescent Lamp Control Theory To light a low-pressure fluorescent lamp, t[...]

  • Pagina 12

    Control Theory Dimmable Light Ballast with P o wer Factor Correction, Rev . 1 12 Freescale Semiconductor Figure 2-1. Typical Low Pressure Fluorescent Tube I/V Characteristic The value of V strike is a function of several parameters: • Gas filling mixture • Gas pressure and temperature • Tube length • Tube diameter • Temperature of electro[...]

  • Pagina 13

    Introd uctio n Dimmable Light Ballast with P o wer Factor Correction, Rev . 1 Freescale Semiconductor 13 Figure 2-2. Typical F luorescent Tube Equivalent Circuit in Steady Stat e Up to now, there is no model avai lable to describe the start up sequ ence of these lamps. However, since most of the phenomena are dependent upon the steady state charact[...]

  • Pagina 14

    Control Theory Dimmable Light Ballast with P o wer Factor Correction, Rev . 1 14 Freescale Semiconductor The operation of a fluorescent tube requires se veral components around the tube, as shown in Figure 2-3 . The gas mixture enclosed in the tub e is ionized by means of a high voltage pulse applied between the two electrodes. To make this startup[...]

  • Pagina 15

    PFC Control Theory Dimmable Light Ballast with P o wer Factor Correction, Rev . 1 Freescale Semiconductor 15 power, battery operated fluorescent tubes are driven with a single switch fly-back topology, but, the output transformer is coupled to the tube by a capacitive network and the current through th e lamp is alternating current. However, the fi[...]

  • Pagina 16

    Control Theory Dimmable Light Ballast with P o wer Factor Correction, Rev . 1 16 Freescale Semiconductor 2.2.2 Digital Power F actor Concept — Hysteresi s Current Control Mode The control technique is based on hysteretic current control. The system operates in continuous conduction mode with variable switching frequen cy (30–100 kHz) (see Figur[...]

  • Pagina 17

    PFC Control Theory Dimmable Light Ballast with P o wer Factor Correction, Rev . 1 Freescale Semiconductor 17 Figure 2-5. Hystere sis Current Control Mode Current Waveform 2.2.3 Digital Power Factor C oncept — Disconti nuous Conduction Mode The control technique is based on discontinuous con duction mode with a current loop with a constant switchi[...]

  • Pagina 18

    + DC BUS + AC LINE AC DC MCU Reference Volta ge Actual Current Zero Crossing L GND Compara tor DC Bus Volta ge - Current Sensin g IC ADC PWM0 + MOSFET PWM FAULT PIN PWM1 Control Theory Dimmable Light Ballast with P o wer Factor Correction, Rev . 1 18 Freescale Semiconductor Figure 2-6. Discontinuous Conduction Mode Principle Figure 2-7. Discontinuo[...]

  • Pagina 19

    PFC Control Theory Dimmable Light Ballast with P o wer Factor Correction, Rev . 1 Freescale Semiconductor 19 Figure 2-8. Generated Input Current Waveform 2.2.4 Concept Summary Both the PFC solutions can be used for applicat ions that do not require a large portion of the MCU’s resources, because they consume only a fractio n of the MCU performanc[...]

  • Pagina 20

    Control Theory Dimmable Light Ballast with P o wer Factor Correction, Rev . 1 20 Freescale Semiconductor[...]

  • Pagina 21

    Dimmable Light Ballast with P o wer Factor Correction, Rev . 1 Freescale Semiconductor 21 Chapter 3 Reference Design 3.1 Application Outline The presented system is designed to control two par allel connecte d fluorescent lamps. The reference design meets the following performance specification: • Single board solution with MC68HC908 LB8 microcon[...]

  • Pagina 22

    Ta b l e 3-1. Light Ballast Characteristics Pa r a m et er Unit Va l u e Lamp T ype F18W/33 Input P ower W 8...31 Input Current (230V AC) mA 40...290 Preheat Output F requency kHz 86 Preheat Output Vo l t a g e Vpp 345 Preheat Time ms 900 Running Output F requency Range kHz 50...100 Running Output V oltage Range V 200...235 Input AC V oltage VA C 1[...]

  • Pagina 23

    FILTE R RECT IFI ER PFC POWER SUPPL Y DRIV ER HALF BRI DG E RESONA NT CIRCU IT DIFFE REN TIAL VOLT AGE FLUOR ESC EN T LAM PS DRIVE R DC -BUS HIGH RESOL UTI ON PWM PWM GENER ATI ON USER IN TE RFA CE MO NITO R MODE LU MINA NCE LEVEL PI REGUL ATO R BRIGH TNE SS LINEA RIZ AT ION DC - BUS V OLT AG E ZERO CROS SIN G TUBE 2 CURRE NT TUBE 1 CUR RE NT MC68H[...]

  • Pagina 24

    Reference Design Dimmable Light Ballast with P o wer Factor Correction, Rev . 1 24 Freescale Semiconductor the PFC switch in hysteresis current con trol mode or output is used for switch off PWM1 in DCM. Than PWM1 signal is used directly for sw itching the PFC swit ch transistor. 3.3.3 Protection Features During the startup phase and run phase , so[...]

  • Pagina 25

    Dimmable Light Ballast with P o wer Factor Correction, Rev . 1 Freescale Semiconductor 25 Chapter 4 Hardware Design 4.1 Hardware Implementation This chapter covers the system hardware implementa tio n. The dimmable light ballast board is shown in Figure 4-1 . Figure 4-1. Dimmable Light Ballast - Demo Board 4.2 System Modules The light ballast syste[...]

  • Pagina 26

    Hardware Design Dimmable Light Ballast with P o wer Factor Correction, Rev . 1 26 Freescale Semiconductor Figure 4-2. Dimmable Light Ballast with Hysteresis PFC HW variation — Hardware Block Diagram 4.2.1 Input and PFC The input and the PFC part provide th e DC-bus voltage to supply the inverter. The schematic for hysteresis current control mode [...]

  • Pagina 27

    System M odules Dimmable Light Ballast with P o wer Factor Correction, Rev . 1 Freescale Semiconductor 27 signal of the comparator (Comp Out) controls the power switch Q1 through the output buffe r, which consists of transistors Q2, Q3, and Q4, resistors R1 0, R13, R34, R35, R36, and R37, a nd capacitor C7. For discontinuous conduction mod e the co[...]

  • Pagina 28

    Hardware Design Dimmable Light Ballast with P o wer Factor Correction, Rev . 1 28 Freescale Semiconductor 4.2.2 Inverter The power inverter generates the proper volta ge for the fluorescent tubes. The power inverte r consists of two MOSFET transistors driven by a half-brid ge driver. It incorporates the half-bridge, a resonant circuit, different vo[...]

  • Pagina 29

    GND 1 2 R19 20R D7 MB R S 1 4 0 GND D6 BAT48 R2 0 10K C16 22nF D G S Q5 IRF830A D G S Q6 IRF830A Vcc 1 HI N 2 LIN 3 COM 4 LO 5 Vs 6 HO 7 VB 8 IC 1 IR 21 0 6 C11 100n F O1 1 O2 2 O3 3 O4 4 O5 5 O6 6 O7 7 O8 8 J2 TU BE C on n ec to r 7 2 L3B DI FF8 R1 6 33R R1 8 33R D3 MUR A 16 0 1 2 C28 470pF 1 KV TO P BOT 1 2 R23 20R D1 0 M BRS140 D9 BAT48 R25 10K [...]

  • Pagina 30

    Hardware Design Dimmable Light Ballast with P o wer Factor Correction, Rev . 1 30 Freescale Semiconductor 4.2.3 Microcontroller The MC68HC908LB8 microcontroller is the co re of th e application. It processe s the input and feedback signals and generates appropriat e control sign als. The description of the pins follows. The inverter is controlled b[...]

  • Pagina 31

    TO P GN D BOT Co m p - Co m p Ou t Tu b e Cu r r e n t 1 5V Zer o D et e c t 1 2 3 JP2 Lum ina nc e Le ve l 5V GND Seri al D a t a GN D GN D R2 6 0 0R VD D 1 VSS 2 PT C0/O S C 1 3 PT C1/O S C 2 4 PT C2/SH T DWN /IRQ 5 PT B 0 / T OP 6 PT B 1 / BO T 7 PT B 2 / FAU LT 8 PT B 3 / PW M0 9 PT B 4 / PW M1 10 PTA6 / AD C 5/ TCH0/ KBI6 20 PTA5 / RST/ K BI 5[...]

  • Pagina 32

    Ta b l e 4-2. J2 Interface Header Pin number Signal 1 +5V 2 PTC2 3 PTC0 4 PT A0 5 GND 6 PT A1 Hardware Design Dimmable Light Ballast with P o wer Factor Correction, Rev . 1 32 Freescale Semiconductor[...]

  • Pagina 33

    System M odules Dimmable Light Ballast with P o wer Factor Correction, Rev . 1 Freescale Semiconductor 33 4.2.4 Power Supply The function of the switch mode power supply (SMPS) is to feed the inverter and output buffer circuit with 15 V and to supply the micro controller stage by 5 V (see Table 4-3 ). The SMPS is supplied from the DC-bus voltage. I[...]

  • Pagina 34

    Hardware Design Dimmable Light Ballast with P o wer Factor Correction, Rev . 1 34 Freescale Semiconductor[...]

  • Pagina 35

    Dimmable Light Ballast with P o wer Factor Correction, Rev . 1 Freescale Semiconductor 35 Chapter 5 Software Design 5.1 Introduction This section describes soft ware features and behavio r of the software in all function modes. The software is described in terms of: • Control Algorithm Description • Software Implementation • Detailed Software[...]

  • Pagina 36

    Software Design Dimmable Light Ballast with P o wer Factor Correction, Rev . 1 36 Freescale Semiconductor 5.2.1 Power Factor Correction Control PFC control consists of DC-bus voltage control us ing the PI controller, phase shift synchroniza tion, reference sine wave generation and generation of output PFC control signals. It also inclu des the trim[...]

  • Pagina 37

    Control Algori thm Description Dimmable Light Ballast with P o wer Factor Correction, Rev . 1 Freescale Semiconductor 37 is higher than the generated sine waveform, then the comparator output is in log.1 and PWM1 is switched off. This happens every PWM period and this process is called cycle by cycle limiting . PWM1 operates at a 40 kHz frequency w[...]

  • Pagina 38

    Software Design Dimmable Light Ballast with P o wer Factor Correction, Rev . 1 38 Freescale Semiconductor level adjustment (brightness linearization). The regulation error is then the input value for the PI regulator. The output value from the PI regulator is the HRP period for half bridge power stage. Input required luminance level adju stment ada[...]

  • Pagina 39

    Software Implementation Dimmable Light Ballast with P o wer Factor Correction, Rev . 1 Freescale Semiconductor 39 5.3 Software Implementation The general software implementation is illustrated in Figure 5-3 . It incorporates the ma in routine entered from Reset and three interrupt states. T he main routine includes the initializat ion of the microc[...]

  • Pagina 40

    Software Design Dimmable Light Ballast with P o wer Factor Correction, Rev . 1 40 Freescale Semiconductor The register CONFIG2 sets: – internal oscillator – IRQ interrupt enabled – IRQPUD must be 0 to connect the in ternal pullup resistor between IRQ pin and V dd . • IRQ status and control register INTSCR sets: – IMASK enable IRQ interrup[...]

  • Pagina 41

    Software Implementation Dimmable Light Ballast with P o wer Factor Correction, Rev . 1 Freescale Semiconductor 41 – PWM clock frequency set to BUSCLK by prescaler bits PRSC0 and PRSC1 • DISMAP is a write-once register which cont rols t he PWM pins to be disabled if an external fault occurs. When this register is written for the first time, it c[...]

  • Pagina 42

    Software Design Dimmable Light Ballast with P o wer Factor Correction, Rev . 1 42 Freescale Semiconductor For BUSCLKX2 = 8 MHz, the HRPDT= $08 3. Set HRPPERH:HRPPERL to select the desired frequency (e.g. 88 kHz) The period of 88 kHz = 1/88 kHz Output period (seconds) = HRPPERH:HRPPERL / (BUSCLKX2 * 32) then, HRPPERH:HRPPERL = 1/88 kHz * (internal b[...]

  • Pagina 43

    Software Implementation Dimmable Light Ballast with P o wer Factor Correction, Rev . 1 Freescale Semiconductor 43 5.3.3 Synchronization Interrupt Routine The interrupt procedure is use d for trimming the internal oscillator and for synchro nization of the phase shift of the reference sine wave wit h the mains voltage. A detailed illustratio n of th[...]

  • Pagina 44

    interrupt void pwm ISR(void) End of subroutine Read new (PW M value from table * sine Gain ) Increment of ta ble index W as end of sine tab. reached ? Table index = 0 yes Set 1ms flag and reset 1m s counter yes Has 1ms g one ? no Reset LDOK to ena ble new PWM reload and clear reload flag Increment 1ms coun ter no Enable PI balla st stage regu lator[...]

  • Pagina 45

    Software Implementation Dimmable Light Ballast with P o wer Factor Correction, Rev . 1 Freescale Semiconductor 45 5.3.4.1 Fault Detection and Processing The following application faults are detected by the software: • DC-bus under voltage • DC-bus over voltage • Failure of the DC-bus voltage to rea ch the required value within the start time [...]

  • Pagina 46

    Disable all in terrupts interrupt void faultISR(void) Stop timer and en able tim e r overflow interrupts Stop HRP 1 Blink fault diode Stop PW M Set Vout(PTB7) pin as an output an d set it to l og. 1 Disco nnect i nternal compar ator f rom pin s and powe red off interrupt void timovISR(void) Software Design Dimmable Light Ballast with P o wer Factor[...]

  • Pagina 47

    Wait for a moment to sta b i lize internal oscillator Disable all inte rrupts RESET Set PWM : - reset sine tab. pointer - PMOD = PWM_MO DULUS - PVAL0 = 0, PVA L1 = 0; - PCTL2 - reload cy cles PWM prescaler, neg ative polarity, disable PWM1, enable PWM0 - DISMA P - disable PWM1 if ext.fault occurs // re sult 0000 0010=0x0 2 - FCR - disable fau lt in[...]

  • Pagina 48

    Act ual DC-BUS v oltage < DC-BUS start v oltage ? Is enabled PI P FC stage regulator calculation ? Increment required DC -BUS voltag e by ramp step vol ta g e Required DC-BUS v oltage > DC-BUS start voltage ? Required DC-BUS v oltage = DC-BUS start v oltage Calculate PI PFC stag e regu lator for reference sine gain no no Has start time gone ?[...]

  • Pagina 49

    Decrement ball ast frequency by ra mp step frequency Is preheat fre quency reached? Has 1ms gone? no yes Calculate PI PFC stage regul ator for reference sine gain phase 3 - Go to preheat frequency 3 Has preheat time gone? no phase 4 - Keep for preheat time yes Calculate PI PFC stage regulator for reference sine gain Test DC-BUS v oltage on limits T[...]

  • Pagina 50

    4 Set Dimming value and Dimming value array to minimal value Set values of PI PFC stage regulator for run mode: - proportionalGain = PI_KP_RUN; - integral Gain = P I_KI_RUN ; Run mode 1 Is enabled PI PFC stage regulator calculation ? yes Test DC-BUS voltage on limits Calculate PI PFC stag e regul at or for reference sine gain yes Control lamp curre[...]

  • Pagina 51

    Microcontroller Usage Dimmable Light Ballast with P o wer Factor Correction, Rev . 1 Freescale Semiconductor 51 5.5 Microcontroller Usage 5.5.1 Microcontroll er Peripheral Usage 5.5.1.1 High Resolution PWM (HRP) The HRP controls the ballast half-bridge power stage. The module is con figured for frequency mode (constant 50% duty cycle, variable freq[...]

  • Pagina 52

    Software Design Dimmable Light Ballast with P o wer Factor Correction, Rev . 1 52 Freescale Semiconductor 5.5.3 I/O Usage Table 5-2 summarizes the use of the I/O pins. Ta b l e 5-2. I/O Usage I/O pin Direction Purpose PTC0/OSC1 INPUT OSC1(EXTERNAL OSCILLA T OR IN MONITOR MODE) PTC1/OSC2 - UNUSED PTC2/SHTD WN/ IRQ INPUT IRQ (MAINS ZERO CR OSSING DET[...]

  • Pagina 53

    Definitions of Consta nts and Variables Dimmable Light Ballast with P o wer Factor Correction, Rev . 1 Freescale Semiconductor 53 5.6.1 System Setup Definitions The following constants can be used t o set up the system behavior, according to require d conditions. 1. #define HW_VAR HYST ...defines HW variation - hysteresis current control mode (HYST[...]

  • Pagina 54

    Software Design Dimmable Light Ballast with P o wer Factor Correction, Rev . 1 54 Freescale Semiconductor 22. #define MIN_IGNITION_FREQ 45 ...defines the minimum HRP frequency in kHz. 23. #define MAX2PREHEAT_RAMP 100 ...represents the number of frequency ste ps between the maximum HRP frequency and the preheat HRP frequency. 24. #define IGNITION_RA[...]

  • Pagina 55

    Definitions of Consta nts and Variables Dimmable Light Ballast with P o wer Factor Correction, Rev . 1 Freescale Semiconductor 55 ...represents the integral gain of the PI PFC stag e regulator in run mode. 44. #define PI_SCALE 0 ...represents the scaling factor of the PI PFC stage regulator (2^scale). 45. #define PI_MIN_VAL 0 ...represents the mini[...]

  • Pagina 56

    Software Design Dimmable Light Ballast with P o wer Factor Correction, Rev . 1 56 Freescale Semiconductor for timing 1 ms intervals. 8. extern tU08 curr_T1; This variable represents the cu rrent in tube 1. 9. extern tU08 curr_T2; This variable represents the cu rrent in tube 2. 10. extern tU08 avg_CurrentT1T2; This variable represents the average v[...]

  • Pagina 57

    Dimmable Light Ballast with P o wer Factor Correction, Rev . 1 Freescale Semiconductor 57 Chapter 6 Demo Setup WARNING This circuit is powered directly fro m the mains voltage supply. It is dangerous to touch any part of the circuit. Whe n working with such circuits, do not connect any scope or de velopment system without using an isolation transfo[...]

  • Pagina 58

    Demo Setup Dimmable Light Ballast with P o wer Factor Correction, Rev . 1 58 Freescale Semiconductor • Discontinuous conduction mode for 50 Hz and for input voltage higher than half of DC-Bus voltage — DCM50HzH.s19 • Discontinuous conduction mo de for 60 Hz and for input voltage lower than half of DC-Bus voltage — DCM60HzL.s19 • Discontin[...]

  • Pagina 59

    Dimmable Light Ballast with P o wer Factor Correction, Rev . 1 Freescale Semiconductor 59 Appendix A. Schematics and Part List A.1 Schematics[...]

  • Pagina 60

    1 2 R34 0R 1 2 R10 6K8 1 2 R35 0R 1 2 R3 220K C B E Q2 BC846B 1 2 R5 220K 1 2 R7 220K E B C Q3 BC856B R13 620R GND 15V C7 100nF GND PFC Gate D15 BAT48 GND Zero Detect C8 82pF D2 BZV55C5V6 1 4 2 3 L6 CMFIL2 15V/1 5 3 1 4 2 6 7 L1 PFCIND3 GND GND 1 2 C1 10nF 275V X2 1 2 C2 150nF 275V X2 C10 220nF 1 2 C5 4n7 250/1000V Y2 2.7mH 5V R36 0R DC+ 1 DC- 2 AC[...]

  • Pagina 61

    1 2 R34 0R 1 2 R10 6K8 1 2 R35 0R 1 2 R3 220K C B E Q2 BC846B 1 2 R5 220K 1 2 R7 220K E B C Q3 BC856B R13 620R GND 15V C7 100nF GND PFC Gate D15 BAT48 GND C8 82pF Zero Detect D2 BZV55C5V6 1 4 2 3 L6 CMFIL2 15V/1 5 3 1 4 2 6 7 L1 PFCIND3 GND GND 1 2 C1 10nF 275V X2 1 2 C2 150nF 275V X2 C10 220nF 1 2 C5 4n7 250/1000V Y2 2.7mH 5V R36 0R DC+ 1 DC- 2 AC[...]

  • Pagina 62

    GND 1 2 R19 20R D7 MBRS140 GND D6 BAT48 R20 10K C16 22nF D G S Q5 IRF830A D G S Q6 IRF830A Vcc 1 HIN 2 LIN 3 COM 4 LO 5 Vs 6 HO 7 VB 8 IC1 IR2106 C11 100nF O1 1 O2 2 O3 3 O4 4 O5 5 O6 6 O7 7 O8 8 J2 TUBE Connector 7 2 L3B DIFF8 R16 33R R18 33R D3 MURA160 1 2 C28 470pF 1KV TOP BOT 1 2 R23 20R D10 MBRS140 D9 BAT48 R25 10K C18 22nF 1 2 C13 1uF 25V GND[...]

  • Pagina 63

    TOP GND BOT Comp - Comp Out Tube Current 1 5V Zero Detect 1 2 3 JP2 Luminance Level 5V GND Serial Data GND GND R260 0R VDD 1 VSS 2 PTC0/OSC1 3 PTC1/OSC2 4 PTC2/SHTDWN/IRQ 5 PTB0/TOP 6 PTB1/BOT 7 PTB2/FAULT 8 PTB3/PWM0 9 PTB4/PWM1 10 PTA6/ADC5/TCH0/KBI6 20 PTA5/RST/KBI5 19 PTA4/ADC4/KBI4 18 PTA3/ADC3/KBI3 17 PTA2/ADC2/KBI2 16 PTA1/ADC1/KBI1 15 PTA0/[...]

  • Pagina 64

    TOP GND BOT Comp - Tube Current 1 5V Zero Detect 1 2 C29 150nF GND 1 2 3 JP2 Luminance Level 5V GND Serial Data GND GND R260 0R VDD 1 VSS 2 PTC0/OSC1 3 PTC1/OSC2 4 PTC2/SHTDWN/IRQ 5 PTB0/TOP 6 PTB1/BOT 7 PTB2/FAULT 8 PTB3/PWM0 9 PTB4/PWM1 10 PTA6/ADC5/TCH0/KBI6 20 PTA5/RST/KBI5 19 PTA4/ADC4/KBI4 18 PTA3/ADC3/KBI3 17 PTA2/ADC2/KBI2 16 PTA1/ADC1/KBI1[...]

  • Pagina 65

    VCC 1 FB 2 DRAIN 3 GND 4 IC3 NCP1010-SOT223 1 2 + C23 1uF 450V 1 2 + C20 22uF 35V 1 2 C24 1nF 25V L8 4.7mH 1 2 + C21 100uF 35V 1 2 C22 1uF 25V GND 1 2 C25 220nF GND 1 2 3 4 U3 SFH6106 GND GND D14 BZV55C13 D12 MURA160 15V/1 GND R32 390R D13 BZV55C5V1 GND GND 15V 5V DCB TL-RAD EZK Figure A-6. Power supply[...]

  • Pagina 66

    Dimmable Light Ballast with P o wer Factor Correction, Rev . 1 66 Freescale Semiconductor A.2 Parts List T ab le A-1. Printed Circui t Board P ar ts List DESIGNATORS QUANTITY DESCRIPTION MANUF ACTURE R PART NUMBER C1 1 10nF/275V X2 ANY A CCEPT ABLE - C2 1 150nF/275V X2 ANY A CCEPT ABLE - C3,C26 2 10nF/630V TC356 ANY A CCEPT ABLE - C4 1 22 µ F/450V[...]

  • Pagina 67

    Dimmable Light Ballast with P o wer Factor Correction, Rev . 1 Freescale Semiconductor 67 L7 1 1mH CUST OMS - L8 1 4.7mH ANY A CCEPT ABLE 4.7mH - TL-RA D Q1 1 P o wer MOSFET transistor T O-220 INTERNA TIONAL RECTIFIER SPP04N60S5 Q2 1 transistor SO T -23 F AIRCHILD BC846B Q3 1 transistor SO T -23 F AIRCHILD BC856B Q4 1 P ow er MOSFET transistor SO T[...]

  • Pagina 68

    Dimmable Light Ballast with P o wer Factor Correction, Rev . 1 68 Freescale Semiconductor[...]

  • Pagina 69

    Dimmable Light Ballast with P o wer Factor Correction, Rev . 1 Freescale Semiconductor 69 Appendix B. References 1. Electronic Lamp Ba llast Design (AN1543/D), Motorola 1995 2. MON08 Cyclone User Manual, P&E Microcomputer Systems Inc. 2002 3. Opto-isolation Board User Manual, Freescale 2005 4. DLB_Setup.xls — HRP_Setup Excel sheet 5. DLB-LB8-[...]

  • Pagina 70

    Dimmable Light Ballast with P o wer Factor Correction, Rev . 1 70 Freescale Semiconductor[...]

  • Pagina 71

    [...]

  • Pagina 72

    How to Reach Us: Home Page: www .freescale.com E-mail: support@freescale.com USA/Europe or Location s Not Listed: Freescale Semiconductor T echnical Information Center , CH370 1300 N. Alma School Road Chandler , Arizona 85224 +1-800-521-6274 or +1-480-768- 2130 support@freescale.com Europe, Middle East, and Africa: Freescale Halbleiter Deutschland [...]