measure a maximum value of a signal

Status
Not open for further replies.

MARWEN007

Junior Member level 2
Joined
Apr 16, 2011
Messages
24
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,481
how can we measure a maximum value of a signal (voltage suited to the entrance of the peak) analog with a 16F877 end to determine the effective value?? Help me just a simple idea and thank you
 

You need to do an A2D at at least 20 x the bandwidth of the sampled signal.
Calculate the slope of the measured signal and when it changes from positive to zero and then to negative you store that peak value
 
also you can continuously sample your signal in a period of time (period of measurement should be greater than of one cycle of the signal) and pick the maximum value.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…