KNX: Unterschied zwischen den Versionen

Aus /dev/tal
Wechseln zu: Navigation, Suche
K (MOSFET based transmitter cirucit)
Zeile 18: Zeile 18:
 
To run the simulation you should use at least KiCAD 5.0.0rc2 with SPICE simulation enabled and ngspice-28. It may be possible to generate a netlist and use ngspice manually, but this is not tested yet.
 
To run the simulation you should use at least KiCAD 5.0.0rc2 with SPICE simulation enabled and ngspice-28. It may be possible to generate a netlist and use ngspice manually, but this is not tested yet.
  
Note on Debian support: The SPICE simulation part of KiCAD 5 is explicitly disabled in the official Debian unstable/sid KiCAD packages at the moment (2018-06-14). You need to modify both the ngspice and KiCAD packages and build them yourselves to enable building ''libngspice.so'' and enable the use of libngspice in KiCAD. If these changes won't be included in the packages in near future, we will release build instructions and maybe a Docker image to simplify installation. If you have any issues building or need instructions now just write a short mail to [[User:thoto|thoto]].
+
Note on Debian support: The SPICE simulation part of KiCAD 5 is explicitly disabled in the official Debian unstable/sid KiCAD packages at the moment (2018-06-14). You need to modify both the ngspice and KiCAD packages and build them yourselves to enable building ''libngspice.so'' and enable the use of libngspice in KiCAD. If these changes should not be included in the official packages in near future, we will release build instructions and maybe a Docker image to simplify installation. In the meantime you could try building it yourself or may try to use the latest AUR packages of ngspice and KiCAD 5 on Archlinux. If you have any issues building or need instructions right now just write a short mail to [[User:thoto|thoto]].
  
 
=== Bauteilbeschreibung MOSFET ===
 
=== Bauteilbeschreibung MOSFET ===

Version vom 23. Juni 2018, 18:54 Uhr

       
KanNiX

Release status: experimental [box doku]

Description KNX implementierung
Author(s)  mat, endres, thoto
Platform  diskrete Bauelemente und Mikrocontroller
License  GPLv3
Download  https://devtal.de/knx/knx.git/







STUB!

MOSFET based transmitter cirucit

To run the simulation you should use at least KiCAD 5.0.0rc2 with SPICE simulation enabled and ngspice-28. It may be possible to generate a netlist and use ngspice manually, but this is not tested yet.

Note on Debian support: The SPICE simulation part of KiCAD 5 is explicitly disabled in the official Debian unstable/sid KiCAD packages at the moment (2018-06-14). You need to modify both the ngspice and KiCAD packages and build them yourselves to enable building libngspice.so and enable the use of libngspice in KiCAD. If these changes should not be included in the official packages in near future, we will release build instructions and maybe a Docker image to simplify installation. In the meantime you could try building it yourself or may try to use the latest AUR packages of ngspice and KiCAD 5 on Archlinux. If you have any issues building or need instructions right now just write a short mail to thoto.

Bauteilbeschreibung MOSFET

  • D1 und D2 sorgen dafür, dass die Spannung am Bus und die Versorgungspannung immer positiv sind.
  • R6 und R7 sind zur Strommessung während der Simulation gedacht.
  • D3 sorgt für ein Potential von V_bus-3.9V am Gate von M1. Dadurch wird etwa die U_th am FET-Gate eingestellt und ein (sehr geringer) initialer Strom in das Gate verhindert und somit das Schaltverhalten verbessert. Ohne D3 käme es zu einem Unterschwinger von V_bus beim Durchsteuern von M1.
  • D4 sorgt für einen Spannungsabfall von 10V - U_R2 am Gate des FET. Da dieser hat U_th \in [-2,-4] V hat entstehen so im Mittel 6.3V Spannungsabfall an V_bus (U_D1 und U_D2 beachten!).
  • R2 korrigiert den Spannungsabfall auf die gewünschten V_knx - 6V. ... entfernt wegen zu geringem Strom (sic) in Gate beim Aufladen der Gatekapazität!
  • R3 begrenzt den Strom durch Q1 wie gewohnt, Q1 sorgt für den gewünschten Spannungsabfall, wenn dieser durchsteuert. Ohne Durchsteuern von Q1 liegt am Knoten östlich R2 \phi > U_th an, da kein Strom durch D4 fließt.
  • R1 ist eine Sicherung. Praktisch zum Strom messen.
  • R4 stellt das Basispotential von Q1 ein, R5 begrenzt den Basisstrom. C1 entkoppelt Q1, sodass eine kontinuierliches Spannung nur ein temporäres Durchsteuern von Q1 erzeugen kann.