bldc motor solution digital ultrasonic parking assist...

24
300 MCU MCU Applications Applications 301 2013 Holtek New Product Presentation CONTENTS CONTENTS BLDC Motor Solution Digital Ultrasonic Parking Assist Solution Power Bank Solutions Smoke Detector Solution BLDC Motor Workshop V1.0 Demo Touch Key Workshop V3.0 Demo 302 2013 Holtek New Product Presentation BLDC MCU Solutions BLDC MCU Solutions HT66FM5230 HT66FM5240 303 2013 Holtek New Product Presentation ACIM Motor BLDC Motor Motor Product Trend Motor Product Trend The energy crisis and the increasing sense of environmental protection has led to new demands for home appliances DC power supply technology progress Li-ion battery Adapters (Linear Switching Circuits) The trend of dynamic elements Energy labeling Muting Intelligent control (Stepless speed regulation)

Upload: lethu

Post on 08-Mar-2018

240 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: BLDC Motor Solution Digital Ultrasonic Parking Assist ...mcu.holtek.com.tw/service/agent/ppt/seminar_2013/2013NPP-05-PM1.… · 300 MCU Applications 2013 Holtek New Product Presentation

300

MCUMCUApplicationsApplications

3012013 Holtek New Product Presentation

CONTENTSCONTENTS

BLDC Motor Solution

Digital Ultrasonic Parking Assist Solution

Power Bank Solutions

Smoke Detector Solution

BLDC Motor Workshop V1.0 Demo

Touch Key Workshop V3.0 Demo

3022013 Holtek New Product Presentation

BLDC MCU SolutionsBLDC MCU Solutions

HT66FM5230HT66FM5240

3032013 Holtek New Product Presentation

ACIM Motor

BLDCMotor

Motor Product TrendMotor Product Trend

The energy crisis and the increasing sense of environmental protection has led to new demands for home appliances DC power supply technology progress

Li-ion battery Adapters (Linear Switching Circuits)

The trend of dynamic elements Energy labeling Muting Intelligent control (Stepless speed regulation)

Page 2: BLDC Motor Solution Digital Ultrasonic Parking Assist ...mcu.holtek.com.tw/service/agent/ppt/seminar_2013/2013NPP-05-PM1.… · 300 MCU Applications 2013 Holtek New Product Presentation

3042013 Holtek New Product Presentation

HT66FM5230HT66FM5230 / / 5240 Applications5240 Applications

• Floor Standing Fans• Industrial Fans• Ceiling Fans• Rechargeable Fans• Air Fresheners• Office Ceiling Fans• Ventilation Fans

• Floor Standing Fans• Industrial Fans• Ceiling Fans• Rechargeable Fans• Air Fresheners• Office Ceiling Fans• Ventilation Fans

FansFansFans

• Food Processors• DC smoke exhaust ventilators• Mixers• Portable Vacuum Cleaners

• Food Processors• DC smoke exhaust ventilators• Mixers• Portable Vacuum Cleaners

Household ElectricalAppliances

Household ElectricalAppliances

• Electric Screwdrivers• Pumps• Lawn Mowers, Electric garden

scissors• R.O. Water Dispensers

• Electric Screwdrivers• Pumps• Lawn Mowers, Electric garden

scissors• R.O. Water Dispensers

Machine ToolsMachine Tools

• Model Electronic Controllers :Model Aircraft / Model Cars /Model Boats

• Servo Motor Control

• Model Electronic Controllers :Model Aircraft / Model Cars /Model Boats

• Servo Motor Control

ToysToys

3052013 Holtek New Product Presentation

Product High / Low Voltage 3-Phase / Single-Phase Brush / Brushless Hall / Sensorless Square Wave / Sine Wave

Floor standing FANs Low / High 3-Phase Brushless Hall / Sensorless Sine Wave / Square Wave

Industrial Fans High 3-Phase Brushless Hall / Sensorless Square Wave

Ceiling Fans High 3-Phase Brushless Hall Sine Wave

Rechargeable TypeElectric Fans Low 3-Phase Brushless Sensorless Square Wave

Air Fresheners High 3-Phase Brushless Hall Sine Wave / Square Wave

Top Fans High 3-Phase Brushless Hall Square Wave / Sine Wave

Ventilation Fans Low / High Single-Phase / 3-Phase Brushless Hall Sine Wave

Food Processors High Single-Phase Brushless Hall Square Wave

Mixers High Single-Phase / 3-Phase Brush / Brushless Hall Square Wave

Reverse Osmosis Water Dispensers Low 3-Phase Brushless Sensor-less Square Wave

Electric Screwdrivers Low / High 3-Phase / Single-Phase Brushless / Brush Hall / Sensorless Square Wave

Pumps Low / High 3-Phase Brushless Hall / Sensorless Square Wave

HT66FM5230HT66FM5230 / / 5240 Product Solution5240 Product Solution

3062013 Holtek New Product Presentation

BLDC Motor Control BLDC Motor Control ‒‒ System ArchitectureSystem Architecture

MCU : HT66FM5230 / 5240(Weak Current)

Motor(Motor Interface)

DC FrequencyConversion

Circuit (Strong Current)

Position Command

SpeedCommand

CurrentCommand

Speed Feedback Rotor FeedbackPosition

Feedback

Position Controller

Speed Controller

CurrentController

SwitchingController

Protection

DC Motor Converter

Sensor

MotorMechanical

Load

d/dt

3072013 Holtek New Product Presentation

BLDCBLDC Motor Control Motor Control ‒‒ HH//W DesignW Design

BLDC Motor Specification Power supply circuit decision Power switch component selection → IPM or MOS DC converter driving circuit selection → gate driver IC or transistor circuit Motor stator drive mode selection → square wave or sine wave Rotor position detect method selection → Hall or Sensor-less

HT66FM5230HT66FM5240

Page 3: BLDC Motor Solution Digital Ultrasonic Parking Assist ...mcu.holtek.com.tw/service/agent/ppt/seminar_2013/2013NPP-05-PM1.… · 300 MCU Applications 2013 Holtek New Product Presentation

3082013 Holtek New Product Presentation

Motor Driver1. Square Wave / Sine Wave

2. External MOS D-T

3. External Gate Driver Polarity

4. Motor Protection(Over Current / Limit Current /Stall / Over Temperature)

Human Machine Interface Command (Speed Control / Position / Torsion)1. Analog (VR)

2. 1-pin Digital (IR / PWM…)

3. I2C

4. GPIO

5. UART

Motor Feedback Detection1. PI Detection

2. Position Feedback(Hall / Sensorless / Encoder…)

3. Current Feedback

BLDC Motor Control BLDC Motor Control ‒‒ SS//W Design W Design (PI Control)(PI Control)

3092013 Holtek New Product Presentation

HT66FM5230HT66FM5230 / / 52405240Internal Motor Control CircuitInternal Motor Control Circuit

Rotor Detection

Motor Protection

Direction Control

Drive Circuit Control

PWM Modulation 10-bit PWM counter

CKT

PWMR

Fpwm

PWMOx3PWMP_Int

PWMD_Int x3

MPTC1

Mask

Over Current Protection

Stall ProtectionS/W

PWMBx3

PWMCDUTRx3 PRDR

HDCD

HCHBHA

SHASHBSHC

SASBSC

HDMS

0

1

Hall Sensor Dcoder12x6 Register

HDCRFRSBRKE

MotorProtect

CKT

HATHABHBT HBBHTHHCB

PROTECT

HD_EN

PWMComplement

BRKE

MPTC2

Hall Noise Filter

Hall DelayCKT

HCHK_NUM

HNF_MSEL

CTM16-Int

HDLY_MSEL CTM_SEL[1:0]

GATGABGBTGBBGCTGCB

DTS PLC

PolarityDeadTimeInsert

Staggeredl

Circuit

AT2AB2BT2BB2CT2CB2

AT0AB0BT0BB0CT0CB0

AT1AB1BT1BB1CT1CB1

MCF

MCD

PWMME

PWMMD

3102013 Holtek New Product Presentation

SteplessStepless Speed RegulationSpeed Regulation(PWM Linear Modulation)(PWM Linear Modulation)

10-bit PWM up / down counter

CKT

PWMR

fPWM

PWM0 ~ 2

PWMP_Int

PWMD0 ~ 2_Int

PWMCDUTR0 ~ 2 PRDR PWM Duty : Linear PWM Duty Modulation by S/W supported for motor current and torque control

PWM Period : Linear Period Modulation by S/W supported for improving motor system resonance phenomenon

PWM Supports Edge-align mode & Center-align mode

3112013 Holtek New Product Presentation

FFlexible lexible PWM PWM Output Modulation Function Output Modulation Function (Mask Table)(Mask Table)

0

1

2

3

4

5

3-phase inverter Symbol

Mask Complement Mode Example

Mask Independent Mode Example

Current Path (3,0)

PWMO

PWMB

A B C

A B C

A B C A B C A B C

PWMO

PWMB

Current Path (5,0)

PWMO

PWMB

Current Path (5,2)

PWMO

PWMB

Current Path (1,2)

1

1

0

0

1

1

PMEN

1

0

x

x

0

0

PMD

1

1

1

1

0

0

PMEN

1

0

0

0

x

x

PMD

1

1

1

1

0

0

PMEN

0

0

1

0

x

x

PMD

0

0

1

1

1

1

PMEN

x

x

1

0

0

0

PMD

Current Path (3,0)

PWMO

A B C A B C A B C A B C

PWMO

Current Path (5,0)

PWMO

Current Path (5,2)

PWMO

Current Path (1,2)

1

1

1

0

1

1

PMEN

1

0

0

x

0

0

PMD

1

1

1

1

1

0

PMEN

1

0

0

0

0

x

PMD

1

1

1

1

1

0

PMEN

0

0

1

0

0

x

PMD

1

0

1

1

1

1

PMEN

0

x

1

0

0

0

PMD

Additional S/W Mode Supports 3 sets of complementary / non-complementary PWM

modulation control Support a variety of PWM modulations

Page 4: BLDC Motor Solution Digital Ultrasonic Parking Assist ...mcu.holtek.com.tw/service/agent/ppt/seminar_2013/2013NPP-05-PM1.… · 300 MCU Applications 2013 Holtek New Product Presentation

3122013 Holtek New Product Presentation

33--Phase BLDC Motor Drive Phase BLDC Motor Drive --11(Square Wave Hall Control)(Square Wave Hall Control)

PWM modulation : Linear PWM Period and Duty Modulation supportedfor motor speed control

When reversing, Hall A / B / C voltages and A voltage relationship

When reversing, Hall A voltage and A / B / C voltages relationship

3132013 Holtek New Product Presentation

33--Phase BLDC Motor Drive Phase BLDC Motor Drive --22(Square Wave Sensor(Square Wave Sensor--less Control)less Control)

Integrated 3 comparators, effectively reduces the PCBA BOM Cost and the PCB Size Integrated CTM Timer supports Phase Forward and Phase Backward control

+

-

C3PCMP 3 C3X

+

-

C2PCMP 2 C2X

+

-CMP 0

+

-CMP 1 C1X

C0X

C1P

OPA output

Pin share control

DAC output

C1N

Back Electromotive Force and HALL waveforms

Back Electromotive Force and HALL _U positional relationship

STEP1Rotor

Position

STEP2Back

Electromotive Force

Detection

STEP3Automatic Reverse

3142013 Holtek New Product Presentation

BLDCMotor

InverterCKT

InverterCKT

HallSensor

HallSensor

HT66FM5230/5240 MCU

Speed Calculation

Rotor SectorDetection

Rotor Position Calculation

Phase Advance

SinewaveGeneration

SpeedCommandVRVR

33--Phase BLDC Motor Drive Phase BLDC Motor Drive --33(Sine Wave Hall Control)(Sine Wave Hall Control)

Different Speed, different sine wave F (120 Hz / pole = rpm)ex : 120 62Hz / 8 pole = 930 rpm

Correct the electrical degrees using the Hall sensor

3152013 Holtek New Product Presentation

SVPWM Speed and Rotor Detection

Inverter PWM Wave

T0/4 T0/4 T0/4 T0/4T1/2 T2/2 T2/2 T1/2

T (PWM Period)

PWM0

PWM1

PWM2

V001 V011 V011 V001V111 V111 V000V000

V2(011)

V1(001)

V6(101)V5(100)

V4(110)

V3(010)

V0(000)V7(111)

1

3

2

6

4

5

33--Phase BLDC Motor Drive Phase BLDC Motor Drive --44((Sine Wave Hall Control)Sine Wave Hall Control)

Sensor

Motor Phase Current

Motor Voltage

Page 5: BLDC Motor Solution Digital Ultrasonic Parking Assist ...mcu.holtek.com.tw/service/agent/ppt/seminar_2013/2013NPP-05-PM1.… · 300 MCU Applications 2013 Holtek New Product Presentation

3162013 Holtek New Product Presentation

Motor Protection MechanismMotor Protection Mechanism

Integrated motor protection circuit : include H/W & S/W Mode OCP : Drive Circuit Over Current Protection CAPTM : Motor Stall Protection

Mask

CB0

Motor ProtectCKT

OCP

CAPTMH1

MPTC

P_fault

Int_AHL_Lim

Int_Is

CapTM_Cmp

CapTM_Over

MPTC2

Int_Pau

Int_FLT

H2H3

AP

CT0

BT0

AB0

AT0

BB0

3172013 Holtek New Product Presentation

Position FeedbackPosition Feedback : CAPTM: CAPTM(R(Rotor otor Speed Detection)Speed Detection)

Position : If any of the three Hall port changes, then an MCU Hall interrupt will take place

Speed Calculate the number of Hall Sensor changes within a time unit (TMR) Time for one rotation (CAPTM)

HallNoiseFilter

x3

Rising/Falling/Double edge

Detector

Compare RegisterCAPTMAH/CAPTMAL

Compare

CAPTMCH / CAPTMCL

Clear capture counter

CLRCapTM_Over

CapTM_Cmp

H1H2

H3

CAPS1/CAPS0

16-bitCAPTM

CLK

CAPTCK[2:0]

PWMOfSYS/2

fSYS/128fSYS/64

Rising/Falling/Double edgeDetector

HaHbHc

Ha_Int Hb_Int Hc_Int

3182013 Holtek New Product Presentation

Integrated OCP circuit can be used to detect a BLDC 3-Phasemotor current

Current Feedback : Over Current ProtectionCurrent Feedback : Over Current Protection

+_

OPCM

Int_IsAP

OPA : Av=5/10/20

DAC8-bit

OCPCKT Int_Is

OPA

Comparator 0Int_AD_EOC

Int_AHL_ LimADC

ADR

EOC

AD HL/LVTrigger

ADLVD/ADHVDInt_AHL_ Lim

IntTrigger

C0BPE

APToAD

Feedback current : average current I Purpose : Normal stable operation, current < rated value

3192013 Holtek New Product Presentation

Human Machine InterfaceHuman Machine Interface --11

1-pin Digital Interface : IR_RX (Infrared) / PWM / …

1-pin Analog Interface : VR / …

Page 6: BLDC Motor Solution Digital Ultrasonic Parking Assist ...mcu.holtek.com.tw/service/agent/ppt/seminar_2013/2013NPP-05-PM1.… · 300 MCU Applications 2013 Holtek New Product Presentation

3202013 Holtek New Product Presentation

Human Machine InterfaceHuman Machine Interface --22

GPIO I2C / UART *

(* HT66FM5240 Only)

3212013 Holtek New Product Presentation

HT66FM5230 HT66FM5240

Top Board 3-Phase BLDC control (1) 3-Phase BLDC control(2) Swing motor control

Bottom Board (1) IR_RX(2) Swing motor IR_RX

Floor Standing FanFloor Standing FanHT66FM5230HT66FM5230 / / 52405240 SolutionSolution

3-phase BLDC Motor MCU1: HT66FM5230 (BLDC Motor Control)

Swing Motor

Bottom Board

MCU2: HT45F4M (IR RX & Swing Motor)

3-phase BLDC Motor(×3) (×3)

VDDM/VSSM/BLDC Speed Control/Swing D+/D- (× 5)

VDDM/VSSM/BLDC Speed Control/Swing Switch(× 4)

Top Board

Top Board MCU1: HT66FM5230

Support 2 Groups Swing Circuits

(×2)

Swing Motor

Bottom Board

(× 2, Adapter Interface) (× 2, Adapter Interface)

3222013 Holtek New Product Presentation

BLDCM ASSP MCU : HT66FM5230(SVPWM sine wave Hall controller solution)

Human Machine Interface : VR control speed(Stepless speed regulation)

Power supply : Adaptor – Input AC 100V ~ 240V, Output DC 24V Solution

Power supply : DC 12V / 24V at ~30W BLDC motor drive control : sine wave Hall control solution Speed control : VR stepless control speed Speed : 100 rpm ~ 950 rpm PCBA : half-moon single panel solution (low cost and the best Performance / Cost ratio)

MOS : U1, U2, U3HT66FM5230

24V DC & VSPHall : H1, H2, H3

Motor:U, V, W

Floor Standing FanFloor Standing Fan --11HT66FM5230HT66FM5230 SolutionSolution

3232013 Holtek New Product Presentation

Floor Standing Fan Floor Standing Fan --22HT66FM5230HT66FM5230 SolutionSolution

HT66FM5230 : 3-Phase_BLDCM_Hall Solution (VB = 24V / 12V / 8V)

HT66FM5230(16NSOP)

PC0/TP0_0/GATPC1/TP0_1/GABPC2/TP1_0/GBTPC3/TP1_1/GBB

PA1/TCK3/AN2/AP

PA3/TCK2/H1/C1P

PA7/NFIN/AN1

PA2/SCL/OCDSCK/ICPCK

PA0/SDA/OCDSDA/ICPDA

VDD/AVDD

+5V

VSS/AVSS

PC4/TP2_0/GCTPC5/TP2_1/GCB

Speed Control

Hall O/P Gate Driver(Tr. x3)

+24V

Power MOSSwitch

(P2804x3)

+24V

VB

RS

Motor

VB Volt. Det.

Speed Out

PA4/H2/SDA/C2P/C1NPA5/H3/SCL/C3P

PA6/C1N/AN0

VB=24V

GND

VOVI 7805+5V

Page 7: BLDC Motor Solution Digital Ultrasonic Parking Assist ...mcu.holtek.com.tw/service/agent/ppt/seminar_2013/2013NPP-05-PM1.… · 300 MCU Applications 2013 Holtek New Product Presentation

3242013 Holtek New Product Presentation

BLDCM ASSP MCU : HT66FM5240 (SVPWM sine wave Hall control solution) Human Machine Interface : VR controls speed (Stepless Speed Regulation) Power : Adaptor – Input AC 100V~240V, Output DC 24V Solution

Power supply:DC 24V ~ 30W BLDC motor drive control:sine wave Hall control solution Swing motor control: SPWM solution (same 66FM5240 MCU control) Speed control:VR stepless control speed Speed :100 rpm ~ 950 rpm

MOS : U1, U2, U3

HT66FM5240

24V DC & VSP & Swing Motor ON / OFF

Hall : H1, H2, H3

BLDC Motor : U, V, W

Swing Motor : D+ / D-

Floor Standing FanFloor Standing Fan --11HT66FM5240HT66FM5240 SolutionSolution

3252013 Holtek New Product Presentation

Floor Standing Fan Floor Standing Fan --22HT66FM5240HT66FM5240 SolutionSolution

3262013 Holtek New Product Presentation

BLDCM ASSP MCU : HT66FM5230 HMI : VR control speed Input Power : AC 220V / 110V at Max. 250W Solution

Power supply : AC 220V / 110V to DC 300V / 155V Motor drive control : SVPWM sine wave control Hall solution Motor speed control : VR stepless speed control Speed : 700 rpm ~ 2100 rpm

High Voltage IPM

HMI VR

HT66FM5230

AC 220V / 110V

Motor : U, V, W

DC DC SmokSmoke Exhaust e Exhaust VVentilatorentilator --1 1 HT66FM5230 SolutionHT66FM5230 Solution

3272013 Holtek New Product Presentation

DCDC SmokSmoke Exhaust e Exhaust VVentilator entilator --2 2 HT66FM5230 SolutionHT66FM5230 Solution

Three Phase BLDC Hall Sensor Solutions

Page 8: BLDC Motor Solution Digital Ultrasonic Parking Assist ...mcu.holtek.com.tw/service/agent/ppt/seminar_2013/2013NPP-05-PM1.… · 300 MCU Applications 2013 Holtek New Product Presentation

3282013 Holtek New Product Presentation

Digital Ultrasonic Parking Digital Ultrasonic Parking Assist SolutionAssist Solution

HT45F39

Probes

Wired Host

Reversing lights

LED Half-moon shape display

3292013 Holtek New Product Presentation

MasterMasterMCUMCU SlaveSlave

MCUMCU

DistanceDisplay

DistanceDistanceDisplayDisplay LDOLDO

ComparatorComparator OPA2OPA2 Band Pass Band Pass FilterFilter OPA1OPA1

Amplifier /Amplifier /DriverDriver

VoiceAlarmVoiceVoiceAlarmAlarm

Sensor Module 2

Sensor Module N

40kHz or 58kHzBurst Clock

Sensor Module 1

LIN

Traditional Solution Traditional Solution

Obstacle

US Sensor

3302013 Holtek New Product Presentation

HT45F39HT45F39

DistanceDisplay

DistanceDistanceDisplayDisplay

Amplifier /Amplifier /DriverDriver

VoiceAlarmVoiceVoiceAlarmAlarm

40kHz or 58kHzBurst Clock

Sensor Module 1

Sensor Module 2

Sensor Module N

LIN

HT45F39 Solution HT45F39 Solution

Obstacle

US SensorMasterMasterMCUMCU

3312013 Holtek New Product Presentation

HT45F39 Application DiagramHT45F39 Application Diagram

1. 40KHz or 58KHz Band Pass filter2. Gain 0~30dB(1~31.6 times)

DVCM

US Driving Circuit

Gain=R2/R1

Gain=7

Next Slave

Page 9: BLDC Motor Solution Digital Ultrasonic Parking Assist ...mcu.holtek.com.tw/service/agent/ppt/seminar_2013/2013NPP-05-PM1.… · 300 MCU Applications 2013 Holtek New Product Presentation

3322013 Holtek New Product Presentation

HT45F39 Operational DiagramHT45F39 Operational Diagram

US DrivingUS DrivingCircuitCircuit

HoltekHoltekMCU CoreMCU Core

OPA2OPA2 BPFBPFOPA1OPA1

HT45F39

ADCADC

Timer Module 0Timer Module 0

ROMROM RAMRAM

US Sensor AEPAEPAEP

40kHz or 58kHzburst clock generator

Echo Envelope

OPA1 Gain = (R2 / R1)OPA2 Gain=7

40kHz or 58kHz Band Pass Filter

& Programmable Gain Control

High Speed ADC (800kHz)

Echo Signal Recognition

Calculate the distance by the formula : S = 340t/2

Obstacle

Timer Module 1Timer Module 1

3332013 Holtek New Product Presentation

Vth

Time

T1

Echo

Vth1

Vth2

Vth3

T2 T3

Long Distance Range (AEP Mode 0)Long Distance Range (AEP Mode 0)

Dynamic Threshold Voltage Level

Dynamic Threshold Voltage Level

Assume the detected time period, namely Td, is 5ms.According to the Ultrasonic formula : S = 340t / 2 = 340 5 0.001 / 2 = 0.85m.

Td

Burst

3342013 Holtek New Product Presentation

Short Distance Range (AEP Mode 1)Short Distance Range (AEP Mode 1)

Vout

Time

Burst Clock Residual Wave

Echo

Recorded ResidualComparing Data

Short DistanceDetection ModeShort DistanceDetection Mode

3352013 Holtek New Product Presentation

Ultrasonic Module Data CommunicationUltrasonic Module Data Communication

Bus Control 

No Need for Slave ID

No Need for Slave ID

Commands :1. Distance Command2. Switch-off Command

Page 10: BLDC Motor Solution Digital Ultrasonic Parking Assist ...mcu.holtek.com.tw/service/agent/ppt/seminar_2013/2013NPP-05-PM1.… · 300 MCU Applications 2013 Holtek New Product Presentation

3362013 Holtek New Product Presentation

HT45F39 Solution BenefitsHT45F39 Solution Benefits

Features Benefits

Internal Regulator External LDO not required

Internal RC Oscillator External Crystal not required

Internal OPAs External OPA not required

Internal AEP Auto hardware digital signal processing for short and long range

Dynamic Minimum Threshold Flexible threshold level

Programmable Gain Control Smart gain control using various distance section

Two- frequency BPF 40kHz or 58kHz US selection with high noise immunity

Bus Control Unit Implements ID free Slave for better stock management

Software Signal Recognition Software judges signal length, height and adjusts US burst clock to reduce the residual wave

Bus Line IAP / ICP Function Easy to update program and data through Bus line

3372013 Holtek New Product Presentation

Digital Ultrasonic Park Assist Demo BoardDigital Ultrasonic Park Assist Demo Board

Bus 1

Master MCU

HT45F39

HT45F39

HT45F39

HT45F39

Digital US Sensor Module

HT45F39

HT45F39

HT45F39

HT45F39

Bus 2

US 1

US 2

US 3

US 4

US 5

US 6

US 7

US 8

3382013 Holtek New Product Presentation

Power Bank SolutionPower Bank Solution

HT45F4N(Single-Cell Battery)

3392013 Holtek New Product Presentation

Traditional Solution Traditional Solution

HT46R064B

USB IN5V

Charger IC

USB OUT 1

USB OUT 2

5V

5V

Discharger IC

Discharger IC

Battery 1

3.0V~4.2V

CurrentSensor

Detect Battery Voltage

Precision Reference

VoltageThermistor

ADC

Page 11: BLDC Motor Solution Digital Ultrasonic Parking Assist ...mcu.holtek.com.tw/service/agent/ppt/seminar_2013/2013NPP-05-PM1.… · 300 MCU Applications 2013 Holtek New Product Presentation

3402013 Holtek New Product Presentation

HT45F4N Solution HT45F4N Solution --11(2 outputs)(2 outputs)

3412013 Holtek New Product Presentation

HT45F4N Solution HT45F4N Solution --22(LCD Panel Display)(LCD Panel Display)

3422013 Holtek New Product Presentation

HT45F4N Solution HT45F4N Solution --33(Seven(Seven--Segment LED Display)Segment LED Display)

3432013 Holtek New Product Presentation

Power Bank FeaturesPower Bank Features

STD Battery Charge Small Constant Current (SCC) Constant Current (CC) Constant Voltage (CV)

Battery Discharge Constant Current / Constant Voltage (CC / CV) Max. current control Over discharge voltage control

Protect Function Over / Under Voltage Protect (OUVP) Over Current Protect (OCP) Over Temperature Protect (OTP)

Battery Power Display LED LCD 7-Segment Display

Page 12: BLDC Motor Solution Digital Ultrasonic Parking Assist ...mcu.holtek.com.tw/service/agent/ppt/seminar_2013/2013NPP-05-PM1.… · 300 MCU Applications 2013 Holtek New Product Presentation

3442013 Holtek New Product Presentation

Hardware Implementation O.C.PHardware Implementation O.C.P

3452013 Holtek New Product Presentation

Hardware Implementation O.C.PHardware Implementation O.C.P

Two OCPs for over current protection and current monitoring Each one has 2 input pins selected by S/W

Each OCP has one 8-bit D/A Converter for OCP current setting Each OCP has one Comparator

Comparator output with debounce Auto stop PWM when OCP occurs Interrupt when OCP occurs

Each OCP has one PGA OPA gain selected to be 1 / 5 / 10 / 15 / 20 by S / W OPA output connected to A/D internally

OCP Application Power Bank battery charging current protection (Ex. battery charging current > 1.3A) Power Bank USB 5V output current protection (Ex. USB Output Current > 2.5A) Power Bank USB output current, battery charging/discharging current monitor

3462013 Holtek New Product Presentation

Hardware Implementation O.U.V.PHardware Implementation O.U.V.P

3472013 Holtek New Product Presentation

Hardware Implementation O.U.V.PHardware Implementation O.U.V.P

Three OUVP input channels selected by S/W OUVP00 OUVP01 OUVP02

Two OUVP 8-bit D/A Converters for OVP and UVP voltage setting Two Comparators

Comparator output with debounce Auto stop PWM when OVP or UVP occur Interrupt when OVP or UVP occur

OUVP Application Power Bank USB input voltage protection (Ex. USB Input voltage > 5.5V or < 4.5V) Power Bank USB output voltage control (Ex. if USB Output voltage < 4.9 (UVP), PWM +1

by S/W; if USB output voltage > 5.1 (OVP), PWM-1 by S/W)

Page 13: BLDC Motor Solution Digital Ultrasonic Parking Assist ...mcu.holtek.com.tw/service/agent/ppt/seminar_2013/2013NPP-05-PM1.… · 300 MCU Applications 2013 Holtek New Product Presentation

3482013 Holtek New Product Presentation

USB ChargeUSB Charge / / DischargeDischargeAuto Detection Auto Detection –– USB0USB0

3492013 Holtek New Product Presentation

USB ChargeUSB Charge / / Discharge Discharge Auto Detection Auto Detection –– USB1USB1

3502013 Holtek New Product Presentation

USB ChargeUSB Charge / / Discharge Discharge Auto Detection Auto Detection –– USB2USB2

3512013 Holtek New Product Presentation

SingleSingle--cell Battery Demo Boardcell Battery Demo Board

Battery charge (6000mAh / normal voltage 3.7V) S.C.C : VBT < 3V, C.C = 100mA C.C : 3V < VBT < 4.2V, C.C = 1000mA C.V : VBT = 4.2V, C.V = 4.2V, until charging current < 0.02C Input maximum power auto detect: charge on maximum current until the input voltage

≤ 4.5V

Battery discharge C.C / C.V : 1A / 5V Max output current : 2.1A Over discharge voltage control VBT : 3V

Protect function O.V.P : Battery charge : 5.5V / discharge : 5.5V O.C.P : Battery charge : 1.3A / USB output : 2.5A

Page 14: BLDC Motor Solution Digital Ultrasonic Parking Assist ...mcu.holtek.com.tw/service/agent/ppt/seminar_2013/2013NPP-05-PM1.… · 300 MCU Applications 2013 Holtek New Product Presentation

3522013 Holtek New Product Presentation

SingleSingle--cell Battery Solutioncell Battery SolutionConversion Efficiency CurveConversion Efficiency Curve

50

55

60

65

70

75

80

85

90

95

100

0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2 2.2 2.4

Co

nver

sion

Eff

icie

ncy

(%

)

Con

vers

ion

Effic

ienc

y (%

)

Output Current (A)

3532013 Holtek New Product Presentation

HT45F24A

Smoke Detector SolutionSmoke Detector Solution

3542013 Holtek New Product Presentation

Traditional Smoke Alarm Block DiagramTraditional Smoke Alarm Block Diagram

Power Circuit LED

IR Receiver Buzzer Driver

KeyIR Transmitter

OPA × 2 EEPROM

BUZZERSTD MCU16 NSOP

3552013 Holtek New Product Presentation

Traditional Smoke AlarmTraditional Smoke AlarmApplication CircuitApplication Circuit

VBat

VDD VBat

VDD

J1IR_GND

1

C60.0047uF

R92.2M

C510pF

R13200K

R151M

C7150pF

R12 30K

R1410K

R32.2M

D2

IR_RX

R51M

+

-

U2BSGM358

5

67

84

+

-

U2ASGM358

3

21

84

C40.01uFR6

200K

D1IR_TX

R1022 D5

D4

Q28050

R4820

R112.2K

C3100uF

R16 0

Y14MHz

R8 510

NTC1

R7 1K

R2100K

L1

BT1

LED1

C20.1u

C1100uF

R1 10

PZ1

U3

24LC02

1234

67

5

8A0A1A2

VSSSCLWP

SDA

VCC

SW1

STD A/D Type MCU

U1

2

6

1

15

14

13

9

16

12

11

10

7

8

5

34

PA1/C1OUT

PC1/AN5/OSC2

VDD

PA2

PA3

PA4

PB3/AN0/SCS

VSS

PA5/PFD

PA6

PA7

PC0/AN4/OSC1

PB6/AN3/RES

PC2/OSC3

PA0/CNPPC3/OSC4

Q18050

D3

10 200

Page 15: BLDC Motor Solution Digital Ultrasonic Parking Assist ...mcu.holtek.com.tw/service/agent/ppt/seminar_2013/2013NPP-05-PM1.… · 300 MCU Applications 2013 Holtek New Product Presentation

3562013 Holtek New Product Presentation

HoltekHoltek Integrated Smoke Alarms SolutionIntegrated Smoke Alarms Solution

Siren Smoke Alarm HT45F24A 16-pin NSOP

Voice Smoke Alarm HT45F24A 20-pin SSOP HT82V739 8SOP ‒ Audio Power Amplifier Standard Flash Memory 8-pin SOP ‒ SPI Flash

Network Smoke Alarm HT45F24A 16-pin NSOP

3572013 Holtek New Product Presentation

Siren Smoke Alarm Block DiagramSiren Smoke Alarm Block Diagram

Internal EEPROM

Power Circuit LED

InternalOPA × 2IR Receiver Buzzer Driver

IR Transmitter Key

BUZZER

HT45F24A16NSOP

3582013 Holtek New Product Presentation

Siren Smoke Alarm Application CircuitSiren Smoke Alarm Application Circuit

VDD VBat

VBat

C3100u

D2IR_RX

C40.01u

R3 100K

R51M

Q18050 D3

1N4148

D51N4148

R12200K

C510p

R82.2M

C60.01u

R11 30K

R141M

C7150p

R1310K

R4510

R6100K

R1022

PZ1D4R9 510 Q2 8050

NTC1

R7 1K

R2100K

L1

R1 10

BT1

LED1

C10.1u

D1IR_TX

SW1

PA2/A1P

PA3/A1N

PA6/A2N

PA4/A1E

PA7/A2E

PA5/A2P

A2

A1

HT45F24A_16NSOP

U1

2

6

1

15

14

13

9

16

12

11

10

7

8

5

3

4

PA1/C1OUT

PC1/AN5/OSC2

VDD

.

.

.

PB3/AN0/SCS

VSS

.

.

.

PC0/AN4/OSC1

PB6/AN3/RES

PC2/OSC3

PA0/CNP

PC3/OSC4

C2100u

J1IR_GND

1

R0 0

10 200

3592013 Holtek New Product Presentation

Voice Smoke Alarm Block DiagramVoice Smoke Alarm Block Diagram

Power Circuit

Internal OPA × 2

Internal EEPROM

IR Receiver

IR Transmitter Key

LED

HT82V739Driver

SPI FLASH ROM(Voice Data)

Internal DAC

SPEAKER

HT45F24A20SSOP

Page 16: BLDC Motor Solution Digital Ultrasonic Parking Assist ...mcu.holtek.com.tw/service/agent/ppt/seminar_2013/2013NPP-05-PM1.… · 300 MCU Applications 2013 Holtek New Product Presentation

3602013 Holtek New Product Presentation

Voice Smoke Alarm Application CircuitVoice Smoke Alarm Application Circuit

VDD

VDD

VBat

C10C9

C5

C4

R9 C7

R5

U2

SST25VF016B-8

6 35 4

12 7

8

SCK WPSI VSS

CESO HD

VDD

SPEAKERU3

HT82V739_8SOP

6

1

4

3

2

8 7

5NC

OUTN

VSS

VREF

AudIn

VDD OUTP

CE

LED1 R3

SW1

BT1

PA2/A1P

PA3/A1N

PA6/A2N

PA4/A1E

PA7/A2E

PA5/A2P

A2

A1

HT45F24A_20SSOP

U1

1

5

20

14

13

16

9

19

18

17

15

6

74

2

3

8

111012

PA1/C1OUT/TMR0

PC1/AN5/OSC2

VDD

.

.

.

PB3/AN0/SCS

VSS

.

.

.

PC0/AN4/OSC1

PB6/AN3/RESPC2/OSC3

PA0/CNP/COM0

PC3/OSC4

PB4/AN1/AUD

PB1/SDI/SDAPB2/SCK/SCL

PB0/SDO/INT1

R3 100K

C60.01u

R6100K

C3100u

R1022

D31N4148

D51N4148

R11 30K

R82.2M

C7150p

R4510

Q18050

C40.01u

D1IR_TX

D2IR_RX

R12200K

R51M

J1IR_GND

1

R141M

R1310K

C510p

3612013 Holtek New Product Presentation

Network Smoke Alarm Block DiagramNetwork Smoke Alarm Block Diagram

GND Line

POWER & SIGNAL LineConnect the next deviceThe connected devices are up to 255 groups

Smoke Alarm / Detector

HT45F24A

3.3V LDO

VSSVDDPC3

PA1

255 (max.)VDD

LED1IND

R81K

Through the bridge rectifier, prevent the positive and negative

error connection

VDD

U3NTC

R75.1K

IRTX IRRX

- +

OP Amp

ADC

Smoke Alarm Sensor and

Maze Chamber

Smoke Alarm

Bus signal receiver/ transmitter circuit

CX

TG

3622013 Holtek New Product Presentation

Network Smoke Alarm Application CircuitNetwork Smoke Alarm Application CircuitVIN

VDD

VDD

V+13

VCC

VDD

VDD

WADD

PN_LED

SEND_DATA

RECEIVE_DATA

S-

S+

R13 120K

R20200K

C720p

R251M

R195.1M

R2230K

R74.3K

D6 DIODE

R27 820

Q48050

D7LED

R510K

R1510K

R21 10K

R6390

Q68050

Q5PNP

R14200K

R1210K

C4?

R1010K

C6?

D11 DIODE

R2630K

J4WADD1

D9IR_RX

C90.0047u

R17 47K

R111M

C1010p

Q38050

C810p

R28 0

PA2/A1P

PA3/A1N

PA6/A2N

PA4/A1E

PA7/A2E

PA5/A2P

A2

A1

HT45F24A_16NSOP

U2

2

61

15

14

13

916

12

11

10

7

8

5

3

4

PA1/C1OUT

PC1/AN5/OSC2VDD

.

.

.

PB3/AN0/SCSVSS

.

.

.

PC0/AN4/OSC1

PB6/AN3/RES

PC2/OSC3

PA0/CNP

PC3/OSC4

R1810K

R2310K

R2922

C547u

Q78050

R161M

R2410K

C20.1u

C30.1u

U1 HT7133

1

32

GN

D VOVI

R4200K

R947K

D8IR_TX

J3IR_GND 1

D12

D10

R1 10

R2330K

D41N4004

D21N4004

Q28050

J2S- 1

D5ZD13V

R32.5M

C110u

R84.3K

Q18050

J1S+ 1

D31N4004

D11N4004

3632013 Holtek New Product Presentation

STD MCU OPA DAC+= EEPROM+HT45F24A +(Voice)

Difference Difference Between HT45F24A Between HT45F24A Integrated Integrated Smoke Alarm and Traditional TypesSmoke Alarm and Traditional Types

Internal Low Noise OPA Internal EEPROM Internal DAC for voice applications

Page 17: BLDC Motor Solution Digital Ultrasonic Parking Assist ...mcu.holtek.com.tw/service/agent/ppt/seminar_2013/2013NPP-05-PM1.… · 300 MCU Applications 2013 Holtek New Product Presentation

3642013 Holtek New Product Presentation

Follow the recommended settings to control the timing, which canshorten the OPA circuit stability time and reduce the average current.

HT45F24A OPA GBW is up to 3.5MHz, the signal response speed is fast, and the detection time can be shortened to <100s.

The receiver sensor needs a metal shield cover and ground for isolation. The sensor signal is weak, therefore several special PCB Layout notes

must be taken into account. The Sensor input pin should be as close to the MCU OPA inputs as possible

and use as few through holes (Vias) as possible. It is recommend to use double-sided PCBs and have good ground shielding. As A1P is pin-shared with PA2, it should avoid extra wires.

(OPA1 can be interchanged with OPA2.)

Smoke Alarm Sensor and MCU Smoke Alarm Sensor and MCU Application NotesApplication Notes

3652013 Holtek New Product Presentation

Smoke AlarmSmoke Alarm (MCU (MCU Control TimingControl Timing))

~~~~

~~~~

~~

3662013 Holtek New Product Presentation

Smoke Alarm Smoke Alarm ‒‒ Shortened OPA Circuit Shortened OPA Circuit Stability TimeStability Time

CH1 : IR LED transmit signalCH2 : second stage OPA output signal

Uses external OPA for power control. When the OPA is enabled an obvious rising signal will emerge with a stability time of about 2 ~ 5ms.

CH1 : IR LED transmit signalCH2 : second stage OPA output signal

The HT45F24A OPA can be set by the application program to enable the two stage OPAs in order, which can shorten the circuit stability time to 0.5 ~ 1ms and reduce the average current.

HT45F24A OPA circuit stability timeTraditional external OPA circuit stability time

< 1 mS> 1 .5 mS

OPA Enable

3672013 Holtek New Product Presentation

Smoke Alarm Smoke Alarm ‒‒ Average Current EstimateAverage Current Estimate

Iopr(Typ. / Max.)

Duty Average Current(Typ. / Max.) Note

WDT OSC 2A / 4A 1 2A / 4A The WDT clock source is the 32kHz LIRC. Current is : 1.5A / 3A, WDT time-out : 4s

MCU 420A / 630A 1.5ms / 4Sec 158nA / 236nA MCU operating time : 1.5ms

ADC current(Smoke Detection) 500A / 1000A 16s / 4Sec 2nA / 4nA A/D convert time : 16s

OPA + IR receive 200A / 350A 1.1ms / 4sec 55nA / 96nA OPA operating time : 1.1ms(use OPA2, the average current2)

IR transmit current 100mA 100s / 4sec 2.5A IR LED operating time(the current : 100mA max.) : 60s

HT82V739 0.1A 1 0.1A Shutdown Power Supply Current 0.1A

Total 4.815A / 6.936A Demo Board actual average current:5.1A

Tolerance (1600mAh0.6) / 4.815 or 6.936A 22 years / 15 years One detection every 4 sec

VDD = 3V , fSYS = 4MHz (HIRC)

Note : 1. Use the Panasonic CR-2/3AZ Li battery, rated voltage is 3V, rated power is 1600mAh, available power use is calculated using 60%.2. MCU detects once every 4s.3. LED consumption is not added to the total current, because only when smoke is detected or when the test key is activated is the LED on.4. The regular alarm test current is not added to the total current.

Page 18: BLDC Motor Solution Digital Ultrasonic Parking Assist ...mcu.holtek.com.tw/service/agent/ppt/seminar_2013/2013NPP-05-PM1.… · 300 MCU Applications 2013 Holtek New Product Presentation

3682013 Holtek New Product Presentation

PCB Layout PCB Layout NotesNotes

The Sensor input pin and the OPA peripheral circuit should be as close to the MCU OPA input as possible and use as few through holes (Via) as possible.

MCU HT45F24A

Sensor Input Pin

OPA Peripheral

Circuit

PCB Grounding

Sensor Shield Cover Grounding

3692013 Holtek New Product Presentation

Competitive AdvantagesCompetitive Advantages

Internal Low noise OPA – suitable for smoke alarm applications Internal DAC for voice functions Supports complete voice plan for customers Both HT45F23A and HT45F24A are pin-to-pin compatible and

can suit the needs of a wide range of smoke alarm applications Customer products have passed detection and mass production,

with no performance and quality issues

3702013 Holtek New Product Presentation

Development PlatformDevelopment Platform

BLDC Motor Workshop V1.0Demo

3712013 Holtek New Product Presentation

BLDC Motor Workshop V1.0 InstallationBLDC Motor Workshop V1.0 Installation

Step 1

Page 19: BLDC Motor Solution Digital Ultrasonic Parking Assist ...mcu.holtek.com.tw/service/agent/ppt/seminar_2013/2013NPP-05-PM1.… · 300 MCU Applications 2013 Holtek New Product Presentation

3722013 Holtek New Product Presentation

BLDC Motor Workshop V1.0 InstallationBLDC Motor Workshop V1.0 Installation

Step 2

3732013 Holtek New Product Presentation

BLDC Motor Workshop V1.0 InstallationBLDC Motor Workshop V1.0 Installation

Step 3

3742013 Holtek New Product Presentation

BLDC Motor Workshop V1.0 InstallationBLDC Motor Workshop V1.0 Installation

Step 4

3752013 Holtek New Product Presentation

BLDC Motor Workshop V1.0 InstallationBLDC Motor Workshop V1.0 Installation

Step 5

Page 20: BLDC Motor Solution Digital Ultrasonic Parking Assist ...mcu.holtek.com.tw/service/agent/ppt/seminar_2013/2013NPP-05-PM1.… · 300 MCU Applications 2013 Holtek New Product Presentation

3762013 Holtek New Product Presentation

BLDC Motor Workshop V1.0 InstallationBLDC Motor Workshop V1.0 Installation

Step 6

3772013 Holtek New Product Presentation

How to Create a New ProjectHow to Create a New Project

Step 1 Create a New Project Fill the Project Name

& select the Project Path

3782013 Holtek New Product Presentation

How to Create a New ProjectHow to Create a New Project

Step 2 Select the functions & MCU package

3792013 Holtek New Product Presentation

How to Create a New ProjectHow to Create a New Project

Step 3 MCU pin configuration

Page 21: BLDC Motor Solution Digital Ultrasonic Parking Assist ...mcu.holtek.com.tw/service/agent/ppt/seminar_2013/2013NPP-05-PM1.… · 300 MCU Applications 2013 Holtek New Product Presentation

3802013 Holtek New Product Presentation

How to Create a New ProjectHow to Create a New Project

Step 4 Function properties

setup Double-click the

function to enter the property setting dialogue

3812013 Holtek New Product Presentation

How to Create a New ProjectHow to Create a New Project

Step 5 Auto generation of the

MCU program code, generated according to user requirements

Download the program code to the BLDC Motor MCU of the evaluation board

3822013 Holtek New Product Presentation

How to Create a New ProjectHow to Create a New Project

Step 6 This page can turn the

BLDC motor and display the current speed of the motor on the tachometer

Provides an oscilloscope display feature to display voltage and current

3832013 Holtek New Product Presentation

Development PlatformDevelopment Platform

Touch Key Workshop V3.0Demo

Page 22: BLDC Motor Solution Digital Ultrasonic Parking Assist ...mcu.holtek.com.tw/service/agent/ppt/seminar_2013/2013NPP-05-PM1.… · 300 MCU Applications 2013 Holtek New Product Presentation

3842013 Holtek New Product Presentation

Touch Key Workshop V3.0 InstallationTouch Key Workshop V3.0 Installation

Step 1

3852013 Holtek New Product Presentation

Touch Key Workshop V3.0 InstallationTouch Key Workshop V3.0 Installation

Step 2

3862013 Holtek New Product Presentation

Touch Key Workshop V3.0 InstallationTouch Key Workshop V3.0 Installation

Step 3

3872013 Holtek New Product Presentation

Touch Key Workshop V3.0 InstallationTouch Key Workshop V3.0 Installation

Step 4

Page 23: BLDC Motor Solution Digital Ultrasonic Parking Assist ...mcu.holtek.com.tw/service/agent/ppt/seminar_2013/2013NPP-05-PM1.… · 300 MCU Applications 2013 Holtek New Product Presentation

3882013 Holtek New Product Presentation

How to Create a New ProjectHow to Create a New Project

In the Project window enter the Project Name andchoose the MCU

3892013 Holtek New Product Presentation

How to Create a New ProjectHow to Create a New Project

Drag a Key or a Component from the ToolBox and drop it on a specified pin

Set the attributes for the Key or Component in the Properties Window

3902013 Holtek New Product Presentation

How to Create a New ProjectHow to Create a New Project

Click the "Build" button to complete the project. The generated project will include the Touch Library and will also generate a programming output file.

Advanced users can use the "HT-IDE3000" development system to modify the project generated by the Touch Key Workshop.

3912013 Holtek New Product Presentation

Touch Key TuningTouch Key Tuning

Modify the Threshold from the Tuner Window to Adjust the Key Sensitivity

Monitor the Key Signal in the Oscilloscope window

Page 24: BLDC Motor Solution Digital Ultrasonic Parking Assist ...mcu.holtek.com.tw/service/agent/ppt/seminar_2013/2013NPP-05-PM1.… · 300 MCU Applications 2013 Holtek New Product Presentation

3922013 Holtek New Product Presentation

Q & AQ & A