Write debugging code to measure the worst-case


You will design, implement, and test a real-time data acquisition system with a sampling rate of 1000 Hz. This system will include a sliding average filter (data x(n) is sampled at 1000 Hz, and the equation y(n) is also calculated 1000 times/sec).

1654_88de9f3f-7faf-48d6-99c2-dc5c31209b55.png

The trick to this problem is to implement an MACQ that does not require shifting the data on each sample. You should develop LCD display device driver functions, LCD_Init and LCD_Display, using them to display your results. Using the filtered data, the main program will calculate the RMS, minimum and maximum values over a 1 sec interval. Once a second display these results. Write debugging code to measure the worst-case time-jitter in the sampling process. Use an external sinusoidal source to experimentally measure the gain-versus-frequency response of the digital filter

Request for Solution File

Ask an Expert for Answer!!
Mechanical Engineering: Write debugging code to measure the worst-case
Reference No:- TGS01467889

Expected delivery within 24 Hours