| The rapid development of the mobile internet and the internet of things has led to the emergence of various differentiated new business applications.To better copes with this situation,the 5th-Generation(5G)proposes three application scenarios for different needs.Because the system's implementation indicators may conflict with each other in different scenarios,5G systems propose new air interface technologies and operating frequency bands.The Physical Layer(PHY)is an important hub of terminal mobile communication.To improve the overall efficiency of the PHY,this thesis introduces the mechanism of Layer 1 Control(L1C),that is,a management mechanism is established at the PHY,the unified scheduling of all channels at the physical layer and the provision of data services for the higher layer.Based on the protocol of 3GPP TS38 Release 15,this thesis studies the PHY functions of the 5G system in terminal-side and the data interaction between the protocol stack and the PHY.L1 C is designed and implemented in the PHY.The main contents and innovations are as follows:1.The main processes of PHY on the terminal-side are deeply studied,including cell search,random access,uplink/downlink scheduling,resource allocation,and Hybrid Automatic Repeat re Quest(HARQ)process.According to the relevance of the PHY process,protocol stack function and state machine principle,L1 C is divided into 5 states from power-on to establishing connection with the base station: null state,cell selection state,idle state,access state and connection state.Besides,the interface primitives,interactive data and state transfer methods between each state of L1 C and the protocol stack are designed,so that the tasks of each state are both independent and relevant,which enhances the robustness of the entire program at the PHY.2.A development platform for terminal-side L1 C is designed,which adopts a combination of Personal Computer(PC),multi-core Digital Signal Processor(DSP)and Field Programmable Gate Array(FPGA)to develop a test solution.Based on the primitives as a carrier,the platform designs a detailed processing flow and corresponding processing functions for the receiving primitives of L1 C in each state,including the primitive analysis process and the channel scheduling process.3.On the built test platform,the function of L1 C was realized and tested.Based on the test principle,50 test cases are constructed,such as normal and abnormal test cases inthe initial cell search,covering all possible cases.The joint protocol stack teats and analyzes the main functions of each state of L1 C.After continuous testing and improvement,the test pass rate of L1 C reached 100%.The test shows that when L1 C conducts state matching to the received primitives,only the successfully matched primitives will schedule the physical channel and process the data.Besides,L1 C can correctly implement the functions of each primitive and make reasonable responses to abnormal data,which verifies the correctness of the design and the consistency with the protocol. |