Bringup
Open the editor
Behavioural mixed-signal modelquad_frame

Quadcopter frame (optional override)

Not needed any more: every board is a rigid body, and motors with propellers on it lift and turn it at their places on the PCB, its motion sensors measure the motion. This part only overrides the body of its board (kept for older documents): with "params" it flies with the mass, inertia and symmetric X below (defaults: Crazyflie 2.0, 28 g, 46 mm arms, measured inertia); its spin list sets the turn of the motors it names; its push torques act on the board while it flies. Not a part on the board.

Quadcopter frame (optional override)
Schematic symbol

Key data

Category
Modules
Simulation model
Behavioural mixed-signal model
Reference prefix
FR
Pins
0

Simulation model

A behavioural model implements the interface of the chip (registers, protocol, timing) at its pins. The pins are connected to the analog circuit like CMOS pins.

Model
quad_frame
Supply pins
/

Pins 0

PinNameUse

Parameters 13

Motors (FR, BR, BL, FL)motors
DefaultM1,M2,M3,M4

reference designators of the motors with propellers, front-right first, clockwise seen from above

Propeller turn (seen from above)spin
DefaultCW,CCW,CW,CCW

per motor, same order

Motion sensorimu
DefaultU2

reference designator of the MPU-6050 that rides on the frame

Mass and inertia frommassFrom
Defaultboard
boardparams

board: from the board outline and the placed parts (mass, centre of mass, inertia, motor positions); params: the values below. Without placed motors the values below apply.

Massmass
Default28m kg

Crazyflie 2.0 measured (Förster 2015)

Arm (motor to centre)arm
Default46m m

crazyflie-firmware ARM_LENGTH

Inertia Ixxixx
Default16.57u kg·m²

Förster 2015, eq. 2.18

Inertia Iyyiyy
Default16.66u kg·m²

Förster 2015, eq. 2.18

Inertia Izzizz
Default29.26u kg·m²

Förster 2015, eq. 2.18

Translational dragdrag
Default7m kg/s

derived from Förster 2015, eq. 4.2 at hover

Push: roll torquetxlive
Default0 N·m

a gust or a finger on the frame, while it flies (1 mN·m tilts it noticeably)

Push: pitch torquetylive
Default0 N·m
Push: yaw torquetzlive
Default0 N·m

PCB

No land pattern: the part is not placed on the board.