|
|
Zwischen zwei Signalen wechseln |
|
Suppenhuhn |
![Forum-Anfänger Forum-Anfänger](images/rankst1.gif)
Forum-Anfänger
|
![](templates/vSpiralFull/images/spacer.gif) |
Beiträge: 22
|
![](templates/vSpiralFull/images/spacer.gif) |
|
![](templates/vSpiralFull/images/spacer.gif) |
Anmeldedatum: 09.12.10
|
![](templates/vSpiralFull/images/spacer.gif) |
|
![](templates/vSpiralFull/images/spacer.gif) |
Wohnort: ---
|
![](templates/vSpiralFull/images/spacer.gif) |
|
![](templates/vSpiralFull/images/spacer.gif) |
Version: R2007a
|
![](templates/vSpiralFull/images/spacer.gif) |
|
|
![](templates/vSpiralFull/images/_postbit_left_divide.gif) |
|
Verfasst am: 09.12.2010, 05:58
Titel: Zwischen zwei Signalen wechseln
|
![](templates/vSpiralFull/images/_postbit_header_right_right.gif) |
Wie kann ich in Simulink z.B. beim Nullduchgang (Hit Crossing ?) einer (nichtperiodischen) Funktion für x Sekunden die Werte eines anderen Signals übernehmen und danach wieder das erste Signal weiterlaufen lassen ?
Habe insbesondere Probleme mit der Begrenzung der Dauer auf x Sekunden !?
Vielen Dank im Voraus !
|
|
|
|
|
Phate |
![Forum-Guru Forum-Guru](images/rankst4.gif)
Forum-Guru
|
![](templates/vSpiralFull/images/spacer.gif) |
Beiträge: 283
|
![](templates/vSpiralFull/images/spacer.gif) |
|
![](templates/vSpiralFull/images/spacer.gif) |
Anmeldedatum: 09.11.09
|
![](templates/vSpiralFull/images/spacer.gif) |
|
![](templates/vSpiralFull/images/spacer.gif) |
Wohnort: Stuttgart
|
![](templates/vSpiralFull/images/spacer.gif) |
|
![](templates/vSpiralFull/images/spacer.gif) |
Version: R2008b
|
![](templates/vSpiralFull/images/spacer.gif) |
|
|
![](templates/vSpiralFull/images/_postbit_left_divide.gif) |
|
Verfasst am: 09.12.2010, 15:31
Titel:
|
![](templates/vSpiralFull/images/_postbit_header_right_right.gif) |
Hi,
Das geht mit eine Switch Block.
Grüße
|
|
|
Suppenhuhn |
Themenstarter
![Forum-Anfänger Forum-Anfänger](images/rankst1.gif)
Forum-Anfänger
|
![](templates/vSpiralFull/images/spacer.gif) |
Beiträge: 22
|
![](templates/vSpiralFull/images/spacer.gif) |
|
![](templates/vSpiralFull/images/spacer.gif) |
Anmeldedatum: 09.12.10
|
![](templates/vSpiralFull/images/spacer.gif) |
|
![](templates/vSpiralFull/images/spacer.gif) |
Wohnort: ---
|
![](templates/vSpiralFull/images/spacer.gif) |
|
![](templates/vSpiralFull/images/spacer.gif) |
Version: R2007a
|
![](templates/vSpiralFull/images/spacer.gif) |
|
|
![](templates/vSpiralFull/images/_postbit_left_divide.gif) |
|
Verfasst am: 09.12.2010, 17:37
Titel:
|
![](templates/vSpiralFull/images/_postbit_header_right_right.gif) |
Ok. - Switch Block verstehe ich schon, aber mein Problem ist eigentlich, dass ich nach x Sekunden (nach dem jeweiligen Nulldurchgang des ersten Signals) wieder vom zweiten zum ersten Signal zurückschalten will !
Gruß
Suppenhuhn
|
|
|
ppirokke |
![Forum-Fortgeschrittener Forum-Fortgeschrittener](images/rankst2.gif)
Forum-Fortgeschrittener
|
![](templates/vSpiralFull/images/spacer.gif) |
Beiträge: 64
|
![](templates/vSpiralFull/images/spacer.gif) |
|
![](templates/vSpiralFull/images/spacer.gif) |
Anmeldedatum: 19.11.10
|
![](templates/vSpiralFull/images/spacer.gif) |
|
![](templates/vSpiralFull/images/spacer.gif) |
Wohnort: ---
|
![](templates/vSpiralFull/images/spacer.gif) |
|
![](templates/vSpiralFull/images/spacer.gif) |
Version: R2010a
|
![](templates/vSpiralFull/images/spacer.gif) |
|
|
![](templates/vSpiralFull/images/_postbit_left_divide.gif) |
|
Verfasst am: 09.12.2010, 18:22
Titel:
|
![](templates/vSpiralFull/images/_postbit_header_right_right.gif) |
Also ich mache das gerne indem ich ein RS-FlipFlop einbinde. Dort gebe ich dann die Nullabfrage auf den Setzen-Eingang und führe das Signal über Totzeit auf den Reset Eingang. Durch die Totzeit definiert sich dann die Dauer. Wenn es einen eleganteren Weg gibt würde ich mich auch dafür intressieren!
|
|
|
Phate |
![Forum-Guru Forum-Guru](images/rankst4.gif)
Forum-Guru
|
![](templates/vSpiralFull/images/spacer.gif) |
Beiträge: 283
|
![](templates/vSpiralFull/images/spacer.gif) |
|
![](templates/vSpiralFull/images/spacer.gif) |
Anmeldedatum: 09.11.09
|
![](templates/vSpiralFull/images/spacer.gif) |
|
![](templates/vSpiralFull/images/spacer.gif) |
Wohnort: Stuttgart
|
![](templates/vSpiralFull/images/spacer.gif) |
|
![](templates/vSpiralFull/images/spacer.gif) |
Version: R2008b
|
![](templates/vSpiralFull/images/spacer.gif) |
|
|
![](templates/vSpiralFull/images/_postbit_left_divide.gif) |
|
Verfasst am: 10.12.2010, 08:06
Titel:
|
![](templates/vSpiralFull/images/_postbit_header_right_right.gif) |
Hi,
Ist nur grad ne spontane Idee aber könnt ihr nicht den Switch in ein getriggertes Subsystem einbauen?
Ich kram mal in meinen Modellen gut möglich dass ich sowas in der Richtung mal gemacht hab.
Falls das mit dem Subsystem klappt wäre ich für eine kurze Rückmeldung dankbar.
Frohes Schaffen und Grüße
|
|
|
Suppenhuhn |
Themenstarter
![Forum-Anfänger Forum-Anfänger](images/rankst1.gif)
Forum-Anfänger
|
![](templates/vSpiralFull/images/spacer.gif) |
Beiträge: 22
|
![](templates/vSpiralFull/images/spacer.gif) |
|
![](templates/vSpiralFull/images/spacer.gif) |
Anmeldedatum: 09.12.10
|
![](templates/vSpiralFull/images/spacer.gif) |
|
![](templates/vSpiralFull/images/spacer.gif) |
Wohnort: ---
|
![](templates/vSpiralFull/images/spacer.gif) |
|
![](templates/vSpiralFull/images/spacer.gif) |
Version: R2007a
|
![](templates/vSpiralFull/images/spacer.gif) |
|
|
![](templates/vSpiralFull/images/_postbit_left_divide.gif) |
|
Verfasst am: 10.12.2010, 15:17
Titel:
|
![](templates/vSpiralFull/images/_postbit_header_right_right.gif) |
Hatte mal ein Enabled Subsystem probiert - geht wahrscheinlich auch, aber das Problem liegt bei mir hauptsächlich in der Erstellung eines zeitliche begrenzten (x Sekunden) Signals der Stärke Null !
Mit dem Signal Builder gehts irgendwie auch nicht, weil der immer gleich ein Signal für die gesamte Rechenzeit erstellen will !?
...immer noch ratlos...
|
|
|
ppirokke |
![Forum-Fortgeschrittener Forum-Fortgeschrittener](images/rankst2.gif)
Forum-Fortgeschrittener
|
![](templates/vSpiralFull/images/spacer.gif) |
Beiträge: 64
|
![](templates/vSpiralFull/images/spacer.gif) |
|
![](templates/vSpiralFull/images/spacer.gif) |
Anmeldedatum: 19.11.10
|
![](templates/vSpiralFull/images/spacer.gif) |
|
![](templates/vSpiralFull/images/spacer.gif) |
Wohnort: ---
|
![](templates/vSpiralFull/images/spacer.gif) |
|
![](templates/vSpiralFull/images/spacer.gif) |
Version: R2010a
|
![](templates/vSpiralFull/images/spacer.gif) |
|
|
![](templates/vSpiralFull/images/_postbit_left_divide.gif) |
|
Verfasst am: 10.12.2010, 17:44
Titel:
|
![](templates/vSpiralFull/images/_postbit_header_right_right.gif) |
Haste denn das RS-FlipFlop mal probiert? Funktionieren tut das einwandfrei.
|
|
|
Suppenhuhn |
Themenstarter
![Forum-Anfänger Forum-Anfänger](images/rankst1.gif)
Forum-Anfänger
|
![](templates/vSpiralFull/images/spacer.gif) |
Beiträge: 22
|
![](templates/vSpiralFull/images/spacer.gif) |
|
![](templates/vSpiralFull/images/spacer.gif) |
Anmeldedatum: 09.12.10
|
![](templates/vSpiralFull/images/spacer.gif) |
|
![](templates/vSpiralFull/images/spacer.gif) |
Wohnort: ---
|
![](templates/vSpiralFull/images/spacer.gif) |
|
![](templates/vSpiralFull/images/spacer.gif) |
Version: R2007a
|
![](templates/vSpiralFull/images/spacer.gif) |
|
|
![](templates/vSpiralFull/images/_postbit_left_divide.gif) |
|
Verfasst am: 11.12.2010, 10:43
Titel:
|
![](templates/vSpiralFull/images/_postbit_header_right_right.gif) |
Allet kloar - es funzt mit dem RS-Flipflop und der Totzeit !
Vielen Dank - stand a bisserl auf dem Schlauch.
|
|
|
|
|
Einstellungen und Berechtigungen
|
|
Du kannst Beiträge in dieses Forum schreiben. Du kannst auf Beiträge in diesem Forum antworten. Du kannst deine Beiträge in diesem Forum nicht bearbeiten. Du kannst deine Beiträge in diesem Forum nicht löschen. Du kannst an Umfragen in diesem Forum nicht mitmachen. Du kannst Dateien in diesem Forum posten Du kannst Dateien in diesem Forum herunterladen
|
|
Impressum
| Nutzungsbedingungen
| Datenschutz
| FAQ
| RSS
Hosted by:
Copyright © 2007 - 2025
goMatlab.de | Dies ist keine offizielle Website der Firma The Mathworks
MATLAB, Simulink, Stateflow, Handle Graphics, Real-Time Workshop, SimBiology, SimHydraulics, SimEvents, and xPC TargetBox are registered trademarks and The MathWorks, the L-shaped membrane logo, and Embedded MATLAB are trademarks of The MathWorks, Inc.
|
|