Why is there an extra diode in this sketch?

In summary: Free Wheeling Diode. In summary, two diodes are placed before the transistor in order to protect it from reverse breakdown.
  • #1
Femme_physics
Gold Member
2,550
1
Hey guys, I'm trying to wrap my head around this electronic schematics of a PLC, because I've started ladder-programming it. Can anyone explain to me why are there TWO diodes before the transistor? I get that one diode shows an "active" or "inactive" state when it's turned on or not. But why the other diode before the transistor?

Attached is an image of the sketch as well as the entire PDF with the PLC specifications
 

Attachments

  • wiring.jpg
    wiring.jpg
    32.2 KB · Views: 443
  • SC Instruction Sheet-English-20060112 (1).pdf
    403.3 KB · Views: 314
Engineering news on Phys.org
  • #2
Well, answer is very simple. Your PLC use galvanic isolation/separation at the input in fact almost all PLC's use galvanic separation.
And this is why they use photocoupler at the input. And because the input is source/sink type they use bidirectional input optocoupler
http://www.ixysic.com/home/pdfs.nsf/www/LDA110.pdf/$file/LDA110.pdf
 
  • #3
Perhaps there's a subtlety...
Jony's optocoupler is specified "bidirectional",
both of those diodes are light emitting,
one of them will emit light for positive input current, the other for negative.
So the PLC will detect input of either polarity.
The manual shows only positive input, a +24 volt supply is wired there, but it looks like the circuit designer provided for the input to sink current of either polarity. Good thinking, i'd say.

old jim
 
  • #4
Thank you for the clarification!

One thing is still unclear. Why is the diode near Y0 is pointing up and not down? I mean, since C0 = Ground, Y0 should theoretically never be turned on because the current will always prefer to flow where there is no resistance.
 
  • #5
This is a protection diode, so-called a back EMF protection diode.
 
  • #6
LEDs are particularly sensitive to reverse breakdown voltages. For that reason a protection diode will be used where a long line with voltage transients may drive an LED.

But in this case the two parallel zigzag arrows, representing photons from the LEDs to the phototransistor, show that it is a bi-directional coupler. One diode conducts on positive inputs, the other on negative. In this case each diode protects the other from reverse breakdown.
 
  • #7
To continue Jony130s comment - the Diode in the output is sometimes called the Free Wheeling Diode - if the load (shown as a resistor) has any inductance, like a small relay coil, when the output transistor turns off - the inductor has current flowing that can not be instantaneously stopped (it has energy stored in it's magnetic field has to go somewhere). This diode allows the current to continue flowing (free wheel) until all of the energy is dissipated, this typically happens very quickly but without the diode the voltage generated at the at the transistor can cause it to fail.

Example - if the relay coil has 20mA of current, and 0.5mH Inductance, -- and using the switching time of 250nS for a 2N222 Transistor we use:

V = L * dI/dt = 0.25H * ( 20mA / 250nS) = 40V ..this does not sound like much and I just grabbed the numbers. does not include field wiring etc. and this is added to the DC voltage already in the circuit - so pretty easy to get 50 to 100 V across the transistor otherwise... it it typical good practice to place a diode across the coil itself as well - but this diode is to protect the Transistor - because not all electricians/technicians/engineers are perfect.

.
 
  • #8
After reading through the data sheet, I'm disagreeing in part or whole with the suggestions.
While some opto-isolators have two LEDs such that one or the other will activate regardless of the applied polarity, there is no reference to this behavior in the datasheet.
With the open collector outputs, the diodes are not freewheeling as they don't connect to the positive power supply.
So, I believe all extra the diodes are a measure of protection against accidental miswiring. This fits well with the general intent that PLCs be tough, general purpose interfaces.
 
  • Like
Likes dlgoff
  • #9
Mike_In_Plano said:
While some opto-isolators have two LEDs such that one or the other will activate regardless of the applied polarity, there is no reference to this behavior in the [PLC] datasheet.

hmmmm you know what ? you're right. That "bidirectional" was from Jony's isolator datasheet, not the PLC datasheet . my mistake.

Commendable attention to detail, Mike...

old jim
 
Last edited:
  • Like
Likes dlgoff
  • #10
Mike_In_Plano said:
After reading through the data sheet, I'm disagreeing in part or whole with the suggestions.
While some opto-isolators have two LEDs such that one or the other will activate regardless of the applied polarity, there is no reference to this behavior in the datasheet.
So how can you explain this ?
36.PNG
 
  • #11
Well what do you know. Good eye, Jony. That adds considerable weight to the notion they'll take current in either direction as valid input.

Someplace else they defined the switch points as 14 and 16 volts, nominal 15 with two volts hysteresis.
 
  • #12
On the output - I stand corrected - in this case this diode is not going to see Free Wheeling - seems to be primarily for reverse voltage protection on the Transistor ( Mis-wiring, or mis-operaion in the field wring, possibly V-spike in field wiring etc.) As shown the field circuit would not free wheel back though this diode.
 
  • #13
On the output - I stand corrected - in this case this diode is not going to see Free Wheeling - seems to be primarily for reverse voltage protection on the Transistor ( Mis-wiring, or mis-operaion in the field wring, possibly V-spike in field wiring etc.) As shown the field circuit would not free wheel back though this diode.
 
  • #14
Interesting deed - in the square just above where Jony found the source/sink note,
is a cryptic note about output:
max inductive load: 7.2W 24V
... Watts of inductance ?? Watt's up with that ?
That is just the 0.3 amps max ouput transistor current

next line says "output protection internal none"
a roundabout way of specifying that one must add his own protection for inductive loads

Sigh , one must be SOOOO very literal when reading computer specifications. They're always short on verbs , to my thinking..
 

1. Why is there an extra diode in this sketch?

The extra diode is most likely used for reverse voltage protection. This means that it prevents current from flowing in the wrong direction and damaging the circuit.

2. What is the purpose of the extra diode?

The purpose of the extra diode is to protect the circuit from reverse voltage. It ensures that current flows in the correct direction, preventing damage to the circuit.

3. Can the extra diode be removed from the sketch?

Removing the extra diode can potentially cause damage to the circuit, especially if there is a chance of reverse voltage. It is not recommended to remove the diode unless it is no longer needed for its intended purpose.

4. Is the extra diode necessary for the circuit to function?

In most cases, the extra diode is necessary for the circuit to function properly. It serves an important purpose in preventing reverse voltage and protecting the circuit from damage.

5. Are there any alternative components that can be used instead of the extra diode?

There may be alternative components that can serve a similar purpose as the extra diode, such as a Zener diode or a Schottky diode. However, it is important to consult the circuit design and specifications to ensure the alternative component will function properly in place of the extra diode.

Similar threads

  • Electrical Engineering
Replies
14
Views
2K
  • Electrical Engineering
Replies
4
Views
1K
  • Electrical Engineering
Replies
3
Views
3K
Replies
6
Views
67K
Replies
22
Views
2K
  • Atomic and Condensed Matter
Replies
9
Views
7K
  • Electrical Engineering
Replies
4
Views
2K
  • Computing and Technology
Replies
4
Views
5K
  • General Engineering
Replies
2
Views
4K
  • Electrical Engineering
Replies
3
Views
9K
Back
Top