Docsity

Switching Circuit Design., Lecture notes of Engineering

Toggle sidebar
bg1
Chapter 3: Switching Mechatronics System Design 0908531
© Copyright held by the author 2007: Dr. Lutfi R. Al-Sharif Page 1 of 22
Chapter 3
Switching
(Revision 2.0, 23/11/2007)
1. Introduction
A switch is a device used to control the flow of current in a load. A switch can be a
mechanical device (e.g., a manual switch or a contactor) or a solid state device (e.g.,
a thyristor). In this Chapter, we look at the problems encountered in using practical
switches in circuits, and the use of the transistor as a switch.
Switching is needed in three applications:
1. Interruption of power to a load (example the use of a contactor).
2. Processing of logic functions (e.g., use of logic gates such as TTL or
CMOS; use of relays for implementing logic control). This was used in
many industrial process plants, in some cases using pneumatic or
hydraulic gates, rather than electrical gates.
3. Routing of data (e.g., use of relay switching to direct telephone calls in old
telephone switching centres).
2. Ideal versus Practical Switches
Any device used to interrupt the flow of current to a load from a voltage source is
called a switch. Any switch is made of a pair of contacts. This could either be a
manual switch, a relay, a contactor, a thyristor, a triac, a transistor or any other
device which achieved a similar function.
Figure 1 shows a typical arrangement of a switch controlling the current flowing into a
load. The load could either be a pure resistive load, a resistive/inductive load or a
resistive/capacitive load.
Voltage source (AC or DC) Load (pure resistive,
inductive, capcitive)
Switching element
(mechanical, solid state...etc.)
Figure 1: Typical arrangement of switching a load from a voltage source.
An ideal switch has the following characteristics (Shepherd et al., 1995, p2):
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16

Partial preview of the text

Download Switching Circuit Design. and more Lecture notes Engineering in PDF only on Docsity!

Chapter 3

Switching

(Revision 2.0, 23/11/2007)

1. Introduction A switch is a device used to control the flow of current in a load. A switch can be a mechanical device (e.g., a manual switch or a contactor) or a solid state device (e.g., a thyristor). In this Chapter, we look at the problems encountered in using practical switches in circuits, and the use of the transistor as a switch.

Switching is needed in three applications:

  1. Interruption of power to a load (example the use of a contactor).
  2. Processing of logic functions (e.g., use of logic gates such as TTL or CMOS; use of relays for implementing logic control). This was used in many industrial process plants, in some cases using pneumatic or hydraulic gates, rather than electrical gates.
  3. Routing of data (e.g., use of relay switching to direct telephone calls in old telephone switching centres). 2. Ideal versus Practical Switches Any device used to interrupt the flow of current to a load from a voltage source is called a switch. Any switch is made of a pair of contacts. This could either be a manual switch, a relay, a contactor, a thyristor, a triac, a transistor or any other device which achieved a similar function.

Figure 1 shows a typical arrangement of a switch controlling the current flowing into a load. The load could either be a pure resistive load, a resistive/inductive load or a resistive/capacitive load.

Voltage source (AC or DC) Load (pure resistive, inductive, capcitive)

Switching element (mechanical, solid state...etc.)

Figure 1: Typical arrangement of switching a load from a voltage source.

An ideal switch has the following characteristics (Shepherd et al ., 1995, p2):

  1. The switching times of the state transitions between ‘on’ and ‘off’ should be zero.
  2. The ‘on’ state voltage drop across the device should be zero.
  3. The ‘off’ state current through the device should be zero.
  4. The power-control ratio (the ratio of device power handling capacity to the control electrode power required to effect the state transitions) should be infinite.
  5. The ‘off’ state voltage withstand capability should be infinite.
  6. The ‘on’ state current handling capability should be infinite.
  7. The power handling capability of the switch should be infinite.

These characteristic do not exist as such in a real device. However, manufacturers strive to get as near as possible to achieving these requirements in a switching device (e.g., a silicon controlled rectifier).

As a real device cannot achieve the first three characteristics, it undergoes internal losses generated as heat (called incidental dissipation). These have to be kept to a minimum, otherwise the temperature of the device will rise until it fails.

The fourth property is important, as it reduces the number of stages of amplification between the control side and the power side. As an example, if the power current to be controlled is 100 A, and the current supplied from the control circuitry is 10 mA, then an amplification of 10,000 times is required. If the device has an amplification factor of only 100, then two stages are needed. If it has an amplification factor of only 10, then four stages are needed... and so on.

Properties 5, 6 and 7 ensure that the device does not breakdown.

Each device on the market has different parameters in each of these areas. It is the duty of the engineer to select the device which matches his/her application, and has the necessary parameters.

3. Mechanical Switches: Relays and Contactors One of the most widely used forms of mechanical switches is relays and contactors. A contactor is an electromechanical device that has a coil and a moving armature, whereby the moving armature actuates a number of normally open and normally closed switches. A diagram of the coil and the armature is shown in Figure 2. With no power applied the armature stays open due to the force of the mechanical springs. When an AC or DC voltage is applied to the coil (Figure 3) the armature halves are attracted (Figure 4). The following is the sequence of operation of a contactor: 1. With no power applied to the coil, the armature is in the open position and is not attracted by the coil. Hence all the normally open switches are open, and all the normally closed switches are closed (Figure 5). 2. When power is applied to the coil, current will flow in it. 3. The coil becomes an electromagnet and a magnetic flux will flow in the two halves of the armature.

Figure 2: Coil shown with two halves of the armature kept apart by mechanical springs.

Figure 3: AC or DC voltage is applied to the coil to cause a current to flow.

Figure 4: The flow of current causes an attractive force on the armature.

Figure 5: When the contactor is in the inactive state, the normally open contacts are open and the normally closed contacts are closed.

Figure 6: When the armature is attracted to the other half, the NO and NC contacts changes state.

Figure 7: This can be implemented as one unit called a contactor.

Figure 8: Photograph of a contactor (note the NO and NC closed pairs of contacts).

Rating of the coil and rating of the contacts N.B. A common mistake that many fall into is mixing up the rating of the coil and the rating of the contacts. The rating of the coil is the voltage and current necessary to attract the armature and change the state of the contactor, and has nothing to do with the magnitude of the currents carried. The rating of the contact is related to the magnitude of the current switched and the voltage rating. For example, a contactor might have a coil that is operated by 24 V DC drawing 100 mA, but its contacts are switching currents as large as 20 A at 230 V AC.

A relay is identical to a contactor in function, but is smaller in size and usually has DC operated coils at lower voltages (most relays operate on DC voltages ranging from 5 V to 24 V, although it is possible to get relays that operate on 48 V DC, or even AC voltages). Instead of having a pair of NO and a pair of NC contacts, most relay tend to have a so-called change-over contact, where the contact has three terminals, a

central terminal (usually referred to as C, or common), as normally open contact and a normally closed contact. A typical schematic diagram is shown in Figure 9.

4. The Transistor as a switch A transistor can be used as a solid state switch. When a transistor is to be used as a switch, it has to be operated either in the cut-off mode (when it is not to conduct) or saturation region (when it is to conduct), but not in the active region. The transistor has a control side and a power side, as shown in Figure 10 (showing a BJT: bipolar junction transistor). The transistor switching losses take place when it is passing through the active region moving from cut-off to saturation and vice versa.

Q

Control side

Power side

Power side

V

E

C

B

I C

CE

Switch analogy

Figure 10: The transistor as a switch, with the switch analogy.

coil

NC NO

A1 C

A

Figure 9: Schematic diagram of a relay.

Solution Assuming the transistor is saturated when it is on, we can assume that VCE is 0.2 V. Using this assumption, we can calculate the value of I (^) C which will flow:

I

V V

R

C CC^ CE A

L

To ensure saturation, the minimum value for the base current has to be:

I

I

h b C mA FE

×

×

To achieve this value of base current, the total value of resistance R 1 and LDR has to be (ignoring the effect of R2):

R LDR

V CC VBE

×

Note that the value of VBE has been assumed to be equal to a forward junction diode voltage drop (0.7 V). But LDR resistance when the light is on is 5 kΩ. So R 1 needs to be less than:

R 1 = 29125 − 5000 = 24125 Ω

So, using a preferred value, R 1 can be selected as 21 kΩ. It can be easily checked that the transistor is in the cut-off region, when the value of LDR is 1MΩ.

As a rule of thumb we can usually take R 2 as ten times R 1 , which in this case will be 210 kΩ.■

So the steps in designing the transistor as a switch are as follows:

  1. Using the value of the load and the voltage between the collector-emitter saturation voltage calculate the collector current.
  2. Divide the collector current by the transistor current gain ( hFE ). This represents the minimum base current that is sufficient to just place the transistor on the edge between the active region and the saturation region.
  3. Divide the minimum base current by 0.85 (in order to push the transistor slightly in the saturation region). This gives the design base current.
  4. Select the size of the base resistor required to achieve the design base current, assuming the base emitter voltage to be 0.7 V. 5. Switching Active Loads The required duty of a switch depends to a large extent on the type of load it is switching. Pure resistive load are easier to switch on and off as compared with

capacitive or inductive loads. Most loads in practice are either resistive/inductive or resistive/capacitive. This type of switching (referred to as active load switching) imposes more stringent requirements on the switch.

A switch closing on a capacitor experiences a high surge inrush current. This is due to the fact that we are trying to change the voltage on the capacitor instantaneously, and as the current is proportional to the rate of change of voltage, the currents takes on a very large value. This is in accordance with the capacitor voltage current relationship:

i t C

d dt

( ) = × v t( )

This is because the capacitor effectively acts as a short circuit initially until it fully charges, by which time the current drops to zero again. In theory this high inrush current is infinite in magnitude; however, in practice, it is limited by the resistance of the wires and the switch.

Current

Time

V

Switch closing

C

Switch

Figure 12: Inrush current generated when closing a switch on a capacitor.

A similar problem happens with a switch interrupting the current flowing through an inductor. The voltage across the inductor is proportional to the rate of change of current flowing through it. As the switch is attempting to abruptly change the current to zero in a very short period of time, the resulting voltage across the inductor is large, in accordance with the voltage/current relationship for the inductor:

v t L

d dt

( ) = × i t( )

This voltage developing across the inductor, will induce an equal voltage across the switch. The value of this voltage is very large initially, and then drops to zero eventually (or to the value of the voltage source) after the current in the inductor has dropped to zero.

Figure 13 shows a diagram of a switch interrupting an inductive current, and a diagram showing the voltage generated. The switch has to be rated in order to be able to withstand

In practice however, the switching on and switching off time delays cannot be ignored. The following sub-sections deal with the effect of these delays on switching losses.

7.1 Soft Loads Referring to Figure 15, during the switching on period, the voltage across the switch can be represented as:

v t V t t (^) on

( ) = (^) max −

And the current can be represented as:

i t

V

R

t L ton

( ) = max

This equation is assuming a pure resistive load, and hence the maximum current is just the division of the maximum voltage by load resistance.

Switching on time Voltage Current

Leakage (off state) current Forward voltage drop (on state)

Current/ Voltage

Time

Switching off time

Figure 15: Switching on and off characteristics for a soft load.

The power is then the product of the two quantities. The total energy dissipated in the switch will be the integration of the power over the switching on time.

Power dissipated in a switch during switching

Time

Voltage/Current/Power

Power

Voltage Current

Figure 16: Power dissipated in a switch during the switching time.

The total energy will be:

E v t i t dt V t t

V

R

t t

dt

V

R

t on

ton

on L on L

on

ton = × = × −

⎟ ×^ ×

⎟ ×

∫ ( )^ ( )^ ∫ max ⎟

max max 0

2

0

Note that we have assumed a pure resistive load, and thus the maximum current is the division of the maximum voltage by the load resistance.

In the same way, it can be shown that the switching off losses are equal to:

E

V

R

t off L

= ⎛ off ⎝

⎟ ×

max ⎟

2

6

The total losses would be made up of four parts: The conducting losses, the switching off losses, the non-conducting losses, and the switching on losses. In here, we will assume that the conducting and the non-conducting losses are negligible compared to the switching losses. Hence the total power dissipated by the switch will be the sum of the losses multiplied by the switching frequency:

P ( E E ) f

V

R

t t Total on off f L

on off = + × =

⎟ ×

max ⎟ ×

2

6

Where: Eon is the switching on dissipated energy. Eoff is the switching off dissipated energy. Vmax is the supply voltage. RL is the load. t (^) on is the switching on time. t (^) off is the switching off time.

v t V

t t (^) on

( ) = (^) max −

And the current can be represented as:

i t( ) = Imax

As the load here is not purely resistive, we cannot assume that the maximum current is just the division of the maximum voltage by load resistance. Hence, the maximum value of current is used in the formula.

Thus the switching on energy will be:

E v t i t dt V ( )

t t

I dt V I

t on

ton

on

on

ton = × = × −

⎟ ×

⎟ = × ×

⎝⎜^

( ) ( ) (^) max max max max 0 0

In the same way, it can be shown that the switching off losses are equal to:

E ( V I )

t off = × × ⎛ off ⎝

max max ⎟ 2

The total losses would be made up of four parts: The conducting losses, the switching off losses, the non-conducting losses, and the switching on losses. In here, we will assume that the conducting and the non-conducting losses are negligible compared to the switching losses. To calculate the total power produced, we add both losses and multiply by the switching frequency:

P ( E E ) f ( V I )

t t Total on off f

on off = + × = × ×

max max ⎟ × 2

Where: Eon is the switching on dissipated energy. Eoff is the switching off dissipated energy. Vmax is the supply voltage. I (^) max is the maximum value of current. RL is the load. t (^) on is the switching on time. t (^) off is the switching off time. f is the switching frequency.

Note that the switching losses for a hard load are three times as much as the switching losses for a soft load. Note also that the conducting and non-conducting losses have been neglected.

It is important to note that the switching frequency for mechanical devices is very low (e.g., a relay or a contactor), where they would not switch on or off at a rate faster the 1 Hz. However, solid state devices (e.g., thyristor or transistor) would switch at a

much faster rate. So the power dissipation problem becomes significant only in the case of solid state switches.

Example 2 Calculate the incidental power dissipation for a switch under the following parameters:

The maximum supply voltage: 250 V. The maximum load current: 25 A. The switching frequency is: 4 kHz. The switching on time is: 1 μs. The switching off time is: 5 μs.

Assume that the load is:

(a) A soft load. (b) A hard load.

Solution Applying the general formula for a soft load, gives:

PTotal ( ) 4000 25 W 6

6 6 ⎟⎟×^ = ⎠

⎛ × + ×

= × ×

− −

The hard load will cause three times this dissipation:

PTotal ( ) 4000 75 W 2

6 6 ⎟⎟×^ = ⎠

⎛ × + ×

= × ×

− − ■

8. Thermal Considerations The power generated in the switch in the last example is very high. If not dissipated into the atmosphere, it will cause the device to overheat, and cause damage eventually. For a solid state switch, the power is generated at the junction (e.g., of a transistor or thyristor). This has then to be transferred to the case, and then to the ambient.

temperature from rising above 70 °C (for both soft and hard loads). Select a heat sink with a value shown in Table 1 below.

Table 1: Some practical thermal resistances for heat sinks ( ° C/W).

0.29 0.32 0.4 0.41 0.50 0.58 0.62 0. 0.65 0.75 0.9 1.0 1.1 1.2 1.3 1. 1.7 2.0 2.1 2.4 2.5 3.0 3.5 4.

Solution In the case of a soft load, the dissipated power was 25 W. Thus the thermal resistance of the heat sink should be at most :

R

T T

P

ja = j^ −^ a =^70 −^^25 = ° 25

1 8. C / W

Thus, in the case the nearest value in the table, less that this value is 1.7. Using this heat sink will give a junction temperature of:

T

T

j j C

In the case of the hard load, the power was 75 W. Thus the thermal resistance of the heat sink should be at most:

R

T T

ja P

j a

0 60. C / W

The nearest value in the table, less that this value is 0.58 ° C/W. Let us assume that

we want the junction run at a cooler temperature, so we oversize the heat sink and

select a heat sink with a thermal resistance of 0.50 ° C/W. This will give a junction

temperature of:

T

j Tj C ■

It is worth remembering that as the thermal resistance of the heat sink decreases, its size and surface area have to increase, to improve the heat transfer to the air.

A heat sink compound is usually used between the header and the heat sink to improve the heat transfer between the header and the head sink.

If a heat sink in the shape of a square sheet is used, the thermal resistance can be approximated from a rule of thumb:

R

L

Sa =^

Where:

RSa is the thermal resistance from the heat sink to the air. L is the length of the side of heat sink in metres.

If forced ventilation is used on a heat sink (e.g., a fan), this has the effect of further reducing the thermal resistance, calculated in the formula above. The reduction can be calculated as follows (Shepherd et al ., 1995, p 20):

R R

V

FSa =^ Sa ×^

Where: RFSa is the thermal resistance under forced ventilation conditions. RSa is the thermal resistance under natural ventilation conditions. V is the velocity of the air in m/s.

Problems 1- Find suitable values for R1 and R2 for the circuit shown in Figure 20. Resistor R3 is transducer which changes its values. The relay is to be switched on and off, based on the values of the resistor R3. Assume the following values:

  • The resistance of relay K1 is 500 Ω.
  • The current gain for the transistor is 50.
  • R3 changes between the two values of 100 kΩ (off) and 1 kΩ (on).

R

R

Q

K

12V DC

I (^) b

R

Figure 20: Diagram for problem 1.

2- An SCR is used to switch a hard load operating on a current of 10 A, and fed from a supply voltage of 200 V. The switching on time is 1 μs, and the switching off time is 4 μs. The switching frequency is 10 kHz. Calculate the power dissipated in the SCR, for a: