Accelerometer calibration don't work

Hi. I have Pixhawk4 from Holybro and made quadcopter.
It seems serious problem in Accelerometer.
I did a Accelerometer calibration and can pass Prearm check.
Can fly with this but if I change mode like Althold or Loiter, my quad start to move up and down.
Flight log around Altitude and Acc are like this photo.



What can I do to this bias.

First you can post a link to the .bin flight log.

Thank you for reply. This is a link for flight log file.
https://drive.google.com/file/d/1zOK3jCKHmVlx6P37_jxdIX10xjgYcn2O/view?usp=sharing

You are flying on default parameters. Read this:
Initial Tuning
And use Mission Planners Alt>A tuning Plug-in before flying again.
There is a problem with the barometer.

I disagree, I fly on default prams for the 9" to 10" size props for 7" props jus turn down the PID’s using basic tuning as seen below. Loiter should work just fine in stock tuning in Fact stabilize and loiter should have the same exact feel once you adjust the PIDs. At times the barometer just need to be flown for a battery or two.

basically if stabilize is working Loiter I think should be as well. If Stabilize is twitchy use this and try it again.

I worried about great bias in vertical acceleration (Zacc) like 10m/s^2. And it also in both IMU.
Is this normal?

9.8 m/s^2 sounds familiar doesn’t it? Z axis is vertical…

Don’t woryy about that, be concerned with basic initial configuration and the fact your barometer does not look right.

For reference (baro units on the primary Y-axis):

I just looked at the vibrations in the log and don’t see a lot of difference between the two mode so give Dave’s idea a shot. BTW sometimes if your lucky you just need to fly the bird and let the barometer settle down.

Thanks a lot.
You means altitude changes are from Barometer glitch?

For now I ignore the Acc thigs and try to fix (fix?) around Barometer sensor.
Is it can fix Pixhawk it self?