A new scheme to create a closed toroidal magnetic waveguide for deBroglie wave on a single layer atom chip is proposed and there is no zero magnetic field along the guide center. The guide is a two-dimensional magnetic trap for trapping weak-field seeking states of atoms with a magnetic dipole moment. The designed wire structure on the atom chip consists of three concentric and isometric ring wires, and six vertical current leads of the three ring wires. By using the through silicon via technology, the current leads can be made perpendicular to the atom chip surface instead of being generally arranged side by side on the chip surface. Compared with the general wiring way, the vertical lead way has two advantages. One is that each ring wire gap caused by the current leads is substantially smaller than the distance between the ring wires, which permits the generation of a closed toroidal magnetic guide near the atom chip surface when dc currents are supplied to the three ring wires. The other is that the distance between two leads of each ring wire is considerably reduced, resulting in the fact that the magnetic perturbation of the leads to the whole toroidal magnetic guide is negligible. We numerically calculate the magnetic field distribution generated by our wire layout when dc currents are applied, and it is shown that a closed and tight toroidal magnetic guide is formed near the atom chip surface. However, there are zero magnetic fields existing along the center of the toroidal guide, which leads to Majorana spin flips from trapped magnetic substate to an un-trapped magnetic sub-state. According to the time-orbiting-potential principle, we propose an ac current modulation method, which is simple and stable, to reduce the atom losses and suppress the atomic decoherence in the toroidal magnetic guide. We deduce the ac current expressions for the case of three isometric infinite straight wires and apply the ac modulation current expressions directly to our three ring wire structure. The numerical calculation results show that the closed toroidal guide does no longer have zero magnetic fields near the magnetic field minimum, and that the magnetic field fluctuation of the guide is smaller. Based on the vertical leads and ac current modulation, the closed toroidal wave guide with no zero magnetic field along the guide center can be generated near the atom chip surface. This scheme has important scientific significance and engineering value for developing the cold atomic chip gyroscope.