The invention relates to a direct-drive type double-
stator oblique-pole double-freedom-degree permanent
magnet generator for ocean energy power generation. An inner-outer-layer double-
stator structureis adopted, and the winding directions of two sets of windings in two sets of stators are perpendicular to each other, and the two sets of windings are wound in the circumferential direction and theaxial direction respectively; a circular shaft and a waterproof outer shell are connected through a
linear motion bearing and an embedded rotary bearing, and the linear and rotary
relative motion of arotor is realized; permanent magnets are embedded in the rotor, the magnetizing directions of the adjacent permanent magnets in the axial direction are opposite, and the permanent magnets are arranged in the circumferential direction of the oblique poles; the wave energy is converted into
linear motion mechanical energy of the rotor through a floater, a turnover
magnetic field is generated in theaxial direction, and
electromotive force is induced in the circumferential coil, so that wave energy power generation can be realized; the tidal energy is converted into the rotor rotating mechanicalenergy through an
impeller; by virtue of the permanent
magnet oblique poles, a turnover
magnetic field is generated in the circumferential direction, an
electromotive force is induced in the axial coil, and tidal energy power generation is realized; and the oblique poles reduce the positioning force of tooth grooves, so that the power generation quality is improved. According to the generator, the wave energy and the tidal energy can be utilized at the same time, so that the characteristic of high power generation efficiency can be realized, and the generator is suitable for popularization and application.