Attached is the circuit with the triac driver modified, Both previous and this one should work this avod a big resistor 10W (Minumun needs 5.6W). Simulation of triac is not working properly. I splitted simulation in low current booster, high current booster, esp32 signal driver and triac dc driver. All files are in the link. Complete is not simulating and triac model does not work. Defining ground is problematic. Are also handling the computer to disturb, https://drive.google.com/file/d/1XaPlcyG...
I modified the circuit to improve signal to mosfets. Simulations are attached. Transistors that charge and discharge Pmosfet can be bigger and can be used more frequency or PW but is known that frequency increase switching losses and Like this works limiting to 200mA is enough to don't produce switching of P and N mosfet overlap. The problem of Isolator still is present I need to change it by a DC/DC isolator do a bridge rectify ripple with a capacitor and have constant 50 mA in triac to continuous...
I modified the circuit to improve signal to mosfets. Simulations are attached. Transistors that charge and discharge Pmosfet can be bigger and can be used more frequency or PW but is known that frequency increase switching losses and Like this works limiting to 200mA is enough to don't produce switching of P and N mosfet overlap. The problem of Isolator still is present I need to change it by a DC/DC isolator do a bridge rectify ripple with a capacitor and have constant 50 mA in triac to continuous...
I don't understand really the terminology. I never received a class of electronics and just learned myself reading books or Internet. This is what could do to deliver power from an ESP32 to big mosfet to control a booster and a transformer. The ESP vary Width pulse according voltage across an optocoupler, keeping voltage steady. Two operational amplifier with a filter, for slower reaction, choose between two booster according current and have an over current protection. I this circuit had a problem...
This is the first simulation of the complete circuit. If don't function as is expected and must be revised. Each simulation delay in my computer about half an hour so gonna delay solve all issues but noW (SOMEONE HACK TO CHANGE MY WRITING, A MISTAKE SHOULD BE Q OR E BUT NOT T) since simulate improving is assisted by a predicted result. MANY THANKS FOR YOUR HELP!!!
This is the first simulation of the complete circuit. If don't function as is expected and must be revised. Each simulation delay in my computer about half an hour so gonna delay solve all issues but not since simulate improving is assisted by a predicted result. MANY THANKS FOR YOUR HELP!!!
This is the first simulation of the complete circuit. If don't function as is expected and must be revised. Each simulation delay in my computer about half an hour so gonna delay solve all issues but not since simulate improving is assisted by a predicted result. MANY THANKS FOR YOUR HELP!!!
deleted
deleted
Deleted
Now the part of the circuit to command big mosfet at 12volts 12 amp gate from an Esp32 is ready and attached. I used a big diode I had problems with other model and replaced to su simulation. Can be replaced by small one.
Any of the Operational Amplifier that I have and built in took out from demos works in the signal buffering. I tried all this is a generic built in extracted form kicad demo generic opamp Checking datasheets I seen that despite of gain bandwidth is over 1mhz. Amplifiers that I was simulating have q slew rate of 0.5 V/us and are not suitable for that usage and cant follow a signal at 100khz 50% if have more that 0.5 volts. https://www.audioholics.com/audio-amplifier/amplifier-slew-rate I found the...
With the ADA4851 the operational amplifiers simulation works and have a signal, now appears two problems. One current of ADA4851 have at most 70 mA and peak of nchannel mosfet small cam be 330 mA so needs to be driven by a fast pnp and pnp. The second is that choosem pnp to discharge gate have a 30nS of response and is needed at least 1uS. I need to search other transistors.
Any of the Operational Amplifier that I have and built in took out from demos works in the signal buffering. I tried all this is a generic built in extracted form kicad demo generic opamp Checking datasheets I seen that despite of gain bandwidth is over 1mhz. Amplifiers that I was simulating have q slew rate of 0.5 V/us and are not suitable for that usage and cant follow a signal at 100khz 50% if have more that 0.5 volts. https://www.audioholics.com/audio-amplifier/amplifier-slew-rate I found the...
Checking datasheets I seen that despite of gain bandwidth is over 1mhz. Amplifiers that I was simulating have q slew rate of 0.5 V/us and are not suitable for that usage and cant follow a signal at 100khz 50% if have more that 0.5 volts. I found the ADA 4851-4 that have 100v/us and model is this: I didn't test this as yet. I tested the ADA 4000-4 with 20V/us and also simulation don't work.
Checking datasheets I seen that despite of gain bandwidth is over 1mhz. Amplifiers that I was simulating have q slew rate of 0.5 V/us and are not suitable for that usage and cant follow a signal at 100khz 50% if have more that 0.5 volts. https://www.audioholics.com/audio-amplifier/amplifier-slew-rate I found the ADA 4851-4 that have 100v/us and model is this: https://www.analog.com/en/license/spice-models.html?mediaPath=/media/en/simulation-models/spice-models/ada4851-4.cir&modelType=spice-models...
Checking datasheets I seen that despite of gain bandwidth is over 1mhz. Amplifiers that I was simulating have q slew rate of 0.5 V/us and are not suitable for that usage and cant follow a signal at 100khz 50% if have more that 0.5 volts. https://www.audioholics.com/audio-amplifier/amplifier-slew-rate I found the ADA 4851-4 that have 100v/us and model is this: https://www.analog.com/en/license/spice-models.html?mediaPath=/media/en/simulation-models/spice-models/ada4851-4.cir&modelType=spice-models...
The ADA 4851-4 is cheaper and have slew rate of 100v/us The model available is this https://www.analog.com/en/license/spice-models.html?mediaPath=/media/en/simulation-models/spice-models/ada4851-4.cir&modelType=spice-models I didn't simulate it as yet.
Trying to find the solution i checked the datasheet of some Operational amplifiers and ones that I used despite have a gain bandwidth over 1 mhz the slew rate is 0.5 V / uS or so. https://www.audioholics.com/audio-amplifier/amplifier-slew-rate So searching I found the ADA 4000-4 that have a slew rate of 20V/us but this also can't be simulated 45/50us the cero volts equal of just 100khz of a 50% square wave and should be simulated. If I am correct.
Any of the Operational Amplifier that I have and built in took out from demos works in the signal buffering. I tried all this is a generic built in extracted form kicad demo generic opamp
Now have other problem in as singular matrix in a triac and a transistor. In the transistor I added a diode to have voltage drop between base and emitter and I reduced gate voltage to 5 volts of small signal nmosfet because datasheet said gate voltage +=8 and was driven at 12 V. It doesn't simulate anyway so I will split it again in parts to see it circuit have a mistake. Attached is the screen shoot and complete file updated are in the previous links.
Now have other problem in as singular matrix in a triac and a transistor. In the transistor I added a diode to have voltage drop between base and emitter and I reduced gate voltage to 5 volts of small signal nmosfet because datasheet said gate voltage +=8 and was driven at 12 V. It doesn't simulate anyway so I will split it again in parts to see it circuit have a mistake. Attached is the screen shoot and complete file updated are in the previous links.
YES. THIS PROBLEM DISAPPEARED WITH THIS FILE. YOU ARE AN EXPERT. MANY THANKS FOR YOUR HELP. START GOOD THE YEAR,
Many thanks. Your are an expert that share your efficiency, best greetings and start good the year. I will check it.
The error that can be seen in the screenshoot is: Cannot find node 3... Cannot find node 4... Instance not ready for .probe command...
.include of the subcircuit is in the netlist i checked. Can't find node 3 and 4 that are the symbol pins. model is the one distributed by manufacturer.
I did electrical rule checker and a couple of pins were unconnected. I realized that transformer secondary have the ground for primary and I changed. I revised the circuit of the model and all apraneters are included in Ngspice manual so no compatibility issues and looks like is the proper model. Current gain I can't verify it. I changed symbol adding E and C. But also can not find the node. I did try use in all the same ground. I will do that soon. the changes are in other link because I uploaded...
Many thanks I uodate with this modebl but the model put the error showed in the screenshoot all circuit is here https://drive.google.com/file/d/11W03i_G20VWl3WJPyI1aKXP0OjVghao0/view?usp=drive_link
Thanks with your help I could complete all the models with the exeption of one optocoupler. SFH620A-1 Does any one knows where I can find this subcircuit ? All models used in the circuit that I am trying to simulate and simulation files are here https://drive.google.com/file/d/11W03i_G20VWl3WJPyI1aKXP0OjVghao0/view?usp=drive_link
Many thanks. I was reading about ksubrhreshold and is the leakage under threshold voltage but its exponential calculation depends on channel length and is not available. The mtriode region defines the linear region of the mosfet. Also is determined by manufacturer. The lamnda can be calculated according phone searching: To calculate MOSFET Lambda ((\lambda )) from a datasheet, look for output conductance ((g_{ds}) or (G_{DS})) or Early Voltage ((V_{A})), then use (\lambda =g_{ds}) (at specific (V_{GS},V_{DS}))...
In high current
Some simulations
Bhcurves for the calculations
And these the calculations to share.
The circuit use mosfet for a transformer and timing is important for that reason I want an accurate model. I don't have experience in this. This is the converter to simulate in parts at least.
Thanks for your comments. The models have the transconductance and is true that dimensions of channel length is not in the datasheet. The voltage threshold is in positive value this is my mistake. The example of the manual have lambda and mtriode and ksubthres that also are not in the datasheet. Is convenient add a value there? I don't know how to compute it or If I have to consult the manufacturer.
Thanks for your comments. The models have the transconductance and is true that dimebsion of channel length is not in the datasheet. The voltage threshold is in positive value maybe this is my mistake. The example of the manual have lambda and mtriode and ksubthres that also are not in the datasheet. Is convenient add a value there? I don't know how to compute it or If I have to consult the manufacturer.
I am trying to simulate some options of pmosf vdmos and both get in conduction always. I dont know what is wrong. I put then appart in a new file connected to V+ gate and source and get in conduction always. models are(I did them with the datasheet): .model SQD50P08-25L VDMOS Pchan + vto=2 + kp=38 + rd=25m + rg=1 + vj=0.82 + bv=80 + cgdmin= 239p + cgdmax=280p + cgs=4049p + id_max=60 + TNOM=45 .model IXTR170P10P VDMOS PCHAN + vto=3 + kp=58 + rd=15.5m + rg=1 + bv=100 + cgdmax=930p + cgs=4190p + id_max=100...
This is the simulation of my circuit that work at discharge and admit a bigger resistor than working at charge. The difference between Ltspice and NGspice is very high but with the same behavior. Needs a real board to be checked with is the real time.
The Op2177 is still pending and in Kicad forum tell me that is an issue in the installation of kicad in Linux mint and Xspice. In the manual chapter 28.2 tell how to disable the Xspice but not how to enable again. So i am pending of it.
I solve the problem of simulation of the timer adding a transistor simulating the leakage current of 3 u A
I solved the problem of the simulation of the timer adding a transistor to simulate the leakage
I wrote this about it. Is it correct? SO MAYBE I WILL CHANGE CAPACITOR BY A SMALLER ONE MAYBE AND TRIMMER BY ONE 1 MEG OHM. SIMULATION IS COMPLEX AND A TRIMMER WILL SOLVE THE ISSUE TO DEFINE THE RESISTOR. https://datasheets.kyocera-avx.com/kyocera-avx-aek-series.pdf i in fact FOR A 3u A LEAKAGE CAPACITORS if at 8 volts R parallel (R2) is 2.66 Meg ohm : R2/(R1+R2) Vin = Vout R2 * Vin = (R1+R2) Vout R1 * Vout = R2 ( Vin -Vout) R1 = R2 ( Vin/Vout -1)= 2.66 Meg ohm * (12/8 -1 )= 1.33 Meg SO BIGGER TRIMMER...
I will check the timer the 555 cost is 0.28 for one https://www.mouser.com/ProductDetail/Texas-Instruments/NE555DR?qs=gb35HGp1gQJ5U8ZthvvoVQ%3D%3D&srsltid=AfmBOopO9zF7oeCIH9dRxRXE5dzBK7LECk3RitPp7Qp4N856KJ-nX0mm Is not a problem i can define proper value with a trimmer. Anyway thanks to this forum I realized that resistor can't be over 1 Meg and I can add a parallel resistor. I will solve that for a better approximation. The timer will work, even in long periods, but needs a real test to define resistors...
I added a comment in others post mentioned below and there suggested me to open a new post. Here is a copy and paste of the previous writing I am trying to simulate a circuit for protect refrigerators form low and high voltage with a timer. I seen your post yesterday afternoon and I downloaded. I couldn't simulate it as yet because I had problems with an op simulation. Since you are expert in models I am requesting you assistance to take a look to the circuit and the problem in simulation. Any comment...
I added a comment in others post mentioned below and there suggested me to open a new post. Here is a copy and paste of the previous writing I am trying to simulate a circuit for protect refrigerators form low and high voltage with a timer. I seen your post yesterday afternoon and I downloaded. I couldn't simulate it as yet because I had problems with an op simulation. Since you are expert in models I am requesting you assistance to take a look to the circuit and the problem in simulation. Any comment...
I opened the new post for my question. https://sourceforge.net/p/ngspice/discussion/ngspice-tips/thread/9016bc26ac/
I added a comment in others post mentioned below and there suggested me to open a new post. Here is a copy and paste of the previous writing I am trying to simulate a circuit for protect refrigerators form low and high voltage with a timer. I seen your post yesterday afternoon and I downloaded. I couldn't simulate it as yet because I had problems with an op simulation. Since you are expert in models I am requesting you assistance to take a look to the circuit and the problem in simulation. Any comment...
I wil do that. Thanks
I am trying to simulate a circuit for protect refrigerators form low and high voltage with a timer. I seen your post yesterday afternoon and I downloaded. I couldn't simulate it as yet because I had problems with an op simulation. Since you are expert in models I am requesting you assistance to take a look to the circuit and the problem in simulation. Any comment is welcome. The message is copy and paste of one that I did in Kicad forum, so you can read it there that have screen shoot and is more...
I am trying to simulate a circuit for protect refrigerators form low and high voltage with a timer. I seen your post yesterday afternoon and I downloaded. I couldn't simulate it as yet because I had problems with an op simulation. Since you are expert in models I am requesting you assistance to take a look to the circuit and the problem in simulation. Anycomment is welcome. The message is copu and pase of one that I did in Kicad forum, so you can read it there that have sceenshoot and is more readable...
I am trying to simulate a circuit for protect refrigerators form low and high voltage with a timer. I seen your post yesterday afternoon and I downloaded. I couldn't simulate it as yet because I had problems with an op simulation. Since you are expert in models I am requesting you assistance to take a look to the circuit and the problem in simulation. Anycomment is welcome. The message is copu and pase of one that I did in Kicad forum, so you can read it there that have sceenshoot and is more readable...