TECHNOLOGY FOCUS - CHEMICAL ENGINEERING - Preferred Method: In the technical method and equipment for preparing biodiesel with palm oil for improving the production efficiency, the biodiesel is prepared according to the following steps after the reactants are ready: (a) adjusting the frequency and amplitude to the required values and turning on the mechanical oscillation device; (b) adjusting the metering pump (24) to the required values, extracting the reactants from their own vessels and inputting them to the reactor (1) after heating them up to 40 to 100 degrees Cr; the mechanical oscillation device arranged at the inlet and outlet of the reactor (1) and is fixedly connected to the latter in tight coordination mixes the reactants completely in the reactor (1) to intensify the reaction process; where the mechanical oscillation device is characterized that single or multiple rotors (7) of geometrical axis crossed with rotating shafts (10) are assembled on the same or different rotating shafts (10) symmetrically or unsymmetrically, the eccentric distance of rotor (7) forms a phase difference of 180 degrees, the rotor is movably or fixedly connected with the external end of a piston (5), when the rotating shaft (10) drives the rotor (7) to rotate, the piston is driven by the rotor (7) so that the piston reciprocates or two adjacent pistons (5) reciprocate with equal shift absolute values in opposite directions, the rotor (7) can be moved or fixed in the direction of the rotating shaft (10), the result of moving changes the eccentric distance of the rotor (7) at the piston (5), namely changes the amplitude of the piston (5) so that the piston (5) can oscillates under different amplitudes, a piston guide barrel (16) is in seal connection with the reactor (1), the reciprocation of piston (5) inspires the reactants in the reactor (1) to increase the collision probability of reactant mass points to form a turbulent flow or mix the mass points completely, so that the flowing state of reactants is improved and the flowing speeds of mass points become uniform so as to avoid backmixing, reach the plug flow and generate the movement beneficial to the reaction process; a baffle (2) or filler can be mounted or filled in the reactor (1), the reactor (1) is in the shape of tube or pot, of which the cross section is circular or noncircular, and the diameter is uniform or variable, the mounting mode is vertical, horizontal or oblique, and the intensifying mode is single-stage, double-stage or multi-stage, the shapes of tube comprise straight tube, curved tube, L-shaped tube, T-shaped tube cross-shaped tube or coiled tube, the number of tubes can be odd or plural; the heat insulation measure can be adopted at the conveying pipeline from the outlet of the heater (25) to the inlet (18) of the reactor (1) to keep the proper reacting temperature of reactants; (3) after reacting under proper frequency and amplitude, firstly separating the product (coarse biodiesel and glycerin) by leading it to a separator (34) or naturally; the glycerin sinks down due to the large density and the coarse biodiesel floats up due to the small density; (4) leading the separated coarse biodiesel containing methanol (or the coarse biodiesel above when using natural separation) to a washer (32) to remove the methanol; (5) firstly passing the washed biodiesel through a water strainer (30) to drain off water and then leading drained biodiesel to a water absorber (29) to further remove water and putting it to a storage tank (36) to obtain the biodiesel; and (6) regulating the flowing state and residence time of reactants in the reactor (1), or ingredients of reactants and/or conversion ratio or reaction speed by regulating the frequency and/or amplitude of the piston (5); the frequency of piston (5) can be changed by changing the rotating speed of a adjustable speed motor, and the amplitude of piston (5) can be changed by changing the position of rotor; and obtaining the biodiesel with different components and performances by changing the concentration of catalyst and/or the flow rate proportioning of methanol and palm oil. When preparing the biodiesel by using the materials other than palm oil, methanol, sodium hydroxide or sodium methoxide, the technical flow and production equipment are equally applicable except the different proportioning among components of materials. Preferred Device: In the mechanical oscillation device, the speed of piston drive mechanism is adjustable or constant. The rotors (7) comprise a plate rotor and a column rotor, the rotors (7) are fixed or movable in the direction of rotating axis, and the outer surfaces of rotors are in point contact or tangent contact with the external end of the piston. The rotors (7) comprise a rotor with circular section or noncircular section; the rotors (7) are symmetrically or unsymmetrically fixed to the same or different rotating shafts (10) singly or two by two. The column rotor comprises a cylinder, a circular table or a column with noncircular section; the geometrical axis of the column rotor is intersected, crossed, parallel or superposition state with the rotating axis; the cross section of the column rotor is vertical to the geometrical axis or not; when the column rotors are used, the column rotors are symmetrically or unsymmetrically fixed to the same or different rotating shafts (10) singly or two by two.