Ebook Practical electronics handbook (6/E): Part 2

Part 2 book “Practical electronics handbook” has contents: Digital Logic, programmable devices, microprocessors and microcontrollers, microprocessor interfacing, data converters, transferring digital data, microcontroller applications, digital signal processing, computer aids to circuit design and other contents. | Digital Logic Introduction 265 CHAPTER 9 DIGITAL LOGIC Introduction Systems that use two or more discrete levels of voltage or current to represent states are referred to as digital. The vast majority of such systems use two levels only, so they are binary in nature. In a binary system the states are usually named TRUE and FALSE; by convention TRUE is equated with 1 (one) and FALSE with 0 (zero). In order to represent these states electrically we could use a switch. When the switch is open no current flows, the zero (0) state, when the switch is closed current flows, representing one (1). Current flow can be indicated by a lamp or a meter (Figure ). Figure OFF FALSE A battery, switch and lamp. ON TRUE Given that the states of the system can be set, represented and indicated by these simple means we can extend the concept to include decisions based on reason, that is deterministic logic systems. The basic decision-making logic operations or gates are AND, OR and NOT. These were defined in the 19th century by the mathematician/ philosopher George Boole, hence the name Boolean Algebra given to the system of writing logic equations. The three elementary logic gates are simple but from these even the most complex systems can be built. 266 Practical Electronics Handbook, 6th Edition Boolean algebra provides a compact representation of logic functions. The notation of Boolean algebra is similar to that of arithmetic, OR is represented as +, AND is represented as ×. For example A + B × C is A OR B AND C. The NOT or inverse of a variable is indicated by a bar above the variable, for example A. In a fashion similar to arithmetic there are rules for the use of brackets (parentheses) and the order of evaluation of expressions. AND, like multiplication, is distributive and so we can write A × B + A × C as A(B + C). It is usual to write A × B as AB, leaving out the dot as we do in normal algebra. Figure shows two lamp circuits, and it should be clear that the

Không thể tạo bản xem trước, hãy bấm tải xuống
TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
30    58    1    28-04-2024
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.