A control unit for controlling driving of a motor, the control unit comprising: a housing integrated with the motor so as to be coaxial with a motor output shaft of the motor, forms an outer covering, and is joined to an end portion of the motor; and a connector structure that is disposed in a cutaway portion formed in the housing, and joined to the housing, wherein the connector structure includes: a connector main body in which a power supply system connector and a sensor connector are formed; and sensor and power supply system terminals (44d, 50a, 50b, 50c, 50d) included in the respective connectors; characterized in that the connector structure further includes: a longitudinal component mounting portion, including at least one of a capacitor and a coil, provided parallel to the motor output shaft, externally of the motor or the housing, and the at least one of the capacitor and the coil included in the component mounting portion is electrically connected to the power supply system connector of the connector main body via the power supply system connector terminals (50a, 50b, 50c, 50d). a housing integrated with the motor so as to be coaxial with a motor output shaft of the motor, forms an outer covering, and is joined to an end portion of the motor; and a connector structure that is disposed in a cutaway portion formed in the housing, and joined to the housing, wherein the connector structure includes: a connector main body in which a power supply system connector and a sensor connector are formed; and sensor and power supply system terminals (44d, 50a, 50b, 50c, 50d) included in the respective connectors; characterized in that the connector structure further includes: a longitudinal component mounting portion, including at least one of a capacitor and a coil, provided parallel to the motor output shaft, externally of the motor or the housing, and the at least one of the capacitor and the coil included in the component mounting portion is electrically connected to the power supply system connector of the connector main body via the power supply system connector terminals (50a, 50b, 50c, 50d). a connector main body in which a power supply system connector and a sensor connector are formed; and sensor and power supply system terminals (44d, 50a, 50b, 50c, 50d) included in the respective connectors; characterized in that the connector structure further includes: a longitudinal component mounting portion, including at least one of a capacitor and a coil, provided parallel to the motor output shaft, externally of the motor or the housing, and the at least one of the capacitor and the coil included in the component mounting portion is electrically connected to the power supply system connector of the connector main body via the power supply system connector terminals (50a, 50b, 50c, 50d). a longitudinal component mounting portion, including at least one of a capacitor and a coil, provided parallel to the motor output shaft, externally of the motor or the housing, and the at least one of the capacitor and the coil included in the component mounting portion is electrically connected to the power supply system connector of the connector main body via the power supply system connector terminals (50a, 50b, 50c, 50d).