In weaving segments, traffic merges, diverges, and weaves in a limited space. These traffic maneuvers might result in high crash hazards. In order to improve the safety of congested expressway weaving segments, this study tested three ramp metering (RM) strategies in microsimulation. One RM strategy was the traditional ALINEA algorithm, which decides the RM rate only by the traffic operation condition on the mainline. Additionally, this study proposed two new ALINEA RM strategies that decides RM metering by both the traffic operation and the traffic safety of weaving segments. Among these two RM strategies, one controls the queue length by increasing green phase time when the queue length on ramp is more than ten vehicles; and the other strategy does not control the queue length.