I need to make a circuit that controls the speed of a motor from 0% to 10% using a PWM and that speeds up to full speed in around 10 seconds and slows to 0 in the same time. This is what I've got so far but I'm struggling with the timing. Can anyone help/advise?