1N135 Optocoupler : Pspice Replacement

Alec_t

Joined Sep 17, 2013
15,119
Your HV supply is now virtually shorted by R19 (0.1 Ohms). Why is R19 there? It also shunts R7.
R7 value is shown as "10M". In an LTspice simulation that means 10 milliohm, not 10 Megohm. Which value do you intend?
 

bertus

Joined Apr 5, 2008
22,938
Hello,

I see several mistakes at the connection points in the schematic.
I used some in and out tags to show you where you made the mistakes:

Ihern_HV pulse.png

The image may look a bit strange, but I made the changes in KolourPaint.

Bertus
 

Thread Starter

lhern034

Joined Oct 23, 2017
46
Your HV supply is now virtually shorted by R19 (0.1 Ohms). Why is R19 there? It also shunts R7.
R7 value is shown as "10M". In an LTspice simulation that means 10 milliohm, not 10 Megohm. Which value do you intend?


The reason the R19 is there is so the Pspice would simulate. the R7 is there just to forfiill the schematic.
 

Thread Starter

lhern034

Joined Oct 23, 2017
46
Hello,

I see several mistakes at the connection points in the schematic.
I used some in and out tags to show you where you made the mistakes:

View attachment 138594

The image may look a bit strange, but I made the changes in KolourPaint.

Bertus
Thanks, but I don't think I have an idea on how to solve this. Here is my attempt:



upload_2017-11-3_18-54-9.png

It gets a little better in terms of magnitude but the pulses are not aligned any more:

upload_2017-11-3_18-55-5.png
 

Alec_t

Joined Sep 17, 2013
15,119
I think the input voltage is way too high. Do a reality check. 100V would put nearly 0.5A through the opto-diode. In the post #23 circuit shouldn't the 0-45V figure be 0-4.5V ?
 

Thread Starter

lhern034

Joined Oct 23, 2017
46
I think the input voltage is way too high. Do a reality check. 100V would put nearly 0.5A through the opto-diode. In the post #23 circuit shouldn't the 0-45V figure be 0-4.5V ?
I tried changing the voltage like you said, but I seem to be getting the same results with the current on that diode being in the fA range. I also tried running the test to 1000ms and it did make the magnitude a little larger. in the uV but not in the 100V range. the new voltage that gives this higher output is 45V
 

Alec_t

Joined Sep 17, 2013
15,119
I can't find any data for the EL7144 mosfet driver IC, so don't know its characteristics. Do you have Spice models for any other drivers to try?
What voltage are you seeing at the FET gate?
 

Alec_t

Joined Sep 17, 2013
15,119
Here's my LTspice sim of the circuit. Note that the input to the opto has a ground reference. Perhaps Pspice needs one too?
Note also the input pulse amplitude is only 5V and the frequency is 100 times lower than in your sim, to give the cap (C1) time to charge fully.
HighVoltagePulser.PNG
 

Thread Starter

lhern034

Joined Oct 23, 2017
46
I can't find any data for the EL7144 mosfet driver IC, so don't know its characteristics. Do you have Spice models for any other drivers to try?
What voltage are you seeing at the FET gate?
Hello, sorry for the late reply. There does not seem to be much voltage in its output
there was a difference in terms of the input currents between the MOSFET i placed and the MOSFET used
 

Thread Starter

lhern034

Joined Oct 23, 2017
46
Here's my LTspice sim of the circuit. Note that the input to the opto has a ground reference. Perhaps Pspice needs one too?
Note also the input pulse amplitude is only 5V and the frequency is 100 times lower than in your sim, to give the cap (C1) time to charge fully.
View attachment 138825
I like the schematic you have created and it might be useful for my project. I just don't know what I can replace LM5114A with in Pspice
 

Thread Starter

lhern034

Joined Oct 23, 2017
46
Try any FET-driver model available in Pspice.
upload_2017-11-14_20-51-2.png
On the left is the component for a complex driver (MFET driver) while on the right are 2 parts of a MosFET diver like the IC that was supposed to be used. I'm going to try the left one first,because it looks like your simulation, unless you think its suppose to be the one on the right.
 

bertus

Joined Apr 5, 2008
22,938
Hello,

You can not connect the base pin of the opto to the powersupply.
The 6N135 has other connections and has a diode in the base of the transistor.

Bertus
 

Bordodynov

Joined May 20, 2015
3,426
My model:
.SUBCKT 6N136 2 3 5 6 8 7
* ANODE CATHODE EMITTER col phkat BAZA
* Current Transfer Ratio (CTR)=(H*G*BF)=19%
VM 2 60
D1 60 3 LED
d2 2 3 ledc
H1 70 0 VM .00152 ; 6N135 0.00056 (CTR) = (H*G*BF) = 7%
R1 70 80 1K
C1 80 0 80PF
G1 8 7 80 0 1
d3 7 8 phd
Q1 6 7 5 QOPTO
.MODEL LED D(N=2.63 RS=1.25 IS=757f)
.MODEL LEDc D(N=5 RS=1.25 CJO=60PF IS=10p)
.model phd d cjo=5p is=1p
.MODEL QOPTO NPN(IS=7p NF=1.23 CJC=2PF
+ CJE=7PF TF=.55NS TR=10NS BF=125 BR=10
+ IKF=100MA VAF=100)
.ENDS
 

Thread Starter

lhern034

Joined Oct 23, 2017
46
Hello,

You can not connect the base pin of the opto to the powersupply.
The 6N135 has other connections and has a diode in the base of the transistor.

Bertus
thanks but I think that the error has to do with MAX626 and the V1 voltage source aka ' 12dc', also my Pspice doesn't seem to recognize 6N135
 
Last edited:
Top