eBook: Integration and Automation of Manufacturing Systems
   



TOC PREV NEXT

21.9 PRACTICE PROBLEMS



1. You need to read an analog voltage that has a range of -10V to 10V to a precision of +/-0.05V. What resolution of A/D converter is needed?




2. We are given a 12 bit analog input with a range of -10V to 10V. If we put in 2.735V, what will the integer value be after the A/D conversion? What is the error? What voltage can we calculate?




3. We need to select a digital to analog converter for an application. The output will vary from -5V to 10V DC, and we need to be able to specify the voltage to within 50mV. What resolution will be required? How many bits will this D/A converter need? What will the accuracy be?




4. Write a program that will input an analog voltage, do the calculation below, and output an analog voltage.




5. Develop a program to sample analog data values and calculate the average, standard deviation, and the control limits. The general steps are listed below.
1. Read sampled inputs.
2. Randomly select values and calculate the average and store in memory. Calculate the standard deviation of the stored values.
3. Compare the inputs to the standard deviation. If it is larger than 3 deviations from the mean, halt the process.
4. If it is larger than 2 then increase a counter A, or if it is larger than 1 increase a second counter B. If it is less than 1 reset the counters.
5. If counter A is =3 or B is =5 then shut down.
6. Goto 1.





TOC PREV NEXT

Search for More:

Custom Search