Your schematic is different from that of ScottWang in post n 4 in the connection between the NPN and PNP transistor. What are the pros and cons (if any) of your solution ?
Best Regards,
Your schematic is different from that of ScottWang in post n 4 in the connection between the NPN and PNP transistor. What are the pros and cons (if any) of your solution ?
They are the same theories as another one can be modify from my circuit that it is to move the R3 to cross on the Vbe of Q2, the value should be change to 2.7k~10k.Your schematic is different from that of ScottWang in post n 4 in the connection between the NPN and PNP transistor. What are the pros and cons (if any) of your solution ?
Best Regards,
From your post n. 4 it seems that the output current is load independent, as you calculate it as 10(Beta)*I_R4 (the RLoad is not shown in the formula).They are the same theories as another one can be modify from my circuit that it is to move the R3 to cross on the Vbe of Q2, the value should be change to 2.7k~10k.
The 24mA in the circuit of MikeML is also the false load, the real load is your input of device.From your post n. 4 it seems that the output current is load independent, as you calculate it as 10(Beta)*I_R4 (the RLoad is not shown in the formula).
Instead MikeML in post n. 22 said that the curreent load is 24V/RLoad = 24mA. As if the Beta of the output transistor is not relevant.
I am wrong in my considerations ?
Regards,
This implies that the driver be capable of switching on with a minimal voltage loss, and that it be capable of driving a R=E/I=24/0.03=800Ω load. I did the math in my head and estimated 1000Ω.I have a 24VDC supply, and a generator that outputs a 1KHz square wave with an amplitude of 10V referred to ground. How can i get a square wave of 24V amplitude (referred to ground) ? The signal will be loaded with 20 or 30 mA.
So the "/10" in your and ScottWang equations is not the transistor Beta, but the ratio of Ic and Ib that ensures that the transistor is in full saturation.This implies that the driver be capable of switching on with a minimal voltage loss, and that it be capable of driving a R=E/I=24/0.03=800Ω load. I did the math in my head and estimated 1000Ω.
The circuit of post #8 shows a 1000Ω load resistor in the dashed box, clearly labeled "load". I worked out the other resistors so that the two transistors are operated as saturated switches, with a base drive current ~Ic/10. The high-side switch, Q1 will drive the load resistor to about (24V-Vcesat) = ~23.7V when on.
When we using the components to design the curcuit, we have to according the parameters of datasheet, you can go to check anyone of the transistor and look at the item of Vce(sat).So the "/10" in your and ScottWang equations is not the transistor Beta, but the ratio of Ic and Ib that ensures that the transistor is in full saturation.
Yes.So the "/10" in your and ScottWang equations is not the transistor Beta, but the ratio of Ic and Ib that ensures that the transistor is in full saturation.
This is my first use of LTSpice, and try to simulate the behaviour of AnalogKid schema. From what explained from AnalogKid i expected to don't see the first two or three cycles of square waves in output, instead the simulator show also these cycles at the beginning of the simulation (first 10ms). Moreover i am surprised (but maybe a my error) to see the output level go up to 24V instead of (24V -VCEsat).Yes.
This is my first use of LTSpice, and try to simulate the behaviour of AnalogKid schema. From what explained from AnalogKid i expected to don't see the first two or three cycles of square waves in output, instead the simulator show also these cycles at the beginning of the simulation (first 10ms). Moreover i am surprised (but maybe a my error) to see the output level go up to 24V instead of (24V -VCEsat).
Your simulation looks fine. You are correct, the high output is 24 V - Vcesat, but Vcesat is less than 0.1 V, so it is hard to see on a 24 V scale. If you look at the voltage between R3 and C1, you will see a tilt in the waveform. This is due to the capacitor discharging as it drives the transistors. You can use this to calculate the minimum base current to make sure it is large enough for the load you are driving. Or, LTSIM can plot the current through R3 so you can see the result on the screen. Either way, you want the minimum base current to be around 0.05 or 0.1 times the load current to ensure transistor saturaion and a low Vcesat.This is my first use of LTSpice, and try to simulate the behaviour of AnalogKid schema. From what explained from AnalogKid i expected to don't see the first two or three cycles of square waves in output, instead the simulator show also these cycles at the beginning of the simulation (first 10ms). Moreover i am surprised (but maybe a my error) to see the output level go up to 24V instead of (24V -VCEsat).
What is the reason the output is immediately up (between 0 and 24V) and doesn't wait "few cycles (post 24) ?Your simulation looks fine. You are correct, the high output is 24 V - Vcesat, but Vcesat is less than 0.1 V, so it is hard to see on a 24 V scale. If you look at the voltage between R3 and C1, you will see a tilt in the waveform. This is due to the capacitor discharging as it drives the transistors. You can use this to calculate the minimum base current to make sure it is large enough for the load you are driving. Or, LTSIM can plot the current through R3 so you can see the result on the screen. Either way, you want the minimum base current to be around 0.05 or 0.1 times the load current to ensure transistor saturaion and a low Vcesat.
ak
That might be a minor variation in the way your version and my version of LTSpice are configured. Your schematic is fine, and the circuit will work as indicated.What is the reason the output is immediately up (between 0 and 24V) and doesn't wait "few cycles (post 24) ?
Thank You AK
Thank You Ronv, it is a good solution when i need to drive active high or low inputs.Since it is a PLC you are driving you may not like the AC coupled circuit. And since the PLC may be active high or active low it might be better to use some sort of push pull arraignment like this: That way the output voltage won't change depending on the load.
Your version of LTSpice show that behaviour ? What version is ? And how is configured ? I'd like to replicate inmine, if possible.That might be a minor variation in the way your version and my version of LTSpice are configured. Your schematic is fine, and the circuit will work as indicated.
ak
by Duane Benson
by Jake Hertz
by Jake Hertz
by Jake Hertz