Shop OBEX P1 Docs P2 Docs Learn Events
Who wants to try this experiment? - Great and simple improvement for sigma delt — Parallax Forums

Who wants to try this experiment? - Great and simple improvement for sigma delt

Christof Eb.Christof Eb. Posts: 1,166
edited 2008-02-07 22:35 in Propeller 1
Hi,

this might be an interesting „invention“, if someone could reproduce it….

The sigma delta adc method, which is described in the “AN001 – Propeller Counters” document uses very simple hardware -2 resistors and one or two capacitors- but is not recommended to be used with breadboards. If it is used there, it produces a lot of noise.

In former experiments I had found, that the noise seemed to come from the time, where the input is in a nondefined state between low and high. This lead to the idea to introduce a third resistor. Have a look to the circuit. The input will be pulled towards the output voltage and out of the nondefined range.

The software is completely the same as before. My program outputs average, standard deviation, minimum and maximum to evaluate a possible improvement.

In my experiments there is a really great improvement!
If the 3.3 Voltage is measured, 12 bit (4096 counts):
Reading the input at the capacitor gives average 3773 bit counts and standard deviation about 55 counts.
Reading between the 33k and 100k gives average 3229 bit counts and standard deviation 1 count.

Does anyone want to try this experiment? – I would be interested in feedback.
What are the disadvantages?

Christof
2124 x 1086 - 72K

Comments

  • deSilvadeSilva Posts: 2,967
    edited 2008-02-07 22:30
    You added a Schmitt trigger circuit. This will reduce the susceptability for fast changes, which is exactly what you observe.

    It is not easy to evalute the trade-offs...
    I think a reduction of the feedback frequency should have a similar effect
  • OzStampOzStamp Posts: 377
    edited 2008-02-07 22:35
    Hi Chris

    PhiPi had something similar a few weeks ago.
    That's a good find well done..
    We did something similar with the SX chip and its analog inputs..
    We were able to set a Hysteresis on toggling between on/off which proved
    good enough for simple monitoring of a voltage on a battery..

    cheers ron mel oz
Sign In or Register to comment.