Electronics > Beginners
constant current source design
Arjunan M R:
--- Quote from: Jay_Diddy_B on June 03, 2019, 01:08:03 pm ---
--- Quote from: Arjunan M R on June 03, 2019, 01:00:59 pm ---Thanks. Which software did you use for simulating the current mirror?
--- End quote ---
Hi I used LTspice. You can download it from here:
Link: https://www.analog.com/en/design-center/design-tools-and-calculators/ltspice-simulator.html
(I have the changed the colours from the default values, so I have a white background. Normally it is grey for the schematics and black for the waveforms. This is why it might look a little different).
Regards,
Jay_Diddy_B
--- End quote ---
i already have lt spice.I didn't recognize because of the background color.
Arjunan M R:
How did you define temperature?
Jay_Diddy_B:
--- Quote from: Arjunan M R on June 03, 2019, 01:29:29 pm ---How did you define temperature?
--- End quote ---
Hi,
If you [CTRL] [RIGHT CLICK] on a part you will see a dialogue box like this:
I have entered temp=75 on the line and [RIGHT CLICK] the Vis box, to make it visible on the schematic.
The default temperature is 25C.
Regards,
Jay_Diddy_B
Arjunan M R:
; Thanks. How did you measure current vs voltage.
Zero999:
It's also possible to do a temperature sweep.
http://electronicsbeliever.com/how-to-sweep-temperature-in-ltspice-with-step-by-step-tutorials/
https://www.eevblog.com/forum/blog/eevblog-301-ltspice-temperature-sweep-tutorial/
Another option is to set the temp to a variable and use the .step param command.
For example:
In the component attribute editor, as mentioned above enter:
temp={temp_Q1}
Add a spice directive to the schematic by clicking the .op icon on the tool bar and enter:
.step param temp_Q1 10 90 20
That will then perform the simulation with Q1 at temperatures ranging from 10 to 90 degrees, in 20 degree increments.
http://electronicsbeliever.com/how-to-sweep-temperature-in-ltspice-with-step-by-step-tutorials/
https://www.eevblog.com/forum/blog/eevblog-301-ltspice-temperature-sweep-tutorial/
https://www.analog.com/en/technical-articles/ltspice-using-the-step-command-to-perform-repeated-analysis.html
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version