I also wanted to ask how I would calculate the different values for the resistors, sice we didn't had any resistor math in class yet. I know these are stupid mistakes, and I'm kinda hating myself for them, but still thank you for helping me with my first major project outside of high school physics. So first of all thank you for all the answers. Probably it is something simple I'm missing but I do not spot the mistake. The interesting thing about all this is that it all worked out when I tried it with an LED instead of the DC motor. But looking at the spreadsheet of the transistor it looked good so right now I'm at the point where I do not have any idea what the problem is. Since it is somehow still not working I figured out that the transistor has to be the problem. I cut the optocoupler in order to see if the transistor is the problem. When I am activating my optocoupler nothing is happening. Just to specify the way this circuit is not working. My problem with this setup is that my transistor is not working and I'm not exactly sure why. The main control mechanism would be a NPN Transistor which would get its base from an optocoupler, since I want the arduino be isolated from the 9V circuit. I have the motor connected to a 9V block battery, so my motor has enough power to run. In general, for switching microprocessor input/output, AC or DC power. I'm will probably use the PWM pins of my arduino mini for this.Ĭurrently I am building my first prototype of the setup so I can test the PWM. These opto isolator circuits can be used on their own and also for switching other electronic devices (transistors, etc.,) or circuits to provide electrical isolation between low voltage control signal and high output signal (voltage or current). MODEL I_SW1 ISWITCH (Roff=1e6 Ron=1 IT=4.9m IH=0.My current project does involve some DC motors which I have to control the speed of. MODEL MOST1 NMOS (LEVEL=3 KP=25U VTO=2 RD=45) MQ1 VO 9 GND GND MOST1 W=9.7M L=2U NMOS OUTPUT In order to be 100% sure that the LTspice version of the 6N137 was as relevant as the original Pspice model, I reproduced a circuit present in the data sheet and computed the switch time announced in the spec. The new subckt file can be found in appendix in the zip simulation file and also in the "code section", together with usable symbol. Using Spice/PSpice (Vishay optocoupler) models in LTSpice - Electrical Engineering Stack Exchange The simulation in LTspice crashed because the Pspice model contained features not supported by LTspice, Fortunately, I found a fix for that at the following address. I was surprised that the importation of the Pspice model ( pspicevo.pdf () ) was not as straightforward as it used to be. Also I found a very relevant spice model for the digital 6N137 optocoupler commercialized by Vishay. I wanted to illustrate one more simulation of temperature control with NTC thermistor, using an optocoupler as a modern switch, and to show once more how we can combine electronic simulation and thermal engineering with the wonderful simulation software offered by LTspice. HCNR200 or HCNR201 Analog Optocoupler PSpice Circuit Simulations. NTC thermistors, optocouplers and temperature control. When performing optocoupler SPICE simulations, it should be understood from the very.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |