Back to Basics: Bit Rate vs Baud Rate

This is one of the most confusing questions out there. Folks use these interchangeably without really knowing what is what. Definitions first.

Bit Rate means the number of bits transmitted per sec.

Baud Rate means the number of symbols transmitted per sec.

Now, what the heck is a symbol? The symbol is just a way to wrap information. One signal block can be represented by let’s say 2bits, 5 bits, 6 bits or 32bits depending on how the receiver and transmitter agree. Think of this like a secret communication protocol which you and your friend use to communicate.

Electrically let’s say you want to send 4 voltage levels from 0-3V. I will use 0V – 00, 1V – 01, 2V – 10, 3V – 11. Here each information symbol is encoded by 2 bits. So now if I transmit 1 symbol per second, my baud rate is 1 but my bit rate is 2 bits per second as each symbol contains 2 bits.

Now, where does all the confusion arise from? In let’s say serial communication between embedded devices, you use binary signalling, meaning 1 symbol = 1 bit(either 0 or 1). In this case, the baud rate is always the same as the bit rate. This is one of the reasons you see baud rates and bit rates used interchangeably. Take UART, usually on Windows, the default bit rate is kept as 9600, which is equivalent to 9600 bits per sec. This means 1 bit has a time length of 1/9600 = 104us.

But now to confuse this further, this is not the actual data transfer because UART needs a start bit and a stop bit for every 8bits of actual data. For every 8bit data takes 104us *10 = 1.04ms to transfer. This is the UART protocol overhead. So actual meaningful information bit rate(avoiding protocols) = 8bits every 1.04ms = 7692 bits per second.

Hoping this can clear up most doubts out there on the topic.

If you liked the post, Share it with your friends!

Simplest Constant Current Driver IC

If you are ever trying to drive LEDs in your circuit, you always do it with a constant current driver. You don’t use a constant voltage drive with maybe a resistor to regulate current because not all LEDs are made equal, even in the same batch. The forward voltages of LEDs do change, when that changes, the effective brightness will also change, when you drive it in a constant voltage mode. So whenever you are driving multiple LEDs or want to maintain a constant brightness always use constant current drivers.

Recently ran across AL5809 which is an ultra simple 2-pin constant current driver IC which will fit the package dimensions of small SMD resistors. These come in various options of current regulation from 15mA-150mA. The nice part about this is that you can string multiple of these in parallel and can get even more current in a single channel. So you can use them in a wide variety of LED use cases. Internally it contains a fixed resistor with a current mirror which gets changed in each version of the IC. You need to provide a voltage of at least 2.5V across these terminals more than the series voltage drops of your LEDs. So think of it as adding one LED in series to your LED string to regulate the current.

It does support PWM dimming also with an external MOSFET to dim the brightness from 5% to 95% at a frequency of 100Hz. This is kinda low because if used in photos/video applications, you will see flickering of the LEDs. I do think it can be driven at higher rates but the regulation might not be linear anymore. One major thing to consider for these ICs, is their power dissipation, Whatever the extra voltage is in the rail after adding up the forward voltages of LEDs, should be dissipated in these ICs. So if you have a 24V line and only 2 LEDs with 3V drop each would mean 18V is dropped across this IC. If it’s rated for 150mA, Power dissipation will be 18V*0.15mA = 2.7W which exceeds the package’s thermal capabilities unless you cool it externally.

Anyways nifty little chip, worthwhile considering because of its simplicity, accuracy, price and size in your next LED project.

If you liked the post, Share it with your friends!
1 74 75 76 77 78 117