Trying to make petals on a round shape

I am trying to create these petals on a plate. I have been using Boundary Surface, then Thicken and adding some fillets. But it's not correct, and I can't seem to figure out how to do it correctly.

 

Also, I am trying to make it parametric, so I can change the number of petals, size of diameter and height of the plate.

 

My attempts look like this: