Academic Journal of Science and Technology ISSN: 2771-3032 | Vol. 7, No. 3, 2023 252 VANETs MAC Protocol Without RSU Assistance Weifeng Yang, Guoqiang Zheng, Junchao Li, Feng Wang Henan University of Science and Technology, Luoyang 471000, China Abstract: The aim of MAC protocol research without RSU is to solve some of the challenges and problems that exist in VANETs without RSU support. For example, Rsus cannot be deployed in certain regions or scenarios due to various reasons (such as cost, lack of infrastructure, etc.). In this case, the MAC protocol without RSU assistance provides a solution that does not rely on RSU for communication. In addition, in traditional VANETs, the RSU acts as an important relay node, helping vehicles communicate with each other. However, without a sufficiently dense RSU deployment, network coverage will be limited. Through the MAC protocol without RSU assistance, vehicles can communicate directly, expanding the coverage of the network. Through the MAC protocol without RSU assistance, vehicles can communicate directly, expanding the coverage of the network. Improve the reliability and throughput of VANETs networks: Due to the mobility of vehicles and the uncertainty of the communication environment, problems such as message collisions and data transmission delays are common in VANETs. By designing an effective MAC protocol without RSU assistance, message collision can be reduced, system throughput can be improved, and network reliability can be enhanced. Finally, in some application scenarios, such as vehicle safety and traffic management, real-time communication is very important. Without the support of RSU, traditional VANETs may suffer from large communication delays. By studying the MAC protocol without RSU assistance, the communication delay can be minimized to meet the needs of real-time communication. 1. Introduction Intelligent Transport System (ITS) is an effective integrated application of advanced information technology, communication technology, sensing technology and computer technology in the entire transportation management system, which plays an increasingly prominent role in easing traffic congestion and reducing traffic accidents. Vehicular AdHoc Networks (VANETs), as ITS information carrier platform, has attracted widespread attention. Vehicular AD hoc network is a self-organizing wireless multi-hop network composed of on-board Unit (OBU) loaded On the vehicle and roadside communication infrastructure. In the vehicular AD hoc network, vehicles need to periodically exchange status information and safety information. However, characteristics such as excessive Vehicle speed, frequent network topology changes and no center [1] result in unreliable data transmission between vehicles (Vehicle to Vehicle (V2V) and between vehicles to Roadside Unit (V2R) in vehicle networking. Therefore, reliable and effective Medium Access Control (MAC) protocol is the focus of research. MAC protocols are generally divided into competition- based and non-competition-based [2]. The conflict caused by the competitive mode is difficult to meet the delay requirements of security applications when the vehicle density is large, while the non-competitive mode is divided into centralized and distributed modes according to the distribution mode of communication resources. In the centralized mode, communication resources are usually allocated with the help of RoadSide units (RSU) to reduce conflicts and improve communication efficiency. According to the requirements of different Qualityof Service (QoS), the researchers put forward different methods. [3] This paper proposes an IGTDMA protocol, which collects the information of vehicles in its communication range and constructs a IGTDMA based on the position of vehicles and the preset width of IGTDMA, and then uses a communication link selection algorithm to determine the time slot sent by nodes. [4] The communication frame is divided into time frame management cycle (TMP), free transfer cycle (FTP) and competition cycle (CP). During TMP, the RSU estimates and predicts the number of vehicles within its radius, adaptively determining the timing of FTP and CP. [5] A QOS- aware centralized Hybrid MAC(QCHMAC) protocol is proposed, which divides the access time into reservation period (RP) and transmission period (TP). In RP, newly added vehicles allocate time slots within IP according to their priority RSU, while in TP, vehicles with successful reservation within RP communicate. [6] A capture-aware TDMA MAC(CT-MAC) protocol is proposed. The RSU optimizes the length of each communication ton based on estimates of competing vehicles within its communication paradigm. [7] A collision prediction TDMAMAC(CPTM) protocol is proposed in which the RSU adjusts the time allocation of vehicles according to the combined shock cell in the predicted upcoming time slot, and then reallocates the time slot for vehicles in different directions according to the vehicle-to-density ratio. [8] A TDMA MAC(VCAR-MAC) protocol considering the actual environmental conditions is proposed. The control channel RSU can quickly identify the number of vehicles in the coverage area according to the actual environment, determine the optimal number of time slots for vehicle competition, and minimize the collision probability. [9] The proposed multi-channel MAC (RMM) protocol makes the vehicle reserve the service channel on the control channel by means of RSU coordination, and realizes the non-competitive transmission of the service channel. The above method requires a large number of Rsus to be placed on the roadside for communication coordination. On the one hand, it increases the cost; on the other hand, due to the high-speed moving characteristics of vehicles, frequent switching between vehicles and Rsus may also increase the probability of conflict. Therefore, many studies began to focus on distributed MAC protocols. [10] An adaptive Ad Hoc(A-ADHOC) protocol is proposed in which each node adjusts the time slot number of each frame according to vehicle density. [11] The proposed VeMAC protocol reduces 253 transmission conflicts by allocating disjoint time-slot sets to vehicles moving in opposite directions and Rsus through broadcast services provided on the control channel. [12] The proposed mobility aware TDMA MACMoMAC protocol assigns time slots to vehicles according to the basic road topology and lane distribution, taking into account vehicle mobility. In this paper, a content-based TDMA MAC protocol (CTDMAC) with the features of competition and time division multiplexing is proposed to divide the road into several segments according to the communication radius, Each section of the road corresponds to the part of the frame, and each part is divided into static segment and dynamic segment. Vehicles in the same section communicate in the static segment using time division multiplexing, and new vehicles enter the dynamic segment to determine the transmission time slot in a competitive way. The protocol adopts distributed mode with greater flexibility. 2. System Model In the scenario without the ability to communicate with RSU, it is necessary to design a MAC protocol that does not rely on the assistance of RSU, so that vehicles can still communicate effectively. In the model presented in this chapter, each vehicle is equipped with an OBU and GPS, and each vehicle V has its own ID, and their communication radius is r. In this chapter, access conflict refers to the situation that multiple vehicles may request access to the same time slot during communication between vehicles due to time-slot partitioning technology, resulting in access conflict. In order to solve this problem, this chapter adopts the time-space resource overlap method, divides the road into several disjoint road segments in a certain way, and uses the time-slot division technology in each road segment. In this way, communication between vehicles in different sections of the road does not conflict. For the communication between vehicles in the same road segment, this chapter adopts the method based on reservation protocol. When vehicles want to communicate, they will first scan the surrounding communication environment to detect which time slots have been occupied by other vehicles. The vehicle then selects an unoccupied time slot reserved for itself to communicate. This avoids communication conflicts and ensures communication reliability and stability. Specifically, each vehicle can periodically poll the status of neighboring vehicles, and when the status of the time slot occupied by the neighbor vehicle changes, the vehicle will reserve the available time slot according to its own needs and available resources to achieve communication. In this way, we can avoid communication failures or delays caused by access conflicts, and improve communication efficiency and reliability. At the same time, with the help of the space-time resource overlap method, we can divide the communication between vehicles into disjoint space-time fragments, and further avoid the problem of merging collision. The specific design is shown in Figure 1. V1 V2 V3 V4 V5 r r Figure 1. System design model diagram 3. MAC Protocol Without RUS Assistance 3.1. Protocol introduction As shown in Figure 2: In this chapter, we divide the entire communication scene into several areas with a communication range of r, each area is represented by Di, and the vehicle can use the map and GPS positioning system to determine its current area and the number of the corresponding area. On this basis, this chapter proposes a protocol to correspond different time slots to different lane areas on the highway. This means that within the same timeslot group, multiple packets can be transmitted simultaneously, and these packets can be transmitted between different channel areas. By processing multiple packets simultaneously within the same timeslot group, transmission delay can be reduced and communication throughput can be improved. In this way, vehicles can communicate more efficiently with each other, enabling fast and reliable data exchange. 254 D1 D2 D3 D4 D5 r Figure 2. Road subdivision diagram Timeslot sets and road segments are assigned according to formula (1):       1 2 3 | %3 1 | %3 2 | %3 0 S Di i S Di i S Di i         (1) As shown in Figure 3: D1 D2 D3 D4 D5 D6 …… S1 S2 S1S3 S3S2 Figure 3. The correspondence between time slot set and road 3.2. Protocol frame structure The frame structure of the proposed protocol is shown in Figure 4. The number of time slots corresponding to each static segment (Sts) and the total number of time slots in STs are n1, n2, n3 and τ, and satisfy the relation n1+n2+n3=τ. 一帧 ... Dyn Sts S1 ... Dyn Sts S2 ... Dyn Sts S3 ... ... ... Figure 4. Frame structure VID Ts Figure 5. Competing timeslot packet structure SS1 SS2 …… SSτ M Data Figure 6. Send time slot packet structure When a newly added vehicle needs to occupy certain time slots in the Sts segment, a Dyn packet is sent to nearby vehicles to inform them of the time slots they want to use. After receiving the data packet, other vehicles can decide whether to allocate the time slot to the vehicle according to their own situation and competitive strategy. If multiple vehicles want to occupy the same time slot, competition and conflict may occur. In this case, conflicts need to be detected and resolved, such as randomly waiting to re-select the time slot. Through the competition of Dyn packets, vehicles can better coordinate their communication needs, avoid communication collisions and conflicts, and improve communication efficiency and reliability. The structure is shown in Figure 5, VID indicates the vehicle number, Ts indicates the time slot of the Sts segment that the vehicle wants to use in the Dyn segment. Sts is further divided into multiple identical time slots, The structure is shown in Figure 6. In Figure 6, SSj indicates that the current status is conflict, idle, or busy, and can clearly represent the occupation and competition status of each time slot in the Sts segment. Vehicles can detect and resolve conflicts based on this information to avoid collisions caused 255 by multiple vehicles choosing the same time slot. In order to increase slot utilization and reduce collision probability. A message is sent when the vehicle leaves the current road section so that other vehicles can understand the departure of the vehicle and adjust accordingly if needed. To achieve this, M can be used to indicate whether node V leaves next in region Di, The definition is as follows: 0, = 1 M    车辆不离开当前区域 ,车辆在下一帧将离开 (2) 3.3. How the agreement works Algorithm 1 is the process of vehicle slot competition. Vehicle V randomly sends a number of messages in the corresponding Dyn segment, while assigning the value of j in the Sts segment to -1. Messages sent by new nodes in the network in the Dyn segment will be received by other nodes. 4. Access Conflict Analysis In area Di, if q new nodes are added and the number of competing time slots in Dyn is n, the success rate of sending in Dyn is as follows: q n res q A p n  (3) Then its probability in the Sts segment is: 1q n succ q i i sche A p n N         (4) Among scheN indicates the number of nodes with allocated time slots, i , i Indicates the start time slot and end time slot corresponding to Di. The number of nodes successfully competed in the Dyn segment Succ for: 1q n q i i sche A Succ m n N           (5) The number of nodes that failed to occupy the time slot is: 1m n m i i sche A Unsucc m m n N            (6) Then the number of free time slots is: re _ 1q n slot i i sheduled q i i sheduled A N N q n N                 (7) Therefore: _ _ re slot Succ N i j Succ re slot A p N    (8) Among them, ijp Indicates the probability that a vehicle successfully occupies a node in Di.   1 1 2 1 1 ii i total ac no ac AN N no ac naci ij ij i i j k p P P P P p                  (9) 5. Simulation Verification This chapter uses MATLAB to conduct simulation experiments on the proposed protocol, Simulation parameters are shown in Table 1: Table 1. Simulation parameter setting Parm Value Road Length (m) 1200 Number of roads in each direction 2 Average speed (km/h) 120 Communication radius (m) 200 Frame length (ms) 100 Send time slot number 99 Transmit slot length (ms) 1 Number of competing timeslot frames 100 Competing Slot Length (ms) 0 Simulation time (s) 60 Vehicle density 0.1-0.6 Figure 8 is to obtain the relationship between the number of available nodes and the number of time frames, When the difference between N and K is small, the number of nodes obtained by the proposed protocol in the average available time slot is relatively large. When the network density 256 increases, the number of messages that need to be transmitted will increase, the number of collisions will increase, and the collision rate will increase. Figure 8. Gets the average number of nodes in the time slot within n frames Figure 9 shows the relationship between DT-MAC and the proposed protocol access conflict rate and network density. As is shown in the picture, the access conflict rate of the protocol proposed in this chapter is lower than that of the existing protocol in all vehicle density scenarios, especially when the vehicle density in the network is large, the proposed protocol is much smaller than DA-MAC. Figure 9. Access collision rate and vehicle density Figure 10 shows the relationship between DT-MAC and the packet loss rate of the proposed protocol and the network density. As is shown in the picture, the packet loss rate of the protocol proposed in this chapter is lower than that of DT- MAC in all vehicle density scenarios, especially when the density of vehicles in the network is large, the proposed protocol is much smaller than DA-MAC. Figure 10. Packet loss rate and vehicle density 6. Conclusion In order to reduce the collision caused by vehicle movement in VANETs without RSU, this chapter proposes a MAC protocol without RSU assistance based on TDMA. The protocol divides a time frame into two segments. Newly arrived nodes in the network compete in the Dyn segment for time slots in the Sts segment and send messages in the Sts segment. The simulation results show that when the network density is high, the data transmission loss of the proposed protocol is effectively reduced, the throughput is increased, and the reliability of VANETs network is greatly improved. References [1] HADDED M, MUHLETHALER P, LAOUITI A.et al. TDMA- based MAC protocols for vehicular ad hoc networks: a survey, qualitative analysis, and open research issues[J]. IEEE Communications Surveys &Tutorials, 2015, 17(4): 2461-2492. [2] HE Peng, YAN Baoping, LI Zhi, et al. CM-MAC:a cluster- based multi-channel MAC protocol for VANET[J].Journal of Counbuter Research and Development,2014.51(3);502-510. [3] CAO S, LEE V C. A novel coordinated medium access control scheme for vehicular adhoc networks in multi-channel environment[J].IEEE Access,2019,7:84333-84348. [4] SONG Caixia, TAN Guozhen, DINGNan, et al. Application oriented cross-layer multi-channel MAC protocol for VANET[J]. Journal on Communications,2016,37(5):95-105. [5] LIUJ, REN F Y, MIAOLM, et al. A-ADHOC;an adaptive real-time distributed MAC protocol for vehicular adhoc networks [J]. Mobile Networks and Applications, 2011, 16(5): 576-585. [6] OMAR H A, ZHUANG W, LIL. VeMAC: a TDMA-based MAC protocol for reliable broadcast in VANETs[J].IEEE Transactions on Mobile Computing,2012,12(9):1724-1736. [7] LYU F, ZHU H, ZHOU H, et al. MoMAC: mobility-aware and collision-avoidance MAC for safety applications in VANETs [J]. IEEE Transactions on Vehicular Technology, 2018,67(11):10590-10602. [8] ZOU Rui, LIU Zishan, ZHANG Lin, et al. A near collision free reservation-based MAC protocol for VANETs[C]// Proceedings of 2014 IEEE Wireless Communications and Networking Conference. Washington D.C., USA: IEEE Press, 2014:523-539. [9] ZHANG Tianjiao, ZHU Qi. Game-based TDMA MAC protocol for vehicular network[J]. Journal of Communica- tions and Networks, 2017,19(3):209-217. 257 [10] LI Shujing, LIU Yanheng, WANG Jian, et al. TCGMAC:a TDMA-based MAC protocol with collision alleviation based on slot declaration and game theory in VANETS [J]. Transactions on Emerging Telecommunications Tech- nologies, 2019, 30(2): 1525-1537. [11] LIN Zhiping, TANG Yuliang. Distributed multi-channel MAC protocol for VANET:an adaptive frame structure scheme[J]. IEEE Access,2019,7:12868-12878. [12] WANG Mengxue, XU Zhexin, WU Yi, et al. Modified distributed adaptive TDMAscheduling mechanism for VANET [J]. Computer Systems & Applications, 2018, 27(9): 130-136.