Problems driving a large display with a transistor

  • Thread starter insignia96
  • Start date
  • Tags
    Transistor
In summary: NOT the emitter, to your LED). You might also want to consider using a ballast resistor, to help stabilize the current going to the 7-segment display, instead of spit-balling it with the applied voltage.If you don't have a power supply, or you want to use a power supply other than 5V or 0V, you might want to consider using a 24V power supply and using 150 ohm resistors to control the current.
  • #1
insignia96
4
0
Background:
I am building a giant clock with four, multiplexed, 7 segment displays. The problem is that the displays are five inches tall, each segment consists internally of 10 LEDs wired in series and then three chains of 10 are wired in parallel. The datasheet for this chip is here (PDF WARNING). It lists the max continuous forward voltage as 21V and the max cont. forward current as 60 mA. The display is common anode and it is being driven by a bcd to seven segment chip (active-low outputs, for this type of display).

Here is an exact schematic of the part of my circuit i am using to drive the displays:
http://img338.imageshack.us/img338/8499/pnpsim.png

The reason why it is doing this is still eluding me, but when segments are supposed to be off they are sort of half on.

http://img14.imageshack.us/img14/3874/1215112141.jpg
(Picture of the problem, sorry for the quality, my cellphone was the only camera available)

The problem is very well defined in this picture, in case it wasn't obvious it is trying to display a five and the b and e segments, which should be off, are still half on.

I originally thought this might have been due to the transistor getting turned half of, hence the 10K pull-up resistor in the schematic, but that didn't help.

Also, it may be useful to note that when measured with a multimeter IRL and in sim software the node at the transistor's base reads ~19V. I am almost 100% sure this is related to the problem, but I don't know why the transistors don't just fry up if they are getting 19V across the base.

One more pic that may be useful:
http://img217.imageshack.us/img217/2796/1215112141b.jpg

It shows all 7 transistors (one for each segment), the gray wires lead to the 7447 chip's outputs and the clips are clipped to the proper pins on the display. Also I have checked repeatedly and no clips are touching. This happens with any number I display. FYI the breadboard's power rails are connected to ground and 5V.

Thanks in advance,
Isaiah (insignia96) :)
 
Last edited by a moderator:
Engineering news on Phys.org
  • #2
Unfortunately, your Veb (emitter base voltage) is almost always going to be greater than 0.7V, and it will almost always be on, regardless of whether you attempt to put 5V or 0V at the base. To use the PNP to switch, you'd need to have a voltage close to V1 (21V).

I'd suggest using an NPN, a 2n3904 (the complement of the 3906) or the 2n4401 (higher switching current). Connect the emitter to ground, the base the same, and the collector to your LED. I would ALSO use a ballast resistor to control the current going to the 7-segment, instead of spit-balling it with the applied voltage, which will usually fluctuate (and as you've probably observed, a little bit of fluctuation in the forward voltage changes the current a fair bit). Unless you want characters that require more segments (e.g. 8) to be dimmer than those with less (e.g. 1), you should probably have a resistor going to each segment.
 
  • #3
Your base of the transistor is always much lower than the emitter voltage in both the on and off states, just when your base voltage is in the "on" it is less lower than when its "off" so that the light is less bright, but its still never off because the base never is brought back to 21V to stop current flow.

You need your base pulled up to 21V for it to be off, and then simply sinking it to ground will turn on the transistor. You will either need to use an NPN or change your circuit a bit, and like the guy above said, you should always current limit your LEDs with a resistor unless you know the internal resistance of your voltage source.
 
  • #4
Also if you do the KVL of the circuit, you will see that 21Volts minus the LED drop minus the emitter-base junction will give you around 19V, and so that is just telling you the transistor is on. When the transistor is off, the base should be atleast about 20.5V to 21V (ideally 21V).
 
  • #5
Okay, so based on your previous posting, you're probably 14 or 15 and probably don't have a whole lot of experience / knowledge of circuit analysis.

I'm assuming that you have a microcontroller or microprocessor supplying the '5V' or 0V on the left--generally, this is represented with an open circle and a little note above it, reading 0 or 5V, not a constant 5V supply.

If you have a power supply, I'd recommend bumping the voltage up to 24V and using 150 ohm resistors to control the current. 1/4 W resistors will suffice.

As mentioned previously, use an NPN, either a 2n3904 or a 2n4401, whichever is available, and connect it as per the previous message (connect the resistor in the branch connected to the collector and not between the emitter and ground). I'd get rid of the resistor R1 going to ground, and use a 4.7 kohm resistor for R2. According to my calculations, that should ensure that the transistor turns on and fully saturates when you apply 5V.
 
  • #6
Can we use software like B2Spice to see the input and output characteristics of the any particular component and also the input and output characteristics of the entire circuit? Is there any other better software which can help me do this?
I want to measure the voltage across the variable resistor which is connected in parallel at the output of the amplifier and then I want to measure the voltage across the input resistor which is connected in series at the input of the amplifier. Can I use this software?
 
  • #7
MATLABdude said:
Okay, so based on your previous posting, you're probably 14 or 15 and probably don't have a whole lot of experience / knowledge of circuit analysis.

I'm assuming that you have a microcontroller or microprocessor supplying the '5V' or 0V on the left--generally, this is represented with an open circle and a little note above it, reading 0 or 5V, not a constant 5V supply.

If you have a power supply, I'd recommend bumping the voltage up to 24V and using 150 ohm resistors to control the current. 1/4 W resistors will suffice.

As mentioned previously, use an NPN, either a 2n3904 or a 2n4401, whichever is available, and connect it as per the previous message (connect the resistor in the branch connected to the collector and not between the emitter and ground). I'd get rid of the resistor R1 going to ground, and use a 4.7 kohm resistor for R2. According to my calculations, that should ensure that the transistor turns on and fully saturates when you apply 5V.

Well #1, you guessed right! I am 15, but the last post I made is a bad meter of my current skill level. I was younger and hadn't taken any electronics/physics courses yet. You are also correct in assuming that I don't have much circuit analysis experience.

#2, on the problem, I re-wired the circuit with 2n3904 transistors, the 1k resistor between the input signal and the transistor's base, the 10k pullup from the base to 5V (in retrospect, this should probably be a pulldown resistor, but I can change that later) and then the collector goes to the display through a 150 ohm resistor. I had always planned on using current limiting resistors, but I figured that for quick testing it wasn't a big deal, however they are in the circuit now. Also I obviously had to use a 7448 (common cathode/active high) so the driver works properly.

Anyways, it does work! Thanks to everyone who posted!
 

FAQ: Problems driving a large display with a transistor

1. What is a transistor and how is it used in driving a large display?

A transistor is a semiconductor device that acts as a switch or amplifier for electronic signals. It is commonly used in driving a large display by controlling the flow of current to each individual pixel, allowing them to turn on or off and create images.

2. What are some common problems that can arise when using transistors to drive a large display?

Some common problems include overheating, voltage fluctuations, and mismatched impedance between the transistor and the display. These issues can lead to degraded image quality or even complete failure of the display.

3. How can I troubleshoot problems with driving a large display using transistors?

The first step is to check all connections and make sure they are secure. Next, check the power supply and make sure it is providing the correct voltage. If the display is still not functioning properly, it may be necessary to replace the transistors or consult a professional for further assistance.

4. Can using a higher voltage transistor improve the performance of a large display?

Not necessarily. Using a higher voltage transistor can cause more heat and potentially damage the display if not properly matched with the other components. It is important to choose a transistor with the appropriate voltage and current ratings for the specific display being used.

5. Are there any alternative methods for driving a large display without using transistors?

Yes, there are other methods such as using integrated circuits or specialized display drivers. However, transistors are still commonly used due to their cost-effectiveness and versatility in a wide range of electronic devices.

Back
Top