Manuals
/
Freescale Semiconductor
/
Home Audio
/
Stereo System
Freescale Semiconductor
M68HC08 manual Introduction, Freescale Semiconductor
Models:
M68HC08
1
10
72
72
Download
72 pages
22.12 Kb
7
8
9
10
11
12
13
14
<
>
Specs
Parts list
A.1 Schematics
Chapter Demo Setup
MCU PWM PWM1 FAULT PIN
Signal
How to
Power Factor Correction
Benefits of this Solution
itADmin =
Page 10
Image 10
Introduction
Dimmable Light Ballast with Power Factor Correction, Rev. 1
10
Freescale Semiconductor
Page 9
Page 11
Page 10
Image 10
Page 9
Page 11
Contents
M68HC08 Microcontrollers
Designer Reference Manual
DRM067 Rev. 1 12/2005
Page
Designer Reference Manual
Draft 2 for Review
Freescale Semiconductor
Chapter Reference Design
Contents Chapter Introduction
Chapter Control Theory
Chapter Hardware Design
Chapter Software Design
Chapter Demo Setup
Appendix A. Schematics and Part List
Appendix B. References
Chapter Introduction
1.2 Benefits of this Solution
1.1 Introduction
1.3 The MC68HC908LB8 Microcontroller
7-bitkeyboard interrupt
Introduction
Freescale Semiconductor
2.1.1 Fluorescent Lamp Control Theory
Chapter Control Theory
2.1 Introduction
2.1.2 Fluorescent Lamp Operation
Gas filling mixture
2.1.3 Controlling the Fluorescent Lamp
Freescale Semiconductor
Freescale Semiconductor
2.2PFC Control Theory
2.2.1 Introduction
Freescale Semiconductor
Freescale Semiconductor
DC Bus Voltage
MCU PWM PWM1 FAULT PIN
Control Theory
Zero
2.2.4 Concept Summary
Figure 2-8.Generated Input Current Waveform
Control Theory
Freescale Semiconductor
Chapter Reference Design
3.2 Dimmable Light Ballast Characteristics
3.1 Application Outline
3.3 Application Description
Table 3-1.Light Ballast Characteristics
CONTROL BOARD
3.3.2 Power Factor Correction
3.3.1 Light Ballast Control
MC68HC908LB8
3.5 Hardware Specification
3.4 Software Specification
3.3.3 Protection Features
4.1 Hardware Implementation
Chapter Hardware Design
4.2 System Modules
4.2.1 Input and PFC
Hardware Design
Figure 4-3.Dimmable Light Ballast - Input and PFC
4.2.2 Inverter
Freescale Semiconductor
Freescale Semiconductor
Figure 4-4.Dimmable Light Ballast - Inverter
System Modules
HALF BRIDGE
4.2.3 Microcontroller
Pin number
Signal
System Modules
TOP BOT Comp Comp Out Zero Detect
Hardware Design
Signal
Table 4-2.J2 Interface Header
Pin number
Figure 4-6.Dimmable Light Ballast - Power Supply
4.2.4 Power Supply
Table 4-3.Supplied Voltages
Hardware Design
Freescale Semiconductor
5.1 Introduction
Chapter Software Design
5.2 Control Algorithm Description
5.2.1.4 Generation of Output PFC Control SIgnal
5.2.1 Power Factor Correction Control
5.2.1.2 Phase Shift Synchronization
5.2.1.1 DC-busVoltage Control
5.2.2.1 Tube Start Mode
5.2.2 Light Ballast Control
5.2.2.2 Luminance Level Control Tube Run Mode
rounditmin ⋅ ADmax ⁄ imax
q = itADmin - A ⋅ ek ⋅ ADmin
ireq = A ⋅ ek ⋅ ireqAD + q
rounditmax ⋅ ADmax ⁄ imax
5.3.1 Initialization Setup
5.3 Software Implementation
5.3.1.1 PWM Setup
BusFrequency
5.3.1.2 HRP Setup
PWM Frequency =
Hz Hz
5.3.2 Main Program Loop
5.3.4 Sine Wave Generation Interrupt Routine
5.3.3 Synchronization Interrupt Routine
Freescale Semiconductor
interrupt void pwmISRvoid
Set 1ms flag and reset 1ms counter
Software Design
Read new PWM value from table * sineGain
5.3.4.1 Fault Detection and Processing
Software Design
5.4 Detailed Software Description
Figure 5-6.Flow Chart - timovISR and faultISR
Stop HRP
Figure 5-7.Flow Chart - Main Flow, Part
Detailed Software Description
Software Design
Figure 5-8.Flow Chart - Main Flow, Part
Freescale Semiconductor
Detailed Software Description
Figure 5-9.Flow Chart - Main Flow, Part
Freescale Semiconductor
Software Design
Figure 5-10.Flow Chart - Main Flow, Part
Freescale Semiconductor
5.5 Microcontroller Usage
5.5.1.1 High Resolution PWM HRP
5.5.1.4 Timer Interface Module TIM
5.5.1 Microcontroller Peripheral Usage
Software Design
5.6 Definitions of Constants and Variables
5.5.3 I/O Usage
I/O pin
5.6.1 System Setup Definitions
defines the minimum HRP frequency in kHz
5.6.2 System Constants and Variables
Page
6.2 Software Setup
Chapter Demo Setup
6.1 Hardware Setup
6.2.1 Required Software Tools
\prm\P&E FCS linker.prm, linker program file
6.2.3 Executing the Application
6.2.4 Project Files
\Sources\pi controller.c, PI regulators file
Appendix A. Schematics and Part List
A.1 Schematics
Comp
2.7mH
PFC Current Sense
PFC Gate
PFC Gate
PFC Current Sense
Comp
Zero Detect
O1 O2 O3 O4 O5 O6 O7 O8
Figure A-3.Inverter
DCB TOP BOT
COM LO
Serial Data DCB Divider Tube Current Tube Current
TOP BOT Comp - Comp Out Zero Detect
Serial Data
Tube Voltage difference
Serial Data DCB Divider Tube Current Tube Current
GND
Serial Data5
Tube Voltage difference
Figure A-6.Power supply
QUANTITY
A.2 Parts List
DESIGNATORS
DESCRIPTION
DESCRIPTION
DESIGNATORS
QUANTITY
MANUFACTURER
Freescale Semiconductor
Appendix B. References
Freescale Semiconductor
Page
E-mail
How to Reach Us
Home Page
USA/Europe or Locations Not Listed