Тёмный

Simulink Tutorial - 23 - Delay Signal Without Delay Block 

Simulink Tutorial
Подписаться 21 тыс.
Просмотров 31 тыс.
50% 1

Опубликовано:

 

18 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 14   
@fernando.liozzi.41878
@fernando.liozzi.41878 3 года назад
Great, in code generation, delay block create a for-loop, this blocks the main loop in the microcontroller, the solution is stateflow or RTOS. Thanks. In this example, you delay the input signal in 1 Ts, if you wanted to delay more sample times, you should use a for-loop scheme. Likewise, those schemes in stateflow do not generate locks in the main program when generating code, since they do not code in for-loop statements.
@MrAvinash7777
@MrAvinash7777 5 лет назад
in t = o transition i didnt understood why you have written out = old_in..here you are outputting 2 times..data store read block delays its signam automatically?i am not clear about this topic
@alexkidd253
@alexkidd253 3 года назад
that was a mistake in the video: "out = old_in;" must be deleted. Because of this bug, initial value is being zero just because initial memory value is zero. But if you change the constant value to, let's say, the value 2, so the initial value in the scope will continue being zero, what is wrong (should be 2 in this example). When this "out = old_in;" is deleted, then this bug is solved.
@mshivakumar447
@mshivakumar447 7 лет назад
good to know about data store blocks!! is it possible to store in_val (constant) inside state flow?? tx
@reddylaxman4495
@reddylaxman4495 7 лет назад
Hi I am working on a lego project at the moment with Simulink. Can I contact you directly? Any help would be appreciated.
@p.praveenkumar9001
@p.praveenkumar9001 5 лет назад
Hi... We can directly used the data store block for delay . Why you did this much complicated (sorry if it's hurts means)
@GamerBat3112
@GamerBat3112 5 лет назад
We can still get the desired output without using Data Store blocks.
@akankshamishra7785
@akankshamishra7785 4 года назад
how ?
@mytheenmuhammed4156
@mytheenmuhammed4156 6 лет назад
Hi..! The same model will be work for me. Once i changed t ==1 or t ==2, i got previous output only, no double delay achieved. rectify this ASAP.
@simulinktutorial9086
@simulinktutorial9086 6 лет назад
+Mytheen Muhammed hi... Thanks for raising the concern. I checked. Sorry for inconvenience. You need to add one more chart and provide old chart o/p as I/p to second chart.
@mytheenmuhammed4156
@mytheenmuhammed4156 6 лет назад
Simulink Tutorial May you send modified model
@simulinktutorial9086
@simulinktutorial9086 6 лет назад
+Mytheen Muhammed or you can try using single chart - use two old input and old op in the same manner as it is done for one cycle delay
@mytheenmuhammed4156
@mytheenmuhammed4156 6 лет назад
Simulink Tutorial I tried by changing t equal 1,2 only. I'm very new to here
@shubhampratapsingh8708
@shubhampratapsingh8708 6 лет назад
You can use [t==0||t==1] for the delay of t==1.
Далее
Simulink Tutorial - 24 - Assignment Block
5:20
Просмотров 19 тыс.
Simulink Tutorial - 68 - Rate Limiter
12:38
Просмотров 11 тыс.
Simulink Tutorial - 57 - Absolute Time Temporal Logic
11:48
Simulink Tutorial - 69 - Change Detection
15:05
Просмотров 6 тыс.
Simulink Tutorial - 59 - Simulink Function Block
20:41
Simulink Tutorial - 51 - Parallel States
10:29
Просмотров 19 тыс.
Simulink Tutorial - 52 - Events In Stateflow
6:53
Просмотров 25 тыс.