Vajad kellegagi rääkida?
Küsi julgelt abi LasteAbi
Logi sisse

Midterm Exam solutions and answers in Microcontroller and practical robotics (0)

1 Hindamata
Punktid

Midterm  Exam  
Microcontrollers and  Practical  Robotics 
Question 1 
Convert the decimal number 43.982 to (a) binary  and (b) hex. Show all your calculations. 
a.) 101011.111110 
b.) 2B.FB6 
 
Question 2 
 
Perform the calculation of 58 – 42 by  first converting each decimal value  to 
binary and then using the twos complement method . Show all your calculations 
 
5810=001110102 
4210=001010102 
Converse  to twos complement 4210=001010102=110101012+1=110101102 
Then 58+(42) 

   001110102 
+110101102 

         =   000100002 =1610 
 
Question 3  
 
Given  the following  bridge circuit  for a  strain  gauge, determine the value of 
the strain gauge resistance 
 
Let:   VIN = 5V 
R3 = 100 Ω 
R2 = 50 Ω 
R1 = 100 Ω 
 
   
2 Midterm Exam - 
Solutions  
 
 
 
 
 
 
 
a)  Under no strain (VOUT = 0 V) 
 
b)  When VOUT = 0,5 V {under strain}. 
 
Solution
 

a)  Under no strain: 
 R
R


R R  R R

1
3
1
4
2
3
V


V

 
OUT

 IN 

 R
 R
( )( )
IN
 1
2
3
4 
 1
2
3
4

With zero output V
 0, the balanced bridge will be: 
OUT
R R
50 *100
R R  R R , then 
2
3
 

 50  
2
4
1
3
4
S
R
100
1
b)  When VOUT = 0,5 V {under strain},  
 R
R

1
3
V


 
OUT

 IN
 R
 R
 1
2
3
4 
 100
100

0,5

5V


 
100  50
100  R

4 
  76,46  
4
S
 
Question 4 
Figure  below   shows  the thermistor  circuit  (R25 = 2kΩ). The data sheet and 
the specifications are  provided
 
 
   Midterm Exam - Solutions 
 
 
 
 
 
 
 3 
 
 
  D.C. Dissipation Constant: 2 mW/°C 
   Required accuracy: 1.5 °C 
   Sensor circuit VREF = 4 V 
Application temperature: 0°C to 40 °C 
a.  Calculate the resistance of the thermistor,  R
, at 0°C and 40°C respectively?     
TH
From the given information, the thermistor resistance at 25°C or R25= 2 kΩ, and 
RTH at 00C is 2.8533 
R25
Then R
0
TH(0 C) =2.8533*2 kΩ=5.707 kΩ 
RTH at 400C is 0.5746 
R25
Then R
0
TH(40 C) =0.5746*2 kΩ=1.149 kΩ 
 
   
4 Midterm Exam - Solutions 
 
 
 
 
 
 
 
 
b.  What is the  maximum   voltage  over the thermistor at the maximum allowed   power  
dissipation? 
Pmax = D.C. * Accuracy = 2 mW/°C * 1.5 °C = 3 mW 
Maximum allowable voltage over the thermistor then: 
V
 R
 3m*1.1 9
k  1.86
0
TH
TH (40 )
 
c.  What is the minimum value of   at the maximum allowed power dissipation over the 
1
thermistor then?     
The voltage over resistance  ,  V
V
 41.86 2.14 
1
1
R
REF
TH
V
1.86V
TH
I
 

1.62mA
TH
1
R
R
1.149k
 
TH
V
2.14V
1
R


1.321k . This is the minimum value of   to get the 
1
I
1.62mA
1
1
R
maximum allowable value of power dissipation for this thermistor. 
 
Question 5 
 
Scaling of the sensor circuit output is needed at the below figure. The value for resistance 
R1 is 4 kΩ. The output of the sensor circuit must be scaled to the range  between  1 V and 
11  V.  The  thermistor  resistance  RTH  range  is  given  between  8  kΩ  and  2 kΩ  at  0°C  and 
40°C  respectively.  The   ideal   equation  for  this  scaling  circuit  is  given  as 

R

V
R
4
4
12
4
V
1
REF
V


 
 . Answer the following questions.   
Out to ADC
1
R
R
R

3
2 
2
 
   Midterm Exam - Solutions 
 
 
 
 
 
 
 5 
 
a.  What is output voltage range at 0°C and 40°C of this sensor circuit  without  scaling?   
R
0

TH (0 )
8k
V
V
 4V
 2.66V
0
(0
REF
TH
C
R
 R
8k  4k
 
0
1
TH (0 )
R
0

TH (40 )
2k
V
V
 4V
1.33V
0
(40
REF
TH
C
R
 R
2k  4k
 
0
1
TH (40 )
Then the output range without scaling is 
V
V
 2.661.331.33 
0
0
TH (0 )
TH (40 C)
 
b.  Calculate the  gain  and the offset needed to scale the output of the sensor circuit to the 
ADC.   
 
The required scaling range is 11110 
10V
The needed gain is 
 7.52  
1.33V
The maximum output without offset is V
 2.66*7.52  20 
0
TH (0 )
The needed offset is  2011 9 
 
c.  Design the resistances,  ,  , and   for this circuit.   
2
3
4

R

V
R
4
4
1

  7.52, and   REF124  9  
R
R

R
3
2 
2
9
Choose    8k , then  
 6k , and  1.04k  
2
4
8*12
3
 
Vasakule Paremale
Midterm Exam solutions and answers in Microcontroller and practical robotics #1 Midterm Exam solutions and answers in Microcontroller and practical robotics #2 Midterm Exam solutions and answers in Microcontroller and practical robotics #3 Midterm Exam solutions and answers in Microcontroller and practical robotics #4 Midterm Exam solutions and answers in Microcontroller and practical robotics #5
Punktid 50 punkti Autor soovib selle materjali allalaadimise eest saada 50 punkti.
Leheküljed ~ 5 lehte Lehekülgede arv dokumendis
Aeg2015-03-23 Kuupäev, millal dokument üles laeti
Allalaadimisi 26 laadimist Kokku alla laetud
Kommentaarid 0 arvamust Teiste kasutajate poolt lisatud kommentaarid
Autor HendrikOvir Õppematerjali autor
Midterm Exam solutions and answers in Microcontroller and practical robotics. Trieu Minh Vu subject. All answers to questions are given. 100% right answers.

Sarnased õppematerjalid

W05 Homework3 Solutions
20
pdf

W05 Homework3 Solutions

Solution: 1. Thershold. 2. Sensitivity. 3. Full Range. 4. Linearity. 5. Accuracy. 6. Precision. 7. Stability. 8. Hysteresis. 9. Noise. Question 2 Given the circuit below (using a SYH-2R humidity sensor) determine the output voltage for a relative humidity of 70 % at 30 °C if RT = 50 kΩ and VDD= 2.5 V. Solution: Check specification for Humidity Sensor of SYH-2R.pdf at: http://www.rhopointcomponents.com/images/SYH-2R.pdf 2 Week 04 Homework - Solutions Check Thermistor - Wikipedia.pdf at http://en.wikipedia.org/wiki/Thermistor Calculate the Humidity Sensor resistance at 30°C T = 273.15°C +30°C = 303.15°C T0 = 273.15°C +25°C = 298.15°C R60% 30°C =25.5858 kΩ - Matlab code: 33*exp(4600*(1/303.15-1/298.15)) = 25.5858 Calculate the Humidity Sensor resistance at relative humidity 70% See the above graphic for the standard resistance: Exercises - Solutions 3

Mehhatroonika
Mikrokontrollerid ja robootika kodutöö 3
14
docx

Mikrokontrollerid ja robootika kodutöö 3

Question 1 Name 9 characteristic parameters of sensors. Treshold, noise, range, stability, linearity, accuracy, precision, sensitivity, hysteresis Question 2 Given the circuit below (using a SYH-2R humidity sensor) determine the output voltage for a relative humidity of 70 % at 30 °C if R T = 50 kΩ and VDD= 2.5 V. R70 30 c =R H =9,2 kV RH 9,2 k V O= ∙ V DD= ∙ 2,5 = 0,388 V (R T + R H ) ( 50 k +9,2 k ) Hint: Check specification for Humidity Sensor of SYH-2R.pdf at http://www.rhopointcomponents.com/images/SYH-2R.pdf 2 Week 04 Homework Question 3 Given the following bridge circuit for a strain gauge, determine the value of the strain gauge resistance {RS}. Let: VIN = 5V R3 = 200 Ω R2 = 50 Ω R1 = 100 Ω a) Under no strain (VOUT = 0 V) R2 ∙ R3 RS= =100 Ω R1 b) When VOUT = 0,5 V {u

Mikrokontrollerid ja robootika
Book Analog Interfacing to Embedded Microprocessors
568
pdf

Book Analog Interfacing to Embedded Microprocessors

Dynamic Range 1 Calibration 2 Bandwidth 5 Processor Throughput 6 Avoiding Excess Speed 7 Other System Considerations 8 Sample Rate and Aliasing 11 2 Digital-to-Analog Converters 13 Analog-to-Digital Converters 15 Types of ADCs 17 Sample and Hold 26 Real Parts 29 Microprocessor Interfacing 30 Serial Interfaces 36 Multichannel ADCs 41 Internal Microcontroller ADCs 41 Codecs 42 Interrupt Rate 43 Dual-Function Pins on Microcontrollers 43 Design Checklist 45 v 3 Sensors 47 Temperature Sensors 47 Optical Sensors 59 CCDs 72 Magnetic Sensors 82 Motion/Acceleration Sensors 86 Strain Gauge 90 4 Time-Based Measurements 93

Mehhatroonika
Piletid vastustega
13
docx

Piletid vastustega

For this to occur, the Q point is located at cutoff on both the dc and ac load lines. Transistors are, because transistorized base bias is usually designed to operate in switching circuits by having either low output voltage or high output voltage.5)on circuits.6)Inverters output voltage is in the opposite polarity to the input voltage.Multiplexer is a multiple switch that steers one of the input signals to the output.Comparator:perfect solution for comparing one voltage with another to see which is larger.Latch:because the collector of T1 drives the base of T2 and vice versa,it is a positive feedback.Achange in current at any point of the loop is amplified and returned to the starting point with the same phase. 7)Advantages of swithces:Extremely low power consumption and lower heat production.Physically small.They can provide large load currents at low voltages although they produce more electrical and audible noise

Elektroonika jõupooljuht tehnika
Homework 2 Solution
12
pdf

Homework 2 Solution

Question 1 (in wiki and in terminologies) 1. SNR is a calculated value that represents the ratio of root- mean-square (rms ) signal to rms noise. 2. SINAD stands for Signal-to-noise and distortion ratio. It is a measure of the quality of a signal from a communications device, often defined as: where is the average power of the signal, noise and distortion components. SINAD is usually expressed in dB. For examples to calculate the ratio of 1 kW (one kilowatt, or 1000 watts) to 1 W in decibels, use the formula 3. ENOB is the effective number-of-bits related to SINAD and the quality of a digitized signal. The 6.02 term in the divisor converts decibels (a log10) to bits (a log2) The 1.76 term comes from quantization error in an ideal ADC 4. THD - Total harmonic distortion is the ratio of the root-mean-square (rms) value of the fundamental signal to the mean value

Mehhatroonika
Mikrokontrollerid ja robootika homework 2
14
pdf

Mikrokontrollerid ja robootika homework 2

Question 1 Define the following ADC terms: 1. SNR – (Signal to Noise Ratio) SNR is a calculated value that represents the ratio of RMS signal to RMS noise. 2. SINAD - (signal-to-noise-and-distortion ratio) Ratio of the RMS signal amplitude to the mean value of the root-sum-square (RSS) 3. ENOB – (effective number of bits) The effective number-of-bits and relates to SINAD 4. THD - (total harmonic distortion) Ratio of the rms value of the fundamental signal to the mean value of the RSS of its harmonics. 5. SFDR - (spurious free dynamic range) Ratio of the RMS value of the signal to the RMS value of the worst spurious signal. 6. Channels - related to the inputs of the ADC can either be multiplexed or individually selected. 7. Linearity - relates to how a ADC follows a linear function. All ADCs are to a certain extend nonlinearity. 8. Operating temperature - measurement, which i

Mikrokontrollerid ja robootika
Homework 2 Week 4
12
docx

Homework 2 Week 4

Week 4 homework. Question 1: 1. SNR – Ratio of root mean square signal to root mean square. 2. SINAD – Ratio of the RMS signal amplitude to the mean of value of the root sum square. 3. ENOB – The effective number of bits and relates to SINAD. 4. THD – Ratio of the rms value of the fundamental signal to the mean value of RSS of its harmonics. 5. SFDR – Ratio of the RMS value of the signal to the RMS value of the worst spurious signal. 6. Channels – multiple analog signal inputs to the ADC that can be individually selected or selected through a multiplexor. 7. Linearity – Describes how an ADC conveter follows a linear function. 8. Operating temperature – A temperature at which the ADC functions optimally, usually given by the manufacturer. 9. Power dissipation – The proportion of power dissipated (through heat) when the ADC is working. Question 2: An 8 bit ADC has a reference voltage of 5V. What is the digital output code word for an input of 1.2V? 0011

Inglise keel
CPM1A Programmable Controllers Operation Manual 1784470
402
pdf

CPM1A Programmable Controllers Operation Manual 1784470

Cat. No. W317-E1-11 SYSMAC CPM1A Programmable Controllers OPERATION MANUAL CPM1A Programmable Controllers Operation Manual Revised October 2007 iv Notice: OMRON products are manufactured for use according to proper procedures by a qualified operator and only for the purposes described in this manual. The following conventions are used to indicate and classify precautions in this manual. Always heed the information provided with them. Failure to heed precautions can result in injury to people or dam- age to property. ! DANGER Indicates an imminently hazardous situation which, if not avoided, will result in death or serious injury. Additionally, there may be severe property damage. ! WARNING Indicates a potentially hazardous situation which, if not avoided, could result in death or serious inju

Automatiseerimistehnika




Meedia

Kommentaarid (0)

Kommentaarid sellele materjalile puuduvad. Ole esimene ja kommenteeri



Sellel veebilehel kasutatakse küpsiseid. Kasutamist jätkates nõustute küpsiste ja veebilehe üldtingimustega Nõustun