Author Topic: TrueRMS Digital Voltmeter  (Read 32955 times)

0 Members and 1 Guest are viewing this topic.

Offline jahonen

  • Super Contributor
  • ***
  • Posts: 1054
  • Country: fi
Re: TrueRMS Digital Voltmeter
« Reply #25 on: December 23, 2009, 05:42:54 am »
That sounds like a simple solution so I don't waste time calculating too many extra ADC sources.

Here is what my circuit looks like:

http://www.danielbjohnson.net/assets/Uploads/TrueRMS-imagecheck1.png
The image is very large.

I am kind of unsure about the input part but ill think about it.

I don't know if you really meant to buffer the ADC input with 74LS07, but it won't work with analog signals. Use single-supply opamp instead, something like OP777 etc. Also consider carefully the effect of the midpoint scaling network input impedance to divider network, it might have significant effect (just a hunch, I haven't checked it).

Regards,
Janne
 

Offline septer012Topic starter

  • Regular Contributor
  • *
  • Posts: 68
  • Country: us
    • http://www.danielbjohnson.net
Re: TrueRMS Digital Voltmeter
« Reply #26 on: December 23, 2009, 10:43:05 pm »
 ;) I didn't I just couldn't find the right part, but I have now.
Daniel
 

Offline septer012Topic starter

  • Regular Contributor
  • *
  • Posts: 68
  • Country: us
    • http://www.danielbjohnson.net
Re: TrueRMS Digital Voltmeter
« Reply #27 on: December 29, 2009, 08:12:55 pm »
It does affect the circuit but in simulation it has a linear effect so I can math out a good solution.  Now in a real world with temperature differences im sure it wouldn't be a great solution.
Daniel
 

Offline septer012Topic starter

  • Regular Contributor
  • *
  • Posts: 68
  • Country: us
    • http://www.danielbjohnson.net
Re: TrueRMS Digital Voltmeter
« Reply #28 on: December 31, 2009, 10:05:42 am »
Alright thank you everyone who helped me!

I just submitted the final design.  If you are interested in what I came up with, with some of your help of course.

Daniel-Johnson-A2D-TrueRMS-Voltmeter.pdf
Daniel
 

Offline migsantiago

  • Frequent Contributor
  • **
  • Posts: 381
  • Country: 00
    • MigSantiago's Web Site
Re: TrueRMS Digital Voltmeter
« Reply #29 on: February 03, 2010, 03:10:33 pm »
Maybe it's too late but here you have an RMS function in C language. It calculates the RMS value from an array. I wrote it using the multiple trapezium discrete integration. I have used it on audio signals on a PIC18 microcontroller and it works perfectly.

http://www.todopic.com.ar/foros/index.php?topic=24142.msg238149#msg238149

It's written in spanish but the C code is easy to understand.
 

Online EEVblog

  • Administrator
  • *****
  • Posts: 37744
  • Country: au
    • EEVblog
Re: TrueRMS Digital Voltmeter
« Reply #30 on: February 03, 2010, 10:40:15 pm »
Alright thank you everyone who helped me!

I just submitted the final design.  If you are interested in what I came up with, with some of your help of course.

Daniel-Johnson-A2D-TrueRMS-Voltmeter.pdf

Nice work!

Loved the "The problem statement left much to be desired." bit. That's the kind of subtle shit stir I'd do!

Dave.
 

Offline septer012Topic starter

  • Regular Contributor
  • *
  • Posts: 68
  • Country: us
    • http://www.danielbjohnson.net
Re: TrueRMS Digital Voltmeter
« Reply #31 on: February 04, 2010, 08:23:19 am »
They never called me back that was alot of work! none the less I found a job doing DSP but getting paid as an Intern.
Daniel
 

Offline migsantiago

  • Frequent Contributor
  • **
  • Posts: 381
  • Country: 00
    • MigSantiago's Web Site
Re: TrueRMS Digital Voltmeter
« Reply #32 on: February 05, 2010, 01:08:04 am »
They never called me back that was alot of work! none the less I found a job doing DSP but getting paid as an Intern.

Gratz Man!
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf