Take the 2-minute tour ×
Electrical Engineering Stack Exchange is a question and answer site for electronics and electrical engineering professionals, students, and enthusiasts. It's 100% free, no registration required.
  1. From http://en.kioskea.net/contents/pc/bus.php3

    A computer bus is characterised by the amount of information that can be transmitted at once. This amount, expressed in bits, corresponds to the width of the bus, i.e. the number of physical lines over which data is sent simultaneously. A 32-wire ribbon cable can transmit 32 bits in parallel. The term "width" is used to refer to the number of bits that a bus can transmit at once.

    Additionally, the bus speed is also defined by its frequency (expressed in Hertz), the number of data packets sent or received per second. Each time that data is sent or received is called a cycle.

    This way, it is possible to find the maximum transfer speed of the bus, the amount of data which it can transport per unit of time, by multiplying its width by its frequency.

    A bus with a width of 16 bits and a frequency of 133 MHz, therefore, has a transfer speed equal to: 16 * 133*10^6 = 2128*10^6 bit/s.

  2. Also if I understand correctly, a signal/data transmitted in a computer bus is actually an electrical current with its electricity frequency. The power supply unit on the power chord for a computer is a AC->DC converter, so is the electricity frequency zero in computer buses?

I wonder if the bus frequency and the electricity current frequency are the same concept? If not, how are they related?

Also if I understand correctly, cables such as USB cables and Ethernet cables are also computer buses. So the above questions are asked for them too.

Thanks!

share|improve this question
    
possible duplicate of Generation of clock signals –  stevenvh Aug 28 '12 at 16:35
1  
How is it duplicate? –  Tim Aug 28 '12 at 16:37
add comment

4 Answers

up vote 4 down vote accepted

I think what might be missing here in your understanding is that when we send information on a computer bus, we are sending digital information. Bits are represented with two states, '1' or '0' - or simply "on" and "off". A string of bits represents a number in base 2. We represent these two states (1 and 0) with discrete voltage levels, for the sake of simplicity, something like +5V and 0V respectively (different devices may use different levels to represent their bits but the principle is the same).

So when we talk about a computer bus having a frequency, we're talking about how quickly it can toggle a bit - or a single wire in this case - from a logic '1' to a logic '0' or vice versa as this will determine the maximum bandwidth the bus is capable of (at the bit rate level). To further divide computer buses into categories, there are parallel buses and serial buses. A parallel bus breaks out the individual bits of a base 2 number (typically an address or data value) and gives each one a wire. Thus, the calculation that was quoted holds true for parallel buses. Then there are serial buses for something like USB like you mentioned. On a serial bus, all bits are sent on a single wire (two wires in USB's case, but they are a differential pair, so you can think of it as one wire). The bit rate calculation for that would simply be its maximum "toggling" frequency.

You should not try to relate the above with a sinusoidal AC signal frequency found in AC power. Yes you are correct in that a DC voltage should have a theoretical frequency of 0 - but in the context of digital communication we are not really interested in that.

share|improve this answer
    
Thanks! In digital electrical circuits, does electromagnetic field/wave affect the transmission of the electronic signal, as it does to electrical transmission of radio frequency? –  Tim Aug 28 '12 at 17:58
1  
@Tim, it certainly can! When operating at high speeds or in a very noisy environment, it can become a problem. It's only really a problem though if it is strong enough to flip a bit or make a bit ambiguous to interpret on the other end. Some related topics that you may find interesting: cross-talk, differential signalling, PCB noise reducing techniques in general. A lot of protocols tend to have checksums with their transmissions for this reason. –  Jon L Aug 28 '12 at 18:22
add comment

The quote you provided regarding the flow of information on a computer bus is basically correct, but I think you are confusing the electrical signals in a computer that convey information with those that convey only power. The wires that carry power generally do not also carry information, so they are d.c. signals. The voltage on wires that carry information must change with time. Your example of the USB bus actually includes both types of wires. Two of the wires in a USB cable carry power and two other wires carry information.

share|improve this answer
    
Thanks! For USB cable, do the two wires that carry power carry analogue current, and the two wires that carry information carry digital signal? –  Tim Aug 29 '12 at 3:40
    
To me, an analog voltage/current conveys information by its magnitude...the magnitude of the voltage/current is somehow related to some physical parameter of interest (temperature, pressure, etc.). The voltage and current in power wires convey no information at all, they just provide power to the connected device. You might say that the voltage/current is analog in the sense that its magnitude is typically measured in volts/amps instead of 1 or 0, but the intent is different. –  Joe Hass Aug 29 '12 at 14:37
add comment
  1. The quote from the link is only superficially accurate. It is good enough for this discussion, but that's about it. Reality imposes some limitations. For example, a 32-wire ribbon cable will require some grounds and other control signals so the actual number of data bits will be less-- sometimes much less. Also, that link assumes that you get one word per clock. That is OK for a theoretical maximum bandwidth, but the actual bandwidth will usually be lower than that.

  2. Bus speed and the frequency of the AC power are completely independent. There are devices inside that generate the proper frequency (whatever that is). These devices are usually quartz crystals that resonate at the require frequency.

share|improve this answer
add comment

Everything inside a computer is electric. Electrons are needed to go through devices in order to perform their duties. Starting from the PCB, where the connections between devices are made, then going up to basic resistors, capacitors, then diodes, transistors, ICs, everything powered by electricity and needs electricity to work.

When you say electric, don't think large currents, power lines and such, think electrons, and when you say bus, thing a number of wires in parallel which have (small) electrical current running through. When you say frequency, think switching frequency, going from zero to full and back ("full" being different limits for each device) -- like indian smoke signals.

As for the way the electricity is used by each, the power supply deals large currents, convert them into high-frequency, high-voltage pulses and then smoothens them out to supply the power ( http://en.wikipedia.org/wiki/Switched-mode_power_supply ). The DC voltage is then used to supply all the ICs inside, which are working in a similar switching manner, only at higher frequency and lower voltage. Also, they are inter-connected by buses, which are nothing more than, as the description you gave says, parallel wires.

Therefore, what you name " bus frequency" and "electricity current frequency" are one and the same, only performed differently. Think two teachers: one at junior high and the other at university, they're both teachers but they both do it differently.

So, the computer buses are electrical, as are power supplies, they work and communicate with switching frequency, but each do it differently. While sticking your hand inside a power supply will grant you the chance of an electrocution, doing it inside a bus will not. In fact there are other fenomenons that may even make you burn the ICs on the bus (static electricity). Hopefully I managed to clear up the fog a bit.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.