dyulabs / KrishnaNaikTasks

Integration and testing of Radar Sensor
0 stars 0 forks source link

Create different test cases for occupancy sensitivity testing #4

Open cdpdyulabs opened 5 months ago

Krishgt commented 5 months ago

Test Scenarios

1)Motion Detection - Moving Body in a room

-The sensor values change when the test subject moves in the room -More rapid movements generate bigger sensor values with "mov" -While slower less intense movements output smaller values -The sensor is able to detect movement in the room

2)No Occupancy & No Motion Detection - Empty room

-The sensor is able to detect the absence of any motion or presence in the room and -Outputs Null

3)Motion into a room - Moving into an empty room

-The sensor outputs null until the test subject enters the room -After which it detects the moving body and -Outputs "mov" and sensor readings for the corresponding movement -The sensor is able to detect the movement of an individual into a room

4)Motion and Subsequent occupancy - Moving into a room and subsequently remaining stationary in the room

-The sensor outputs mov(motion) values as the test subject walks into the room and -Then starts to output occ(occupancy) readings from there onwards as long as the subject remains stationary -The sensor is able to detect the initial movement and subsequent stationary presence

5)Vehicular interference

-Vehicular movement outside the room interferes while carrying out tests for other scenarios -The sensor is able to detect the movements of vehicles when placed in a room with a window adjacent to a road nearby

6)Vehicular interference - Testing the interference with another subject in the room

-The sensor is able to correctly identify static occupancy state when the subject is present in the room -But outputs mov(motion) values upon detecting an approaching vehicle and -Then goes back to outputting occ(occupancy) values once the vehicle departs away

7)Other Electrical appliance - Fan testing in an empty room

-The sensor outputs motion values for as long as the fan is rotating and -Once the fan stops moving ,it outputs null -The sensor is able to detect the fan movement for as long as it is rotating

8)Fan testing - With test subject in the room

-The sensor starts outputting motion values inbetween occupancy values of the static subject -The fan movement interferes with occupancy data of the stationary test subject

9)Subtle movement detection - Sleeping on the bed inside the room

-The sensor outputs null values when the subject is lying down motionless -The sensor does not detect presence when the subject is asleep

10)Multiple People Detection test - One stationary inside the room and the other walks into the room

-The sensor outputs occ(occupancy) values as long as the other person is outside the room -And once the other person enters the room, it detects the motion and outputs mov(motion) values -Once both moving subject also becomes stationary, the sensor detects occupancy and outputs occ values

11)Multiple People Detection test - Both occupants stationary and one of them moves

-The sensor outputs occupancy values for as long as both subjects are stationary -And when one of the subjects moves, it detects motion and outputs motion values -The sensor is able to detect the static presence even when multiple subjects are present in the room

12)Multiple people Detection test - Both subjects moving freely inside the room

-The sensor detects motion of both subjects as expected and outputs motion values

13)Adjacent Room testing - testing the sensor behind the wall of the room where the sensor is placed

-The sensor is unable to detect any occupancy or motion on the other side of the wall even when the subject moved or stayed stationary behind the wall -The sensor is unable to detect any presence or motion behind the wall

14)Room Door testing - testing with door closed, subject walks past the door of the room

-Scenario : An empty room with closed door to check if the sensor does detect motion or occupancy if someone passes by the room

-The sensor did not detect any motion or occupancy when the subject moved past the closed door and continued to output null

15)Room Door testing - testing with door closed,subject stands infront of the wooden door

-Scenario : An empty room with closed door to check if the sensor does detect motion or occupancy if someone stands in front of the door of the room outside the room

-The sensor did not detect motion or occupancy when the subject stood infront of the door and continued to output null

16)Room Door testing - with door open, subject passes by the door

-Scenario : An empty room with an open door to check if the sensor does detect motion or occupancy if someone passes by the room

-The sensor detects motion when subject passed by the door and outputs motion values -The sensor detects better when one moves past the door at within a distance of approximately 1 feet from the door -Detection however, is quite inconsistent at farther distances from the door

17)Room Door testing - door open , subject approaches the room and stands near the door

-Scenario: The sensor is with its back to the wall, and the door of the room is closer the sensor's side -The sensor is able to detect the motion approaching the room door -But does not detect occupancy once the subject remained stationary

18)Obstacle test - test with an obstacle in between the sensor and the subject

-Scenario: placed an obstruction between the sensor and subject and tested the sensor for motion or occupancy -Sensor detects motion behind the obstacle -But, fails to detect occupancy if the subject remained stationary behind the obstacle and -Outputs null as opposed to detecting occupancy previously without the obstacle at the same distance -The sensor's occupancy detection capabilities are affected incase of an obstruction

19)No occupancy detection time - testing to check for how long it takes for the sensor to detects the absence of any motion or occupancy

-The subject walked into an empty room and then walked out of it and waited for the sensor to output null

-Experiment readings 1st trial: 29986 milliseconds 2nd trial: 29987 milliseconds 3nd trial:29975 milliseconds 4th trial:30392 milliseconds Approximately 30 seconds

-Separate but rare beavior , no occupancy detection happened quicker than normal 1st trial: 9011 milliseconds 2nd trial:9265 milliseconds approximately 9 seconds

20)Half Angle Power testing - infront of the sensor

-The subject stood directly infront of the sensor at a distance of 1m -The occupancy values were much larger in the order of 1000s,2000s,3000s,4000s,5000s etc -logs and plot available

21)Half Angle Power testing - outside the half angle distance

-The subject stood 1.54 m away from the 1m centerline -The occupancy values were much smaller compared to the previous case and were in the order of the 100s,200s -logs and plot available

22)Sensor detection at different distances infront of the sensor

-The subject stood directly infornt of the sensor at various distances like 1m,2m,3.5m and 5.5m -The sensor occupancy detection was stronger as one approached closer to sensor -The occupancy detection seems to stop at around 5.5m away from the sensor -logs and plot are available

23)

Backside testing - 1m

-Stood 1m away from the back of the sensor and tested it for presence detection by staying motionless -The sensor was unable to detect presence and began to output null

Backside testing - 2m

-Stood beyond 2m away from the back of the sensor and tested it for presence detection by staying motionless -The sensor was unable to detect presence and began to output null

Backside testing - 3m

-Stood beyond 3m away from the back of the sensor and tested it for presence detection by staying motionless -The sensor was unable to detect presence and began to output null

Backside testing - within 1m

-Even at distances as close as half a metre away from the sensor's backside , the sensor was unable to detect presence and outputted null

Backside testing - directly behind the sensor

-Presence detection is much more accurate at closer distances -The sensor is able to detect presence properly when the subject is almost directly behind it

24)Backside testing - Motion Detection

-The sensor is able to detect motion better compared to presence -The sensor was able to detect motion at distances beyond 1m and 2m as well -Beyond 2m , the sensitivity began to decrease -The sensor was able to detect motion even as far as 3 and 3.5 m away from the back side of the sensor(although with less sensitivity) but beyond those distances , the sensor failed to detect either motion or presence and outputted null

Plots are attached below

Screenshot_Approaching_Sensor Screenshot_Going_Away_From_Sensor Screenshot_Half_Angle_Detection