If the control requirements are accurate, use Italian single chip microcomputer; If the requirements are not accurate, you can use gate circuits and counters. According to your requirements, you can use a gate of 4069 and a gate of 40 17. If you want to get different operating ratios, you only need to change the diode wiring, and the accuracy is 10%.