程序代写案例-BMET9922/2922
时间:2021-10-14

BMET9922/2922 Computational Analysis for Biomedical Signals Pulse Sensor Requirements ed5 1 Pulse Sensor System Requirements Specification Edition: 5 Date of Issue: 1st October 2021 1 Introduction This document sets out the requirements of the pulse sensor system. This document is the entire specification. There are no optional requirements. The system context is shown below. Figure 1 - Pulse sensor system - Context Diagram 2 Abbreviations ▪ uc microcontroller ▪ host a standalone computer (Mac/PC) 3 Other Information a. https://en.wikipedia.org/wiki/List_of_Bluetooth_profiles BMET9922/2922 Computational Analysis for Biomedical Signals Pulse Sensor Requirements ed5 2 4 Requirements Domain Reqt # Requirement Communications COMM -1 Communication between uC and Host will be Bluetooth SPP. The Host is the master (initiates comms), the uC is the slave. Communications COMM -2 Data are to be transferred in the specified format including a sequence number and a checksum. Communications COMM -3 If the host loses communications with uC, the host will re- establish comms Communications COMM -4 If the uC loses communications with host it waits for the host to re-establish comms. The uC should prepare the Bluetooth Communication system as required for the host to make the connection. Communications COMM -5 Once both host and uC are available comms will be established within 10 seconds. Data comms DATA -1 If the amplitude of the pulse waveform (the difference between the max and min in one cycle) is < 300 then the pulse rate 0 should be sent Data comms DATA -2 The uC is to send the current pulse rate (BPM) to the host each second. Data comms DATA -3 The uC is to send the current pulse waveform magnitude as read from the sensor (0-4095) to the host each second. The waveform will consist of 50 instantaneous sensor readings. Host alarms ALRM -1 A comms alarm will be raised if i. a BPM message is not received within 5 seconds of the last BPM. (alarm string = "Comms - No BPM") ii. A message is received with an invalid checksum ("Comms - Checksum error") iii. A message is received with an out of order sequence number ("Comms - Sequence error") When none of these conditions is present the alarm will be cleared. Host alarms ALRM -2 A pulse high alarm will be raised when BPM > highBpmThreshold. The alarm string is "Pulse High". When the condition is not present the alarm will be cleared. Host alarms ALRM -3 A pulse low alarm will be raised when BPM < lowBpmThreshold. The alarm string is "Pulse Low". When the condition is not present the alarm will be cleared. Host alarms ALRM -4 Alarms will be indicated graphically. The indication will be active when the alarm is raised and inactive when the alarm is cleared. Host alarms ALRM -5 Alarms will be logged as text whenever the alarm changes state. i.e. Active to inactive, or inactive to active. Host alarms ALRM -6 highBpmThreshold will be adjustable via the GUI over a range of 70 to 140 BPM in 1 BPM steps Host alarms ALRM -7 Logged alarms will contain a time stamp. BMET9922/2922 Computational Analysis for Biomedical Signals Pulse Sensor Requirements ed5 3 Domain Reqt # Requirement Host alarms ALRM -8 lowBpmThreshold will be adjustable via the GUI over a range of 20 to 50 BPM in 1 BPM steps Host alarms ALRM -9 The default highBpmThreshold will be 90 BPM Host alarms ALRM -10 The default lowBpmThreshold will be 40 BPM Host alarms ALRM -11 The format of logged alarm messages will be



essay、essay代写