A method for connecting a surface-structured workpiece and a plastic workpiece using a joining tool including a sonotrode, said surface-structured workpiece comprising a structured contact surface section, said structured contact surface section comprising pin-like elements extending away from the structured contact surface section, said method comprising:
- positioning the surface-structured workpiece and the plastic workpiece on an anvil such that the structured contact surface section faces a contact surface of the plastic workpiece,
- positioning the joining tool on the surface-structured workpiece so as to bring the sonotrode into contact with an outer surface of the surface-structured workpiece, the outer surface being opposite to the structured contact surface section, and
- applying a pressure to the sonotrode and/or the anvil perpendicular to the contact surface to hold the workpieces fixed between the anvil and the sonotrode and applying ultrasonic vibrations to the workpieces by the sonotrode for a predetermined period of time, so that softening of the plastic workpiece is induced and the pin-like elements penetrate into the plastic workpiece.