- Connect the output pin to the base of an NPN Bipolar Transistor or PNP Bipolar Transistor block.
 - Set the Output resistance parameter to a suitable value.
 
How is it possible to have a open collector comparator?
    5 visualizzazioni (ultimi 30 giorni)
  
       Mostra commenti meno recenti
    
    Federico Manfrin
 il 26 Mag 2020
  
    
    
    
    
    Risposto: Joel Van Sickel
    
 il 5 Ago 2020
            Hi, I just need an LM2903 type op comparator, wich is open collector output.
The simscape Electrical - Integrated circuit library has a comparator avaible, but the open collector output are not avaible.
How can I configure it?
I was wondering to add a transistor at the output, but I hope there's another solution.
Thanks
0 Commenti
Risposta accettata
  Joel Van Sickel
    
 il 5 Ago 2020
        Hello Federico,
if you have a spice model of the part, you can import that into simscape, and at that level of fidelity, it should include the open collector aspect (although there are no standards for vendor provided PSPICE models so you should verify).
To import a spice model, please use this documentaiton: https://www.mathworks.com/help/physmod/sps/ref/subcircuit2ssc.html
Otherwise, you will have to follow the recomendations in the comparator help file as you suspected.  I have posted them here:
Modeling of the output as a controlled voltage source is representative of a totem-pole or push-pull output stage. To model a device with an open-collector:
Regards,
Joel
0 Commenti
Più risposte (0)
Vedere anche
Categorie
				Scopri di più su Choose and Parameterize Blocks in Help Center e File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!