摘要 |
To provide a swing control device of a swinging body capable of accurately controlling the drive thereof in response to the load the swinging body carries even if it carries infants of different weights, and realizing a desired swing by providing a sensor portion which generates first and second pulse signals having different phases in response to the swing and a control circuit which obtains sensor data based on the first pulse signal and the second pulse signal, decodes data patterns set in advance which corresponds to a combination of the sensor data, judges a swing direction or a change thereof from a changed pattern of the continuous data pattern, reads a target value (pulse count number) set in advance to compare or the like with the pulse count number of the present, the previous, and the one before the previous to obtain a pulse width for driving at the next timing, and outputs a drive pulse of the obtained pulse width to a drive circuit so that driving can be performed in accordance with the expected value of the swing set in advance.
|