I don't think you actually mentioned the intended purpose of the pendulum (though I'm assuming timekeeping, but see below).
You would do well to look at the history of electric master clocks. 'Free pendulum, Synchronome and Gents master clocks, Hope-Jones, the Shortt-Synchronome time standard clock etc. are good search references. Apart from being interesting in its own right, the elusive search for the 'Free Pendulum' has some interesting lessons. For instance it is not necessarily optimal to externally influence the natural swing of the pendulum on every oscillation, Making sure that the drive pulses doesn't vary in amplitude or duration
at all (gravity escapements), making the arc of the swing small and predictable (amplitude control?) etc.
Gents also used their 'waiting train' tower clock movement as a very powerful and efficient externally time synchronised motor for driving heavy hands under high winds and icing conditions. Pendulums make very good motors!
Electronics, of course, makes the whole area of free pendulums a hell of a lot easier, but if you are seeking to produce an "electronic pendulum has some improvements over those around" then there are lessons to be learned from the past. Free pendulums are not only affected by friction and having to provide energy, but also in the influence of the maintaining energy that you put into them.
It is easy to see the effects of temperature and particularly atmospheric pressure variations - things that you could maybe integrate into your design using readily available sensors and possibly compensating them in the drive level (the wider the swing, the slower the pendulum, due to circular error). If you get all of the compensations right, you will be able to see the effect of 'Nutation', mainly the effect of the position of the Moon and tides affecting the local value of g.
A basic Synchronome example:
https://www.eevblog.com/forum/chat/what-did-you-buy-today-post-your-latest-purchase!/msg1154556/#msg1154556