0% found this document useful (0 votes)
44 views2 pages

Standarddivation

The document describes a project undertaken in an EE465 class to implement a temperature sensor that calculates the average and standard deviation of temperature readings for a plant. The design includes a modular code structure for flexibility and future modifications, with specific scripts handling resets, input readings, and calculations. The project utilized Cadence software, and the author's role involved creating the device layout.

Uploaded by

api-544452915
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
44 views2 pages

Standarddivation

The document describes a project undertaken in an EE465 class to implement a temperature sensor that calculates the average and standard deviation of temperature readings for a plant. The design includes a modular code structure for flexibility and future modifications, with specific scripts handling resets, input readings, and calculations. The project utilized Cadence software, and the author's role involved creating the device layout.

Uploaded by

api-544452915
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Average and Standard Deviation of Temperature Sensor Readings

During my EE465 class “Digital Design” at the end of the class I worked with two of my
classmates to implement Average and Standard Deviation of temperature Sensor Reading In this
project we are implementing a temperature sensor to monitor the temperature level for a plant on
behalf of the USDA. The main focus of the project is take temperature readings from sensors and
then find its moving average or its standard deviation depending on the device mode.
Thus, we are using the equation (1) to calculate the temperature average and the equation ( 2) to
find the standard deviation.

Design Description

This design begins by addressing the reset condition. If not in a reset condition, the logic will
address what state the machine should be in based on inputs, and behaves according to that state.
For example, depending on the mode selected, the device will either compute moving average or
standard deviation of the input TN.

The code is written to be used in reusable, modular chunks to make future projects easier and
save future design time. This code was written in 3 scripts plus the testbench. define.v handles
resets and loading in new states, sample.v handles reading in new values for TN, and calculate.v
handles the math for the two modes. With this approach, the device could be easily modified to
take in a TN with more bits or a different math calculation.

We used Candance software to implement this project. And my role was to crate the layout of
this device we wanted.
The Layout:

You might also like