An electronic device for driving and controlling a vibrating unit for ultrasonic welding, comprising: - an electronic control unit configured to control the generation of a voltage driving signal (S3) sent to the vibrating unit to activate the vibration thereof, said driving signal (S3) being a periodic signal with a controlled frequency within a predetermined frequency range; - an inverter power block configured to generate a first voltage driving signal (S2) from a power supply potential (Vcc) in direct current and based on a voltage control signal (S1) generated by the electronic control unit ; - an electronic filtering block configured to filter said first voltage driving signal (S2) received at the input, and generate said periodic driving signal (S3) with a controlled frequency at the output; said electronic filtering block being configured to provide the electronic control unit with at least one feedback signal (Sv, Si) representative of voltage and/or current values supplied to the vibrating unit , said electronic control unit generating the voltage control signal (S1) based on said at least one feedback signal (Sv, Si); said electronic device being characterized in that : said electronic filtering block is a bandpass filter having: - a first voltage transfer function (GR1) in a first operating condition, said first transfer function (GR1) having, as the frequency varies, an amplitude which takes a first peak value (P1) for frequency values which are smaller than a predetermined minimum operating frequency (fmin) and a second peak value (P2) for frequency values which are greater than a predetermined maximum operating frequency (fmax), - a second voltage transfer function (GR2) in a second operating condition, said second transfer function (GR2) having, as the frequency varies, an amplitude which takes a constant value for frequency values between said predetermined minimum operating frequency (fmin) and said predetermined maximum operating frequency (fmax). - an electronic control unit configured to control the generation of a voltage driving signal (S3) sent to the vibrating unit to activate the vibration thereof, said driving signal (S3) being a periodic signal with a controlled frequency within a predetermined frequency range; - an inverter power block configured to generate a first voltage driving signal (S2) from a power supply potential (Vcc) in direct current and based on a voltage control signal (S1) generated by the electronic control unit ; - an electronic filtering block configured to filter said first voltage driving signal (S2) received at the input, and generate said periodic driving signal (S3) with a controlled frequency at the output; - a first voltage transfer function (GR1) in a first operating condition, said first transfer function (GR1) having, as the frequency varies, an amplitude which takes a first peak value (P1) for frequency values which are smaller than a predetermined minimum operating frequency (fmin) and a second peak value (P2) for frequency values which are greater than a predetermined maximum operating frequency (fmax), - a second voltage transfer function (GR2) in a second operating condition, said second transfer function (GR2) having, as the frequency varies, an amplitude which takes a constant value for frequency values between said predetermined minimum operating frequency (fmin) and said predetermined maximum operating frequency (fmax). <EOS>