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

Back to Subject List

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


 
#186517 - People responding to specific questions
Responding to: ???'s previous message
Have you added a DC component - or do you have an ADC that can measure negative values?

If all you see is the positive half-cycle, then it depends on how well you did your previous steps if you have introduced a DC error somewhere. But it will be interesting to detect the zero crossing if your ADC don't see samples on both sides of that zero-crossing.

Another thing - you have a step where you attenuate to 0.5V? Or attenuate to 5-0.5 = 4.5V?

Third thing - how can you calibrate your device? On scale and offset errors?

Fourth thing - if your ADC has a reasonably fast conversion rate, you can convert and pick up values in an interrupt routine while leaving the rest of the time for the main program.

Sorry but people don't just get excited about someones measurement issues unless you post specific questions. We don't want to write complete programs for other people when we can instead make money by writing complete programs for customers.

Do you have any specific questions?

For now, you haven't even clearly indicated exactly what kind of wave the ADC would be able to pick up.

Note that the top value of a sine wave has quality issues if there is noise in the measurements.
Next thing is if you want true RMS or just guestimate RMS based on the peak voltage. For true RMS, you need to measure the energy, i.e. sample for the full cycle of the sine wave.

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