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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/12/12 07:54
Read: times


 
#186594 - How are you calculating your needed sample rate?
Responding to: ???'s previous message
Yagnesh Mehta said:
At present, I am calulating what should be my sample rate.

So how are you doing that? Did you consider what I did write a number of posts back about speed of change at zero-crossing and at the peaks?

You mentioned a sampling rate of 1024 samples/period earlier.

There are 360 degrees in a full period.
So each sample represents 360/1024 = 0.35 degrees.

And how does that matter?

sin 0.35 = 0.0061
ln 0.0061 / ln 2 = -7.35
So you get an idea how fast the voltage changes between two samples as worst - during your "zero crossing".

sin 90+0.35 = 0.99998
ln (1-0.9998) / ln 2 = -15.7
So you get an idea how fast the voltage changes between two samples as best - at the peaks.

So if you just look for highest/lowest value, the worst-case change between two samples requires a 16-bit ADC to capture.
Actually 17.5 bit if you are going to throw away 1.5 bit by having your input signal just span a small part of the full ADC range.

So the question then is - do you really need a sampling rate corresponding to 1024 samples/full period? Given that you have an ADC capable of 8, 10 or 12 bits - and you only plan to get access to 6.5, 8.5 or 10.5 bits.

Exactly what conclusions have you made?

By the way - are you going to control equipment with a peak power of 180 kW? The diagrams in the linked document shows a current of 3 Amp with the volage at 60 kV.

List of 66 messages in thread
TopicAuthorDate
Sine wave detection on microcontroller            01/01/70 00:00      
   Detect or measure?            01/01/70 00:00      
      not detection, measurement of sine wave signal            01/01/70 00:00      
         What are you measuring?            01/01/70 00:00      
            RMS and Average - 1st Priority            01/01/70 00:00      
               415 v            01/01/70 00:00      
                  I have to do using MCU            01/01/70 00:00      
                     Start simple            01/01/70 00:00      
                        if time is major isssue than.....            01/01/70 00:00      
                           People responding to specific questions            01/01/70 00:00      
                              Same Technique....            01/01/70 00:00      
                                 RMS            01/01/70 00:00      
                                    Sorry for my laziness            01/01/70 00:00      
                                 So what have you done?            01/01/70 00:00      
                                    Require more work...            01/01/70 00:00      
                                    Working on that            01/01/70 00:00      
                                       options, options            01/01/70 00:00      
   Help me            01/01/70 00:00      
      Okay            01/01/70 00:00      
         Are many threads available            01/01/70 00:00      
      when you save a char ...            01/01/70 00:00      
      Why don't you specify your problem COMPLETELY?            01/01/70 00:00      
         Already specify it            01/01/70 00:00      
            there are some details?            01/01/70 00:00      
               comparisions            01/01/70 00:00      
                  How are you calculating your needed sample rate?            01/01/70 00:00      
                     start with simple one....            01/01/70 00:00      
                        You do know sin(90+angle)? Or 2-log computations?            01/01/70 00:00      
                           ADC resolution............            01/01/70 00:00      
                              impossible or wrong            01/01/70 00:00      
                              double post, ignore            01/01/70 00:00      
                  Precision Rectify:            01/01/70 00:00      
                     SCR Chopped Wave            01/01/70 00:00      
                        What accuracy do you need?            01/01/70 00:00      
                           CT accuracy            01/01/70 00:00      
                              the fundamental            01/01/70 00:00      
                              50Hz            01/01/70 00:00      
                              Precision rectifier is suitable for any waveform            01/01/70 00:00      
                                 are u sure??            01/01/70 00:00      
                                    Depends            01/01/70 00:00      
                                    must be severely bandwidth limited            01/01/70 00:00      
                                       Maybe was circuit with top-voltage capacitor            01/01/70 00:00      
                                       Sorry for confusion            01/01/70 00:00      
                                          What accuracy do you need?            01/01/70 00:00      
                                             360/1024            01/01/70 00:00      
                                                Not what he (or me) have asked            01/01/70 00:00      
                                                   you are right....            01/01/70 00:00      
                                                Do you believe you can protect your circuit from noise?            01/01/70 00:00      
                                                   Very Noisy environment            01/01/70 00:00      
                                                      re Very Noisy environment            01/01/70 00:00      
                                                         Some of those rules are showing their age            01/01/70 00:00      
                                                            here we go again            01/01/70 00:00      
                                                               think about this for a minute            01/01/70 00:00      
                                                                  when discussing a FAQ            01/01/70 00:00      
                                                                     Well, when were those cap sizes determined?            01/01/70 00:00      
                                                                        Technology            01/01/70 00:00      
                                                                           Steady state currents do not need decaps            01/01/70 00:00      
                                                                              Often low capacitance so limited charge. But remember load.            01/01/70 00:00      
                                                                        fixations            01/01/70 00:00      
                                                                           Nothing. has been proven yet.            01/01/70 00:00      
                                                                              once more for the peanut gallery            01/01/70 00:00      
                                                                                 Where you sit determines what you see ...            01/01/70 00:00      
                                                                                    Off-topic            01/01/70 00:00      
                                                                                       difficult when ...            01/01/70 00:00      
                                                                                       Yes ... I don't know how we got here either            01/01/70 00:00      
                                                                                          i do            01/01/70 00:00      

Back to Subject List