Is a Gray code counter more energy efficient?...

On Tue, 4 Jul 2023 22:45:10 +0200, Piotr Wyderski
<bombald@protonmail.com> wrote:

Ricky wrote:

Oh, BTW, you seem to ignore the need for an N bit state detector for whatever is making your sequence generator. That\'s even more logic.

Three lines and only four insults. Ricky is off his form.
 
On Mon, 19 Jun 2023 05:06:51 GMT, Jan Panteltje <alien@comet.invalid>
wrote:

On a sunny day (Sun, 18 Jun 2023 20:47:44 -0700 (PDT)) it happened Ricky
gnuarm.deletethisbit@gmail.com> wrote in
83110f6f-e327-443e-bd6e-3c36a3ccaec1n@googlegroups.com>:

Uh, how do you count down without using flipflops?

Use your fingers

One-shots can count down.
 
On Tue, 4 Jul 2023 22:51:24 +0200, Piotr Wyderski
<bombald@protonmail.com> wrote:

whit3rd wrote:

Capacitive energy loss thus favors a Gray code for counting
with minimal energy cost

That\'s not true, as pointed out by Rick, but how minimal is minimal?
RV3028 needs 48nA wile being significantly more complex than a simple
2^15 divider. What lower value would make you happy?

Best regards, Piotr

Some flops use about the same power whether they change state or not.
Most, probably.
 
John Larkin wrote:

Some flops use about the same power whether they change state or not.
Most, probably.

Quite possibly, but if the part\'s current consumption is capped at 46nA,
would you even care what\'s inside? Even the CeraCharge\'s 100uAh capacity
is infinite to the first-order approximation.

Best regards, Piotr
 
On Tuesday, July 4, 2023 at 3:03:02 PM UTC-7, John Larkin wrote:
On Tue, 4 Jul 2023 22:51:24 +0200, Piotr Wyderski
bom...@protonmail.com> wrote:

whit3rd wrote:

Capacitive energy loss thus favors a Gray code for counting
with minimal energy cost

That\'s not true, as pointed out by Rick, but how minimal is minimal?
RV3028 needs 48nA wile being significantly more complex than a simple
2^15 divider. What lower value would make you happy?

Some flops use about the same power whether they change state or not.
Most, probably.

None, actually; a flipflop that changes state, without holding a memory of its
previous state, takes an irreversible step. Irreversibility implies entropy, thus
energy is lost to heat.

<https://en.wikipedia.org/wiki/Landauer%27s_principle>
 
On Tuesday, July 4, 2023 at 5:41:24 PM UTC-4, John Larkin wrote:
On Tue, 4 Jul 2023 22:45:10 +0200, Piotr Wyderski
bom...@protonmail.com> wrote:

Ricky wrote:

Oh, BTW, you seem to ignore the need for an N bit state detector for whatever is making your sequence generator. That\'s even more logic.
Three lines and only four insults. Ricky is off his form.

Huh... So now it\'s perfectly clear, that Larkin considers to be an insult, any correction or comment on a technical issue. I certainly should not be surprised by that, but this is so perfectly clear this time. When the comments are directed to Larkin, he probably considers a correction to be the supreme insult.

--

Rick C.

+-+- Get 1,000 miles of free Supercharging
+-+- Tesla referral code - https://ts.la/richard11209
 
On Tuesday, July 4, 2023 at 6:03:02 PM UTC-4, John Larkin wrote:
On Tue, 4 Jul 2023 22:51:24 +0200, Piotr Wyderski
bom...@protonmail.com> wrote:

whit3rd wrote:

Capacitive energy loss thus favors a Gray code for counting
with minimal energy cost

That\'s not true, as pointed out by Rick, but how minimal is minimal?
RV3028 needs 48nA wile being significantly more complex than a simple
2^15 divider. What lower value would make you happy?

Best regards, Piotr
Some flops use about the same power whether they change state or not.
Most, probably.

Depending on what they are driving. You can\'t just count the power in the gates themselves. The output loads are the majority of the power consumption.

--

Rick C.

+-++ Get 1,000 miles of free Supercharging
+-++ Tesla referral code - https://ts.la/richard11209
 
On Tue, 4 Jul 2023 20:20:58 -0700 (PDT), whit3rd <whit3rd@gmail.com>
wrote:

On Tuesday, July 4, 2023 at 3:03:02?PM UTC-7, John Larkin wrote:
On Tue, 4 Jul 2023 22:51:24 +0200, Piotr Wyderski
bom...@protonmail.com> wrote:

whit3rd wrote:

Capacitive energy loss thus favors a Gray code for counting
with minimal energy cost

That\'s not true, as pointed out by Rick, but how minimal is minimal?
RV3028 needs 48nA wile being significantly more complex than a simple
2^15 divider. What lower value would make you happy?


Some flops use about the same power whether they change state or not.
Most, probably.

None, actually; a flipflop that changes state, without holding a memory of its
previous state, takes an irreversible step. Irreversibility implies entropy, thus
energy is lost to heat.

https://en.wikipedia.org/wiki/Landauer%27s_principle

It wouldn\'t shock me if ECL, especially the eclips parts, use less
power when they are clocked hard.

But I did say \"about the same power\", which doesn\'t violate any basic
principles.
 
On 05/07/2023 07:42, Ricky wrote:
On Tuesday, July 4, 2023 at 6:03:02 PM UTC-4, John Larkin wrote:
On Tue, 4 Jul 2023 22:51:24 +0200, Piotr Wyderski
bom...@protonmail.com> wrote:

whit3rd wrote:

Capacitive energy loss thus favors a Gray code for counting
with minimal energy cost

That\'s not true, as pointed out by Rick, but how minimal is
minimal? RV3028 needs 48nA wile being significantly more complex
than a simple 2^15 divider. What lower value would make you
happy?

Best regards, Piotr

Some flops use about the same power whether they change state or
not. Most, probably.

That seems a bit unlikely in general, but in this application yes.

The average power used for changing states of a divide by 2^N chain is
typically only about twice what it would be for one of them. Peak
consumption N x when all ones to zero rolls over.

Plus N x whatever standing current each flip-flop requires to function.
At such very low clock rates I expect the quiescent current is quite a
bit bigger than the total current used to change states.

If they were clocked at >10MHz then it might be a different story.

Depending on what they are driving. You can\'t just count the power
in the gates themselves. The output loads are the majority of the
power consumption.

And that is part of the difference between a generic divide by 2^N chip
with every output available buffered to an external pin and a custom
watch chip where only 1Hz pulse has any connection to the outside world.

--
Martin Brown
 
On Wednesday, July 5, 2023 at 8:30:37 AM UTC-4, Martin Brown wrote:
On 05/07/2023 07:42, Ricky wrote:
On Tuesday, July 4, 2023 at 6:03:02 PM UTC-4, John Larkin wrote:
On Tue, 4 Jul 2023 22:51:24 +0200, Piotr Wyderski
bom...@protonmail.com> wrote:

whit3rd wrote:

Capacitive energy loss thus favors a Gray code for counting
with minimal energy cost

That\'s not true, as pointed out by Rick, but how minimal is
minimal? RV3028 needs 48nA wile being significantly more complex
than a simple 2^15 divider. What lower value would make you
happy?

Best regards, Piotr

Some flops use about the same power whether they change state or
not. Most, probably.
That seems a bit unlikely in general, but in this application yes.

The average power used for changing states of a divide by 2^N chain is
typically only about twice what it would be for one of them. Peak
consumption N x when all ones to zero rolls over.

How do you know this? Dynamic power dissipation is a property that is very sensitive to implementation.


Plus N x whatever standing current each flip-flop requires to function.
At such very low clock rates I expect the quiescent current is quite a
bit bigger than the total current used to change states.

Again, how do you know this? Again, static power is very sensitive to implementation.


If they were clocked at >10MHz then it might be a different story.
Depending on what they are driving. You can\'t just count the power
in the gates themselves. The output loads are the majority of the
power consumption.
And that is part of the difference between a generic divide by 2^N chip
with every output available buffered to an external pin and a custom
watch chip where only 1Hz pulse has any connection to the outside world.

No one has said anything about whether this is being designed from a custom chip or relays.

This is all a thought project, which has never been defined, except for wanting to do something similar to some fancy watch.

I vote for relay logic and a 1 Hz crystal.

--

Rick C.

++-- Get 1,000 miles of free Supercharging
++-- Tesla referral code - https://ts.la/richard11209
 
On Wednesday, July 5, 2023 at 3:38:44 AM UTC-7, John Larkin wrote:
On Tue, 4 Jul 2023 20:20:58 -0700 (PDT), whit3rd <whi...@gmail.com
wrote:
On Tuesday, July 4, 2023 at 3:03:02?PM UTC-7, John Larkin wrote:

Some flops use about the same power whether they change state or not.
Most, probably.

None, actually; a flipflop that changes state, without holding a memory of its
previous state, takes an irreversible step. Irreversibility implies entropy, thus
energy is lost to heat.

https://en.wikipedia.org/wiki/Landauer%27s_principle
It wouldn\'t shock me if ECL, especially the eclips parts, use less
power when they are clocked hard.

But I did say \"about the same power\", which doesn\'t violate any basic
principles.

Oh, I realize the Landauer effect isn\'t very large; still, entropy IS a basic principle.
 
On Wed, 5 Jul 2023 11:20:37 -0700 (PDT), whit3rd <whit3rd@gmail.com>
wrote:

On Wednesday, July 5, 2023 at 3:38:44?AM UTC-7, John Larkin wrote:
On Tue, 4 Jul 2023 20:20:58 -0700 (PDT), whit3rd <whi...@gmail.com
wrote:
On Tuesday, July 4, 2023 at 3:03:02?PM UTC-7, John Larkin wrote:

Some flops use about the same power whether they change state or not.
Most, probably.

None, actually; a flipflop that changes state, without holding a memory of its
previous state, takes an irreversible step. Irreversibility implies entropy, thus
energy is lost to heat.

https://en.wikipedia.org/wiki/Landauer%27s_principle
It wouldn\'t shock me if ECL, especially the eclips parts, use less
power when they are clocked hard.

But I did say \"about the same power\", which doesn\'t violate any basic
principles.

Oh, I realize the Landauer effect isn\'t very large; still, entropy IS a basic principle.

I guess future computers could be cooled. That makes sense: we cool RF
gadgets to reduce their noise figures.
 
On 05/07/2023 14:05, Ricky wrote:
On Wednesday, July 5, 2023 at 8:30:37 AM UTC-4, Martin Brown wrote:

Some flops use about the same power whether they change state or
not. Most, probably.

That seems a bit unlikely in general, but in this application yes.

The average power used for changing states of a divide by 2^N chain is
typically only about twice what it would be for one of them. Peak
consumption N x when all ones to zero rolls over.

How do you know this? Dynamic power dissipation is a property that is very sensitive to implementation.

Because unless the chip designers are complete morons they won\'t allow
both the FETs to be biassed to conduct hard simultaneously. The typical
cost per 0-1-0 transition is the same although there might be some
slight asymmetry between 0-1 and 1-0 transitions.

The simple rule is that if it costs x to change state then each change
of state will slightly affect the current consumption by adding x.
The rest is simple mathematics of dividing by 2.

1 + 1/2 + 1/4 + 1/8 + ... < 2

Plus N x whatever standing current each flip-flop requires to function.
At such very low clock rates I expect the quiescent current is quite a
bit bigger than the total current used to change states.

Again, how do you know this? Again, static power is very sensitive to implementation.

But for any given implementation the current drawn by a D flip-flop is
going to be about the same value y. If there are N of them that is N*y.

I suppose there might be a slight difference due to packaging overhead
for any given N if they are available 1, 2, 4 or 8 to a chip.

If they were clocked at >10MHz then it might be a different story.

And that is part of the difference between a generic divide by 2^N chip
with every output available buffered to an external pin and a custom
watch chip where only 1Hz pulse has any connection to the outside world.

No one has said anything about whether this is being designed from a custom chip or relays.

This is all a thought project, which has never been defined, except for wanting to do something similar to some fancy watch.

I vote for relay logic and a 1 Hz crystal.

That might make it a little difficult to wear on a wrist.

I recall one of the world\'s top experimentalists showing off his brand
new Sinclair matchbox sized digital watch in the mid 70\'s - he was very
proud of it. (at the time it was quite amazing for the price)

--
Martin Brown
 
On a sunny day (Thu, 6 Jul 2023 09:16:55 +0100) it happened Martin Brown
<\'\'\'newspam\'\'\'@nonad.co.uk> wrote in <u85t9p$sabj$1@dont-email.me>:

On 05/07/2023 14:05, Ricky wrote:
On Wednesday, July 5, 2023 at 8:30:37 AM UTC-4, Martin Brown wrote:

Some flops use about the same power whether they change state or
not. Most, probably.

That seems a bit unlikely in general, but in this application yes.

The average power used for changing states of a divide by 2^N chain is
typically only about twice what it would be for one of them. Peak
consumption N x when all ones to zero rolls over.

How do you know this? Dynamic power dissipation is a property that is very sensitive to implementation.

Because unless the chip designers are complete morons they won\'t allow
both the FETs to be biassed to conduct hard simultaneously. The typical
cost per 0-1-0 transition is the same although there might be some
slight asymmetry between 0-1 and 1-0 transitions.

The simple rule is that if it costs x to change state then each change
of state will slightly affect the current consumption by adding x.
The rest is simple mathematics of dividing by 2.

1 + 1/2 + 1/4 + 1/8 + ... < 2

Plus N x whatever standing current each flip-flop requires to function.
At such very low clock rates I expect the quiescent current is quite a
bit bigger than the total current used to change states.

Again, how do you know this? Again, static power is very sensitive to implementation.

But for any given implementation the current drawn by a D flip-flop is
going to be about the same value y. If there are N of them that is N*y.

I suppose there might be a slight difference due to packaging overhead
for any given N if they are available 1, 2, 4 or 8 to a chip.

If they were clocked at >10MHz then it might be a different story.


And that is part of the difference between a generic divide by 2^N chip
with every output available buffered to an external pin and a custom
watch chip where only 1Hz pulse has any connection to the outside world.

No one has said anything about whether this is being designed from a custom chip or relays.

This is all a thought project, which has never been defined, except for wanting to do something similar to some fancy watch.

I vote for relay logic and a 1 Hz crystal.

That might make it a little difficult to wear on a wrist.

I recall one of the world\'s top experimentalists showing off his brand
new Sinclair matchbox sized digital watch in the mid 70\'s - he was very
proud of it. (at the time it was quite amazing for the price)

I had a digital LED watch I bought second hand in the seventies
https://uniquewatchguide.com/led-watches.html

One day the glass broke when it got squeezed when I was carrying something big into the door.
After that only LCD watches.
 
Martin Brown <\'\'\'newspam\'\'\'@nonad.co.uk> wrote:

I recall one of the world\'s top experimentalists showing off his brand
new Sinclair matchbox sized digital watch in the mid 70\'s - he was very
proud of it. (at the time it was quite amazing for the price)

--
Martin Brown

First Atomic Clock Wristwatch
http://www.leapsecond.com/pages/atomic-bill/



--
MRM
 
On 06/07/2023 13:53, Mike Monett VE3BTI wrote:
Martin Brown <\'\'\'newspam\'\'\'@nonad.co.uk> wrote:

I recall one of the world\'s top experimentalists showing off his brand
new Sinclair matchbox sized digital watch in the mid 70\'s - he was very
proud of it. (at the time it was quite amazing for the price)

--
Martin Brown

This model - I don\'t know if he put it together himself or not.
(quite likely that he did though)

https://collection.sciencemuseumgroup.org.uk/objects/co423732/sinclair-black-watch-with-led-display-quartz-led-digital-wristwatch

Working ones with all the bits and the original box now sell for quite a
decent price.

First Atomic Clock Wristwatch
http://www.leapsecond.com/pages/atomic-bill/

ROFL - very accurate only suitable for weight lifters.

I recall we used Rb clocks disciplined by MSF Rugby time signatures for
intermediate length LBI back then and so noticed that when there was dew
on the ground in the early morning MSF signals arrived late.

--
Martin Brown
 
On Thursday, July 6, 2023 at 4:17:05 AM UTC-4, Martin Brown wrote:
On 05/07/2023 14:05, Ricky wrote:
On Wednesday, July 5, 2023 at 8:30:37 AM UTC-4, Martin Brown wrote:

Some flops use about the same power whether they change state or
not. Most, probably.

That seems a bit unlikely in general, but in this application yes.

The average power used for changing states of a divide by 2^N chain is
typically only about twice what it would be for one of them. Peak
consumption N x when all ones to zero rolls over.

How do you know this? Dynamic power dissipation is a property that is very sensitive to implementation.
Because unless the chip designers are complete morons they won\'t allow
both the FETs to be biassed to conduct hard simultaneously. The typical
cost per 0-1-0 transition is the same although there might be some
slight asymmetry between 0-1 and 1-0 transitions.

The simple rule is that if it costs x to change state then each change
of state will slightly affect the current consumption by adding x.
The rest is simple mathematics of dividing by 2.

1 + 1/2 + 1/4 + 1/8 + ... < 2

It would appear that you are not familiar with static power consumption. No? Add a term Pstatic to each of your power calculations, and the ratio of the two are now dependent on the relative size of the static and dynamic power.

As I\'ve mentioned many times in this discussion, there\'s also the issue of driving loads, both internal and external to the device. Without considering that as well, your figures are meaningless.


Plus N x whatever standing current each flip-flop requires to function..
At such very low clock rates I expect the quiescent current is quite a
bit bigger than the total current used to change states.

Again, how do you know this? Again, static power is very sensitive to implementation.
But for any given implementation the current drawn by a D flip-flop is
going to be about the same value y. If there are N of them that is N*y.

I suppose there might be a slight difference due to packaging overhead
for any given N if they are available 1, 2, 4 or 8 to a chip.

Or the entire design on a chip.


I expect the quiescent current is quite a
bit bigger than the total current used to change states.

This is the bit I was asking about though. Until someone specifies the details of implementation, you don\'t know anything about this.


If they were clocked at >10MHz then it might be a different story.
And that is part of the difference between a generic divide by 2^N chip
with every output available buffered to an external pin and a custom
watch chip where only 1Hz pulse has any connection to the outside world.

No one has said anything about whether this is being designed from a custom chip or relays.

This is all a thought project, which has never been defined, except for wanting to do something similar to some fancy watch.

I vote for relay logic and a 1 Hz crystal.
That might make it a little difficult to wear on a wrist.

Again, that depends on the technology used. They can integrate relays on ICs now.

--

Rick C.

++-+ Get 1,000 miles of free Supercharging
++-+ Tesla referral code - https://ts.la/richard11209
 
On Thu, 6 Jul 2023 07:21:23 -0700 (PDT), Ricky
<gnuarm.deletethisbit@gmail.com> wrote:

On Thursday, July 6, 2023 at 4:17:05?AM UTC-4, Martin Brown wrote:
On 05/07/2023 14:05, Ricky wrote:
On Wednesday, July 5, 2023 at 8:30:37?AM UTC-4, Martin Brown wrote:

Some flops use about the same power whether they change state or
not. Most, probably.

That seems a bit unlikely in general, but in this application yes.

The average power used for changing states of a divide by 2^N chain is
typically only about twice what it would be for one of them. Peak
consumption N x when all ones to zero rolls over.

How do you know this? Dynamic power dissipation is a property that is very sensitive to implementation.
Because unless the chip designers are complete morons they won\'t allow
both the FETs to be biassed to conduct hard simultaneously. The typical
cost per 0-1-0 transition is the same although there might be some
slight asymmetry between 0-1 and 1-0 transitions.

The simple rule is that if it costs x to change state then each change
of state will slightly affect the current consumption by adding x.
The rest is simple mathematics of dividing by 2.

1 + 1/2 + 1/4 + 1/8 + ... < 2

The energy lost during a full cycle is directly proportional to the
load capacitance and the Vdd squared. The power dissipation depends
how often these transitions occur.

>It would appear that you are not familiar with static power consumption. No? Add a term Pstatic to each of your power calculations, and the ratio of the two are now dependent on the relative size of the static and dynamic power.

CMOS gates have power dissipation in the nA / nW class at 5 V.

The 4020A ripple counter has quiscant power is in hundreds of nW,
while clocked at 32 kHz the consumption is about 100 times larger. so
why bother with the static power dissipation. There are also
intermediate stage outputs, adding the capacitance and loading and
power consumption.

The consumption of Vdd=1.5 V of a watch ripple counter is even less.
especially if there are no intermediate outputs at the higher
frequencies.
 
Martin Brown <\'\'\'newspam\'\'\'@nonad.co.uk> wrote:

I recall we used Rb clocks disciplined by MSF Rugby time signatures for
intermediate length LBI back then and so noticed that when there was dew
on the ground in the early morning MSF signals arrived late.

--
Martin Brown

Rugby is at 60 khz, the same as WWWVB here in North America. I think the
time signal is slightly different, but some clocks can decode it.

You must have been tracking carrier phase. That requires fairly strong
signals, which you would have in England. It would be difficult here in
Toronto.

Ft. Collins is too far away and the signal would fade into the noise during
the day. Going through an extremely narrow band filter wouldn\'t help, as
the temperature coefficient of the filter would wreck the timing. Best go
to GPS with dual frequency to eliminate the ionospheric delay.

Citizen Watch has a nice blurb on the history of timekeeping. They have a
nice map of time transmitters around the world, but the left Rugby off the
map. I wonder, is Rugby still on the air?

https://www.citizenwatch-global.com/technologies/radiocontrolled/index.html



--
MRM
 

Welcome to EDABoard.com

Sponsor

Back
Top