The STCC05 is a control circuit embedding most of the analog & power circuitry of an air conditioner or
refrigirator control module. It interfaces the micro-controller MCU with the AC power and cooling process
sections.
■ The voltage supply
The 5V voltage regulator supplies the micro-controller MCU. Its input voltage ranges from 7V to 18V; and
its average DC output current up to 50mA. With an output filtering capacitor of 100µF, its output voltage
accuracy is better than +/- 5% in the whole operating range of the ambient temperature T
current I
and the input voltage VPS , contributing directly to the ADC accuracy.
DD
AMB
, the load
The regulator includes also an over current limiter and a thermal shutdown. The over current limiter protects the regulator against output short circuits and inrush currents during the power up. The current limiter
is made of a serial shunt resistance as current sensor and a circuit that regulates the input current. Moreover, the thermal shutdown protects the whole circuit against overload operations. It is made of a thermal
sensing junction and a hysteresis comparator that is able to switch off the passing element.
R
1.25 V
SENSE
Over current
Limiter
R
1
V
DD
V
DD
6kΩ
3kΩ
/RST
CUP=
100nF
V
DD
R
2
V
H
V
L
VH= 3.75 V
= 3.40 V
V
L
MCU
V
DD
RUP> 100kΩ
RESET
V
PS
Thermal
Shutdown
Reference
2/13
V
DD
STCC05-B
■ The reset circuit
This circuit ensures a Low Voltage Detection (LVD) of the output of the regulator. Most micro-controllers
have an active RESET pin in the low state: so, the /RST pin will be active at low state.
The reset comparator senses the regulator voltage V
the high threshold V
low threshold V
These delays are set by an external capacitor C
thresholds of /RST: For C
■ The Zero Voltage Synchronization ZVS circuit
= 3.75V and after a delay time TUP; and is low when the VDD decreases below the
H
= 3.4V after the delay time TDW.
L
UP
= 100nF, TUP= 400µs with VTH= VH/2; TDW= 200µs with VTH= VL/2.
UP
The Zero Voltage Synchronization ZVS circuit generates the signal ZVS that synchronizes the whole operation with the AC line cycle (20 ms on 50 Hz or 16.7 ms on 60 Hz). This signal allows the MCU to control
the AC loads and achieve the timing functions.
The input pin SYN is an image of the mains voltage. It is connected to either the power supply transformer
through a resistor R
or an opto-coupler that is controlled directly by the AC line voltage. The circuit is
ZV
protected against fast line transient voltages: a robust ESD protection and a 30µs digital filter are implemented to provide a higher immunity to the MCU operation. Its output signal ZVS is inverted respect to the
input signal V
SYN
.
V
. The /RST pin goes high when VDD is higher than
DD
connected to the /RST pin and depend on the trigger
DD
30 µs FILTER
S
25 kΩ
SYN
70 kΩ
30 kΩ
COM
■ The relay coil drivers
1
Q
S
2
ZVS
These robust circuits allow a DC relay coil to be driven by an MCU output. The relay coil has a minimum
resistance of 580Ω and has a power up to 0.25W for V
= 12 V. These characteristics are representative
PS
of 3A relays such as FTR-F3AA-12V or JQ1A-12V series.
The output stage is made of a transistor and a demagnetization diode. The transistor is referred to the
ground COM, has a DC current rating of 50mA; and its collector is connected to the output RL
The diode is connected between the output pin RL
and the supply pin VPS.
I
(I=1, 2, 3).
I
Moreover, a fourth coil driver has an extended 150mA current capability to be able to drive the coil of a
relay having a 130Ω minimum resistance and a 1.1W maximum power. These characteristics are representative of 20A relays such as G4A-E-DC12, OMIF-S-112 or UKH12S series.
3/13
STCC05-B
V
PS
V
PS
Demagnetizing Diode
V
IN
■ The buzzer driver with enable control
4kΩ
I
10 kΩ
IN
Relay
Transistor
RL
I
EN
IN
10 kΩ
BZ
V
IN
BZ
R
RBZ=
=1kΩ
OH
BZ
BZ
2
1
1kΩ
The MCU can excite a warning buzzer with a 50% PWM signal. The buzzer driver amplifies this signal in
current and translates it from the 5V MCU output to the V
supply to produce the right sound level from
PS
the buzzer.
The output stage is made of a NPN transistor, a PNP transistor and two 1kΩ resistors.
The NPN transistor, referred to the power ground COM, is controlled by the input IN
nected to the output BZ
The PNP transistor, referred to the V
nected to the output BZ
. The input INBZ is driven by a simple push-pull MCU buffer.
1
polarity, is controlled by the input ENBZ; and its collector is con-
PS
through a 1kΩ resistor. The input ENBZ is driven by a simple push-pull MCU
2
; its collector is con-
BZ
buffer.
The pin BZ
is the supply terminal of the buzzer; and the circuit has a DC current rating of 9mA and the
2
PWM section runs from 10Hz up to 5kHz.
A 1kΩ resistor R
over, the addition of an external capacitor-resistor network on BZ
off smoothly when the pin EN
■ The speed sensor level shifter
The OUT
signal is generated by an electronic signal such as the indoor fan speed clock issued of a Hall
S
Effect sensor or a door switch signal and is transmitted to the MCU. As the IN
is connected between the BZ1 and BZ2 pins to discharge the buzzer periodically. More-
BZ
pin will allow the buzzer to turn on and
2
is toggling.
BZ
input may be disturbed; a
S
spike suppressor and a simple EMI filter are added to increase the input robustness. The output signal
OUT
is not inverted with respect to the input signal INS.
S
4/13
IN
V
DD
V
DD
EMI
50 kΩ
S
Filter
500Ω
OUT
S
50 kΩ
50 kΩ
STCC05-B
Table 2: Absolute Ratings (limiting values)
SymbolPinParameter name & conditionsValueUnit
V
VDD Output supply voltage - 0.3 to 6 V
DD
V
PS
V
SYN
V
MO
V
V
I
M
I
BZ AV
I
BZ PK
ΣI
P
DIS
T
AMB
T
VPS, IN
S
Power supply voltage, level shifter input- 0.3 to 20V
SYN ZVS input voltage, RZV = 15kΩ- 1 to 20 V
BZ
, BZ2,
IN1, IN2, IN3
I
ZVS, OUTS, /RST
O
1
RL
, x = 1 to 4
x
V
PS
RL
, x = 1 to 3
x
RL
4
RL
, x = 1 to 4Maximum diver diode reverse current 1mA
x
Output voltage
Input logic voltage
Output logic voltage
Maximum sourced current pulse, tp = 10ms 500mA
Maximum sunk driver current pulse, tp = 10ms 60mA
Maximum DC sunk current 50mA
Maximum sunk driver current pulse, tp = 10ms160mA
Maximum DC sunk current 150mA
ZVS Transition filtering time Rising and falling step 10 30 70 µs
D
SYN Transition threshold 0.61.11.4 V
V
TH
SYN Input nominal current
I
SYN
Level shifter, zero voltage synchronization, reset circuits
V
LVOUT
OH
V
OL
/RST
ZVS
High level output voltage 0.8 VDD V
Low level output voltage 0.2 VDD V
Relay coil drivers
IN4Input activating current V
RL4 On state output voltage I
IN
RL
RL
IN
Input activating current V
1 to 3
On state output voltage ION = 50mA, V
1 to 3
Off state output voltage V
1 to 4
Transition threshold0.81.93.1V
1 to 4
V
I
IN4
V
ON
I
INx
V
ON
RL H
V
INx
Buzzer driver with enable control
V
F
R
V
V
ENBZ
R
INBZ
BUZ
OH
ON
BZ
INBZ
Buzzer PWM frequency Duty cycle = 50% 0.015kHz
BZ1On state output voltage ION = 25mA, V
ENBZEnable threshold voltage 0.823.1V
Input muting voltage0.81.53.1V
BZ2 On state output resistance V
BZ1 - BZ2 Buzzer resistance1kΩ
Speed sensor level shifter
V
INS H
V
INS L
I
INS
High level detection718V
IN
Low level detection0.8V
S
Internal input currentV
= 9 to 16V
PS
C
= 100µF
DD
V
IN1 to 4
= 0V
VDD = 0V
Output in short circuit
4.7555.25V
5080120mA
Reset circuit
= 100nF, VTH = VH/2,
C
UP
R
= 100kΩ
UP
CUP = 100nF, VTH = VL/2,
RUP = 100kΩ
= 5V 0.3
V
SYN
V
= 18V0.91.5
SYN
= 5V 0.85 1.4mA
IN4
= 150mA, V
ON
= 5V 0.851.4 mA
INx
< 50.8V, RL = 580Ω 0.9 V
INx
= 0V, V
INBZ
I
= 5mA
BZ2
V
= 0V, tp = 50µs
ENBZ
= 12V500800µA
INS
> 3.1V 1 1.2 V
IN4
> 3.1V 11.2V
INx
> 3.1V,
ENBZ
> 3.1V,
INBZ
200400800
100200400
PS
1
11.4 V
V
PS
VV
µs
mA
V
kΩ
6/13
DC CHARACTERISTICS
STCC05-B
Figure 4: Typical regulator voltage V
versus its output current I
5.2
Vdd (V)
5.1
5
4.9
4.8
4.7
4.6
4.5
4.4
4.3
4.2
4.1
4
020406080100
Vin = 9V
Vin = 16V
at TJ = 25°C
DD
Figure 6: Typical relay driver R
variation
DD
Idd (mA)
L (1 to 3)
state voltage variation versus its current
1.1
Von (V)
1
0.9
0.8
on-
Figure 5: Typical regulator voltage V
versus its junction temperature at V
5.05
5.025
4.975
4.925
Vdd (V)
5
4.95
Idd = 5mA
Idd = 40mA
4.9
-250255075100125150
variation
DD
= 12V
IN
Tj(°C)
Figure 7: Typical compressor relay driver RL4 onstate voltage variation versus its current
1.1
Von (V)
1
0.9
0.8
0.7
0.6
0.5
0 1020304050
Tj = -25ºC
Tj = 25ºC
Tj = 85ºC
Ion (mA)
0.7
0.6
0.5
050100150
Tj = -25ºC
Tj = 25ºC
Tj = 85ºC
Ion (mA)
AIR CONDITIONER APPLICATION CONSIDERATIONS
■ IMMUNITY IMPROVEMENT OF STCC05 AND THE MICROCONTROLLER
Some basic rules can be applied to improve the STCC05 immunity in its application:
- The power ground of VPS should be split from the signal ground of VDD,
- The STCC05 is placed as close as possible of the MCU,
- The supply capacitors would increase the system immunity by being placed closed to the blocks they feed,
or putting decoupling capacitors (f.i. C
= CPS = 100nF)
DD
(1)
(2)
(3)
- Large supply wire on the PCB should be avoided to reduce sensitivity to radiated interferences.
- A decoupling capacitor can be put on the pin IN
(f.i. C
= 10nF; CUP = 100nF).
INS
of the speed sensor interface and the MCU reset pin
S
(4)
Depending of the PCB layout quality, others capacitors may be put on sensitive pins such as the output
regulator pin V
and the zero crossing synchronization input pin SYN.
DD
7/13
STCC05-B
Figure 8: Example of PCB layout improvement for higher immunity
2
SMPS
V
PS
3
V
PS
5VREG
V
DD
V
DD
3
Reset
RST\
RST\
4
MCU
STCC05
V
SS
COM
1
1
■ STCC05 ELECTROMAGNETIC COMPATIBILITY
Standards such as IEC61000-4-x evaluate the electromagnetic compatibility of appliance systems. To test
the immunity level of the STCC05 to the IEC61000-4-4 (Electrical Fast Transient Bursts), a board representative of usual application control unit should be considered by applying the immunity design rules
defined in the previous paragraph.
IEC61000-4-4 test does not allow any measurement equipment to be connected to the tested system, as
it would corrupt the test results. That is why this board should include a remote monitoring circuit based
on optic fibers. Thus, without any electrical link with an oscilloscope, it is possible to monitor the V
DD
voltage as well as the /RST or the ZVS outputs of the STCC05, during the IEC61000-4-4 test. This optical link
detects parasitic commutations of outputs as short as 60ns.
With this board, and the burst generator coupled to the mains as specified in the IEC61000-4-4 standard
(see the following principle diagram), the STCC05 has been tested successfully at 4kV.
Figure 9: IEC61000-4-4 Electrical Fast Transient
Burst general STCC05 test circuit
MAINS FILTER
L
PE
N
BURST COUPLER
SYSTEM TESTED
L
PE
N
STCC05
10 cm
8/13
0.5kVto4 kV
tr : 5ns
tp : 50 ns
BURST
GENERATOR
MAINS
Figure 10: Test circuit schematic
TR1 15V 5VA
MAINS
MAINS
SPEED SENSOR
SPEED SENSOR
RELAY 1
RELAY 1
VPS
VPS
TR1 15V 5VA
VPS
VPS
RELAY 2
RELAY 2
Oscilloscope
Oscilloscope
D1~D4
D1~D4
1N4002
1N4002
Rins
Rins
2.2k
2.2k
RELAY 3
RELAY 3
Cins
Cins
10nF
10nF
COMPRESSOR RELAY
COMPRESSOR RELAY
Rzv
Rzv
Czv
Czv
15nF
15nF
15k
15k
Optical Receiver
Optical Receiver
VPS
VPS
Cps_1
Cps_2
Rs
Rs
560
560
Cs
Cs
Cps_2
100nF
100nF
HFBR-0410
HFBR-0410
Optic Fiber
Optic Fiber
U1
U1
STCC05-B
STCC05-B
1
1
Vps
Vps
2
2
SYN
SYN
3
3
INs
INs
4
4
RL1
RL1
5
5
RL2
RL2
6
6
RL3
RL3
7
7
RL4
RL4
8
8
BZ1
BZ1
9
9
BZ2
BZ2
1011
1011
ENbzCOM
ENbzCOM
Cps_1
100uF
100uF
BUZZER
BUZZER
47uF
47uF
VDD
VDD
RST
RST
ZVS
ZVS
OUTs
OUTs
IN1
IN1
IN2
IN2
IN3
IN3
IN4
IN4
INBZ
INBZ
OpticalTransmitter
OpticalTransmitter
VDD
VDD
Cdd_2
Cdd_1
Cdd_2
Cdd_1
100nF
100uF
100nF
100uF
20
20
19
19
18
18
ZVS
ZVS
17
17
LS
LS
16
16
15
15
14
14
13
13
12
12
SW1
SW1
SW2
SW2
SW3
SW3
SW4
SW4
BATTERY
BATTERY
9V5
9V5
Cup
Cup
100nF
100nF
VDD
VDD
RST
RST
LS
LS
ZVS
ZVS
TEST BOARD
TEST BOARD
RST
RST
VDD
VDD
■ STCC05 POWER PERFORMANCE VERSUS ITS THERMAL CAPABILITY
STCC05-B
Figure 11: Driver current sum versus regulator
current at T
Σ
IM(A)
0.35
0.3
0.25
0.2
T
AMB
0.15
0.1
00.010.020.030.040.05
= 85°C for VPS = 12, 14, 16, 18V
AMB
=85°C
VPS=18V
VPS=12V
V
=14V
PS
=16V
V
PS
IDD(A)
Figure 12: Driver current sum versus regulator
current at T
Σ I
(A)
M
0.35
0.3
0.25
0.2
T
0.15
AMB
0.1
00.010.020.030.040.05
= 70°C for VPS = 12, 14, 16, 18V
AMB
VPS=12V & 14V
=70°C
=16V
V
PS
VPS=18V
I
(A)
DD
The main heat sources of the circuit during operation are the voltage regulator and the relay coil drivers.
Depending of the power supply voltage V
of the package R
I
. In order to avoid spurious thermal shutdown of the system, it is advised to respect this relationship as
DD
, the sum of all the coil driver currents ΣIM is linked to the output regulator current
th(j-a)
, the ambient temperature T
PS
, and the thermal of resistance
AMB
shown on figures 7 and 8.
■ EXTENSION OF THE REGULATOR CURRENT CAPABILITY
The output current capability of the STCC05 voltage regulator can be increased in a cost effective manner
by adding an external ballast transistor and two biasing resistors. With such a circuit, the output voltage
regulation remains at 5V 5%, and the current limitation is still active.
Such a topology generates also power losses in the external power transistor especially when the supply
voltage V
with a suitable thermal resistance (R
is high or the regulator is in current limiting mode. Therefore it is advised to use a package
PS
th j-a
).
An example is proposed in the following figure doubling the regulator current capability of the solution to
100mA while producing a current limitation typically at 110mA.
Figure 13: Circuit diagram to extend the
STCC05 regulator current to 100mA
V
PS
R
E
27Ω ½W
R
B
20 Ω ¼W
Q
BD136
1
STCC05
5V-50mA
Regulator
VDD
Figure 14: Application diagram of the buzzer
drive
V
PS
R
=1kΩ
EN
OH
10 kΩ
BZ
V
IN
BZ
IN
RBZ= 1kΩ
R
BZ
BZ
= 560 Ω
S
2
C
=47µF
S
1
■ FLOATING BUZZER OPERATION
The sound produced by the buzzer is controlled by the frequency of the square signal applied to the IN
BZ
input pin.
The external R
network connected to the BZ2 output pin produces a soft sound by smoothing the
S CS
buzzer supplying envelope at power up and power down. Contrary to basic drivers, which directly apply
9/13
STCC05-B
the voltage to the buzzer, this circuit feeds the buzzer with the exponential voltage induced by the charge
and the discharge of the R
The R
and RS resistors contribute to reduce high harmonic sound distortions. Indeed, they limit the peak
OH
current through the buzzer, feed the buzzer with the C
the low side NPN transistor of the driver.
Therefore to set rising/falling durations of the sound shape, it is advised to adjust only the value of the C
capacitor.
The integrated R
resistor is selected to discharge the buzzer when the low side transistor is off, espe-
BZ
cially at the maximum operating frequency. The buzzer is completely discharged within five times the time
constant of the resistor-buzzer with τ = R
Therefore, R
< 1 / (10 x F
BZ
maximum operating frequency of driver is 5kHz, this R
S CS
MAX
network.
x C
BUZZER
capacitor voltage, and limit the current through
S
BZ
x C
BUZZER
.
). Since the buzzer capacitance C
resistance is set at 1kΩ.
BZ
BUZZER
is about 20nF at the
S
Figure 15: Buzzer terminal voltages V
and buzzer current I
Time : 100µs/div ,V& V: 4V/div , I : 20mA/div
■ ZERO CROSSING DETECTION CIRCUITS
BZ
I
BZ
BZ1BZ2BZ
V
BZ1
V
BZ2
BZ1
& V
BZ2
Figure 16: Buzzer terminal voltage V
buzzer enable and input circuit signals
V
BZ2
IN
BZ
EN
BZ
Time : 100ms/div ,V, EN & IN : 5V/div
BZ2BZBZ
BZ2
with
The detection of the zero crossing of the AC line voltage can be achieved at least on two ways with the
STCC05, depending of the power supply unit.
When the power supply uses a magnetic 50/60Hz transformer, the input pin SYN is connected to a transformer output through a resistor R
Figure 17: ZVS circuit operation using the AC
secondary of a transformer
V
V
TF
TF
V
V
SYN
SYN
V
V
ZVS
ZVS
, the electrical path being closed by the low side bridge diodes.
ZV
The delay between the real Zero Crossing event
and the falling edge of ZVS depends on the internal filtering time, the resistance R
drop voltage V
, the VPS supply load and the tem-
F
, the rectifier
ZV
perature. The STCC05 contribution to this delay
can be evaluated by measuring the delay between
its input voltage V
V
V
AC
AC
When using V
= 20mA, it is about 50 µs on rising voltage V
I
CC
and its output voltage V
TF
= 0.8V, RZV = 15kΩ, VPS = 15V,
F
and 115 µs on falling voltage VTF.
ZVS
TF
When the power supply uses a switch mode power
supply, the input pin SYN is synchronized by an
V
DD
25 kW
SYN
R
ZV
15 kΩ
AC
LINE
V
SYN
V
TF
100 kΩ
COM
20µs FILTER
S
1
Q
ZVS
S
2
V
ZVS
opto-coupler, which is connected to the mains terminals through high resistances. The isolator output is on all the time except during the zero
crossing where no more current feeds the input
and the output transistor switches off.
.
10/13
STCC05-B
Finally, the opto-coupler could be connected directly in high side mode between the SYN and the V
DD
pins: the ZVS signal is then made of high level pulses synchronized with the zero crossing. However, the
coupler could be connected in low side mode with an external 10k pull-up resistor to V
: the ZVS is now
DD
inverted with low level pulses.
Figure 18: ZVS circuit operation with an opto-coupler
SYN
COM
V
25 kΩ
100 kΩ
AC
I
OPTO
V
DD
20µs FILTER
S
ZVS
1
Q
S
2
V
ZVS
V
AC
I
OPTO
V
SYN
V
ZVS
V
DD
V
AC
SYN
V
SYN
COM
25 kΩ
100 kΩ
V
DD
20µs FILTER
S
ZVS
1
Q
S
2
V
ZVS
V
SYN
V
ZVS
V
DD
R
UP
10 kΩ
V
AC
V
SYN
Figure 19: Ordering Information Scheme
Circuit configuration and
related application
05 = Air conditioner control
Typical power supply voltage
B = 12V
Package
D4 = DIP-20
STCC X - B Z
11/13
STCC05-B
Figure 20: DIP-20 Package Mechanical Data
I
a1
b
Z
20
B
e3
D
e
11
101
L
DIMENSIONS
REF.
MillimetresInches
Min.Typ. Max. Min.Typ. Max.
a10.5080.020
B1.391.65 0.0550.065
b0.450.018
b1
F
b10.250.010
D25.41.000
E
E8.50.335
e2.540.100
e322.860.900
F7.10.279
I3.930.155
L3.30.130
Z1.340.053
Table 6: Ordering Information
Part NumberMarkingPackageWeightBase qty
STCC05-BD4STCC05-BDIP-201.4 g20Tube
Table 7: Revision History
DateRevisionDescription of Changes
05-Oct-20041First issue
12/13
Delivery
mode
STCC05-B
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