The invention relates to an automatic control device and method for exposure parameters of an X-ray machine combined with a depth camera.An X-ray exposure parameter automatic control device is integrated in a diagnosis and treatment equipment.A height difference value is calculated from a first image pixel depth signal and a second image pixel depth signal of the target human body obtained by a depth camera.Then an X-ray energy calculation conversion unit is used to find the X-ray energy value corresponding to the height difference value.Send out another X-ray energy output value.Then, the processing unit generates an X-ray energy control signal according to the X-ray energy output value and controls an X-ray energy generation unit to select and output one of a plurality of different exposure parameters to the X-ray source generator.The X-ray generator then generates an X-ray to the target human body.一種結合深度攝影機的X光機曝光參數自動控制裝置及方法,係在一診療設備中結合有一X光機曝光參數自動控制裝置,其係將一深度攝影機所取得標的人體的一第一影像像素深度信號以及一第二影像像素深度信號計算出一高度差異值,再以一X光能量計算轉換單元找到該高度差異值所對應的X光能量值,再送出一X光能量輸出值,再由處理單元依據該X光能量輸出值產生一X光能量控制信號控制一X光能量產生單元選擇輸出複數個不同曝光參數之一至X光源產生器,進而由該X光源產生器產生X光束至標的人體。