It is possible to provide a small-size and light-weight control device having a structure which prevents detaching of a board even when an external shock is applied without using a screwed connection. The control device is formed by a case (1) including at least one board (2, 3), a radiator (5), and a protection cover (4). The case (1) includes at least one latch portion (7, 8) in an upper part or a lower part of a board support frame (16).