If Q3 was meant to be your current mirror input, then R6 should not be there (as above).I am just trying to learn. I used this topology and I used cascode pnps as current source instead R(program) in image.
View attachment 329293
A resistor to a fixed voltage will bias it.Yes , R6 is a mistake. I just wanted to make a simple current source and mirror built and learn how to bias IRL.
Thank you, I have just learned the topplogy through Razavi's book to get ready for next semester and make some experiments for funA resistor to a fixed voltage will bias it.
A simple current mirror is not very accurate because of the base currents. The base currents for both transistors come from the input, so the output current is the input current minus the base current. The transistors have to be very well matched for it to work properly.
Adding some matched resistors between the emitters and 0V improves the accuracy.
I understand that.The purpose of using cascode pnps is to make Rout larger
I get it. So I have related questions. What can I try to improve the design ? Does is bring larger Rout with being determined by the lower current.I understand that.
But unless you have perfectly matched resistors and transistors, the tolerance differences between the two cascade circuits will make Rout largely determined by the one with the lower current.
Below is the sim of a 2-transistor constant-current source, that is fairly stiff due to the negative feedback from Q2 to control the current.What can I try to improve the design ?

Thank youHere's the datasheet.
https://www.vishay.com/docs/85622/1n914.pdf
You will see that the typical voltage drop is 0.61V @ 1mA @ 25°C (see fig.1)
at 10mA it is 60mV higher (0.67V) and at 100uA it is 60mV lower (0.55V).
at 75°C the voltage is lower.
But these are typical values - the only clue you get about how much it can vary from one diode to another is that its maximum value is 1V @ 10mA. That's an awful lot of variation!
So how do you design it more accurately? You don't! Only put a diode in a circuit where the forward voltage doesn't really matter. Make sure that the circuit will work properly whether the diode voltage is 0.5V or 0.8V or anywhere in between.