Design and Implementation of a Digital Control Unit ...

51 downloads 0 Views 734KB Size Report
The control unit is designed and implemented according to international standards. The control unit ..... The fan speed sensor is a permanent magnet with a coil.
Design and Implementation of a Digital Control Unit for …

121

JPE 8-2-2

Design and Implementation of a Digital Control Unit for an Oxygenaire Servo Baby Incubator Mohamed Zahran†, Mahmoud Salem*, Yousry Attia* and Aref Eliwa*

†*

Electronics Research Institute, NRC Blg., El-tahrir St., Dokki,12311-Giza, Egypt

ABSTRACT This paper introduces a design and implementation of a digital control unit for an Oxygenaire Servo Baby Incubator. The control unit is designed and implemented according to international standards. The control unit is based on an AVR Atmel microcontroller unit. It is built for monitoring and control and displays the three main temperature values: set point temperature, baby skin temperature and air temperature. User friendly software is implemented. The implemented control unit was tested in the laboratory as well as in the field. The control unit is sensitive to change of 0.1OC. At startup, based on a unique control strategy, the incubator reaches its steady state in about 14 minutes. The system schematic diagrams are shown in the paper. Also, programs flow charts are presented. The control unit was designed and implemented based on a contract between the Electronics Research Institute (ERI) and ENGIMED Company. The authors would like to thank ERI and ENGIMED for introducing all required finance and shoring to complete this work. Keywords: Temperature control, Microcontroller, Thermistor, Baby incubator, Skin probe, Signal conditioning, Sensor transmitter

1. Introduction Of all the advances that have taken place in the care of newborn babies none has had more impact than the realization that small babies need to be kept warm. Preterm babies who are allowed to get cold are more likely to die. It is recognized that the thermal environment of the pre-term baby is one of the most important aspects of medical and nursing care. It is an area where obsessive attention to detail can pay dividends in terms of increased Manuscript received Dec. 18, 2007; revised Jan. 21, 2008 Corresponding Author: [email protected] Tel: +202-26225821, Electronics Research Institute * Electronics Research Institute, Egypt



survival and growth of small babies [1], [6], [8]. Thus, the incubator temperature control is an essential matter in the field of pre-term baby care [10].

2. Heat Balance in a Newborn Baby A baby’s temperature is a balance between the heat which he produces himself and the heat which he loses. If the heat production and heat loss are exactly balanced, then this temperature is stable. If a baby loses more heat than it produces, his temperature will fall; if he produces more heat than he loses, his temperature will rise. It is, therefore, important in keeping babies warm to have some knowledge of how a baby gains and loses heat [7],[9],[11].

122

Journal of Power Electronics, Vol. 8, No. 2, April 2008

A baby produces heat by metabolic activity. The various chemical reactions which occur in the cells of the body release energy as heat. A baby can lose heat in four ways: ● Convection, in which heat is lost to the air surrounding the baby, ● Radiation, in which a baby loses heat by radiating energy from his skin to all surroundings, ● Evaporation, in which a baby loses heat when water evaporates from his skin or his breath. Each 1 ml of water lost by evaporation removes about 600 calories of heat, and ● Conduction, in which a baby loses a small amount of heat by direct conduction to solid surfaces in contact with him. 2.1 The Need for an Incubator When a baby's body temperature is stable, heat gain and heat loss are balanced. The safest and most pleasant way to keep a baby warm is to care for the baby clothed, wrapped and in cot. Incubators can provide a safe way of compensating for a baby’s lost heat [1]. 2.2 Modes of Operation Most of the standards recommend two modes of operation for baby incubators: air temperature mode and baby skin mode. 2.3 Air Temperature Mode This mode has been widely used in the nursing care of newborns for many years. Its principle is simple; the baby lies on a mattress in a Perspex canopy. The air in the canopy is warmed by a heater and is continually circulated by a fan. The air temperature inside the canopy is controlled by a thermostat which is set by the nursing staff (incubator operator). Having decided that a baby requires care in an incubator, the nurse must choose an appropriate air temperature. The average temperature needed to provide a suitable thermal environment for a healthy naked baby cared for in an incubator is shown in Table 1.

warms the air until the baby's skin reaches the set temperature. If the baby's skin temperature exceeds the set temperature then the power fed to the heater is reduced and the air temperature falls, allowing the baby to cool down, and vice versa to warm the baby up. Table 2 show the suggested abdominal skin temperature setting for babies cared for in an incubator in baby skin temperature mode.

3. Features of the TCOSBI Unlike [4], the proposed TCOSBI has the following features: 1) The controller is based on the AVR Atmel AT90S8535 Micro controller system. 2) Large bright displays based on seven segments are easy to monitor and view from a distance. 3) A digital display system is provided to measure the infant temperature, air temperature and to set the required temperature. 4) A digital display system is provided to measure the enclosure humidity inside the incubator. 5) Feather touch keys are provided for easy operation. 6) A bar graph LED system is provided to indicate the heater output. 7) Fault indications and alarms are provided for: • Baby skin probe failure either short circuit or open circuit for incubators with both air and skin temperature controllers, • Baby skin probe failure as open circuit for incubators with either an air or a skin temperature controller (not both), • Air probe failure, • High temperature, • Low temperature, • High temperature cut off (independent hardware circuit), • Heater failure, • Fan failure, and

2.4 Baby Skin Temperature Mode The temperature sensor is a thermistor probe which is taped to the body's skin. It measures the baby's skin temperature rather than air temperature, so the heater

• Power failure The baby probe / air probe is made of a highly sensitive sensor which is interchangeable and does not need field calibration.

Design and Implementation of a Digital Control Unit for …

Table 1

Air Temperature

Birth-weight (kg)

35oC

34oC

33oC

32oC

1.0 - 1.5

For 10 days

After 10 days For 10 days For 2 days

After 3 weeks After 10 days After 2 days For 2 days

After 5 weeks After 4 weeks After 3 weeks After 2 days

1.5 - 2.0 2.0 - 2.5 Greater than 2.5

Table 2

baby skin temperature

Birth-weight (kg)

Abdominal skin temperature oC

Less than 1.0 1.0 - 1.5 1.5 – 2.0 2.0 – 2.5 Greater than 2.5

36.9oC 36.7oC 36.5oC 36.3oC 36.0oC

4. Hardware Description 4.1 Controller Subsystem Block Diagram The system block diagram is shown in Fig. 1. Two input ports and a counter are used to monitor the incubator system variables. The first input port is dedicated for analog input variables such as air temperature, baby skin temperature and humidity. The second input port is dedicated for the keypad interface that has five keys classified as follows:

The third input variable is the fan speed that is conditioned as a stream of pulses counted by one of the microcontroller counters. The output ports are established to present the following: • Displaying the measured variables air and baby skin and set point temperature values, • Displaying the visual alarm signals for; o High temperature (HI TEMP), o Air flow (Air Flow) which refers to the fan operation, o Baby skin probe (SKIN PROBE) either short or open circuit failure, if the skin probe is not being used, the word "OFF" is written instead of displaying the baby skin temperature (upper left corner of the control panel), o Air temperature sensor (AIR SENSOR) either short or open circuit failure, o Low set temperature (Low SET TEMP) if the temperature in the incubator goes out of range during normal operation, that is, the set temperature value has not been changed, o High set temperature (HI SET TEMP), like low set temperature but for higher temperature, o Power failure (POWER FAIL) that indicates the failure of any of the different power supply channels for the electronic circuits and microcontroller cards. • Displaying the mode of operation of the incubator either "AIR" or "SKIN" mode, • Displaying the heater bar.

• Set key that enable the functionality of all the other keys, • Up key that is used to increase the set temperature value (in set temperature mode) • Down key that is used to decrease the set temperature value (in set temperature mode) • Alarm key that is used for silencing and checking the alarm, and • Mode key that is used to toggle between air and skin modes.

123

Fig. 1

Controller System Block Diagram

124

Journal of Power Electronics, Vol. 8, No. 2, April 2008

4.2 The Controller Features The system heart control unit is the ATMEL ATmega8535 microcontroller. It is a low-power CMOS 8bit microcontroller based on the enhanced RISC architecture. Most of the instructions are executed in one clock cycle. Though, ATmega8535 can execute 1 million instructions per second (1MIPS) per MHz. The device can operate up to 8MHz. so a high execution speed can be achieved with a single chip microcontroller unit. 4.3 System Control Flow Charts The flow chart of the system controller is divided into the five main flow charts shown in figures 2-6. The software is written in assembly language. It consists of a main program and a number of subroutines. Each subroutine is used to do one of the following functions: • temperature control function, • A/D conversion function, • display refresh function, • keypad check function, • fan fail function, • number transformation function, and • faults function. The control routine is executed only every 2 sec, the fan fail routine is executed every 1 sec, and the display refresh interrupt routine is executed every 0.5 msec. The temperature degrees in the control range (from 22oC to 41oC) are stored in a lookup table as digital numbers in steps of 0.1oC. So, the microcontroller converts the actual temperature to a digital number via the A/D, and then it looks up the temperature degree corresponding to this number from the lookup table.

Fig. 2

loads [2]. Here the switch is turned on for a time tn with n integral cycles and turned off for a time tm with m integral cycles. As the Triac used here are turned-on at the zero-crossing of the input voltage and turned-off at zero current, supply harmonics and radio frequency interference are very low. So, the heater temperature is controlled by the “Integral Cycle Control” technique. One (triac) is used to control the power flow from main to the heater, and its control signal is generated from the microcontroller according to the required power percentage that has been calculated. The period (T) is divided into two sections: in the first section (n) the power is applied to the heater; in the second section (m) the power is switched off as shown in figure 8 and figure 9. The power rating is 400W, supplied from 220V AC supply, 50Hz. The output voltage:

Vo =Vs k , Where: k is the duty cycle

n n⎞ ⎛ = ⎟ , and ⎜k = n+m T ⎠ ⎝

5. Incubator System Description 5.1 Body of the Incubator The body of the incubator is shown in figure 7. The control panel is located on the front of the incubator where the nurse is staying for easy access to the keypad and monitoring of the display signals [5]. 5.2 Heater Temperature Control As an alternative to phase control, the method of integral cycle control or burst-firing is used for heating

body of the incubator and control panel

Vs

is the rms value of main voltage.

This project was mainly undertaken to improve the performance of the old ENGIMED Company incubator system. It was necessary to decrease the settling time (it was about 45 min.) and to minimize the over and undershoot values. In the new system, a traic is used to control the power

125

Design and Implementation of a Digital Control Unit for …

flow from the main to the heater and the triac control signal is generated from the microcontroller according to the required power. The heater temperature is controlled by "Integral Cycle Control" technique, in which, the triac is turned on for a time Ton with n integral cycles and turned off for a time Toff with m integral cycles. So, the period T is divided into two sections: in the first section, n, the power is applied to the heater; in the second section, m, the power is switched off as shown in Fig. 8 and Fig. 9. The following empirical equation is suggested to calculate the Ton period:

Ton =Ton + k1 ( Tref -Tact ) - k 2 ( Tact -Tacto ) Where: k1& k2 Tref Tact Tacto

Fig. 5

(1)

Control Signal Flowchart

are constants is the required temperature set point is the actual temperature of air/skin the previous actual temperature of air/skin

Based on this equation the system performance is greatly improved.

Fig. 7 Fan-Fail subroutine Flowchart

Fig. 8

Fig. 3 The Main Program Flowchart

Fig. 4 The Display Signals Interrupt Subroutine Flowchart

Fig. 9

Fig. 6 Power Bar Subroutine Flowchart

power circuit of heater

Integral Cycle Control Waveform

B

A

F

G

B

A

F

G

B

A

F

G

B

A

F

G

B

A

F

G

B

A

F

G

B

A

F

G

Bus76 4

24 23 22 21 20 19 18 17 16 15 14 13

32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17

C

1 2 3 4 5 6 7 8 9 10 11 12 D

E

C

D

E

C

D

E

C

D

E

C

D

E

C

D

E

C

D

S4 2_SEGMENT 2_7SEGMENT

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16

S3 3_SEGMENT R39 3_7SEGMENT 10 Ω

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 E

C

D

E

C

D

E

C

GND.

S2 3_SEGMENT 3_7SEGMENT R38 10 Ω

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 D

E

D

E

8

GND.

32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17

32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17

1 GND

S1 3-SEGMENT 3_7SEGMENT R37 10 Ω

Bus76

10

8

9

8

9

7

4

5

6

6

5

4

1

2

3

3

2

1

Bus76

Bus263 D9

C AIR MODE 7 5V

9 5V

10 5V

11 5V

12 5V

13 5V

14 5V

A

12

LED

G

5 5V

T1 TIP126

T2 TIP126

T3 TIP126

T4 TIP126

T5 TIP126

T6 TIP126

T7 TIP126

T8 TIP126

D10 B

LED D11

Y7

Y6

Y5

Y4

Y1 2

Y1 1

Bus251

Y3

Y2

Y1 0

Y9

Y1

Y8

Y0

F C

D2 15 5V

16 5V

T9 TIP126

17 5V

T10 TIP126

18 5V

T11 TIP126

19 5V

T12 TIP126

T13 TIP126

LED D12

LED D4

D

13

12

10

7

11

LED

Bus251

23

7

Bus419 22

8

21

9

PC1 PC2

20

18

16

19

17

C4

2

39

3

38

4

37

D15 G

F

D6

G

10 Ω 10 Ω

LED

D18 LED

B

B4

5

36

6

35

7

34

8

33

9

32

10

31

PD0

24

PD1 PD2

33nF

11

30

12

29

13

28

14

27

15

26

16

25

17

PD3

LED

J3

GND.

AIR SENSOR

P1 1K

POWER FAIL D7 D17 D20 ? ? D21 LED LED

D22 D3 LED ?

D8 D19? LED

23 POWER

HI TEMP

SKIN PROBE 22 GND. PC3 PC2 PC1

22

20

2 HDR_21 28

23

19

PD 0

29 Bus76 Bus76 POWER

C6 10m

24

18

PD4

D16

LED

40

B5

GND.

PC0

21

Bus522 ATMEL AT90S8535 PC4

C2 0.1m

J1

J2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24

PD 2

U2

1

C3 QUAR

33nF

PD 1

10 R35Ω 10 R36Ω

HIGH SET TEMP

B1

25 POWER

LED

LOW SET TEMP

E

2004 2004

B0

26 POWER

PD 3

9

LED

D

10 R34Ω

C

Bus394 Bus394

B6

R1

1 2 3 4 5 6 7 8 9 10

8

D14

C

10 R33Ω

Bus76

15K

GND.

10

LED

F

B

10 R32Ω

Bus251

C5

21

11

7

Bus394

T14

20

6

B6

R31

D5LED

15K

3

GND.

B5

6

B3

BC109

12

GND

Bus419 B2

R2 15K

13

5

Y11

15K

74154

27

4

B4

A

Y12

SW1 Bus419

C SKIN MODE

B3

Y10

15K R28 15K R29

SW_SPST

GND.

D13

R30

Y9

15K R27

15

14

Y8

15K R26

14

15

3

Y7

15K R25

13

24

2

B2

Y6

15K R24

11

12

B1

Y5

15K R23

10

PC3

3

GND. 2 POWER

16

Y4

15K R22

6

1

Y3

15K R21

5

B0 Y2

15K R20

4

U5

Y1

15K R19

3 33nF

Y0

R18

2

E

D1

R17

1

C1

PC0

AIR FLOW

Bus263

U1

D

LED

Bus263

C AIR MODE

5.4 Air Temperature, Skin Probe and Humidity Sensors The box of sensors is shown in the following figure. Three sensors are indicated in the box: air temperature sensor (thermistor), baby skin probe and humidity sensor. The box is located in the appropriate location in the incubator to reflect the actual values of the system variables: air and skin temperatures and humidity level. Of course the skin probe is taped to the body of the baby in the place that is determined by the nurse.

B

A

F

G

B

A

F

G

B

A

F

G

B

A

G

5.3 Fan Speed Sensor The fan speed sensor is a permanent magnet with a coil which acts as a pulse generator. It looks like a single coil generator. A piece of permanent magnet is fixed on the fan blade (mechanical stability is considered) while the coil is fixed on the body of the incubator in the front of coil. The output signal is a semi-sine wave signal with a positive half cycle only. A signal conditioning circuit based on the zero crossing detectors technique is implemented for enhancing the shaped signal for possible counting (monitoring) with the help of one of the built-in microcontroller counters and timers.

F

Journal of Power Electronics, Vol. 8, No. 2, April 2008

C

126

Bus419

Bus419 HDR_10

HDR_24

Fig. 12 Schematic diagram of Microcontroller and Display Card

J5 19 5V

R69

AA CA 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1

J6 1K

HDR_24

5V 52 POWER

51 POWER

4 3 2 1

53 POWER

HDR_4

R68

15V 20 POWER

4K7 R30 33K

R64 47K

R66 47K

22 GND.

D5 4.3V

BC109

55

D8

D12

D11

GND.

D9 ?

?

?

?

15 5V

11 U5

6

R65 15K

R67 15K

2 4LM324

17 BC109

?

R3 1K4

R1

R4 1K4

R18

4 POWER

2

U1 2 C1 10nF

6 3

U2

7

16K

9

D1 ?

13

10K

3 POWER

TLC555

C6 220m

GND.

D23 ?

R5 4K

R21 10W

T8

Sensors Box to view

T10

BC109

BC109

D20

29 BC109 POWER

R45

?

BC327

GND.

D2 5.1V

R50 27W D25 ?

C9 10m

R47 10K

C8 10m

1K T9

R49 1K

D21 ?

C7 2.2m

R46 100K BC327

C5

PA7 R51

13

6

8

3

LM741

C3 10m P2 5K

R15 22K

R52 10K

2

? D26 5.1V

J3

3 HDR_3

R7 560K

U19 RELAY

D3 5.1V

10K

U17

7

3

7

8

D30 ?

R61 10K

4

?

11

U9

U9

12K

7 6

LM324

4

GND.

C17 71 40 POWER

C16 R54 R55 100nF1K 156K 4

?

U18

8

BC109

4

6

8

3

25 5V

7

3

2

GND.

1

2 C14 10nF

C13

2

60 POWER

U20

GND.

3

56 POWER

J4

C11 10nF

R72

10nF R56 TLC555

2K

GND.

GND.

R58

6

4

R75

U21 62

7

5K 69 POWER

1K

R59 1K

AAIR

GND.

5

D29 D31

LM324 61

? D15

GND.

R76

CHI

C15

66

10m

1K P4 1K

CAIR

?

LM324

63 POWER

R74

BC10958

AHI

D14 4.3V

4

41 POWER

38

R71

HDR_6

4 1 5

GND.

GND.

9

1K

4

11 D10 ?

U21

12 14 13

8 10

R73 1K

R78 1K

LM324 64

11 GND.

U21

11 65

4

LM324

R77 1K

68

? GND.

Fig. 13

1

10nF

10M

T3

2

TLC555

1

12K

LM741

67

GND. 1 2 3 4 5 6

P3 10K

48

49

6

1K

5.1V R80 300K 70 U21 GND.

11 3

C12

57 POWER

7

GND.D32

R57 100K

U16

6

21 50

6.8K

100nF

R34 1K

GND.

T15 BC109

46

GND.

R53 27K

T4

D18

47 5V

R63

4 1 5

R32 16K

LM324

11

45 POWER

42

D17 4.3V

5

24 5V

3

39 POWER

?

2

1

PA5 PC4

2 UA741

D19

D16

36 GND.

R62

6

12

R8 56K

10

R70

1 2

R79 100 W

43 5V

R60

1

HDR_2

44 POWER

59 POWER

13 POWER

J2

GND.

PD5

R22 10W

HDR_3

D27

BC109 35

GND.

23 POWER

1 6

4

12

LM324 11

3

37 POWER

33

1 2

R42 4K7

T14

GND.

LM324 11

6 POWER

J1

T13 12A

MOC3010

12

LM741 4 1 5

8 POWER

U9 14

10

4 1 5

4

6

3

U14 RELAY

U9

4

9

5

C4 10nF

6

U3

7

2

U15

220W

R24 10K

D4 ?

U4

GND. R41 34 5V

9

R12 1K 7

31

1K

2

10K

1

R23 4

R25 14 10K POWER

6 R26 10K

8

7 511K POWER

7

R9 10K

4

R10 10K

5

R14 470nF

R11 30K

2

5.5 Schematic Diagrams and Circuit Design The schematic diagrams of the TCOSBI are introduced in four separate circuits illustrated as follows: 1. Schematic diagram for the microcontroller and display card, Fig. 12, 2. Schematic diagram for the signal conditioning card, Fig. 13, 3. Schematic diagram for the keypad card, Fig. 14, and 4. Schematic diagram for the power supply card, Fig. 15.

R48 1K

T11 T12

32

R6 10K

9

Fig. 11

3.3V

?

1

Fig. 10 Sensors Box with connector

D24

C10 BUZZER

12 POWER

R16 22K

P1 1K

R44 R43 1K 15K

GND.

LM324 11

1 9 POWER GND.

T7 30 BC109 POWER

1

26

14

LM324 11

5 POWER

C2 10m

R39 10K

28

12

LM741 4 1 5

R40

2

D22 LM741 4 1 5

BC109

T5

U5

4

8 10

T6

R37 10K

3

BC109

U5

6 3

SW1 SW_SPST

PC4

D28 ?

U13

8

7

10K

4

4 6

PA3

R20

R19 10K

R2 1K 7

R35 314K

R27

GND.

11 10K POWER

R17 10K

R36 22K

R28 GND. 16 32K

11

30K

PD7 R38 16K

PD5

18 5V

? D6

LM324

R13 85K

2 POWER

R33 1K

5

1

27 5V

T1

D13

7

3

R29 33K 54 POWER

PA5

R31 16K

D7 ?

U5

4

3

T2

GND.

Schematic diagram of signal conditioning circuit's card

Design and Implementation of a Digital Control Unit for …

U1

4 5V

J1

2 4

C1 2200m

1

J4

HDR_2

HDR_3

3

1

3

2

GND

HDR_3

GND C2 2200m

3

C4 0.1m GND

C AIR MODE C SKIN MODE

GND

3

IN OUT U4 7915

PD0 IN 2 J2 1

SW_SPST SW2

4

B2

SW_SPST SW3

PD2

J5

1 2

C6 0.1m

HDR_2

BRIDGE 3

D2 ?

SW_SPST SW4

3 GND

PD3

U3 7818

SW_SPST SW5

IN

OUT

3

GND

PD4

2

J3 1

SW_SPST

2

2

3

HDR_2

4

B3

J6 C8 2200m

1

1 2

C7 0.1m

1 GND

2

C5 2200m

HDR_2

D1 ?

OUT GND 3

1

2

PD1

3

2

U2 7805

SW1

3

1 2

BRIDGE

2 3

3

C3 0.1m

7815

18 1

HDR_10

2

B1

J1

10 9 8 7 6 5 4 3 2 1

J2 1

3

127

HDR_2

BRIDGE 3

R1 15K

R2 15K

R3 15K

R4 15K

R5 15K 2 5V 4 GND

Fig. 14

Schematic diagram of the keypad

Fig. 15 Schematic diagram of the power supply card

Fig. 16

Housing of the PCB cards

5.6 PCB Cards The printed circuit boards contain four separate cards for the four separate schematic diagrams. The PCB cards are assembled in the housing shown in Fig. 16. Fig. 17, 18 shows the PCB cards while they are interfaced together and with the incubator as they are in operation. 5.6.1 Front Panel Display Card The front panel shows the three main temperature values: set point temperature (target temperature), air temperature and baby skin temperature. Based on the mode of operation, either the air temperature or the baby skin temperature should adjust to and maintain the set temperature value. The three temperature values are displayed in two digits and one decimal place. The accuracy of the set point and the measured and displayed air or baby skin temperature is 0.1 oC. The fourth seven segment display indicates the humidity as a percentage; it is displayed in only two digits from 00 to 99%. The power bar is also displayed on the front panel. It consists of eight LEDs; full brightness indicates the need for full power to accelerate the warming up of the incubator when it is turned on. The mode of incubator operation, either air or baby skin temperature mode, is also displayed on the front panel. The set of alarms are also displayed on the front panel. Details about the conditions and function of each alarm will be illustrated in place.

Fig. 17

the PCB cards, components side, interfaced together

Fig. 18 the PCB cards, components side, interfaced together and working

128

Journal of Power Electronics, Vol. 8, No. 2, April 2008

Fig. 19

Front panel card

Fig. 21

SC Card before Assembly Card

Fig. 20 Display Card, Seven Segments Side

5.6.2 SC Card and Display Card, Components Side The signal conditioning card was complex because we built up all the transmitter and signal conditioning circuits needed to match the measured variables to the microcontroller requirements. Three signal conditioning circuits were built for the new incubator variables: air temperature, baby skin temperature and humidity. The conditioning circuits were designed and implemented with the help of operational amplifiers and the technology of circuits bridges usage. The bridges help the sensors to be more sensitive and amplify the signals. The PCBs were manufactured in Benha Electronics Factory. ENGIMED introduced the body of the incubator as shown in Fig. 2. 5.6.3 Power Supply Module The power supply card consists of three independent channels, 5V for microcontroller and display card, ±12V for the operational amplifiers and the analog circuit's power supply and 18V for fan power supply.

Fig. 22

Image of the implemented and interfaced signal conditioning circuits

Fig. 23

Signal Conditioning Circuits and Display Card, Components Side

Design and Implementation of a Digital Control Unit for …

129

7. Conclusions

Fig. 24 Power Supply Card

5.6.4 Keypad Card & Keys Functions The keypad consists of five keys. The set key, left one, is the main key since none of the other keys will be active without pressing and holding this key first. This function is introduced to protect the system settings from being altered accidentally. To set the mode of operation, first you have to press the set key plus the mode key and hold them for several seconds to be sure that you mean to change the mode of operation from air to skin mode. The two LED's that display the mode of operation are included in the keypad card as illustrated in figures 25, 26.

Fig. 25

Fig. 26

PCB of Keypad Card

Part of Front Panel Showing Keypad

A fully digital and programmable temperature system was designed and implemented for the Oxygenaire Servo Baby Incubator. The transmitter circuits were also designed and implemented for all the variables of the incubator that are used as control signals like the air temperature sensor (thermistor), baby skin temperature sensor (probe), humidity sensor and air flow sensor. Two modes of operation are implemented in the control algorithm: air or skin mode. The AVR microcontroller is used as a control device and the control program is developed using ATMEL assembly language programming. The controller has the capability to set the temperature value and control the incubator temperature according to the selected mode of operation. The accuracy of the temperature is 0.1OC, and the over or under shot temperature values match the international standards. The settling time of the temperature of this incubator is about 14 minutes; the old version of this incubator took 45 minutes to reach the settling time, while some incubators on the market now need up to 2 hours to get to the steady state mode of operation. The keypad is programmed to prevent any accidental changes to the system settings by requiring parallel pressing of two keys simultaneously. The controller has an added feature that can check the running program at any time with the help of the audible discontinuous alarm when you press the set and alarm keys at the same time. A silent circuit is designed to stop the audible alarm during maintenance if necessary. The silent time is programmable and can be modified at any time. The system controller display is optimized to be seen from appropriate distance for easy monitoring. All the alarm signals are displayed in audible and visual ways.

6. Test Results References The incubator with the implemented control unit was tested and approved by Cairo University staff according to international standards. The system settling time is about 14 min. and the overshoot and undershoot are limited to less than 1OC. The temperature control accuracy and the intelligent software used are the most important features of the system.

[1] N. Rutter, M.D., M.R.C.P., "A Guide to Incubator Care of Infants", Vickers Medical Ltd (1995). [2] M.H. Rashid, “Power Electronics Handbook”, Academic Press, San Diego, California, 2001. [3] Douglas V. Hall "Microprocessors and Interfacing programming and hardware", McGraw-hill Inc., 1992. [4] D4 Surgicals (INDIA) PVT. LTM., "Infant Incubator",

130

[5]

[6]

[7]

[8]

[9]

Journal of Power Electronics, Vol. 8, No. 2, April 2008

http://www.d4 medical-surgicalequipments.com /medicalsurgical-equipments.html# infant-incubator, COBAMS SRL, "Neonatal incubators", Via Cicogna 20, San Lazzaro Di Savena, Bologna Italy, Italy, http://www.alibaba.com/company/10681037.html#company profile Sandra Lee Smith, "Heart Period Variability of Intubated Very-Low-Birth-Weight Infants during Incubator Care and Material Holding", AMERICAN JOURNAL OF CRITICAL CARE, Vol. 12, No.1, Jan. 2003. Michael P. Meyer, Matthew J. Payton, Andrew Salmon, Chris Hutchinson and Alan de Klerk, "A Clinical Comparison of Radiant Warmer and Incubator Care for Preterm Infants From Birth to 1800 Grams", http://www.pediatrics.org/cgi/content/full/108/2/395, Copyright © 2001 by the American Academy of Pediatrics. All rights reserved. Print ISSN: 0031-4005. Online ISSN: 1098-4275 SAUDI Standard Organization, "Medical Electrical Equipment Part 2: Particular Requirements for Safety of Baby Incubators" D. A. Ducker and N. Marshall, ” Humidification without risk of infection in the Dräger Incubator 8000",

http://www.draeger.com/MT/internet/pdf/CareAreas/ PerinatalCare/pc_incu 8000_humidity_book_en.pdf [10] Hannah Lieberman, "Incubator Baby Shows: A Medical and Social Frontier", http://www.historycooperative.org/journals / ht/35.1/lieberman.html, Vol. 35, Issue 1, June 2006. [11] Maciej K. Ginalski, Andrzej J. Nowak, Luiz C. Wrobel, "A combined study of heat and mass transfer in an infant incubator with an overhead screen", http://bura.brunel.ac.uk /bitstream/2438/1701/1/Medical Enginering & Physics.pdf

Mohamed Bayoumy A. Zahran (M. Zahran), was born in Egypt, received his B.Sc from Kima High Institute of Technology, M.Sc in 1993 and Ph.D. in 1999 from Cairo University, Faculty of Engineering, Electrical Power and Machines Dept. He is an Associate Professor Researcher at the Electronics Research Institute, Photovoltaic Cells Dept. His experience is mainly in the field of renewable energy sources, systems design, management and control. He has been employed full time by the National Authority for Remote Sensing and Space Science (NARSS) since 2002, Space Division as System Engineer of MisrSat-2 Project and Satellite Power Subsystem Designer.

Mahmoud Mohamed A. M. Salem (M. Salem) received the B.Sc. degree in Electrical Engineering in 1988 from Minofia University, Egypt. He received the M.Sc. and the Ph.D degrees in Electrical Engineering from Cairo University, Egypt in 1994 and 2000, respectively. Now, he is working as a researcher at the Electronics Research Institute, Cairo, Egypt. His research interests include artificial intelligence, neural networks, control systems, electrical drives, and digital controller hardware. Yousry Attia Abdel-gawad (Y. Attia) received his B.Sc from the Electrical Power and Machines Dept., Munofia Univ., Faculty of Eng., Egypt in 1987, M.Sc in 1995 and Ph.D in 2001 from Cairo Univ., Faculty of Eng. Electrical power and Machines Dept., in the field of Power Electronics. He is currently a researcher in the Electronics Research Institute, Photovoltaic Cells Dept. His experience in the field includes working with renewable energy sources and systems design, management and control. Aref Yosef Eliwa (A. Eliwa), was born in Egypt in 1964, He received his B.Sc in Electrical Engineering from Zagazig University in 1987, and M.Sc in 1993 and Ph.D. in 2000 all from Faculty of Engineering, Ain Shams University. From 1989 -2003, he was a researcher at the Electronics Research Institute, Photovoltaic Cells Dept. where he conducted research on solar cell technology and applications. Currently he is a lecturer at the Telecommunication and Electronics Engineering Dept., faculty of Eng.

Suggest Documents