Author Topic: What is a digital system? Is it only binary or decimal, octal as well?  (Read 25668 times)

0 Members and 3 Guests are viewing this topic.

Offline oslonTopic starter

  • Newbie
  • Posts: 2
  • Country: np
https://www.uobabylon.edu.iq/eprints/publication_12_1733_6174.pdf
I'm here.

I'm wondering what is a digital system? Is it only binary? Or decimal, octal, hexa are also digital system?
 

Online xrunner

  • Super Contributor
  • ***
  • Posts: 7561
  • Country: us
  • hp>Agilent>Keysight>???
Re: What is a digital system? Is it only binary or decimal, octal as well?
« Reply #1 on: October 19, 2023, 01:50:07 am »
Digital fundamentally uses 0 and 1, that's binary. But if you want to group the ones and zeros as groups of three then you have octal like 777 (111 111 111) or 330 (011 011 000), etc, or groups of four for Hex like FFFF (1111 1111 1111 1111). Nevertheless it's still digital at the lowest level.
« Last Edit: October 19, 2023, 03:36:54 am by xrunner »
I told my friends I could teach them to be funny, but they all just laughed at me.
 

Offline EPAIII

  • Super Contributor
  • ***
  • Posts: 1106
  • Country: us
Re: What is a digital system? Is it only binary or decimal, octal as well?
« Reply #2 on: October 19, 2023, 02:20:49 am »
"Digital" is used as the opposite of "Analog". Both are ways of doing calculations or logical decisions in a machine. And both can use various technologies, such as electronic, electric, mechanical, pneumatic, hydraulic, and probably others.

An analog type of system uses a physical representation of a value or state. And this representation can, in theory, have an unlimited level of resolution. So, using a mathematical device, an old fashioned slide rule can be set to any place along it's scale. There is no theoretical limit on where it can be set within it's range. However it's accuracy is limited by real world considerations in setting or reading these values.

A digital system uses numbers to represent a value or state. These numbers can be of any base (10, 2/binary, 8/octal, 16/hexadecimal, etc.)  There are ways to work around this, but in general, a digital system will be limited to a certain number of digits in the number system that it uses. So the accuracy of most digital systems is limited by the number of digits and the number of those digits used in the base that is selected.

Although it may sound like digital would be more limited in accuracy, often it is the better of the two. Analog is usually limited by the ability to either set or read out an analog value while digital allows any number of digits to be easily entered or read out.

But then, it should be remembered that most digital systems rely on conversions from and/or back to analog. Only the calculations or decision making is done in the digital realm.
Paul A.  -   SE Texas
And if you look REAL close at an analog signal,
You will find that it has discrete steps.
 

Online themadhippy

  • Super Contributor
  • ***
  • Posts: 2751
  • Country: gb
Re: What is a digital system? Is it only binary or decimal, octal as well?
« Reply #3 on: October 19, 2023, 03:06:27 am »
I was taught that digital can only be  1 or 0  and has something to do with a=a2
 

Offline TimFox

  • Super Contributor
  • ***
  • Posts: 8039
  • Country: us
  • Retired, now restoring antique test equipment
Re: What is a digital system? Is it only binary or decimal, octal as well?
« Reply #4 on: October 19, 2023, 03:37:49 am »
"Digital" comes from counting on one's digits:  the steps are discrete.
"Binary" comes from having two choices:  1 or 0.
A "digital voltmeter" normally reads out in base 10, i.e. decimal.
There is more to "digital" than "binary".
 
The following users thanked this post: EPAIII, ebastler, tooki, gerber, oslon

Offline golden_labels

  • Super Contributor
  • ***
  • Posts: 1277
  • Country: pl
Re: What is a digital system? Is it only binary or decimal, octal as well?
« Reply #5 on: October 19, 2023, 03:39:19 am »
More or less what EPAIII said. Digital systems work with discrete values. There is no limit to the number of states.

Binary signals are most common, due to simplicity of implementation and highest resilence to noise. But this is not a hard limitation. Negabinary (e.g. UMC-1, UMC-10 computers) and ternary were seen in the past, balanced ternary is used now in experimental solutions due to its compatibility with light-based computing, your flash memory is likely using octal or hexadecimal, wireless commonly uses 256 digits, and there QAM can nowadays go up to 32768 states.
People imagine AI as T1000. What we got so far is glorified T9.
 
The following users thanked this post: EPAIII, tooki

Offline pdenisowski

  • Frequent Contributor
  • **
  • Posts: 752
  • Country: us
  • Product Management Engineer, Rohde & Schwarz
    • Test and Measurement Fundamentals Playlist on the R&S YouTube channel
Re: What is a digital system? Is it only binary or decimal, octal as well?
« Reply #6 on: October 19, 2023, 11:06:35 am »
"Digital" comes from counting on one's digits

Or, as Tom Lehrer put it, "Octal is decimal without the thumbs"   :-DD
Test and Measurement Fundamentals video series on the Rohde & Schwarz YouTube channel:  https://www.youtube.com/playlist?list=PLKxVoO5jUTlvsVtDcqrVn0ybqBVlLj2z8
 
The following users thanked this post: tooki, schmitt trigger

Offline Siwastaja

  • Super Contributor
  • ***
  • Posts: 8271
  • Country: fi
Re: What is a digital system? Is it only binary or decimal, octal as well?
« Reply #7 on: October 19, 2023, 12:07:34 pm »
Or decimal, octal, hexa are also digital system?

Yes, by very definition. Digital systems use discrete numbers, "digits". Underlying implementation is irrelevant, although it is often binary. Binary representations are subset of digital representations.
 
The following users thanked this post: tooki

Offline Dan123456

  • Regular Contributor
  • *
  • Posts: 199
  • Country: au
Re: What is a digital system? Is it only binary or decimal, octal as well?
« Reply #8 on: October 19, 2023, 12:50:39 pm »
I always thought all digital systems are fundamentally binary as they are looking for an on or off.

In my mind Hex, Oct, Decimal etc. are still looking for an on or off but just over a range.

i.e. an IC says “do I have exactly 1V, 2V, 3v, etc.” Therefore it is still looking for a on or off aka a 1 or a 0.

That said, maybe my understanding is flawed  :P
 

Online xrunner

  • Super Contributor
  • ***
  • Posts: 7561
  • Country: us
  • hp>Agilent>Keysight>???
Re: What is a digital system? Is it only binary or decimal, octal as well?
« Reply #9 on: October 19, 2023, 12:54:47 pm »
I'm wondering what is a digital system? Is it only binary? Or decimal, octal, hexa are also digital system?

Back in the day you could fiddle with the the computer's physical binary switches right in front of you, and be a real man - program it directly 1's and 0's.  :-+
I told my friends I could teach them to be funny, but they all just laughed at me.
 
The following users thanked this post: Dan123456

Offline golden_labels

  • Super Contributor
  • ***
  • Posts: 1277
  • Country: pl
Re: What is a digital system? Is it only binary or decimal, octal as well?
« Reply #10 on: October 19, 2023, 01:38:21 pm »
Real men program it directly with 1s and 0s.
Real programmers program it directly with cables.
People imagine AI as T1000. What we got so far is glorified T9.
 
The following users thanked this post: Dan123456

Offline tggzzz

  • Super Contributor
  • ***
  • Posts: 19884
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
Re: What is a digital system? Is it only binary or decimal, octal as well?
« Reply #11 on: October 19, 2023, 03:17:16 pm »
I always thought all digital systems are fundamentally binary as they are looking for an on or off.

Nope. Digital systems are quantised.

Some are ternary, e.g. +1,0,-1. Others have many more levels, e.g. QAM up to 8 bits per symbol https://en.wikipedia.org/wiki/Qam , or flash memory which can store 3 or more bits in each cell https://en.wikipedia.org/wiki/Triple-level_cell
There are lies, damned lies, statistics - and ADC/DAC specs.
Glider pilot's aphorism: "there is no substitute for span". Retort: "There is a substitute: skill+imagination. But you can buy span".
Having fun doing more, with less
 
The following users thanked this post: tooki

Offline khs

  • Regular Contributor
  • *
  • Posts: 130
  • Country: de
Re: What is a digital system? Is it only binary or decimal, octal as well?
« Reply #12 on: October 19, 2023, 04:33:44 pm »
Nope. Digital systems are quantised.

Hmmmm: Maybe Mr. Heisenberg would say: All is quantised. >:D
 

Offline tggzzz

  • Super Contributor
  • ***
  • Posts: 19884
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
Re: What is a digital system? Is it only binary or decimal, octal as well?
« Reply #13 on: October 19, 2023, 04:47:06 pm »
Nope. Digital systems are quantised.

Hmmmm: Maybe Mr. Heisenberg would say: All is quantised. >:D

I like to point out that the outputs of digital circuits are analogue waveforms that are interpreted as by an input as a digital signal. Your measuring device (e.g. a scope) might interpret the waveforms differently, especially if there is analogue "noise" around.

The only digital waveforms people are likely to encounter are femtoamp and photon counting circuits :)
There are lies, damned lies, statistics - and ADC/DAC specs.
Glider pilot's aphorism: "there is no substitute for span". Retort: "There is a substitute: skill+imagination. But you can buy span".
Having fun doing more, with less
 
The following users thanked this post: tooki

Offline TimFox

  • Super Contributor
  • ***
  • Posts: 8039
  • Country: us
  • Retired, now restoring antique test equipment
Re: What is a digital system? Is it only binary or decimal, octal as well?
« Reply #14 on: October 19, 2023, 04:48:29 pm »
I have been reading several histories of mathematics, with discussions ranging back to prehistory.
Base 5 and Base 10, using literal digits (fingers), are found in primitive societies, and Aristotle noticed the relationship between decimal notation and human hands.
Before computational aids, such as tally boards, some societies added the gaps between knuckles and other anatomical features to count past 10 or 20 (adding toes).
Sumerians may have been able to count in their Base 60 format (which still persists in time and angle measurement today) before writing numbers in cuneiform.
A tribe in Papua New Guinea was documented in 1994 using lots of body parts, including the naughty bits, to reach 33, counting by anatomy.
Late in the first millenium, the Venerable Bede calculated using finger flexing, reaching 0 to 9 with three fingers, and up to 9,999 with two hands.
These early examples are all digital, counting only the "natural numbers" (mathematical term for the positive integers starting with 1).
A recent popular survey of such systems is Chapter 1 of Keith Houston: Empire of the Sum:  The rise and reign of the pocket calculator W W Norton 2023.
Binary means 0 or 1, Quinary means 1 to 5, Decimal means 1 to 10 or 0 to 9, etc.
"Vides ut primos discentes computos digitos tarda agitatione deflicant?"  Firmicus Maternus
(Do you see how awkwardly beginners in computation bend their fingers?)
« Last Edit: October 19, 2023, 11:03:10 pm by TimFox »
 
The following users thanked this post: schmitt trigger, rhodges

Offline TimFox

  • Super Contributor
  • ***
  • Posts: 8039
  • Country: us
  • Retired, now restoring antique test equipment
Re: What is a digital system? Is it only binary or decimal, octal as well?
« Reply #15 on: October 19, 2023, 09:44:17 pm »
Nope. Digital systems are quantised.

Hmmmm: Maybe Mr. Heisenberg would say: All is quantised. >:D

I like to point out that the outputs of digital circuits are analogue waveforms that are interpreted as by an input as a digital signal. Your measuring device (e.g. a scope) might interpret the waveforms differently, especially if there is analogue "noise" around.

The only digital waveforms people are likely to encounter are femtoamp and photon counting circuits :)

The analog waveforms present at the connector become digital after passing a threshold, like a camel passing through the eye of a needle.
 

Offline JeremyC

  • Regular Contributor
  • *
  • Posts: 148
  • Country: us
Re: What is a digital system? Is it only binary or decimal, octal as well?
« Reply #16 on: October 19, 2023, 10:55:54 pm »
https://www.uobabylon.edu.iq/eprints/publication_12_1733_6174.pdf
I'm here.

I'm wondering what is a digital system? Is it only binary? Or decimal, octal, hexa are also digital system?

Since last few years it’s new, trendy terminology “system” the same as “analog system” :) ...just ignore it :)
People are being bored and starting to  reinventing the wheel :)
 

Offline alligatorblues

  • Regular Contributor
  • *
  • Posts: 155
  • Country: us
Re: What is a digital system? Is it only binary or decimal, octal as well?
« Reply #17 on: October 20, 2023, 03:01:44 am »
Most electronic devices are analog and digiital. The parts of the device that interact with the physical world are analog. Meter and scope inputs, digital thermometers, cell phones, or  anything that transforms a real-world reading to a digital readout. Analog components are susceptible to corruption due to various forms of interference and degradation. The beginning of the digital side is sampling. The analog component is sampled at various points. Each sample is assigned a number. In this process, the samples are reduced to binary, or base 2, for use in processing by mcu's, cpu's, and mask roms.

The advantage to digital is error checking. The digital representation will never degrade. Each group of bits is put through a hashsum algorithm when it is transmitted, which appends some bits to the packet.  Those bits are stripped off and stored at the receiving end. The original data is left, and it is hashsummed the same way. The bits stripped off are put back, and if the packets are identical, the receiving end instructs to send the next packet.

Transmitting a digital signal requires about 1/10 the power of an analog signal, and the signal quality is vastly superior. And, if it wasn't for digital electronics, there would be  no digital LCD readouts, only nixie tubes.Practically every electronic device interacts with the real world, so they use both analog and digital. Even computer moniitors process in digital, but convert the image to analog.
 
 

Offline Mr.B

  • Supporter
  • ****
  • Posts: 1244
  • Country: nz
Re: What is a digital system? Is it only binary or decimal, octal as well?
« Reply #18 on: October 20, 2023, 03:24:18 am »
A tribe in Papua New Guinea was documented in 1994 using lots of body parts, including the naughty bits, to reach 33, counting by anatomy.

And Women could count to 34...  :o

Sorry, I couldn't miss that opportunity.
Where are we going, and why are we in a handbasket?
 

Offline TimFox

  • Super Contributor
  • ***
  • Posts: 8039
  • Country: us
  • Retired, now restoring antique test equipment
Re: What is a digital system? Is it only binary or decimal, octal as well?
« Reply #19 on: October 20, 2023, 03:30:12 am »
Most electronic devices are analog and digiital. The parts of the device that interact with the physical world are analog. Meter and scope inputs, digital thermometers, cell phones, or  anything that transforms a real-world reading to a digital readout. Analog components are susceptible to corruption due to various forms of interference and degradation. The beginning of the digital side is sampling. The analog component is sampled at various points. Each sample is assigned a number. In this process, the samples are reduced to binary, or base 2, for use in processing by mcu's, cpu's, and mask roms.

The advantage to digital is error checking. The digital representation will never degrade. Each group of bits is put through a hashsum algorithm when it is transmitted, which appends some bits to the packet.  Those bits are stripped off and stored at the receiving end. The original data is left, and it is hashsummed the same way. The bits stripped off are put back, and if the packets are identical, the receiving end instructs to send the next packet.

Transmitting a digital signal requires about 1/10 the power of an analog signal, and the signal quality is vastly superior. And, if it wasn't for digital electronics, there would be  no digital LCD readouts, only nixie tubes.Practically every electronic device interacts with the real world, so they use both analog and digital. Even computer moniitors process in digital, but convert the image to analog.

Nixie tubes are used in digital systems.  The digital representation of the discrete value is decoded to select one of 10 (or more) discrete electrodes in the Nixie tube for display.
Segmented LED or LCD readouts decode the value into a selection of an appropriate pattern of segments.
This is all done with digital logic circuits.

Perhaps you are confusing Nixie tubes (gas-discharge glow devices) with cathode-ray tubes (that can display continuous waveforms)?
« Last Edit: October 20, 2023, 02:08:53 pm by TimFox »
 
The following users thanked this post: tooki

Offline EPAIII

  • Super Contributor
  • ***
  • Posts: 1106
  • Country: us
Re: What is a digital system? Is it only binary or decimal, octal as well?
« Reply #20 on: October 20, 2023, 06:17:49 am »
Perhaps Tim Fox put it well and succinctly: "'Digital' comes from counting on one's digits:  the steps are discrete." Discrete steps are the essence of digital. And digital may have come from counting on one's fingers, but digital systems are not limited to ten digits. Hexadecimal, which adds six additional digits (usually A - F are used) to the ten decimal digits for a total of sixteen. Some cultures have used as many as 60 digits.

And again he says that, "'Binary' comes from having two choices:  1 or 0." So binary is just one of many digital systems.

Binary is so popular as a digital system because it is a lot easier to implement just two states in electronic systems. Things like mechanical adding machines and calculators were made using base ten, our common counting system which was derived from our ten fingers. They were true digital devices, but not binary based. there were ten buttons in each of the "place" columns. Eighty, ninety, or even a hundred or more keys was not unusual. A mechanical wheel with ten divisions on it was used to display each digit. But mechanical computational devices were both expensive and hard to keep running without routine maintenance or repairs. Electronic devices were more reliable with almost zero maintenance. But when things were to be made with electrical and electronic devices, it became a lot harder to have ten separate states. Yes, you could represent ten values with 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9 Volts. But then, consider how expensive circuits that can distinguish those ten values would be. With electric and electronic devices it is a lot easier and less expensive to use only two values: ON and OFF, HI and LOW, Current and No Current, etc. Also logic circuits could be implemented with devices that have only two possible states because traditional logic has only two values: True and False. Thus binary was used when electronic devices were developed. And it is all due to economics that we now have the world where digital is almost synonymous with binary. Electronic circuits are a lot cheaper than mechanical devices and binary circuits are a lot cheaper than those that would use other numeric bases.

So binary and digital are not the same. Binary is a sub-set of digital. Binary is digital. But digital is not always binary.

And the person who said, "Follow the money." is oh so right.



I always thought all digital systems are fundamentally binary as they are looking for an on or off.

In my mind Hex, Oct, Decimal etc. are still looking for an on or off but just over a range.

i.e. an IC says “do I have exactly 1V, 2V, 3v, etc.” Therefore it is still looking for a on or off aka a 1 or a 0.

That said, maybe my understanding is flawed  :P
Paul A.  -   SE Texas
And if you look REAL close at an analog signal,
You will find that it has discrete steps.
 
The following users thanked this post: tooki, gerber

Offline EPAIII

  • Super Contributor
  • ***
  • Posts: 1106
  • Country: us
Re: What is a digital system? Is it only binary or decimal, octal as well?
« Reply #21 on: October 20, 2023, 06:26:05 am »
Been there! Done that!

Yes, I actually wrote programs and input them that way.

It isn't fun. Slow process so you have a very large incentive to minimize your code. But it did work. The machine in your photo is a lot nicer than the one I programmed. Mine had simple toggle switches and not near as many. That one looks like a dream by comparison.

Oh, and I didn't get the tee shirt. Wish I had.



I'm wondering what is a digital system? Is it only binary? Or decimal, octal, hexa are also digital system?

Back in the day you could fiddle with the the computer's physical binary switches right in front of you, and be a real man - program it directly 1's and 0's.  :-+
« Last Edit: October 20, 2023, 06:29:41 am by EPAIII »
Paul A.  -   SE Texas
And if you look REAL close at an analog signal,
You will find that it has discrete steps.
 

Offline tggzzz

  • Super Contributor
  • ***
  • Posts: 19884
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
Re: What is a digital system? Is it only binary or decimal, octal as well?
« Reply #22 on: October 20, 2023, 08:15:14 am »
    A: Because it messes up the order in which people normally read text.

    Q: Why is top-posting such a bad thing?

    A: Top-posting.

    Q: What is the most annoying thing in e-mail posted responses?


Been there! Done that!

Yes, I actually wrote programs and input them that way.

It isn't fun. Slow process so you have a very large incentive to minimize your code. But it did work. The machine in your photo is a lot nicer than the one I programmed. Mine had simple toggle switches and not near as many. That one looks like a dream by comparison.

Oh, and I didn't get the tee shirt. Wish I had.



I'm wondering what is a digital system? Is it only binary? Or decimal, octal, hexa are also digital system?

Back in the day you could fiddle with the the computer's physical binary switches right in front of you, and be a real man - program it directly 1's and 0's.  :-+
There are lies, damned lies, statistics - and ADC/DAC specs.
Glider pilot's aphorism: "there is no substitute for span". Retort: "There is a substitute: skill+imagination. But you can buy span".
Having fun doing more, with less
 
The following users thanked this post: pdenisowski, gerber

Offline tggzzz

  • Super Contributor
  • ***
  • Posts: 19884
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
Re: What is a digital system? Is it only binary or decimal, octal as well?
« Reply #23 on: October 20, 2023, 08:17:11 am »
I always thought all digital systems are fundamentally binary as they are looking for an on or off.

Nope. Digital systems are quantised.

Some are ternary, e.g. +1,0,-1. Others have many more levels, e.g. QAM up to 8 bits per symbol https://en.wikipedia.org/wiki/Qam , or flash memory which can store 3 or more bits in each cell https://en.wikipedia.org/wiki/Triple-level_cell

Forgot the most important 4-level digital system, where the symbols are C, A, G, T.
There are lies, damned lies, statistics - and ADC/DAC specs.
Glider pilot's aphorism: "there is no substitute for span". Retort: "There is a substitute: skill+imagination. But you can buy span".
Having fun doing more, with less
 
The following users thanked this post: tooki, gerber

Offline TimFox

  • Super Contributor
  • ***
  • Posts: 8039
  • Country: us
  • Retired, now restoring antique test equipment
Re: What is a digital system? Is it only binary or decimal, octal as well?
« Reply #24 on: October 20, 2023, 02:07:47 pm »
Perhaps Tim Fox put it well and succinctly: "'Digital' comes from counting on one's digits:  the steps are discrete." Discrete steps are the essence of digital. And digital may have come from counting on one's fingers, but digital systems are not limited to ten digits. Hexadecimal, which adds six additional digits (usually A - F are used) to the ten decimal digits for a total of sixteen. Some cultures have used as many as 60 digits.

And again he says that, "'Binary' comes from having two choices:  1 or 0." So binary is just one of many digital systems.

Binary is so popular as a digital system because it is a lot easier to implement just two states in electronic systems. Things like mechanical adding machines and calculators were made using base ten, our common counting system which was derived from our ten fingers. They were true digital devices, but not binary based. there were ten buttons in each of the "place" columns. Eighty, ninety, or even a hundred or more keys was not unusual. A mechanical wheel with ten divisions on it was used to display each digit. But mechanical computational devices were both expensive and hard to keep running without routine maintenance or repairs. Electronic devices were more reliable with almost zero maintenance. But when things were to be made with electrical and electronic devices, it became a lot harder to have ten separate states. Yes, you could represent ten values with 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9 Volts. But then, consider how expensive circuits that can distinguish those ten values would be. With electric and electronic devices it is a lot easier and less expensive to use only two values: ON and OFF, HI and LOW, Current and No Current, etc. Also logic circuits could be implemented with devices that have only two possible states because traditional logic has only two values: True and False. Thus binary was used when electronic devices were developed. And it is all due to economics that we now have the world where digital is almost synonymous with binary. Electronic circuits are a lot cheaper than mechanical devices and binary circuits are a lot cheaper than those that would use other numeric bases.

So binary and digital are not the same. Binary is a sub-set of digital. Binary is digital. But digital is not always binary.

And the person who said, "Follow the money." is oh so right.



I always thought all digital systems are fundamentally binary as they are looking for an on or off.

In my mind Hex, Oct, Decimal etc. are still looking for an on or off but just over a range.

i.e. an IC says “do I have exactly 1V, 2V, 3v, etc.” Therefore it is still looking for a on or off aka a 1 or a 0.

That said, maybe my understanding is flawed  :P

With respect to mechanical calculators and cash registers:
Again, this is discussed in that book about pocket calculators.
With non-decimal monetary systems, such as pounds-shillings-pence, the mechanical dials could be designed to count decimal (for pounds) and  base 12 or 20 for the other two denominations.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf