You are on page 1of 4

Smart Universal Battery Charger

Logic Design

A. Input & Output Variables

Input Variables a - Initial Voltage of the Battery


(0 if Vi < 4.2V , and 1 if Vi ≥ 4.2V)

b - Allowable Terminal Voltage


(0 if ∆V ≤ 0.1V , and 1 if ∆V > 0.1V)

c - Battery Temperature
(0 if 0 degree Celsius ≤ T ≤ 35 degree Celsius,
and 1 if T > 35 degree Celsius)

d - Charging Current
(0 if 0.5A ≤ Ic ≤ 1A, and 1 if Ic > 1A)

Output Variables W - Charging/Fully Charged


(0 means charging , and 1 means fully charged)

X - Circuit Connect/Disconnect
(0 indicates circuit connection, and 1 indicates
circuit disconnection)

Y - Battery Overheat Indicator


(0 when battery on normal temperature while
charging, and 1 when battery is beyond normal
charging temperature)

Z - Speed (Current Acceptance Rate)


(1 speed at its best)

Desired output device is a Smart Universal Battery Charger that is capable of


start/stop charging, acquire charging current, individual cell voltage, display charging
status as well as to provide indication of errors.
B. Charging Flow Diagram

LED 1 - W Output Indicator LED 4 - Y Output Indicator


LED 2 - Voltage Difference LED 5 - Z Output Indicator
Indicator
LED 3 - X Output Indicator
C. Truth Table

Inputs Desired Outputs

a b c d W X Y Z

0 0 0 0 0 SET 1 0

0 0 0 1 0 SET 1 0

0 0 1 0 0 SET 0 1

0 0 1 1 0 SET 0 0

0 1 0 0 0 SET 1 0

0 1 0 1 0 SET 1 0

0 1 1 0 0 SET 0 1

0 1 1 1 0 SET 0 0

1 0 0 0 1 RESET 0 1

1 0 0 1 1 RESET 0 0

1 0 1 0 1 RESET 0 1

1 0 1 1 1 RESET 0 0

1 1 0 0 1 RESET 0 1

1 1 0 1 1 RESET 0 0

1 1 1 0 1 RESET 0 1

1 1 1 1 1 RESET 0 0

where:
𝑊=𝑎
𝑋 = 𝑋' + 𝑏'(𝑄𝑛)
𝑌 = {[(𝑋)(𝑐)]'}’
𝑍 = [(𝑊𝑋)] + [((𝑋)(𝑐))'(𝑑')]
D. Logic Circuit Design

You might also like