Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/14/04 15:54
Read: times


 
#72478 - RE: ideas for an algorithm for power log
Responding to: ???'s previous message
I think that will be fit, do you agree?

no, you still have the capacitor delay.

If you use a sample-and-hold, you reset it after the read, so you read, reset, read ... and thus get 200 or whatever IMMEDIATELY followed by 0 (if you cut the power at a null crossing). This way you get absolute readings.

Now for another thought.
I'm rectifing and filtering the AC and measuring the resulting DC voltage, when there is a power outage the capacitor starts discharging and messes my reading.
If you put a reasonable discharge resistor across the capacitor, can you not make a bit of code that say "If the voltage dropped from nominal to <? in n readings, change the last n readings to zero". This is a bit more code, but much simpler hardware.

Erik

List of 17 messages in thread
TopicAuthorDate
ideas for an algorithm for power logger            01/01/70 00:00      
   RE: ideas for an algorithm for power logger            01/01/70 00:00      
      RE: ideas for an algorithm for power log            01/01/70 00:00      
         RE: ideas for an algorithm for power log            01/01/70 00:00      
         RE: ideas for an algorithm for power log            01/01/70 00:00      
            RE: ideas for an algorithm for power log            01/01/70 00:00      
   RE: ideas for an algorithm for power logger            01/01/70 00:00      
      RE: ideas for an algorithm for power log            01/01/70 00:00      
   RE: ideas for an algorithm for power logger            01/01/70 00:00      
      RE: ideas for an algorithm for power logger            01/01/70 00:00      
      RE: ideas for an algorithm for power log            01/01/70 00:00      
         RE: ideas for an algorithm for power log            01/01/70 00:00      
            RE: ideas for an algorithm for power log            01/01/70 00:00      
               RE: ideas for an algorithm for power log            01/01/70 00:00      
   Emergency supply + RMS measurement            01/01/70 00:00      
   RE: ideas for an algorithm for power log            01/01/70 00:00      
      RE: ideas for an algorithm for power log            01/01/70 00:00      

Back to Subject List