Filter löschen
Filter löschen

Measurement of the time of a signal

1 Ansicht (letzte 30 Tage)
alexandre
alexandre am 23 Mär. 2012
Hello,
i need some help by using Simulink ! I am working with driving cycle and i want to classify them.
The problem that i have by classifying is: in one driving cycle, i can have one OR many driving behavior ( urban AND rural for example ) !
time (s) 0 10 20 30 40 50 60 70 80
Velocity (km/h) 0 45 55 120 120 30 30 25 0
For the classification you can assume that:
Urban velocity: 0 - 50 km/h
Rural velocity: 51 - 100 km/h
highway: x > 100km/h
Question: which function / bloc can detect multiple behavior / signals for one driving cycle ?
How can i measure the time of each classification ( case with multiple driving behavior )by using Simulink?
for given cycle we have nearly:
urban = 25 s + 30s
highway= 25s
thanks
  3 Kommentare
Jan
Jan am 24 Mär. 2012
I still do not understand the question. The fact that your different threads contains slightly different information increases my confusion.
Does t=[0, 10] and velocity=[0, 45] mean, that the velocity is 0 until the time 10 (in seconds?) and that it is 45 suddenly? Does e.g. the interval [10 20] belong to the "rural" classification, perhaps partially?
This is important, but not explained yet. How did you calculate the "nearly" classification?
alexandre
alexandre am 24 Mär. 2012
1/
t=[0, 10] and velocity=[0, 45] => that means that the velocity increase until 45km/h in 10 seconds ! The velocity increase linearly ( LOOKUP TABLE )
2/
time [10 20 ], you got it... this interval of time belong between Urban & Rural ! And i want to know if there is a possibility to get the Urban-time and Rural-time by working with a embedded function or bloc
3/
My given cycle is just an example( US-Hyzem driving cycle ) , to explain how a cycle looks ( driving cycle = time + velocity )
Urban= ...s+...s and highway = ...s was just an aproximation ... i didn´t calculate it .
p.s: my english is not the best, am a french-talker... i beg your forgivness

Melden Sie sich an, um zu kommentieren.

Antworten (1)

alexandre
alexandre am 24 Mär. 2012
hello simon,
sorry for the confusion but fact is that i have two clompletly different question:
1- calculate the driving average velocity ( by filtering the time where the velocity is equal to zero )
2- (This thread) how can measure the time where i signal activ is, while by driving there can be many driving behavior, and i want to know long> there take.
i have really big interess in Simulink but am a beginner :((
thx

Kategorien

Mehr zu Modeling finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by