AN438 APPLICATION NOTE SAFETY PRECAUTIONS FOR DEVELOPMENT TOOL TRIAC + MICROCONTROLLER



Similar documents
AN820 APPLICATION NOTE INPUT/OUTPUT PROTECTION FOR AUTOMOTIVE COMPUTER

HCF4001B QUAD 2-INPUT NOR GATE

AN1819 APPLICATION NOTE Bad Block Management in Single Level Cell NAND Flash Memories

HCF4010B HEX BUFFER/CONVERTER (NON INVERTING)

STW34NB20 N-CHANNEL 200V Ω - 34A TO-247 PowerMESH MOSFET

STGW40NC60V N-CHANNEL 50A - 600V - TO-247 Very Fast PowerMESH IGBT

AN2703 Application note

BD238. Low voltage PNP power transistor. Features. Applications. Description. Low saturation voltage PNP transistor

BD241A BD241C. NPN power transistors. Features. Applications. Description. NPN transistors. Audio, general purpose switching and amplifier transistors

BTA40, BTA41 and BTB41 Series

STW20NM50 N-CHANNEL Tjmax Ω - 20ATO-247 MDmesh MOSFET

BTB04-600SL STANDARD 4A TRIAC MAIN FEATURES

AN3332 Application note

AN2389 Application note

TN0023 Technical note

STP62NS04Z N-CHANNEL CLAMPED 12.5mΩ - 62A TO-220 FULLY PROTECTED MESH OVERLAY MOSFET

AN ISOLATED GATE DRIVE FOR POWER MOSFETs AND IGBTs

UM1613 User manual. 16-pin smartcard interface ST8034P demonstration board. Introduction

DRIVE CIRCUITS FOR POWER MOSFETs AND IGBTs

DDSL01. Secondary protection for DSL lines. Features. Description

2STBN15D100. Low voltage NPN power Darlington transistor. Features. Application. Description

HCF4081B QUAD 2 INPUT AND GATE

AN974 APPLICATION NOTE

AN2146 APPLICATION NOTE

TDA2822 DUAL POWER AMPLIFIER SUPPLY VOLTAGE DOWN TO 3 V LOW CROSSOVER DISTORSION LOW QUIESCENT CURRENT BRIDGE OR STEREO CONFIGURATION

BD135 - BD136 BD139 - BD140

STP60NF06FP. N-channel 60V Ω - 30A TO-220FP STripFET II Power MOSFET. General features. Description. Internal schematic diagram.

ULN2801A, ULN2802A, ULN2803A, ULN2804A

Single LNB supply and control IC DiSEqC 1.X compliant with EXTM based on the LNBH29 in a QFN16 (4x4) Description

HCF4056B BCD TO 7 SEGMENT DECODER /DRIVER WITH STROBED LATCH FUNCTION

STP60NF06. N-channel 60V Ω - 60A TO-220 STripFET II Power MOSFET. General features. Description. Internal schematic diagram.

HCF4070B QUAD EXCLUSIVE OR GATE

AN1826 APPLICATION NOTE TRANSIENT PROTECTION SOLUTIONS: Transil diode versus Varistor

AN886 APPLICATION NOTE

AN3353 Application note

SPC5-FLASHER. Flash management tool for SPC56xx family. Description. Features

ST High voltage fast-switching NPN power transistor. Features. Applications. Description

EN: This Datasheet is presented by the m anufacturer. Please v isit our website for pricing and availability at ore.hu.

L4940 series VERY LOW DROP 1.5 A REGULATORS

EVL185W-LEDTV. 185 W power supply with PFC and standby supply for LED TV based on the L6564, L6599A and Viper27L. Features.

HCF4028B BCD TO DECIMAL DECODER

STN3NF06L. N-channel 60 V, 0.07 Ω, 4 A, SOT-223 STripFET II Power MOSFET. Features. Application. Description

STP80NF55-08 STB80NF55-08 STB80NF N-CHANNEL 55V Ω - 80A D2PAK/I2PAK/TO-220 STripFET II POWER MOSFET

Description. Table 1. Device summary. Order code Temperature range Package Packaging Marking

TDA4605 CONTROL CIRCUIT FOR SWITCH MODE POWER SUPPLIES USING MOS TRANSISTORS

LM337. Three-terminal adjustable negative voltage regulators. Features. Description

IRF740 N-CHANNEL 400V Ω - 10A TO-220 PowerMESH II MOSFET

AN2680 Application note

AN3265 Application note

AN2604 Application note

AN3110 Application note

AN4108 Application note

UM1676 User manual. Getting started with.net Micro Framework on the STM32F429 Discovery kit. Introduction

LM135-LM235-LM335. Precision temperature sensors. Features. Description

Description. Table 1. Device summary

HANDLING SUSPEND MODE ON A USB MOUSE

VNP5N07 "OMNIFET": FULLY AUTOPROTECTED POWER MOSFET

ULN2001, ULN2002 ULN2003, ULN2004

LM134-LM234-LM334. Three terminal adjustable current sources. Features. Description

AN3354 Application note

Symbol Parameter Value Unit V DS Drain-source Voltage (V GS =0) 50 V V DGR Drain- gate Voltage (R GS =20kΩ) 50 V

AN2866 Application note

STP55NF06L STB55NF06L - STB55NF06L-1

AN3998 Application note

STTH1R04-Y. Automotive ultrafast recovery diode. Features. Description

LF00AB/C SERIES VERY LOW DROP VOLTAGE REGULATORS WITH INHIBIT

.OPERATING SUPPLY VOLTAGE UP TO 46 V

UM0109 USER MANUAL. Public Transport Ticketing Demo

Table 1. Absolute maximum ratings (T amb = 25 C) Symbol Parameter Value Unit. ISO C = 330 pf, R = 330 Ω : Contact discharge Air discharge

TDA W CAR RADIO AUDIO AMPLIFIER

TOPOLOGIES FOR SWITCHED MODE POWER SUPPLIES

Order code Temperature range Package Packaging

STP10NK80ZFP STP10NK80Z - STW10NK80Z

DSL01-xxxSC5. Secondary protection for DSL lines. Features. Description. Applications. Benefits. Complies with the following standards

ST202 5V POWERED MULTI-CHANNEL RS-232 DRIVERS AND RECEIVERS

L6234. Three phase motor driver. Features. Description

BUX48/48A BUV48A/V48AFI

STEVAL-IEG001V2. Smart real-time vehicle tracking system. Features

L78MxxAB L78MxxAC. Precision 500 ma regulators. Features. Description

AN4156 Application note

TDA CHANNEL VOLUME CONTROLLER 1 FEATURES 2 DESCRIPTION. Figure 1. Package

L297 STEPPER MOTOR CONTROLLERS

FLC21-135A LOW POWER FIRE LIGHTER CIRCUIT. Application Specific Discretes A.S.D.

BZW50. Transil, transient voltage surge suppressor (TVS) Features. Description

ESDLIN1524BJ. Transil, transient voltage surge suppressor diode for ESD protection. Features. Description SOD323

BTW67 and BTW69 Series

Obsolete Product(s) - Obsolete Product(s)

Description SO-8. series. Furthermore, in the 8-pin configuration Very low-dropout voltage (0.2 V typ.)

Description. Table 1. Device summary. Order codes. TO-220 (single gauge) TO-220 (double gauge) D²PAK (tape and reel) TO-220FP

ADJUSTABLE VOLTAGE AND CURRENT REGULATOR

STTH2R06. High efficiency ultrafast diode. Features. Description

ETP01-xx21. Protection for Ethernet lines. Features. Description. Applications. Benefits. Complies with the following standards

AN1754 APPLICATION NOTE

Symbol Parameter Value Unit V i-o Input-output Differential Voltage 40 V I O Output Current Intenrally Limited Top

TDA2004R W stereo amplifier for car radio. Features. Description

MC Low noise quad operational amplifier. Features. Description

STB4NK60Z, STB4NK60Z-1, STD4NK60Z STD4NK60Z-1, STP4NK60Z,STP4NK60ZFP

STP10NK60Z/FP, STB10NK60Z/-1 STW10NK60Z N-CHANNEL 600V-0.65Ω-10A TO-220/FP/D 2 PAK/I 2 PAK/TO-247 Zener-Protected SuperMESH Power MOSFET

AN3252 Application note

Transcription:

AN438 APPLICATION NOTE SAFETY PRECAUTIONS FOR DEVELOPMENT TOOL TRIAC + MICROCONTROLLER INTRODUCTION The goal of this paper is to analyse the different ways to configure a micro-controller and a development tool during the debugging phase. The major problem is due to the direct connection of the computer I/O lines with the mains power. Some precautions have to be taken during the emulation in order to avoid destruction. LOW COST POWER SUPPLY In most low cost applications the step down transformer is not used and the power supply delivers low current, as shown for example in Figure 1. Figure 1. Uninsulated power supply 820 BZX55C5V6 220nF 100µ 6.3V 1/2W 400V 1N4148 0V In domestic appliance applications, one of the most important power switches is the triac. The function of driving the triac becomes more and more complex. For this reason, microcontrollers are becoming more and more common. Furthermore, sensitive triacs with high commutation parameters, for example LOGIC LEVEL triacs can be triggered directly by the microcontroller without any buffer. Sensitive triacs and microcontrollers allow decrease in power consumption. In this way the power supply can be optimized to reduce the cost. Optimisation can be achieved by removing the transformer. The consequence is that there is no insulation, the microcontroller is connected directly on the line! When the software is emulated on the application board, the output port (RS232 port) of the computer is connected on the line via the emulator. If some precaution is not taken "something" will be destroyed! Figure 3 gives an example of an application using a triac and a microcontroller. April 2004 Rev. D2A - 3576 1/7

Figure 2. Triac and microcontroller on the line A1 A2 G V DD Vss µc UNIN- SULATED POWER SUPPLY 0V In this case the micro-controller is supplied by an uninsulated power supply connected directly to the line, and a low level (0V) on the output ports of the micro-controller is needed to trigger the triac. USE OF A DEVELOPMENT TOOL During the debugging phase, the micro-controller is removed and is replaced by the emulation probe. The circuit corresponding to the emulation phase of the previous example is shown in Figure 3. The line is connected directly to the of the emulator and a high (destructive) current can flow through the emulator and/or the computer. Figure 3. Circuit without protection (Beware: this circuit is dangerous) PROBE 0V POWER SUPPLY EMU LATOR WARNING (HIGH DESTRUCTIVE CURRENT) RS232 COM PUTER INSULATED SYSTEM To avoid destruction of the development tool it is necessary to have an insulation between line and probe. This insulation can be achieved by optocouplers, pulse transformers, or insulation transformers. Figure 4 shows the topology of the most common insulation. 2/7

Figure 4. Conventional insulation PROBE EMU LATOR RS232 COM PUTER INSULATION 0V (From external insulated power supply) POWER DRIVE Optotriac Figure 5 shows the circuit with triac and optotriac. The triac is working in the 1st and in the 3rd quadrants. Figure 5. Optotriac drive 100 The main advantage of a such system is the low cost of the optotriac, but it needs an isolated auxiliary power supply. For a zero crossing optotriac, the triac is triggering with a gate current equal to the gate trigger current with a very low dig/dt. This does not allow high di/dt at turn on. That is to say the control of high current resistive load is not recommended with this method. The pulse transformer Figure 6 shows the circuit with a triac and a pulse transformer. The triac is working in the 2nd and 3rd quadrants. 3/7

Figure 6. Pulse transformer insulation Pulse transformer This system is simple to use when the triac was initially driven by a buffer transistor, but it needs an external power supply. The high dig/dt through the gate allows high current resistive loads to be driven. Due to the saturation of the magnetic material, this system cannot drive small loads because the gate current is cancelled before the latching current has been reached. For more information refer to the application note "Triac control by pulse transformer". The line insulation transformer In the previous examples, the insulation was between the triac and the microcontroller. Another solution is to supply each equipment connected to the board from the mains through an insulation transformer. If an oscilloscope is used, it also has to be separately insulated. The main advantage of this system is that we do not need to modify the target system during the debugging phase and it can be used with the microcontroller. When a transformer is used between line and triac it should be noted that the line impedance is modified and then the behavior of the triac, load and line set can be different (waveform of current). 4/7

Figure 7. Insulation with transformers PROBE EMU LATOR RS232 COM PUTER 0V POWER SUPPLY Oscilloscope INSULATED SYSTEM SUMMARY New LOGIC LEVEL and SNUBBERLESS triacs can be connected directly to the microcontroller without buffers or insulation. Furthermore, low cost power supplies without a transformer are becoming more common. There is an increasing number of applications supplied directly from the mains, and the microcontroller is directly connected to it. During the debugging phase when connecting the development tool, a galvanic insulation is absolutely necessary. This insulation can be done in 3 ways: 1. With optotriacs: Need modifications on the target system Need external power supply 2. With pulse transformer: Need modifications (transistor to drive the pulse transformer) Need an external power supply Cannot drive small loads 3. With insulation transformer : No modification on the application board. Modification of the line impedance due to the transformer between line and load. Therefore a microcontroller operating on the mains with a triac may be directly connected to the line. 5/7

REVISION HISTORY Table 1. Revision History Date Revision Description of Changes May-1992 1 First Issue 1-Apr-2004 2 Stylesheet update. No content change. 6/7

Information furnished is believed to be accurate and reliable. However, STMicroelectronics assumes no responsibility for the consequences of use of such information nor for any infringement of patents or other rights of third parties which may result from its use. No license is granted by implication or otherwise under any patent or patent rights of STMicroelectronics. Specifications mentioned in this publication are subject to change without notice. This publication supersedes and replaces all information previously supplied. STMicroelectronics products are not authorized for use as critical components in life support devices or systems without express written approval of STMicroelectronics. The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners 2004 STMicroelectronics - All rights reserved STMicroelectronics GROUP OF COMPANIES Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan - Malaysia - Malta - Morocco - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States www.st.com 7/7