A practical PINN framework for multi-scale problems with multi-magnitude loss terms