I am in need of making an emulator of a DC motor. We have a gate mechanism which has a 24V 10A motor. It is geared to the gate which is spring loaded in the end positions, so the load on the shaft moves from forcing the motor along the direction of travel to oposing it when the gate moves from one stop to the other.
What I need is to build a device that would be able to act as a spinning motor - with back EMF proportional to speed, internal winding resistance, and positive or negative load on the shaft. This means that the emulator needs to source and sink current, and if possible be driven in both polarities to allow for reversal but this can be solved another way. There will be a microcontroller that will set the parameters for speed and load.
I imagine that the core will be likely be two mosfets, one for sourcing current from an internal supply and the other for dumping the current coming from the driver, which would be somehow regulated to the value of the EMF, however I cannot figure now how to add the shaft loading to this. The internal resistance could really be modelled by a fixed resistor, so that I don´t need to worry about right now.
Any ideas?
What I need is to build a device that would be able to act as a spinning motor - with back EMF proportional to speed, internal winding resistance, and positive or negative load on the shaft. This means that the emulator needs to source and sink current, and if possible be driven in both polarities to allow for reversal but this can be solved another way. There will be a microcontroller that will set the parameters for speed and load.
I imagine that the core will be likely be two mosfets, one for sourcing current from an internal supply and the other for dumping the current coming from the driver, which would be somehow regulated to the value of the EMF, however I cannot figure now how to add the shaft loading to this. The internal resistance could really be modelled by a fixed resistor, so that I don´t need to worry about right now.
Any ideas?