Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Lighting and other non-DCC devices.

7 views
Skip to first unread message

Chris King

unread,
Jan 28, 2012, 7:12:30 PM1/28/12
to
As a newbie to DCC, is the voltage used on this generally AC?
And is it about 18v? Or have I been living on another planet…

Anyway my point or question is, that with a normal train controller
(Select, Elite, GaugeMaster etc), there are certain things that need
still 12v DC supply, signals, maybe some lighting etc, what is the
general way that other model railway users power these auxiliary items,
I know that most controllers have an extra output for AUX or maybe even
12v dc, however if  you are building a fairly big layout or even one
with a lot of 12v DC demands, what is the best way to power these
without putting extra demands on your controller/controllers? Is there
or can you get a dedicated 12v DC controller/power supply over the
counter/bought that is designed or meant to be used as a separate power
unit for these sort of devices and loads? If so what make, what is the
best, and how have you address/resolved this on your layouts? 


--
Chris King
(remove nospam to email direct)

Rich

unread,
Jan 28, 2012, 7:43:25 PM1/28/12
to
DCC is AC voltage with digital info. Those who do not understand DCC
will say it is not AC voltage.

http://www.loystoys.com/info/how-dcc-works.html

Many are around 12 to 14 VAC. Some higher for large than HO scale
which many run.

You can power many items on a layout if you prefer with DCC. There are
different amperage systems.
Many prefer to use DC to power accessories. Some use AC, some DC.

Running a DC loco on a DCC system. Two or three ddifferent systems can
do this.

http://members.shaw.ca/sask.rail/dcc/DCC-waveforms/DCC_waveforms.html

Lots of DCC info.

http://www.mrdccu.com/

A free eZine with a good set of forums.

http://model-railroad-hobbyist.com/

All kinds of DCC info.

http://www.wiringfordcc.com/wirefordcc_toc.htm

Do a lot of reading. Store the links in Favorites.

R

Rich

unread,
Jan 28, 2012, 7:52:23 PM1/28/12
to
There is no best, only what you like best.
NCE, Digitrax, MRC, Lenz are a few of the DCC systems. There are about
six or more decoder companies. There are also two or three companies
that have a form of DCC and can run on DC layouts and DCC layouts.
You will have to do a lot of searching for different companies on the
Internet.
The digital control of trains is rapidly evolving.
Many DCC on board, sound and none sound can run on a DC power pack.
Just do not use a DC power pack that has pulse power option.
From you first request, you will have to do a lot of reading to catch
up with the latest in model railroading or you may go down a path you
will not care for.
Stuff in other countries I am not familiar with. Only the USA stuff.

R

manat...@hotmail.com

unread,
Jan 29, 2012, 11:35:41 AM1/29/12
to
On Jan 29, 12:43 am, Rich <gagnonrc...@netscape.net> wrote:
> DCC is AC voltage with digital info. Those who do not understand DCC
> will say it is not AC voltage.

It can get quite heated at times :-)

> http://www.loystoys.com/info/how-dcc-works.html
>
> Many are around 12 to 14 VAC. Some higher for large than HO scale
> which many run.

Some systems can be adjusted, some you can adjust by using a different
voltage power supply.

If converting locos with filament bulbs designed for 12V it's worth
considering changing to LED as the higher voltage of some DCC systems
will reduce the bulb lifetime.

I would arrange seperate supply(ies) for accessories such as lineside
lighting and point motors. Keep the DCC for loco control.

MBQ

Jeff

unread,
Jan 30, 2012, 2:45:07 AM1/30/12
to
On 29/01/2012 16:35, manat...@hotmail.com wrote:
> On Jan 29, 12:43 am, Rich<gagnonrc...@netscape.net> wrote:
>> DCC is AC voltage with digital info. Those who do not understand DCC
>> will say it is not AC voltage.
>
> It can get quite heated at times :-)
>

I suppose it depends on what you call an 'AC voltage'. It is not an AC
voltage in the sense of being like the mains or the auxiliary AC output
of a conventional controller ie a sine wave. Also is is not a control
signal superimposed upon another voltage. It is purely square-wave like
digital data sent with a high enough voltage and with sufficient current
capability so as when rectified it will run motors etc.. So it is an AC
signal in as much as it is a pulsed signal with varying mark space
ratio, but it is not a continuous sine wave like the mains.

The contentious bit is calling a pulsed signal AC, when does a pulsed
signal become AC rather than DC that is switched on and off, at what
pulse rate does that change occur. Is turning DC on and off once a
second AC? To some it is, depending on the application and over what
period you are observing the signal!!

Jeff

manat...@hotmail.com

unread,
Jan 30, 2012, 5:30:43 AM1/30/12
to
On Jan 30, 7:45 am, Jeff <j...@jsystems.com> wrote:
> On 29/01/2012 16:35, manatba...@hotmail.com wrote:
>
> > On Jan 29, 12:43 am, Rich<gagnonrc...@netscape.net>  wrote:
> >> DCC is AC voltage with digital info. Those who do not understand DCC
> >> will say it is not AC voltage.
>
> > It can get quite heated at times :-)
>
> I suppose it depends on what you call an 'AC voltage'. It is not an AC
> voltage in the sense of being like the mains or the auxiliary AC output
> of a conventional controller ie a sine wave. Also is is not a control
> signal superimposed upon another voltage. It is purely square-wave like
> digital data sent with a high enough voltage and with sufficient current
> capability so as when rectified it will run motors etc.. So it is an AC
> signal in as much as it is a pulsed signal with varying mark space
> ratio, but it is not a continuous sine wave like the mains.

The definition of AC has nothing to do with frequency, waveshape or
having control superimposed on it.

> The contentious bit is calling a pulsed signal AC, when does a pulsed
> signal become AC rather than DC that is switched on and off, at what
> pulse rate does that change occur. Is turning DC on and off once a
> second AC? To some it is, depending on the application and over what
> period you are observing the signal!!

DCC is not a "pulsed signal" it is AC.

A decoder sees two connections to the track, lets call them A and B.
During one half of the cycle, A is more positive than B and current
flows from A to B. During the other half of the cycle, B is more
positive than A and current flows from B to A. The current flow
reverses twice every cycle. The current alternates. It is an
alternating current.

DCC is AC. It is not a "pulsed signal", nor is it "bipolar DC" as some
would have it.

Contrast this with a real pulsed DC controller where the pulses simply
turn the track on and off. The current only ever flows in one
direction (unless you flip the reversing switch!). That *is* a pulsed
DC signal and not AC [1].

I think the confusion arises due to people looking at the output of a
command station with reference to the local ground. If you measure the
two outputs A and B independently then they do look like pulsed
outputs. The point is that DCC is defined by the two track signals
alone, there is no ground reference. It is the differential signal
between the rails that is DCC and that is AC.

MBQ

Being really pedantic you could show that it is a combination of an AC
signal and a DC offset but that is taking things to a ridiculous
extreme.

Jeff

unread,
Jan 30, 2012, 7:32:20 AM1/30/12
to

>
> DCC is not a "pulsed signal" it is AC.
>
> A decoder sees two connections to the track, lets call them A and B.
> During one half of the cycle, A is more positive than B and current
> flows from A to B. During the other half of the cycle, B is more
> positive than A and current flows from B to A. The current flow
> reverses twice every cycle. The current alternates. It is an
> alternating current.
>
> DCC is AC. It is not a "pulsed signal", nor is it "bipolar DC" as some
> would have it.
>
> Contrast this with a real pulsed DC controller where the pulses simply
> turn the track on and off. The current only ever flows in one
> direction (unless you flip the reversing switch!). That *is* a pulsed
> DC signal and not AC [1].
>
> I think the confusion arises due to people looking at the output of a
> command station with reference to the local ground. If you measure the
> two outputs A and B independently then they do look like pulsed
> outputs. The point is that DCC is defined by the two track signals
> alone, there is no ground reference. It is the differential signal
> between the rails that is DCC and that is AC.
>
> MBQ
>
> Being really pedantic you could show that it is a combination of an AC
> signal and a DC offset but that is taking things to a ridiculous
> extreme.

It is most certainly is a pulsed signal, with pulse width modulation
that carries the data. The fact that it is applied to the track in a
differential manner is not really relevant to that fact.

The fact that it is a pulsed signal is what causes the confusion.
Towards the limit if the pulse rate was low enough it would tend to
being called DC (if for example the state changed say only once a
minute), but because the pulse rate is high it would normally be
refereed to as AC.

If you viewed the spectrum of the DCC signal you would observe a classic
pulse envelope, but there again so would you if you observed a DC signal
being reversed every minute, if you viewed it over a long enough sample
time!!

Jeff

manat...@hotmail.com

unread,
Jan 30, 2012, 9:01:26 AM1/30/12
to
DCC is *frequency* modulated.

> that carries the data. The fact that it is applied to the track in a
> differential manner is not really relevant to that fact.

The fact that it is applied differentially means it is AC as seen by
the decoder.

Are you sure you are not getting confused with the motor drive output
of the decoder, which is PWM and is DC, only reversing when the
direction of the loco changes.

MBQ


Antti Louko

unread,
Jan 30, 2012, 9:57:42 AM1/30/12
to
On 2012-01-30 14:32, Jeff wrote:

> It is most certainly is a pulsed signal, with pulse width modulation
> that carries the data. The fact that it is applied to the track in a
> differential manner is not really relevant to that fact.

It most certainly is _not_ a pulsed signal.

From Wikipedia, definition of "pulse":
http://en.wikipedia.org/wiki/Pulse_%28signal_processing%29

1) A rapid, transient change in the amplitude of a signal from a
baseline value to a higher or lower value, followed by a rapid return to
the baseline value.
2) A rapid change in some characteristic of a signal, e.g., phase or
frequency, from a baseline value to a higher or lower value, followed by
a rapid return to the baseline value.

The basic feature of pulsed voltage is the existence of the baseline value.

In DCC, there is no baseline value. It has two possible values, +X volts
and -X volts, between of which it alternates. Hey, it is an alternating
voltage!

http://en.wikipedia.org/wiki/Alternating_current

Jeff

unread,
Jan 30, 2012, 10:26:04 AM1/30/12
to

>>
>>> Being really pedantic you could show that it is a combination of an AC
>>> signal and a DC offset but that is taking things to a ridiculous
>>> extreme.
>>
>> It is most certainly is a pulsed signal, with pulse width modulation
>
> DCC is *frequency* modulated.
>
>> that carries the data. The fact that it is applied to the track in a
>> differential manner is not really relevant to that fact.
>
> The fact that it is applied differentially means it is AC as seen by
> the decoder.
>
> Are you sure you are not getting confused with the motor drive output
> of the decoder, which is PWM and is DC, only reversing when the
> direction of the loco changes.
>
> MBQ
>

I think it is you that is confused with the definitions of AC and DC. A
pulse modulated signal is AC, whether that be pulse width modulated or
otherwise modulated. DC is an unchanging constant voltage. Perhaps Pulse
width modulation is not quite the clearest term for the DCC signal as it
is really a pulse train that caries data, however, the pulses are of
different fixed widths for a one and a zero and so it is the width of
the pulse that encodes the information. There may only be 2 allowable
widths but that does not alter the fact that it is PWM. It is not
frequency modulated as such, although the spectral content for a string
of zeros would be half of that for a series of ones.

Any signal that varies with time is considered to be AC; mathematically
DC is nothing more than a special case where the time component is zero.
Even the PWM motor signal is AC as it is a pulse train and it is not
constant with time.

If you are being really pedantic even the output of a conventional DC
controller is really AC as soon as you make any change to the voltage!!

Jeff


Jeff

unread,
Jan 30, 2012, 10:45:45 AM1/30/12
to
Of course there is a baseline, a DCC pulse consists of an excursion from
-X to +X and then back to -X, it is merely the length of the excursions
that determine the data. Another way of looking at it is that the source
0 to 5V data has been shifted from 0-5V to -X to +X. Just because you no
longer have 0V as a reference does not mean that there is no reference
at all.

>Hey, it is an alternating
> voltage!

Yes pulse is AC as it has a time varying component.

Jeff

manat...@hotmail.com

unread,
Jan 30, 2012, 11:16:26 AM1/30/12
to
A decoder has no explicit reference. All it has is the differential
signal on the rails, which is AC. Generally the decoder will full wave
rectify the AC signal to give an on-board DC supply. It is then
creating it's own virtual reference point at the zero-crossing of the
input.

Some specialised DCC circuits half-wave rectify and use one rail as
reference but you need to be very careful if such modules are
connected together.

MBQ

Jeff

unread,
Jan 30, 2012, 11:49:55 AM1/30/12
to

>
> A decoder has no explicit reference. All it has is the differential
> signal on the rails, which is AC. Generally the decoder will full wave
> rectify the AC signal to give an on-board DC supply. It is then
> creating it's own virtual reference point at the zero-crossing of the
> input.

I am not disputing that, but it does not get away from the fact that
the AC signal is Pulse width modulated, albeit that there are only 2
positions that the data can sit at. A pulsed signal IS an AC signal.

Jeff

manat...@hotmail.com

unread,
Jan 30, 2012, 11:11:42 AM1/30/12
to
On Jan 30, 3:26 pm, Jeff <j...@jsystems.com> wrote:
> >>> Being really pedantic you could show that it is a combination of an AC
> >>> signal and a DC offset but that is taking things to a ridiculous
> >>> extreme.
>
> >> It is most certainly is a pulsed signal, with pulse width modulation
>
> > DCC is *frequency* modulated.
>
> >> that carries the data. The fact that it is applied to the track in a
> >> differential manner is not really relevant to that fact.
>
> > The fact that it is applied differentially means it is AC as seen by
> > the decoder.
>
> > Are you sure you are not getting confused with the motor drive output
> > of the decoder, which is PWM and is DC, only reversing when the
> > direction of the loco changes.
>
> > MBQ
>
> I think it is you that is confused with the definitions of AC and DC. A
> pulse modulated signal is AC, whether that be pulse width modulated or
> otherwise modulated. DC is an unchanging constant voltage. Perhaps Pulse
> width modulation is not quite the clearest term for the DCC signal as it
> is really a pulse train that caries data, however, the pulses are of

PWM implies a fixed frequency variable mark/space ratio.

DCC is fixed mark/space ratio (discounting stretched zeroes for
driving analogue locos) with variable frequency. A '1' is sent as a
single cycle of approx 8.6KHz nominal, a '0' as a single cycle of 5KHz
nominal.

> different fixed widths for a one and a zero and so it is the width of
> the pulse that encodes the information. There may only be 2 allowable
> widths but that does not alter the fact that it is PWM. It is not

The width of the pulse *and* the width of the idle period are critical
in decoding a DCC bit stream. Both are significant and it is the
overall period that matters. Hence DCC is frequency modulated, not
PWM.

> frequency modulated as such, although the spectral content for a string
> of zeros would be half of that for a series of ones.
>
> Any signal that varies with time is considered to be AC; mathematically
> DC is nothing more than a special case where the time component is zero.
> Even the PWM motor signal is AC as it is a pulse train and it is not
> constant with time.
>
> If you are being really pedantic even the output of a conventional DC
> controller is really AC as soon as you make any change to the voltage!!

This is getting into the real of AC with DC offset, which I did
mention in an earlier post.

MBQ


Jeff

unread,
Jan 30, 2012, 12:31:39 PM1/30/12
to

>
> PWM implies a fixed frequency variable mark/space ratio.

No, there is no such constraint on PWM, DCC is PWM with 2 discrete
positions. PWM is AC.

>
> DCC is fixed mark/space ratio (discounting stretched zeroes for
> driving analogue locos) with variable frequency. A '1' is sent as a
> single cycle of approx 8.6KHz nominal, a '0' as a single cycle of 5KHz
> nominal.
>> different fixed widths for a one and a zero and so it is the width of
>> the pulse that encodes the information. There may only be 2 allowable
>> widths but that does not alter the fact that it is PWM. It is not
>
> The width of the pulse *and* the width of the idle period are critical
> in decoding a DCC bit stream. Both are significant and it is the
> overall period that matters. Hence DCC is frequency modulated, not
> PWM.

It is merely sent as RTZ with a fixed width for 1 and a different fixed
width for a '0'; that may equate to 5kHz (sic) for a '1' but it is not
frequency modulation. It would be FM if the data stream were used to
modulate a carrier.(Actually '1' is nearer 8.3kHz, 60us per bit 120us
total period).

Any data stream of this type will have frequency components that are
related to the bit widths, that actual spectral components of the DCC
waveform will not just contain 8.33kHz, and its harmonics, due to the
unequal bit periods there will be other components in there as well
depending on the data sent (particularly if there are long highs for non
DCC powering.

Jeff

manat...@hotmail.com

unread,
Jan 30, 2012, 1:43:38 PM1/30/12
to
On Jan 30, 5:31 pm, Jeff <j...@jsystems.com> wrote:
> > PWM implies a fixed frequency variable mark/space ratio.
>
> No, there is no such constraint on PWM, DCC is PWM with 2 discrete
> positions. PWM is AC.
>
>
>
> > DCC is fixed mark/space ratio (discounting stretched zeroes for
> > driving analogue locos) with variable frequency. A '1' is sent as a
> > single cycle of approx 8.6KHz nominal, a '0' as a single cycle of 5KHz
> > nominal.
> >> different fixed widths for a one and a zero and so it is the width of
> >> the pulse that encodes the information. There may only be 2 allowable
> >> widths but that does not alter the fact that it is PWM. It is not
>
> > The width of the pulse *and* the width of the idle period are critical
> > in decoding a DCC bit stream. Both are significant and it is the
> > overall period that matters. Hence DCC is frequency modulated, not
> > PWM.
>
> It is merely sent as RTZ with a fixed width for 1 and a different fixed
> width for a '0'; that may equate to 5kHz (sic) for a '1' but it is not

No, the period changes since both the mark and space are changed.

> frequency modulation. It would be FM if the data stream were used to
> modulate a carrier.(Actually '1' is nearer 8.3kHz, 60us per bit 120us
> total period).

I don't know where you are getting you information, but I *was*
correct, the nominal bit time, for a '1' is 58us per *half-bit*, 116us
total per bit, or approx 8.6KHz. See http://www.nmra.org/standards/DCC/standards_rps/S-91-2004-07.pdf

Send a stream of 1 bits and you get a square wave at approx 8.6KHz,
send a stream of zeroes and you get 5KHz. That *is* frequency
modulation.

MBQ

manat...@hotmail.com

unread,
Jan 30, 2012, 1:45:16 PM1/30/12
to
OK, I accept your agreement that DCC is AC, which you seemed to be
disputing.

Now you just have to understande that DCC is FM, not PWM but that's in
the other sub-thread.

MBQ

None

unread,
Jan 30, 2012, 3:49:31 PM1/30/12
to
On Jan 30, 1:45 pm, "manatba...@hotmail.com" <manatba...@hotmail.com>
wrote:
Maybe it is single side band :>)

Just zis Guy, you know?

unread,
Jan 30, 2012, 4:08:12 PM1/30/12
to
On Mon, 30 Jan 2012 15:26:04 +0000, Jeff <je...@jsystems.com> wrote:

>I think it is you that is confused with the definitions of AC and DC. A
>pulse modulated signal is AC, whether that be pulse width modulated or
>otherwise modulated.

No it's not. AC has alternating polarity, DC doesn't. Pulse width
modulated DC is still DC, as is DC with a superposed digital signal.

Guy
--
Guy Chapman, http://www.chapmancentral.co.uk
The usenet price promise: all opinions are guaranteed
to be worth at least what you paid for them.

Jeff

unread,
Jan 31, 2012, 4:20:58 AM1/31/12
to
On 30/01/2012 21:08, Just zis Guy, you know? wrote:
> On Mon, 30 Jan 2012 15:26:04 +0000, Jeff<je...@jsystems.com> wrote:
>
>> I think it is you that is confused with the definitions of AC and DC. A
>> pulse modulated signal is AC, whether that be pulse width modulated or
>> otherwise modulated.
>
> No it's not. AC has alternating polarity, DC doesn't. Pulse width
> modulated DC is still DC, as is DC with a superposed digital signal.
>
> Guy

That is utter rubbish, do an FFT on the DCC signal and see what
components go to make it up!!!!

UJeff

manat...@hotmail.com

unread,
Jan 31, 2012, 4:33:23 AM1/31/12
to
On Jan 31, 9:20 am, Jeff <j...@jsystems.com> wrote:
> On 30/01/2012 21:08, Just zis Guy, you know? wrote:
>
> > On Mon, 30 Jan 2012 15:26:04 +0000, Jeff<j...@jsystems.com>  wrote:
>
> >> I think it is you that is confused with the definitions of AC and DC. A
> >> pulse modulated signal is AC, whether that be pulse width modulated or
> >> otherwise modulated.
>
> > No it's not. AC has alternating polarity, DC doesn't. Pulse width
> > modulated DC is still DC, as is DC with a superposed digital signal.
>
> > Guy
>
>   That is utter rubbish, do an FFT on the DCC signal and see what
> components go to make it up!!!!
>
> UJeff

So, take an AC signal and full-wave rectify it, connect a load
resistor with no smoothing capacitor. Is the resulting current flow AC
or DC?

Think carefully before answering.

MBQ

manat...@hotmail.com

unread,
Jan 31, 2012, 4:36:45 AM1/31/12
to
On Jan 31, 9:20 am, Jeff <j...@jsystems.com> wrote:
> On 30/01/2012 21:08, Just zis Guy, you know? wrote:
>
> > On Mon, 30 Jan 2012 15:26:04 +0000, Jeff<j...@jsystems.com>  wrote:
>
> >> I think it is you that is confused with the definitions of AC and DC. A
> >> pulse modulated signal is AC, whether that be pulse width modulated or
> >> otherwise modulated.
>
> > No it's not. AC has alternating polarity, DC doesn't. Pulse width
> > modulated DC is still DC, as is DC with a superposed digital signal.
>
> > Guy
>
>   That is utter rubbish, do an FFT on the DCC signal and see what
> components go to make it up!!!!

Another example. Take a DC power supply with a constant voltage
regulator and a varying current load. Is the load current AC or DC?

Conversely take a constant current supply and connect a varying
resistive load. Is the resulting voltage waveform AC or DC?

Think carefully before you answer.

MBQ

manat...@hotmail.com

unread,
Jan 31, 2012, 4:39:46 AM1/31/12
to
On Jan 31, 9:20 am, Jeff <j...@jsystems.com> wrote:
> On 30/01/2012 21:08, Just zis Guy, you know? wrote:
>
> > On Mon, 30 Jan 2012 15:26:04 +0000, Jeff<j...@jsystems.com>  wrote:
>
> >> I think it is you that is confused with the definitions of AC and DC. A
> >> pulse modulated signal is AC, whether that be pulse width modulated or
> >> otherwise modulated.
>
> > No it's not. AC has alternating polarity, DC doesn't. Pulse width
> > modulated DC is still DC, as is DC with a superposed digital signal.
>
> > Guy
>
>   That is utter rubbish, do an FFT on the DCC signal and see what
> components go to make it up!!!!

Any time varying waveform has AC *components* as shown by a fourier
analysis. That doesn't mean that the original waveform, complete with
DC bias is alternating.

What do you think the word "alternating" means?

MBQ

Jeff

unread,
Jan 31, 2012, 4:50:27 AM1/31/12
to
On 30/01/2012 18:43, manat...@hotmail.com wrote:
> On Jan 30, 5:31 pm, Jeff<j...@jsystems.com> wrote:
>>> PWM implies a fixed frequency variable mark/space ratio.
>>
>> No, there is no such constraint on PWM, DCC is PWM with 2 discrete
>> positions. PWM is AC.
>>
>>
>>
>>> DCC is fixed mark/space ratio (discounting stretched zeroes for
>>> driving analogue locos) with variable frequency. A '1' is sent as a
>>> single cycle of approx 8.6KHz nominal, a '0' as a single cycle of 5KHz
>>> nominal.
>>>> different fixed widths for a one and a zero and so it is the width of
>>>> the pulse that encodes the information. There may only be 2 allowable
>>>> widths but that does not alter the fact that it is PWM. It is not
>>
>>> The width of the pulse *and* the width of the idle period are critical
>>> in decoding a DCC bit stream. Both are significant and it is the
>>> overall period that matters. Hence DCC is frequency modulated, not
>>> PWM.
>>
>> It is merely sent as RTZ with a fixed width for 1 and a different fixed
>> width for a '0'; that may equate to 5kHz (sic) for a '1' but it is not
>
> No, the period changes since both the mark and space are changed
>
>> frequency modulation. It would be FM if the data stream were used to
>> modulate a carrier.(Actually '1' is nearer 8.3kHz, 60us per bit 120us
>> total period).
>
> I don't know where you are getting you information, but I *was*
> correct, the nominal bit time, for a '1' is 58us per *half-bit*, 116us
> total per bit, or approx 8.6KHz. See http://www.nmra.org/standards/DCC/standards_rps/S-91-2004-07.pdf

Ok, so from memory I rounded '55 to 61us' to 60us rather than 58us. '0'
bits do not have a fixed duration, they must be in the range 95us to 9.9
seconds (start & stop bits >=100us), the duration is set by the need to
keep the average of 1's an 0's at zero. So there is no nominal frequency
for '0' bits.


> Send a stream of 1 bits and you get a square wave at approx 8.6KHz,
> send a stream of zeroes and you get 5KHz. That *is* frequency
> modulation.

NO. See above: 0's can lie anywhere in the range 95 to 9900us

No it is not FM, it would be frequency modulation if the baseband data
had 1 & 0 of equal width, i.e. a constant data rate, and that data then
caused the modulated data to shift between 2 different frequencies at
the data rate. In the case of DCC the data rate is different between a 1
and a 0 due to the fact that the encoding is contained in the pulse
width, i.e. PWM. If you also add to the mix the stretched 'bits' which
can be up to 12 seconds and form form the start bit of a valid '0' in
arbitrary positions, and the fact that 0 bits are variable length as
well, it is NOT FM.

Jeff

Jeff

unread,
Jan 31, 2012, 4:56:04 AM1/31/12
to
On 30/01/2012 20:49, None wrote:
> On Jan 30, 1:45 pm, "manatba...@hotmail.com"<manatba...@hotmail.com>
> wrote:
>> On Jan 30, 4:49 pm, Jeff<j...@jsystems.com> wrote:
>>
>>>> A decoder has no explicit reference. All it has is the differential
>>>> signal on the rails, which is AC. Generally the decoder will full wave
>>>> rectify the AC signal to give an on-board DC supply. It is then
>>>> creating it's own virtual reference point at the zero-crossing of the
>>>> input.
>>
>>> I am not disputing that, but it does not get away from the fact that
>>> the AC signal is Pulse width modulated, albeit that there are only 2
>>> positions that the data can sit at. A pulsed signal IS an AC signal.
>>
>> OK, I accept your agreement that DCC is AC, which you seemed to be
>> disputing.

If you read back you will see that I have always stated that anything
other than a pure constant level is some form of AC. I think the problem
is that some people seem to think that AC does not encompass a pulsed
signal.

>> Now you just have to understande that DCC is FM, not PWM but that's in
>> the other sub-thread.
>>
>> MBQ

Unfortunalely is is no FM see the other posts.

> Maybe it is single side band :>)

Due to the differential encoding it is more like DSB.

Jeff

Jeff

unread,
Jan 31, 2012, 5:05:02 AM1/31/12
to
Switch your dc supply on and off once a day, is that DC or AC?

If you observe it over several days it is certainly AC!!!

Jeff

manat...@hotmail.com

unread,
Jan 31, 2012, 6:26:43 AM1/31/12
to
On Jan 31, 9:50 am, Jeff <j...@jsystems.com> wrote:
> On 30/01/2012 18:43, manatba...@hotmail.com wrote:
>
>
>
>
>
>
>
>
>
> > On Jan 30, 5:31 pm, Jeff<j...@jsystems.com>  wrote:
> >>> PWM implies a fixed frequency variable mark/space ratio.
>
> >> No, there is no such constraint on PWM, DCC is PWM with 2 discrete
> >> positions. PWM is AC.
>
> >>> DCC is fixed mark/space ratio (discounting stretched zeroes for
> >>> driving analogue locos) with variable frequency. A '1' is sent as a
> >>> single cycle of approx 8.6KHz nominal, a '0' as a single cycle of 5KHz
> >>> nominal.
> >>>> different fixed widths for a one and a zero and so it is the width of
> >>>> the pulse that encodes the information. There may only be 2 allowable
> >>>> widths but that does not alter the fact that it is PWM. It is not
>
> >>> The width of the pulse *and* the width of the idle period are critical
> >>> in decoding a DCC bit stream. Both are significant and it is the
> >>> overall period that matters. Hence DCC is frequency modulated, not
> >>> PWM.
>
> >> It is merely sent as RTZ with a fixed width for 1 and a different fixed
> >> width for a '0'; that may equate to 5kHz (sic) for a '1' but it is not
>
> > No, the period changes since both the mark and space are changed
>
> >> frequency modulation. It would be FM if the data stream were used to
> >> modulate a carrier.(Actually '1' is nearer 8.3kHz, 60us per bit 120us
> >> total period).
>
> > I don't know where you are getting you information, but I *was*
> > correct, the nominal bit time, for a '1' is 58us per *half-bit*, 116us
> > total per bit, or approx 8.6KHz. Seehttp://www.nmra.org/standards/DCC/standards_rps/S-91-2004-07.pdf
>
> Ok, so from memory I rounded '55 to 61us' to 60us rather than 58us. '0'
> bits do not have a fixed duration, they must be in the range 95us to 9.9
> seconds (start & stop bits >=100us), the duration is set by the need to
> keep the average of 1's an 0's at zero. So there is no nominal frequency
> for '0' bits.
>
> > Send a stream of 1 bits and you get a square wave at approx 8.6KHz,
> > send a stream of zeroes and you get 5KHz. That *is* frequency
> > modulation.
>
> NO. See above: 0's can lie anywhere in the range 95 to 9900us

I did say in an earlier post that I was discounting stretched zeroes.
These are only used for driving a single unchipped loco and are not
even supported by all command stations. Use of an unchipped loco on
DCC is deprecated by those who value their locos, due to the risk of
destroying some types of motor.

> No it is not FM, it would be frequency modulation if the baseband data
> had 1 & 0 of equal width, i.e. a constant data rate, and that data then
> caused the modulated data to shift between 2 different frequencies at
> the data rate. In the case of DCC the data rate is different between a 1
> and a 0 due to the fact that the encoding is contained in the pulse
> width, i.e. PWM.

PWM implies a fixed frequency with variable mark space ratio. Perhaps
we'll just have to agree that it's neither.

> If you also add to the mix the stretched 'bits' which
> can be up to 12 seconds

Where do you get 12 seconds from?

> and form form the start bit of a valid '0' in
> arbitrary positions, and the fact that 0 bits are variable length as
> well, it is NOT FM.

As I said, stretched zeroes can be ignored.

MBQ


manat...@hotmail.com

unread,
Jan 31, 2012, 6:28:14 AM1/31/12
to
On Jan 31, 10:05 am, Jeff <j...@jsystems.com> wrote:
It's DC.

> If you observe it over several days it is certainly AC!!!

It's still DC. How often did the current or voltage reverse?

All time varying signals have an AC component. Not all resulting
dignals are AC.

MBQ

Jeff

unread,
Jan 31, 2012, 6:36:34 AM1/31/12
to
.
>
> PWM implies a fixed frequency with variable mark space ratio. Perhaps
> we'll just have to agree that it's neither.

It implies nothing of the sort. That may be the case for controlling a
motor, but *not* when encoding data.

>
>> If you also add to the mix the stretched 'bits' which
>> can be up to 12 seconds
>
> Where do you get 12 seconds from?

My apologies, on consulting the spec it should be 10 seconds with a
total of 12s for the complete reversal.

>
>> and form form the start bit of a valid '0' in
>> arbitrary positions, and the fact that 0 bits are variable length as
>> well, it is NOT FM.
>
> As I said, stretched zeroes can be ignored.

No they cannot, as the period of the 0 bits is dependant on the length
of any stretched bits, so as to keep the average at zero.

Jeff

Jeff

unread,
Jan 31, 2012, 6:47:03 AM1/31/12
to

>>
>> Switch your dc supply on and off once a day, is that DC or AC?
>
> It's DC.
>
>> If you observe it over several days it is certainly AC!!!
>
> It's still DC. How often did the current or voltage reverse?
>
> All time varying signals have an AC component. Not all resulting
> dignals are AC.
>
> MBQ
>

The definition of an AC signal is that it has a time varying component,
you seem to be regarding AC as some sub-set of that which is not correct.

Jeff

manat...@hotmail.com

unread,
Jan 31, 2012, 8:37:05 AM1/31/12
to
On Jan 31, 11:36 am, Jeff <j...@jsystems.com> wrote:
> .
>
>
>
> > PWM implies a fixed frequency with variable mark space ratio. Perhaps
> > we'll just have to agree that it's neither.
>
> It implies nothing of the sort. That may be the case for controlling a
> motor, but *not* when encoding data.

Every definition of PWM I have seen assumes fixed frequency. I would
be inetrested to see a description of your version of PWM.

> >> If you also add to the mix the stretched 'bits' which
> >> can be up to 12 seconds
>
> > Where do you get 12 seconds from?
>
> My apologies, on consulting the spec it should be 10 seconds with a
> total of 12s for the complete reversal.

Oh FFS. Its 12000 us, or 12 milliseconds.

I am beginning to wonder how much practical, or even theoretical,
knowledge of DCC you actually have.

> >> and form form the start bit of a valid '0' in
> >> arbitrary positions, and the fact that 0 bits are variable length as
> >> well, it is NOT FM.
>
> > As I said, stretched zeroes can be ignored.
>
> No they cannot, as the period of the 0 bits is dependant on the length
> of any stretched bits, so as to keep the average at zero.

Again, you clearly do not understand DCC!!!

Stretched zeroes are ONLY used to give a DC bias to allow unchipped
locos to be driven. This feature should be disabled, and is not
included in some system, due to the potential to damage some motors.
When stretched zeroes are disabled EACH AND EVERY ZERO on the DCC bus
is nominall 200us total (100us each half cycle).

MBQ

manat...@hotmail.com

unread,
Jan 31, 2012, 8:38:07 AM1/31/12
to
No, the definition of AC is that the current or voltage alternates,
i.e. reverses periodically.

MBQ

manat...@hotmail.com

unread,
Jan 31, 2012, 8:41:44 AM1/31/12
to
On Jan 31, 1:38 pm, "manatba...@hotmail.com" <manatba...@hotmail.com>
wrote:
Lets see what Cambridge University have to say on the subject
http://www.eng.cam.ac.uk/DesignOffice/mdp/electric_web/AC/AC_1.html

I'm struggling to find a definition that doesn't include reversal of
current or voltage. Would you care to provide one, from an
authoratative source?

MBQ

Jeff

unread,
Jan 31, 2012, 11:48:19 AM1/31/12
to
So you are trying to say that a pulsed signal is not AC, even though if
it were a perfect square wave it would have components stretching up in
frequency to infinity!!! You have to look more closely to understand
where the periodic signals are, but they are there. A spectrum analyser
would greatly assist you in seeing them.

Jeff

Just zis Guy, you know?

unread,
Feb 1, 2012, 2:49:51 PM2/1/12
to
You said: "A pulse modulated signal is AC", which is simply false. You
can have pulse modulated AC or DC.

And all waveforms can be described by a sum of sine waves, by that
argument DC is AC. I have no opinion on what comes out of my Lenz DCC
system because I still haven't got round to buying that second-hand
oscilloscope I've been promising myself, and I don't care enough to
look it up because it Just Works.

Just zis Guy, you know?

unread,
Feb 1, 2012, 2:52:13 PM2/1/12
to
And it's fairly common to use +x and -x rails in digital signals, this
is still not described as AC for the simple reason that it's not, in
any meaningful sense.

The question with DCC would be: what does the output waveform look
like with no signal. I don't know the answer to that, I have no way of
checking here at the moment.

manat...@hotmail.com

unread,
Feb 2, 2012, 4:22:53 AM2/2/12
to
On Feb 1, 7:52 pm, "Just zis Guy, you know?"
<usenet...@chapmancentral.co.uk> wrote:

>
> The question with DCC would be: what does the output waveform look
> like with no signal. I don't know the answer to that, I have no way of
> checking here at the moment.

Not sure what you mean by that. There's never really a situation with
"no signal". If a booster has no input from a command station then
good design would be to shut down the track output.

If there are locos being controlled then the control packets are sent
repeatedly to those locos.

If the command station really is quescent then it outputs a continuous
preamble which is a string of '1' bits which results in a square wave
at 8.6KHz.

MBQ

Jeff

unread,
Feb 2, 2012, 4:28:28 AM2/2/12
to

>
> You said: "A pulse modulated signal is AC", which is simply false. You
> can have pulse modulated AC or DC.
>
> And all waveforms can be described by a sum of sine waves, by that
> argument DC is AC. I have no opinion on what comes out of my Lenz DCC
> system because I still haven't got round to buying that second-hand
> oscilloscope I've been promising myself, and I don't care enough to
> look it up because it Just Works.
>
> Guy

You can't have it both ways Guy!!! You say that "all waveforms can be
described by a sum of sine waves" and then go on then say that you can
have "pulse modulated DC"!! (DC cannot be described by sine waves unless
you tale the case of zero frequency as a sine wave). If an FFT shows
something other than *only* a DC component (zero frequency) the signal
is AC!!!!
All pulsed waveforms have a time varying component and are therefore AC.

Jeff

manat...@hotmail.com

unread,
Feb 2, 2012, 5:26:24 AM2/2/12
to
On Jan 31, 4:48 pm, Jeff <j...@jsystems.com> wrote:
> On 31/01/2012 13:38, manatba...@hotmail.com wrote:
>
>
>
>
>
>
>
>
>
> > On Jan 31, 11:47 am, Jeff<j...@jsystems.com>  wrote:
> >>>> Switch your dc supply on and off once a day, is that DC or AC?
>
> >>> It's DC.
>
> >>>> If you observe it over several days it is certainly AC!!!
>
> >>> It's still DC. How often did the current or voltage reverse?
>
> >>> All time varying signals have an AC component. Not all resulting
> >>> dignals are AC.
>
> >>> MBQ
>
> >> The definition of an AC signal is that it has a time varying component,
> >> you seem to be regarding AC as some sub-set of that which is not correct.
>
> > No, the definition of AC is that the current or voltage alternates,
> > i.e. reverses periodically.
>
> > MBQ
>
> So you are trying to say that a pulsed signal is not AC, even though if
> it were a perfect square wave it would have components stretching up in
> frequency to infinity!!!

If it has a large enough DC offset it is not AC.

> You have to look more closely to understand
> where the periodic signals are, but they are there. A spectrum analyser
> would greatly assist you in seeing them.

I know where they are.

The resultant signal is also period.

Being periodic is a neccessary but not sufficient condition for a
signal to be AC.

MBQ

manat...@hotmail.com

unread,
Feb 2, 2012, 5:31:56 AM2/2/12
to
Please provide an authoratative reference for your definition of AC as
anything that varies over time.

MBQ

PV

unread,
Feb 2, 2012, 12:13:40 PM2/2/12
to
"manat...@hotmail.com" <manat...@hotmail.com> writes:
>Not sure what you mean by that. There's never really a situation with
>"no signal". If a booster has no input from a command station then
>good design would be to shut down the track output.

Does any system actually do that? Digitrax certainly doesn't.

>If there are locos being controlled then the control packets are sent
>repeatedly to those locos.

This is flat out wrong. Decoders assume that the previous instructions
stand until they get an update. If dcc commands stop going out on the
rails, the trains will happily keep running unless you kill power. You've
never had any runaway trains? It definitely happens.

>If the command station really is quescent then it outputs a continuous
>preamble which is a string of '1' bits which results in a square wave
>at 8.6KHz.

Not sure what point you're trying to make. This is kind of a dumb message
thread anyway. *
--
* PV Something like badgers, something like lizards, and something
like corkscrews.

Just zis Guy, you know?

unread,
Feb 2, 2012, 2:44:13 PM2/2/12
to
On Thu, 02 Feb 2012 09:28:28 +0000, Jeff <je...@jsystems.com> wrote:

>
>>
>> You said: "A pulse modulated signal is AC", which is simply false. You
>> can have pulse modulated AC or DC.
>>
>> And all waveforms can be described by a sum of sine waves, by that
>> argument DC is AC. I have no opinion on what comes out of my Lenz DCC
>> system because I still haven't got round to buying that second-hand
>> oscilloscope I've been promising myself, and I don't care enough to
>> look it up because it Just Works.
>>
>> Guy
>
>You can't have it both ways Guy!!! You say that "all waveforms can be
>described by a sum of sine waves" and then go on then say that you can
>have "pulse modulated DC"!! (DC cannot be described by sine waves unless
>you tale the case of zero frequency as a sine wave).

Give the man a coconut, zero frequency is indeed a special case. Now
find a railway power supply that puts out a perfectly smooth DC
waveform.


>If an FFT shows
>something other than *only* a DC component (zero frequency) the signal
>is AC!!!!

Bullshit. If current only flows in one direction out of the supply
then the current does not alternate.

>All pulsed waveforms have a time varying component and are therefore AC.

Bullshit. See above.

Jane Sullivan

unread,
Feb 2, 2012, 3:26:18 PM2/2/12
to
On 02/02/2012 19:44, Just zis Guy, you know? wrote:
> On Thu, 02 Feb 2012 09:28:28 +0000, Jeff<je...@jsystems.com> wrote:
>
>>
>>>
>>> You said: "A pulse modulated signal is AC", which is simply false. You
>>> can have pulse modulated AC or DC.
>>>
>>> And all waveforms can be described by a sum of sine waves, by that
>>> argument DC is AC. I have no opinion on what comes out of my Lenz DCC
>>> system because I still haven't got round to buying that second-hand
>>> oscilloscope I've been promising myself, and I don't care enough to
>>> look it up because it Just Works.
>>>
>>> Guy
>>
>> You can't have it both ways Guy!!! You say that "all waveforms can be
>> described by a sum of sine waves" and then go on then say that you can
>> have "pulse modulated DC"!! (DC cannot be described by sine waves unless
>> you tale the case of zero frequency as a sine wave).
>
> Give the man a coconut, zero frequency is indeed a special case. Now
> find a railway power supply that puts out a perfectly smooth DC
> waveform.

A car battery. Perfectly smooth 12v. DC.

>
>
>> If an FFT shows
>> something other than *only* a DC component (zero frequency) the signal
>> is AC!!!!
>
> Bullshit. If current only flows in one direction out of the supply
> then the current does not alternate.
>
>> All pulsed waveforms have a time varying component and are therefore AC.
>
> Bullshit. See above.
>
> Guy


--
Jane

Just zis Guy, you know?

unread,
Feb 2, 2012, 7:22:31 PM2/2/12
to
On Thu, 02 Feb 2012 20:26:18 +0000, Jane Sullivan <m...@privacy.net>
wrote:

>> Give the man a coconut, zero frequency is indeed a special case. Now
>> find a railway power supply that puts out a perfectly smooth DC
>> waveform.
>
>A car battery. Perfectly smooth 12v. DC.

I think you'll find it reduces over time, initially in a fairly linear
way and later definitely non-linear.

Jeff

unread,
Feb 3, 2012, 2:47:48 AM2/3/12
to

>> If an FFT shows
>> something other than *only* a DC component (zero frequency) the signal
>> is AC!!!!
>
> Bullshit. If current only flows in one direction out of the supply
> then the current does not alternate.
>
>> All pulsed waveforms have a time varying component and are therefore AC.
>
> Bullshit. See above.
>
> Guy

Not bullshit at all, the DC component may only cause current to flow in
one direction, but the transitions will cause currents at frequencies
above DC to flow in both directions, they may, or may not, be smaller
than the dc current but they do exist and do flow in both directions.

Jeff

Just zis Guy, you know?

unread,
Feb 3, 2012, 4:15:30 AM2/3/12
to
Yes, bullshit. Either that or there is effectively no such thing as a
DC power supply.

Jane Sullivan

unread,
Feb 3, 2012, 4:43:07 AM2/3/12
to
On 03/02/2012 00:22, Just zis Guy, you know? wrote:
> On Thu, 02 Feb 2012 20:26:18 +0000, Jane Sullivan<m...@privacy.net>
> wrote:
>
>>> Give the man a coconut, zero frequency is indeed a special case. Now
>>> find a railway power supply that puts out a perfectly smooth DC
>>> waveform.
>>
>> A car battery. Perfectly smooth 12v. DC.
>
> I think you'll find it reduces over time, initially in a fairly linear
> way and later definitely non-linear.
>
> Guy

Depends if you recharge it between operating sessions or not.

--
Jane

manat...@hotmail.com

unread,
Feb 3, 2012, 7:10:52 AM2/3/12
to
NO. For the purppose of analysis you can split any signal into
components. Those components do not exist in isolation in the
composite signal.

Tell me, how do the electrons and holes in the wire know which
frequency component they are associated with and which way to flow?

MBQ

manat...@hotmail.com

unread,
Feb 3, 2012, 7:15:23 AM2/3/12
to
On Feb 2, 5:13 pm, pv+use...@pobox.com (PV) wrote:
> "manatba...@hotmail.com" <manatba...@hotmail.com> writes:
> >Not sure what you mean by that. There's never really a situation with
> >"no signal". If a booster has no input from a command station then
> >good design would be to shut down the track output.
>
> Does any system actually do that? Digitrax certainly doesn't.
>
> >If there are locos being controlled then the control packets are sent
> >repeatedly to those locos.
>
> This is flat out wrong. Decoders assume that the previous instructions
> stand until they get an update. If dcc commands stop going out on the
> rails, the trains will happily keep running unless you kill power. You've
> never had any runaway trains? It definitely happens.

Fuck me, where do people get their DCC "knowledge" from? Try reading
the specs. Specifically RP-9.2.4 section C. If you choose cheap
decoders that don't implement the spec correctly, or disable the
timeout then you deserve every run-away you get.

> >If the command station really is quescent then it outputs a continuous
> >preamble which is a string of '1' bits which results in a square wave
> >at 8.6KHz.
>
> Not sure what point you're trying to make.

The point that there is always *something* even if it's just the
preamble on the rails. It is neccessary to continue delivering power.

> This is kind of a dumb message
> thread anyway. *

You didn't raise the level, so why did you bother replying?

MBQ

Jeff

unread,
Feb 3, 2012, 7:16:59 AM2/3/12
to
On 03/02/2012 09:15, Just zis Guy, you know? wrote:
> On Fri, 03 Feb 2012 07:47:48 +0000, Jeff<je...@jsystems.com> wrote:
>
>>
>>>> If an FFT shows
>>>> something other than *only* a DC component (zero frequency) the signal
>>>> is AC!!!!
>>>
>>> Bullshit. If current only flows in one direction out of the supply
>>> then the current does not alternate.
>>>
>>>> All pulsed waveforms have a time varying component and are therefore AC.
>>>
>>> Bullshit. See above.
>>>
>>> Guy
>>
>> Not bullshit at all, the DC component may only cause current to flow in
>> one direction, but the transitions will cause currents at frequencies
>> above DC to flow in both directions, they may, or may not, be smaller
>> than the dc current but they do exist and do flow in both directions.
>
> Yes, bullshit. Either that or there is effectively no such thing as a
> DC power supply.
>
> Guy

I suppose you could take that view if the DC level changes or you switch
the DC voltage on and off. At the time of the transition there will be
AC components generated. However, it would be silly to classify a DC
power supply as AC merely because of short AC transients caused by
varying the voltage or switching on and off, but in the case of DCC the
AC components are there *all of the time* and make up the
characteristics of the signal, ie the pulses. Without the AC parts the
DCC waveform could only be just a constant DC level.

Jeff

Chris

unread,
Feb 4, 2012, 3:49:40 PM2/4/12
to
On 30/01/2012 14:01, manat...@hotmail.com wrote:
> On Jan 30, 12:32 pm, Jeff<j...@jsystems.com> wrote:
>>> DCC is not a "pulsed signal" it is AC.
>>
>>> A decoder sees two connections to the track, lets call them A and B.
>>> During one half of the cycle, A is more positive than B and current
>>> flows from A to B. During the other half of the cycle, B is more
>>> positive than A and current flows from B to A. The current flow
>>> reverses twice every cycle. The current alternates. It is an
>>> alternating current.
>>
>>> DCC is AC. It is not a "pulsed signal", nor is it "bipolar DC" as some
>>> would have it.
>>
>>> Contrast this with a real pulsed DC controller where the pulses simply
>>> turn the track on and off. The current only ever flows in one
>>> direction (unless you flip the reversing switch!). That *is* a pulsed
>>> DC signal and not AC [1].
>>
>>> I think the confusion arises due to people looking at the output of a
>>> command station with reference to the local ground. If you measure the
>>> two outputs A and B independently then they do look like pulsed
>>> outputs. The point is that DCC is defined by the two track signals
>>> alone, there is no ground reference. It is the differential signal
>>> between the rails that is DCC and that is AC.
>>
>>> MBQ
>>
>>> Being really pedantic you could show that it is a combination of an AC
>>> signal and a DC offset but that is taking things to a ridiculous
>>> extreme.
>>
>> It is most certainly is a pulsed signal, with pulse width modulation
>
> DCC is *frequency* modulated.
>
>> that carries the data. The fact that it is applied to the track in a
>> differential manner is not really relevant to that fact.
>
> The fact that it is applied differentially means it is AC as seen by
> the decoder.
>
> Are you sure you are not getting confused with the motor drive output
> of the decoder, which is PWM and is DC, only reversing when the
> direction of the loco changes.
>
> MBQ
>
>
Decoders see a DCC signal not an AC signal otherwise they would not be
able to decode the commands. For non DCC locos on a DCC layout they see
PWM by stretching one's or zero's depending on direction to move the
loco. So you could argue its almost DC in that instance and almost AC
with no DC locos.

Note that Hornbys Zero 1 system of the 1980's was very much as you
describe an AC supply with control data overlaid where as DCC is the
supply and signal combined. What this means for the modeller is that if
the supply voltage gets to the decoder so does the commands and
everything works. Whereas the Hornby system was not as reliable as the
supply voltage might arrive but the commands sometimes got lost.

--
Chris

Just zis Guy, you know?

unread,
Feb 4, 2012, 5:18:09 PM2/4/12
to
On Fri, 03 Feb 2012 09:43:07 +0000, Jane Sullivan <m...@privacy.net>
wrote:

>On 03/02/2012 00:22, Just zis Guy, you know? wrote:
>> On Thu, 02 Feb 2012 20:26:18 +0000, Jane Sullivan<m...@privacy.net>
>> wrote:
>>
>>>> Give the man a coconut, zero frequency is indeed a special case. Now
>>>> find a railway power supply that puts out a perfectly smooth DC
>>>> waveform.
>>>
>>> A car battery. Perfectly smooth 12v. DC.
>>
>> I think you'll find it reduces over time, initially in a fairly linear
>> way and later definitely non-linear.

>Depends if you recharge it between operating sessions or not.

Not really, no. It's a lot smoother than rectified DC but the voltage
will still fluctuate, and will go down as the battery discharges.

Just zis Guy, you know?

unread,
Feb 4, 2012, 5:20:00 PM2/4/12
to
On Fri, 03 Feb 2012 12:16:59 +0000, Jeff <je...@jsystems.com> wrote:

>On 03/02/2012 09:15, Just zis Guy, you know? wrote:
>> On Fri, 03 Feb 2012 07:47:48 +0000, Jeff<je...@jsystems.com> wrote:
>>
>>>
>>>>> If an FFT shows
>>>>> something other than *only* a DC component (zero frequency) the signal
>>>>> is AC!!!!
>>>>
>>>> Bullshit. If current only flows in one direction out of the supply
>>>> then the current does not alternate.
>>>>
>>>>> All pulsed waveforms have a time varying component and are therefore AC.
>>>>
>>>> Bullshit. See above.
>>>>
>>>> Guy
>>>
>>> Not bullshit at all, the DC component may only cause current to flow in
>>> one direction, but the transitions will cause currents at frequencies
>>> above DC to flow in both directions, they may, or may not, be smaller
>>> than the dc current but they do exist and do flow in both directions.
>>
>> Yes, bullshit. Either that or there is effectively no such thing as a
>> DC power supply.

>I suppose you could take that view if the DC level changes or you switch
>the DC voltage on and off.

You have described AC in a way that will necessarily also encompass
pretty much every DC power supply on the market. This has put you in
your normal position of being the only one marching in step.

Enough of your sophistry.

Jeff

unread,
Feb 5, 2012, 5:10:34 AM2/5/12
to
On
>
>> I suppose you could take that view if the DC level changes or you switch
>> the DC voltage on and off.
>
> You have described AC in a way that will necessarily also encompass
> pretty much every DC power supply on the market. This has put you in
> your normal position of being the only one marching in step.
>
> Enough of your sophistry.
>
> Guy

You very conveniently snipped the next part of the post that said "it
would be silly to classify a DC power supply as AC merely because of
short AC transients caused by varying the voltage or switching on and off".

With a conventional DC power supply (not DCC or PWM) any AC components
make up a small part of the output. With DCC if you remove the AC
components all that you are left with are 2 DC levels +V and -V which
cancel each other out to zero!! You cannot switch between to 2 DC levels
without the AC components, they are there all of the time and are real
and form the major characteristic of the signal i.e the data.

Jeff

Just zis Guy, you know?

unread,
Feb 5, 2012, 6:30:30 AM2/5/12
to
On Sun, 05 Feb 2012 10:10:34 +0000, Jeff <je...@jsystems.com> wrote:

>You very conveniently snipped the next part of the post that said "it
>would be silly to classify a DC power supply as AC merely because of
>short AC transients caused by varying the voltage or switching on and off".

Yes, because that was the point I originally made and which you were
apparently disputing. Since you'd accepted my point but were
continuing to argue that you're right and everybody else wrong I did
not see much point continuing.

Jeff

unread,
Feb 5, 2012, 7:08:13 AM2/5/12
to
On 05/02/2012 11:30, Just zis Guy, you know? wrote:
> On Sun, 05 Feb 2012 10:10:34 +0000, Jeff<je...@jsystems.com> wrote:
>
>> You very conveniently snipped the next part of the post that said "it
>> would be silly to classify a DC power supply as AC merely because of
>> short AC transients caused by varying the voltage or switching on and off".
>
> Yes, because that was the point I originally made and which you were
> apparently disputing. Since you'd accepted my point but were
> continuing to argue that you're right and everybody else wrong I did
> not see much point continuing.
>
> Guy

I think the problem here is one of perception, the problem seem to be
that this is being viewed from the point of view of a motor control
system rather that the general view of how to classify a signal. If the
DCC waveform, or any other pulse waveform for that matter, was being
used in any other electronic application as a means of sending data down
a wire, there is no way that it would be considered as being DC, even
considering the dual purpose of the signal (ie conveying data as well as
a power source after rectification).

Getting back to whether you can classify slowly changing DC or slow on
and off switching of DC as an AC signal, it depends on your point of
view and what information you are trying to recover. If you view it
over a long enough time period then you can recover AC information, the
long integration period being a way to improve the signal to noise ratio
of your measurement. So to one person a slowly changing level or slow
on/off is a DC signal, but to another it is AC data. In a model rail
application it is obviously viewed as DC.

Jeff

manat...@hotmail.com

unread,
Feb 5, 2012, 10:17:38 AM2/5/12
to
On Feb 4, 8:49 pm, Chris <nos...@nospam.com> wrote:
Have you bothered to read the rest of the thread? We've already
established that DCC *is* AC. The DCC signal is rectified to produce
on board DC power for the electronics and motor. The data is then
decoded by looking at the signal before rectification.

> PWM by stretching one's or zero's depending on direction to move the

Wrong again. only zeroes are stretched. It's still AC,but with a
positive or negative DC offset, depending on the desired direction.

> loco. So you could argue its almost DC in that instance and almost AC
> with no DC locos.

No, it's always AC.

MBQ

manat...@hotmail.com

unread,
Feb 5, 2012, 10:21:45 AM2/5/12
to
On Feb 5, 12:08 pm, Jeff <j...@jsystems.com> wrote:
> On 05/02/2012 11:30, Just zis Guy, you know? wrote:
>
> > On Sun, 05 Feb 2012 10:10:34 +0000, Jeff<j...@jsystems.com>  wrote:
>
> >> You very conveniently snipped the next part of the post that said "it
> >> would be silly to classify a DC power supply as AC merely because of
> >> short AC transients caused by varying the voltage or switching on and off".
>
> > Yes, because that was the point I originally made and which you were
> > apparently disputing. Since you'd accepted my point but were
> > continuing to argue that you're right and everybody else wrong I did
> > not see much point continuing.
>
> > Guy
>
>   I think the problem here is one of perception, the problem seem to be
> that this is being viewed from the point of view of a motor control
> system rather that the general view of how to classify a signal. If the
> DCC waveform, or any other pulse waveform for that matter, was being
> used in any other electronic application as a means of sending data down
> a wire, there is no way that it would be considered as being DC,]

No one (apart from you, or was that a typo?) is considering DCC to be
DC. DCC is AC.

MBQ

manat...@hotmail.com

unread,
Feb 5, 2012, 10:20:09 AM2/5/12
to
On Feb 5, 10:10 am, Jeff <j...@jsystems.com> wrote:
> On
>
>
>
> >> I suppose you could take that view if the DC level changes or you switch
> >> the DC voltage on and off.
>
> > You have described AC in a way that will necessarily also encompass
> > pretty much every DC power supply on the market. This has put you in
> > your normal position of being the only one marching in step.
>
> > Enough of your sophistry.
>
> > Guy
>
> You very conveniently snipped the next part of the post that said "it
> would be silly to classify a DC power supply as AC merely because of
> short AC transients caused by varying the voltage or switching on and off".
>
> With a conventional DC power supply (not DCC or PWM) any AC components
> make up a small part of the output. With DCC if you remove the AC
> components all that you are left with are 2 DC levels +V and -V which

If there are no stretched zeroes then DCC is nominally a perfectly
balanced signal and there is no DC component. Remove the AC components
and you are left with nothing.

If stretched zeroes are being used then you will have either a
positive or negative DC component depending on the direction the
unchipped loco is being driven. You clearly can't have both at the
seame time.

MBQ

simon

unread,
Feb 5, 2012, 4:20:19 PM2/5/12
to
Read the first review of Hornby Zero 1 system in MRC, was well ahead of its
time, quite amazing really.

Cheers,
Simon

Message has been deleted
Message has been deleted

manat...@hotmail.com

unread,
Feb 7, 2012, 4:34:03 AM2/7/12
to
On Feb 7, 9:13 am, Jeff <j...@jsystems.com> wrote:

>
> > If stretched zeroes are being used then you will have either a
> > positive or negative DC component depending on the direction the
> > unchipped loco is being driven. You clearly can't have both at the
> > seame time.
>
> > MBQ
>
> Not correct read the spec. In order to keep the average level at zero,
> if +ve stretched bits are in use then the period of the -ve part of the
> 0 data bits are extended so as to average the DC back to zero between
> stretched bits, that is why 0's are allowed to have different length -ve
> and +ve transitions. However, to the motor the fast -ve bits are are not
> seen as well due to the Low pass characteristics of the motor, so the
> motor sees a net +ve (or everything the other way around if you are
> reversing and using -ve stretched bits).

Totally wrong.

Look at the picture in the spec you seem not to have read for
yourself. The positive and negative portions of the stretched zero are
markedly different. That's how a DC bias in imparted to the DCC
waveform to drive an unchipped loco. A "stretched 0" is one which *by
definition* has unequal mark/space ratio.

MBQ

Chris

unread,
Feb 9, 2012, 4:57:06 PM2/9/12
to
It thinks its been agreed that it is not AC as most people understand
and for that matter DVM or MC meters, it but modulated DC that is like
AC. Therefore you need meter that reads modulated DC.

Admittedly wrong about the bit stretching, a long time since I looked at
and just thought +ve was 1 and -ve was 0.

From the view point of a DC motor in zero stretching it is enough DC
like to make it work.

Anyway this thread has proved most interesting reading and brought back
a lot of AC theory I studied many years ago at college.



--
Chris

manat...@hotmail.com

unread,
Feb 10, 2012, 4:21:49 AM2/10/12
to
On Feb 9, 9:57 pm, Chris <nos...@nospam.com> wrote:
No. It's AC, end of.

You need a meter that reads "true RMS" AC instead of a cheap hobbyist
meter that is only calibrated for 50/60Hz sine waves.

MBQ
Message has been deleted

Chris

unread,
Feb 10, 2012, 1:39:04 PM2/10/12
to
That would work if the waveform was "true RMS" AC rather than a DCC signal.

--
Chris

manat...@hotmail.com

unread,
Feb 11, 2012, 2:41:04 PM2/11/12
to
On Feb 10, 6:39 pm, Chris <nos...@nospam.com> wrote:
<sigh>

There's no such thing as "true RMS" AC.

The term "true RMS" is describing the fact that the meter is capable
of measuring the RMS value of any arbitrary waveform, unlike cheap
meters which approximate it but are designed to be reasonably accurate
for a 50/60Hz sine wave.

Since DCC is AC, a true RMS meter will give an accurate voltage
measurement.

MBQ


Message has been deleted

Chris

unread,
Feb 17, 2012, 6:12:34 PM2/17/12
to
On 12/02/2012 11:12, Jeff wrote:
>
>>> That would work if the waveform was "true RMS" AC rather than a DCC
>>> signal.
>>
>> <sigh>
>>
>> There's no such thing as "true RMS" AC.
>>
>> The term "true RMS" is describing the fact that the meter is capable
>> of measuring the RMS value of any arbitrary waveform, unlike cheap
>> meters which approximate it but are designed to be reasonably accurate
>> for a 50/60Hz sine wave.
>>
>> Since DCC is AC, a true RMS meter will give an accurate voltage
>> measurement.
>>
>> MBQ
>>
>>
>
> Correct in as much as it will give the RMS value over the sampling
> period of the meter, but if the mark-space ratios of the DCC signals
> vary over time the reading will fluctuate. Also bear in mind that the
> bandwidth of many DVM's is quite limited and will not give an accurate
> reading on a square wave with fast edges, even if the fundamental
> frequency is with its range.
>
> Jeff
>
Which is what I was alluding to, very well put. Probably more true for
moving coil meters.

--
Chris
0 new messages