NOVELTY - Biodiesel device comprises a biodiesel reactor, connecting pipes, pipeline metering pumps, transfer pumps and flow meters; the biodiesel reactor comprises a mixer (2), first heater (3), first pipeline reactor (4), esterification reaction tower (5), catalyst separator (10), methanol tank (9), methanol lye tank (12), second pipeline reactor (24), flash column (15), glycerin separator (16), distillation column (17) and biodiesel fuel tank (19).    USE - Biodiesel device.    ADVANTAGE - The method is simple, has wide application range of raw oil quality, low energy consumption, high conversion rate, environment-friendly and improves production quality and yield of biodiesel.    DETAILED DESCRIPTION - The biodiesel device comprises a biodiesel reactor, connecting pipes, pipeline metering pumps, transfer pumps and flow meters; the biodiesel reactor comprises a mixer (2), first heater (3), first pipeline reactor (4), esterification reaction tower (5), catalyst separator (10), methanol tank (9), methanol lye tank (12), second pipeline reactor (24), flash column (15), glycerin separator (16), distillation column (17) and biodiesel fuel tank (19); the mixer is connected to the outlet of the first heater and first pipeline reactor, first pipeline reactor is connected to the upper portion of the esterification reaction tower and bottom is connected to catalyst separator; the methanol storage tank connected to the inlet of methanol lye tank and outlet of methanol lye tank is connected to the catalyst separator with metering pumps and second pipeline reactor, the second pipeline reactor outlet is connected to the upper inlet of flash column and bottom of flash column is connected to the glycerin separator bottom inlet, glycerin separator upper outlet is connected at the lower portion of the distillation column and top portion connected to the biodiesel fuel tank. An INDEPENDENT CLAIM is included for the production of biodiesel comprising pretreating high acid value of the feedstock: heating oil to 90-100 degrees C after flash, separating and distilling glycerin, condensing distillate from top of distillation column; first esterification reaction: adding 1:0.5-2:0.01 molar ratio methanol and acidic catalyst to the mixer, mixing, heating in first heater at 80-100 degrees C, passing in first pipe reactor, reacting at 100-160 degrees C, pressure at 0.4-1 MPa for 0.5-2 hours under esterification reaction; secondary esterification reaction: introducing material to the esterification reaction tower, entering in flash unit, falling film evaporator at 100-140 degrees C, entering in packed column from esterification reaction tower, passing in methanol for countercurrent esterification at 100-140 degrees C for 2-5 minutes, introducing esterified oil in catalyst separator, distilling methanol in distillation column and recycling methanol.    DESCRIPTION OF DRAWING(S) - The drawing shows a schematic diagram of the biodiesel device.    Mixer (2)    First Heater (3)    First pipeline reactor (4)    Esterification pipeline reactor (5)    Methanol tank (9)    Catalyst Separator (10)    Methanol lye tank (12)    Flash column (15)    Glycerin separator (16)    Distillation column (17)    Biodiesel fuel tank (19)    Second pipeline reactor. (24)