## 5 Random Channel Selection Intelligence Algorithm for CR in BNC for the WBAN System  
The performance of the CR tuner system depends upon how efficiently and correctly the information about the channel is analyzed. The sensing parameter associated with the CR concert is the sensing capability, where the efficiency corresponds to the ability of any designed algorithm to find the free channel for as long as possible and to utilize the channel in the most efficient way. MB-OFDM UWB systems utilize Power Spectral Density (PSD) data for each sub-band that identifies the MB-OFDM receiver. With this PSD level, it can regulate the presence of co-existing devices. CR is very relevant to the power restriction in WBANs by two vital procedures. The first one is to provide the maximum usage of the unused, licensed PU of an IP-BNC to be supplied for the OP-BNC. The second is the improved dynamic selection of IP-BNC spectrum, thus decreasing the allocation time and fast assignment of the channel to the OP-BNC. For dynamic channel selection, an existing channel ranking scheme is adopted, which is of two types. The first type is the sub-band PSD data calculation method to find a vacant spectrum, where the measured BER value of the channel is not calculated. The second type is LUT based on the quality of the BER value of the underutilized channels. To get maximum randomness in dynamic channel selection, an optimized EFPOC algorithm is proposed in this work, which obtained an efficient performance and minimum channel selection time [24]. The research had given a solution for the scarcity of the limited band for OP-BNC during increased user visitation to the hospital with an optimum EFPOC algorithm for dynamic channel selection. The hospitals usually maintain a limited number of spectrums due to its high cost and limited amount of availability for providing it to the BNC. The CRC senses the spectrum on a regular basis from the doctor's end and keeps surveillance of the patient's PS on a demand or regular basis. Here, the quantity of the PS can be usually measured from the insulin-pumping device, pacemaker, and neuro-stimulator that are implanted. The IP-BNC will communicate with the AP through its dedicated PU channel given by the hospital. In addition, there will be some limited number of PUs assigned for the OP-BNC during the vising hours for the communication of OP-BNC with the doctor. The OP-BNC will contact with the hospital server to communicate and transfer the PS (i.e., history) prior to the doctor's direct visit as shown in Figure 5.  
When the number of OP-IMDs increases, the additional channel supply for the increased OP-IMD is supported by the unlicensed SUs, and this must be must be avoided. The EFPOC algorithm proposes a solution in which, in most cases, the hospital IP-BNC will not occupy the channel, and the usage of the IP-BNC licensed band PUs, which is idle most of the time, can be used. These idle PU spectrums that are identified as idle are listed in an LUT. It can be used in place of the unlicensed SUs during increasedOP-BNCs. This avoids the transmission of vital signs from the patient in the unsecured/unlicensed spectrum. Secondly, this allocation of licensed frequency to the OP-BNC must be highly random from the LUT, and the same frequency of PUs should not be used very often in order to avoid collusion and data loss between the patient and doctor. Thus, an optimized EFPOC channel selection algorithm is proposed to overcome the overloading of the same PU by the CRC [25]. Thus, an immediate reuse of the licensed channel is be avoided, and the energy spent in dynamic channel selection is optimized. The steps involved in the optimized EFPOC channel selection algorithm are explained briefly by the following steps [26; 27; 28]. **Step 1:**: Initializing the parameters, switch probability = P. The initial free channels available with the BNC are set to a count of five (C1, C2, C3, C4, C5).