Manuals
/
Freescale Semiconductor
/
Home Audio
/
Stereo System
Freescale Semiconductor
M68HC08 manual
Models:
M68HC08
1
2
72
72
Download
72 pages
22.12 Kb
1
2
3
4
5
6
7
8
<
>
Specifications
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 2
Image 2
Page 1
Page 3
Page 2
Image 2
Page 1
Page 3
Contents
DRM067 Rev. 1 12/2005
Designer Reference Manual
M68HC08 Microcontrollers
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
1.1 Introduction
1.2 Benefits of this Solution
Chapter 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
3.1 Application Outline
3.2 Dimmable Light Ballast Characteristics
Chapter Reference Design
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.3.3 Protection Features
3.4 Software Specification
3.5 Hardware Specification
4.2 System Modules
Chapter Hardware Design
4.1 Hardware Implementation
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
Table 4-3.Supplied Voltages
4.2.4 Power Supply
Figure 4-6.Dimmable Light Ballast - Power Supply
Hardware Design
Freescale Semiconductor
5.2 Control Algorithm Description
Chapter Software Design
5.1 Introduction
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.2 Luminance Level Control Tube Run Mode
5.2.2 Light Ballast Control
5.2.2.1 Tube Start 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
Freescale Semiconductor
5.3.3 Synchronization Interrupt Routine
5.3.4 Sine Wave Generation Interrupt Routine
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
Freescale Semiconductor
Figure 5-8.Flow Chart - Main Flow, Part
Software Design
Freescale Semiconductor
Figure 5-9.Flow Chart - Main Flow, Part
Detailed Software Description
Freescale Semiconductor
Figure 5-10.Flow Chart - Main Flow, Part
Software Design
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