Rtde‘s ft_raw_wrench

I read the ft_raw_wrench variable in the rtde communication of the UR robot, I want to calibrate the zero point and filter it , and then send it to the robot through the external_force_torque variable, but I find that the value of ft_raw_wrench is large and unstable when no-load(especially when it is restarted), so how can I calibrate the zero point of the sensor?