Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Low impedance injector driver - HELP!

Status
Not open for further replies.
Lm119

Having trouble with ZIP so you will need to paste them into notepad.

*-----------------------------------------------------------------------------
* connections: non-inverting input
* | inverting input
* | | positive power supply
* | | | negative power supply
* | | | | open collector output
* | | | | | output ground
* | | | | | |
.subckt LM119 1 2 3 4 5 6
*
f1 3 9 v1 1
iee 7 4 dc 100.0E-6
q1 9 2 7 qin
q2 8 1 7 qin
q3 9 8 3 qmo
q4 8 8 3 qmi
.model qin NPN(Is=800.0E-18 Bf=333.3)
.model qmi PNP(Is=800.0E-18 Bf=1002)
.model qmo PNP(Is=800.0E-18 Bf=1000 Cjc=1E-15 Tr=59.42E-9)
e1 10 6 3 9 1
v1 10 11 dc 0
q5 5 11 6 qoc
.model qoc NPN(Is=800.0E-18 Bf=41.38E3 Cjc=1E-15 Tf=23.91E-12 Tr=24.01E-9)
dp 4 3 dx
rp 3 4 5.556E3
.model dx D(Is=800.0E-18 Rs=1)
*
.ends
*$
*-----------------------------------------------------------------------------
* connections: non-inverting input
* | inverting input
* | | positive power supply
* | | | negative power supply
* | | | | open collector output
* | | | | | output ground
* | | | | | |
.subckt LM219 1 2 3 4 5 6
*
x_lm219 1 2 3 4 5 6 LM119
*
* the LM219 is identical to the LM119, but has a more limited temp. range
*
.ends
*$
*-----------------------------------------------------------------------------
* connections: non-inverting input
* | inverting input
* | | positive power supply
* | | | negative power supply
* | | | | open collector output
* | | | | | output ground
* | | | | | |
.subckt LM319 1 2 3 4 5 6
*
x_lm319 1 2 3 4 5 6 LM119
*
* the LM319 is identical to the LM119, but has a more limited temp. range
*
.ends
*$


Version 4
SymbolType CELL
LINE Normal -32 32 32 64
LINE Normal -32 96 32 64
LINE Normal -32 32 -32 96
LINE Normal -28 48 -20 48
LINE Normal -28 80 -20 80
LINE Normal -24 84 -24 76
LINE Normal 0 32 0 48
LINE Normal 0 96 0 80
LINE Normal 4 44 12 44
LINE Normal 8 40 8 48
LINE Normal 4 84 12 84
LINE Normal 21 80 32 80
LINE Normal 21 70 21 80
WINDOW 0 16 16 Left 0
WINDOW 3 17 37 Left 0
SYMATTR Value LM119
SYMATTR Prefix X
SYMATTR Description Precision Operational Amplifier
SYMATTR SpiceModel New/LM119.sub
SYMATTR Value2 LM119
PIN -32 80 NONE 0
PINATTR PinName In+
PINATTR SpiceOrder 1
PIN -32 48 NONE 0
PINATTR PinName In-
PINATTR SpiceOrder 2
PIN 0 32 NONE 0
PINATTR PinName V+
PINATTR SpiceOrder 3
PIN 0 96 NONE 0
PINATTR PinName V-
PINATTR SpiceOrder 4
PIN 32 64 NONE 0
PINATTR PinName OUT
PINATTR SpiceOrder 5
PIN 32 80 NONE 8
PINATTR PinName G
PINATTR SpiceOrder 6
 
Sorry Conv, first thank you for your help, But no idea how to copy this code into my library, can you explain it? THANKS
 
I managed to copy the first one, LM119, in a sub file and then the last part, in a .asy file. I can select it from the library window so its fine. But when I run the model, I can't and an error message is showed : "Could not open library file "New/LM119.sub"..................
 
Hi Ronv:
Do you have the LTSpice file of above circuit which you might able to send it to me? I cannot read the circuit and I am developing a driver circuit for low Z solenoid injector as well.

Thanks
Bugaboo
 
Hi Ronv:
Do you have the LTSpice file of above circuit which you might able to send it to me? I cannot read the circuit and I am developing a driver circuit for low Z solenoid injector as well.

Thanks
Bugaboo



Lm119

Having trouble with ZIP so you will need to paste them into notepad.

*-----------------------------------------------------------------------------
* connections: non-inverting input
* | inverting input
* | | positive power supply
* | | | negative power supply
* | | | | open collector output
* | | | | | output ground
* | | | | | |
.subckt LM119 1 2 3 4 5 6
*
f1 3 9 v1 1
iee 7 4 dc 100.0E-6
q1 9 2 7 qin
q2 8 1 7 qin
q3 9 8 3 qmo
q4 8 8 3 qmi
.model qin NPN(Is=800.0E-18 Bf=333.3)
.model qmi PNP(Is=800.0E-18 Bf=1002)
.model qmo PNP(Is=800.0E-18 Bf=1000 Cjc=1E-15 Tr=59.42E-9)
e1 10 6 3 9 1
v1 10 11 dc 0
q5 5 11 6 qoc
.model qoc NPN(Is=800.0E-18 Bf=41.38E3 Cjc=1E-15 Tf=23.91E-12 Tr=24.01E-9)
dp 4 3 dx
rp 3 4 5.556E3
.model dx D(Is=800.0E-18 Rs=1)
*
.ends
*$
*-----------------------------------------------------------------------------
* connections: non-inverting input
* | inverting input
* | | positive power supply
* | | | negative power supply
* | | | | open collector output
* | | | | | output ground
* | | | | | |
.subckt LM219 1 2 3 4 5 6
*
x_lm219 1 2 3 4 5 6 LM119
*
* the LM219 is identical to the LM119, but has a more limited temp. range
*
.ends
*$
*-----------------------------------------------------------------------------
* connections: non-inverting input
* | inverting input
* | | positive power supply
* | | | negative power supply
* | | | | open collector output
* | | | | | output ground
* | | | | | |
.subckt LM319 1 2 3 4 5 6
*
x_lm319 1 2 3 4 5 6 LM119
*
* the LM319 is identical to the LM119, but has a more limited temp. range
*
.ends
*$


Version 4
SymbolType CELL
LINE Normal -32 32 32 64
LINE Normal -32 96 32 64
LINE Normal -32 32 -32 96
LINE Normal -28 48 -20 48
LINE Normal -28 80 -20 80
LINE Normal -24 84 -24 76
LINE Normal 0 32 0 48
LINE Normal 0 96 0 80
LINE Normal 4 44 12 44
LINE Normal 8 40 8 48
LINE Normal 4 84 12 84
LINE Normal 21 80 32 80
LINE Normal 21 70 21 80
WINDOW 0 16 16 Left 0
WINDOW 3 17 37 Left 0
SYMATTR Value LM119
SYMATTR Prefix X
SYMATTR Description Precision Operational Amplifier
SYMATTR SpiceModel New/LM119.sub
SYMATTR Value2 LM119
PIN -32 80 NONE 0
PINATTR PinName In+
PINATTR SpiceOrder 1
PIN -32 48 NONE 0
PINATTR PinName In-
PINATTR SpiceOrder 2
PIN 0 32 NONE 0
PINATTR PinName V+
PINATTR SpiceOrder 3
PIN 0 96 NONE 0
PINATTR PinName V-
PINATTR SpiceOrder 4
PIN 32 64 NONE 0
PINATTR PinName OUT
PINATTR SpiceOrder 5
PIN 32 80 NONE 8
PINATTR PinName G
PINATTR SpiceOrder 6
 
I no longer have the spice file, but I blew it up a bit. See how it looks.
 

Attachments

  • pwm inj.png
    pwm inj.png
    76.1 KB · Views: 291
I no longer have the spice file, but I blew it up a bit. See how it looks.
Thanks, Ronv.. From the picture, I could not figure out the mosfet M model used in the circuit. Would you please care to tell me which mosfet model is it?

By the way, I am attaching the first circuit you created. But I am not getting the response you got. I think the MOSFET model is not correct. If you have couple of minute, please review it kindly.

Bugaboo
 
Thanks, Ronv.. From the picture, I could not figure out the mosfet M model used in the circuit. Would you please care to tell me which mosfet model is it?

By the way, I am attaching the first circuit you created. But I am not getting the response you got. I think the MOSFET model is not correct. If you have couple of minute, please review it kindly.

Bugaboo
I think I figured it out. The capacitance units were off. I thought "mu" is for 10^(-6). Actually, it is "u". Now, I am getting the same results as Ronv. Thanks
 
I no longer have the spice file, but I blew it up a bit. See how it looks.
After getting to work with simulation of first circuit proposed by #ronv and successfully completing that last night, I am trying to do the simulation for the second circuit. Idea is to simulate both the files and then try to get into details of some of the functionalities of the timer block. That is something I do not understand completely.

Ronv, I know that you do not have the spice files for that. It is bit hard to read of the numbers. I think I have made the circuit schematics in LTSpice and was wondering if you could look at the parameters of different elements. I am attaching the files for second circuit (for which you provided the picture).

Thanks
Bugaboo
 

Attachments

  • Draft2.asc
    5.8 KB · Views: 182
Just a couple of changes. I used parts from the spice menu but others might be as good and cheaper. I'm not sure where to find a high power zener so you either need to series up a few lower voltage ones or we can design a transistor one.
 

Attachments

  • injector.asc
    6.2 KB · Views: 198
Just a couple of changes. I used parts from the spice menu but others might be as good and cheaper. I'm not sure where to find a high power zener so you either need to series up a few lower voltage ones or we can design a transistor one.
Thanks #ronv. I will withhold discussion on this particular circuit till I actually make the circuit in new year and then I will get back to you.

On another note, I am interested in being able to build circuits on my own and I need some advice. My background is in mechanical engineering, but I do understand some basics of electronics, logic and boolena algebra. I also understand how using transistors and diodes you can build various logical blocks and basics of op-amps. But that's about it. I am not sure if I start from a white board with that knowledge, I can come up with the circuit you just shared with us. Would you kindly help me tell some of your thought process (while coming up with this circuit from scratch) and if I need to follow any particular books/notes/tutorials to make up for some of my lack of knowledge in a particular area so that I am able to build such a circuit on my own.

Thanks
Bugaboo
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top