Library/Engineering/Electrical Engineering Principles and Applications/Computers, Microcontrollers and Computer-Based Instrumentation Systems

Computers, Microcontrollers and Computer-Based Instrumentation Systems

50 questions available

Summary unavailable.

Questions

Question 1

In the context of computer organization, what are the two primary components of the Central Processing Unit (CPU)?

View answer and explanation
Question 2

What is the primary difference between a microprocessor and a microcontroller (MCU)?

View answer and explanation
Question 3

According to the description of computer architecture, what distinguishes von Neumann architecture from Harvard architecture?

View answer and explanation
Question 4

If a microprocessor has an address bus width of 20 bits, how many unique memory locations can it access?

View answer and explanation
Question 5

What is the primary characteristic of read-only memory (ROM) that makes it suitable for storing programs in simple dedicated applications like a clothes washer controller?

View answer and explanation
Question 6

What is the main difference between static RAM (SRAM) and dynamic RAM (DRAM)?

View answer and explanation
Question 7

How many bits can be stored in a 64-Kbyte memory?

View answer and explanation
Question 8

In a digital process control system, what is the function of a digital-to-analog (D/A) converter?

View answer and explanation
Question 9

What is the primary advantage of using interrupts over polling in a complex control application?

View answer and explanation
Question 10

In the HCS12/9S12 programming model, what is the function of the Program Counter (PC) register?

View answer and explanation
Question 11

What happens to the stack pointer (SP) and memory when the PSHA command is executed on a CPU12 processor?

View answer and explanation
Question 12

What is a key characteristic of the Condition-Code Register (CCR) in the CPU12 programmer's model?

View answer and explanation
Question 13

How does immediate (IMM) addressing differ from direct (DIR) addressing in the CPU12 instruction set?

View answer and explanation
Question 14

What is the function of an assembler in the context of assembly-language programming?

View answer and explanation
Question 15

What does the assembler directive 'ORG $0100' instruct the assembler to do?

View answer and explanation
Question 16

Which of the following best describes the Jump to Subroutine (JSR) instruction's operation?

View answer and explanation
Question 17

What is the role of a signal conditioner in a computer-based instrumentation system?

View answer and explanation
Question 18

Which of the following is an example of a bias error in a measurement system?

View answer and explanation
Question 19

How is 'accuracy' defined in the context of instrumentation performance?

View answer and explanation
Question 20

To avoid loading effects when measuring the internal voltage of a sensor with a high Thévenin resistance, what characteristic should the signal-conditioning amplifier have?

View answer and explanation
Question 21

What is the primary purpose of using a differential amplifier in instrumentation systems that are subject to noise from ground loops?

View answer and explanation
Question 22

What is 'aliasing' in the context of analog-to-digital conversion?

View answer and explanation
Question 23

To prevent aliasing, what is the theoretical minimum sampling rate required for a signal that contains no components with frequencies higher than fH?

View answer and explanation
Question 24

A 25-kHz sinewave is sampled at a rate of 30 kHz. What is the resulting alias frequency?

View answer and explanation
Question 25

What is the relationship between the number of bits (k) in an ADC's codeword and the number of amplitude zones (N) it can represent?

View answer and explanation
Question 26

An 8-bit ADC accepts signals ranging from -5 V to +5 V. What is the approximate width of each quantization zone?

View answer and explanation
Question 27

What is the primary function of an antialias filter in a data acquisition system?

View answer and explanation
Question 28

What is the definition of the Common-Mode Rejection Ratio (CMRR) for a differential amplifier?

View answer and explanation
Question 29

A differential amplifier has a differential gain of 1000. When its inputs are tied together and a 100-V peak signal is applied, the output has a peak value of 0.01 V. What is the amplifier's CMRR in decibels?

View answer and explanation
Question 30

What is the source of offset voltage and offset current in a real direct-coupled amplifier?

View answer and explanation
Question 31

What is the cause of 'harmonic distortion' in an amplifier?

View answer and explanation
Question 32

A certain amplifier has a transfer characteristic of vo = 100vi + vi^2. If the input is vi(t) = cos(wt), what is the second-harmonic distortion factor D2?

View answer and explanation
Question 33

How can the effects of DC bias currents be mitigated in a differential amplifier with grounded source inputs?

View answer and explanation
Question 34

What is the function of the 'stack' in CPU operations?

View answer and explanation
Question 35

Which type of memory is described as being non-volatile and allowing data to be erased and rewritten relatively quickly in blocks?

View answer and explanation
Question 36

In the context of the CPU12 instruction set, what does an instruction using inherent (INH) addressing do?

View answer and explanation
Question 37

Consider the instruction ADDA $CA01 for the CPU12. What addressing mode is being used, and how many bytes of memory does this instruction occupy?

View answer and explanation
Question 38

What type of cable is recommended to reduce noise coupled by magnetic fields in instrumentation wiring?

View answer and explanation
Question 39

What is the primary cause of a ground loop in an instrumentation system?

View answer and explanation
Question 40

If the input voltages to a differential amplifier are v1 = 5.7 V and v2 = 5.5 V, what are the differential (vd) and common-mode (vcm) components of the sensor signal?

View answer and explanation
Question 41

Starting from the initial contents shown in Figure 8.7(a) where accumulator B contains A2 and register X contains 0000, what is the content of register X after executing the command sequence PSHB, PSHA, PULX?

View answer and explanation
Question 42

Suppose that starting in location 0200, successive memory locations contain op codes for the instructions CLRA and BEQ $15. What is the address of the instruction executed immediately after the branch instruction if the branch is taken?

View answer and explanation
Question 43

How does constant-offset indexed addressing work in the CPU12?

View answer and explanation
Question 44

In the program from Example 8.2, what is the purpose of the BPL PLUS instruction?

View answer and explanation
Question 45

In the manual conversion of source code to machine code shown in Example 8.3, why is the offset for the BPL command initially unknown on the first pass of the assembler?

View answer and explanation
Question 46

In the breadmaker application described in Practical Application 8.1, where are the main control programs and the parameters entered by the chef stored, respectively?

View answer and explanation
Question 47

What is the defining characteristic of a 'random error' in a measurement system?

View answer and explanation
Question 48

What is the difference between the 'precision' and 'accuracy' of an instrument?

View answer and explanation
Question 49

To correctly measure the short-circuit current from a sensor, what input impedance should the measuring amplifier have?

View answer and explanation
Question 50

What is the primary trade-off in selecting a memory type for a computer system?

View answer and explanation