Further explanation:
A motor only regenerates under 2 inclusive conditions;
- The motor's windings are excited, i.e. there is energy applied to them which maintains the magnetic field in the stator and rotor.
- The frequency of the regenerated voltage coming back from the motor is higher than the applied frequency, i.e. your VFD is applying power at 51Hz and the inertia in the load is still keeping the motor spinning at a speed that creates a frequency of 52Hz.
Without BOTH of those conditions, the motor cannot regenerate for more than a second or two (due to residual magnetism). What happens is, you have the Decel function enabled and when you turn the speed command down or off, the VFD applies a lower frequency to attempt to cause the motor to slow down faster than if it were to coast. But the rate at which the VFD is trying to decelerate that motor is faster than the motor will actually slow down because of the inertia. The VFD is therefore applying energy to the windings which keeps the magnetic fields active, but the applied frequerncy is now lower than the motor's virtual frequency and the motor becomes an induction generator. The energy from it pumps back into the VFD's DC bus and has no place to go, so the VFD trips to protect itself.
So the easiest way to prevent your VFD from regenerating is to simply turn off the Decel function if you don't need it! Most VFDs come with the Decel function enabled as a factory default and most people don't bother to change that. If you set the VFD to "Coast to Stop" (or some such similarly worded option), the transistors are turned off when not needed and the motor will not regenerate for more than a second or two because it is not being continuously excited. Another option, mentioned in a previous post, is to extend out the Decel time to be a lot longer than the Coast-to-Stop time. That way, the applied frequency is never lower than the motor's virtual frequency, thus no regen.
If for some reason you do need the Decel function, then for a high inertia load you MUST have the Dynamic Braking option (braking resistors and a DB module in most cases). A Line Regenerative VFD is another option but is essentially twice the price of a standard drive because it does that by having another VFD that fires the regenerated energy back into the supply line. Shared DC bus systems are fine if you have multiple motors on a machine, but not applicable to one-drive applications.
DC Braking will NOT do anything for you with regards to regen problems, in fact it may make it worse. DC Braking is something entirely different and is only for low speed use at the very end of a braking cycle. Forget that as an option in your case.
Your "friend" is totally wrong on this issue by the way. The lead length as well as the VFD rated cable issues are related to a different problem, called "Standing Wave Generation" and has to do with damage to the motor winding insulation for the most part. Neither issue has anything to do with your VFD's DC bus tripping on OV. He is apparently mixing up the issues in his mind because they both have the word "generation" in them, pay no attention to him.