Hi,
I'm trying to build a one-note prototype (as proof of concept) for a player piano using a solenoid and an Arduino to play a key, using PWM. The solenoid will be energized at higher voltage initially compared to the nominal voltage to provide a stronger initial force, then will be held at lower duty cycle e.g. 1/10s later until midi off signal is received.
The solenoid to be used, which will be characterised (voltage/stroke) in a separate experiment as it is a Chinese solenoid with no data sheet, is 24VDC, 400mA, 10mm stroke and 45N holding force (research suggests for a piano 50N is max suitable).
My question is regarding the circuit design of the solenoid driver circuit.
Would you suggest I use a live solenoid(common emitter) set up, where the solenoid is connected to the live +50V supply and then the transistor as the switch?
or use a dead solenoid set up, where the transistor is connected to the live part and then the solenoid.
Also, would a mosfet be more appropriate in this case?
The safety mechanisms have been considered, in terms of current limiting and pull-down resistors and diodes. A watchdog timer will also be implemented.
Finally, for the power supply, any ideas for a cheap 50V supply? (aim is to keep costs down)
Any help would be much appreciated as this is quite a vital part of the project and I'm learning as I'm doing the project (mechanical engineer student here).
Thanks
I'm trying to build a one-note prototype (as proof of concept) for a player piano using a solenoid and an Arduino to play a key, using PWM. The solenoid will be energized at higher voltage initially compared to the nominal voltage to provide a stronger initial force, then will be held at lower duty cycle e.g. 1/10s later until midi off signal is received.
The solenoid to be used, which will be characterised (voltage/stroke) in a separate experiment as it is a Chinese solenoid with no data sheet, is 24VDC, 400mA, 10mm stroke and 45N holding force (research suggests for a piano 50N is max suitable).
My question is regarding the circuit design of the solenoid driver circuit.
Would you suggest I use a live solenoid(common emitter) set up, where the solenoid is connected to the live +50V supply and then the transistor as the switch?
or use a dead solenoid set up, where the transistor is connected to the live part and then the solenoid.
Also, would a mosfet be more appropriate in this case?
The safety mechanisms have been considered, in terms of current limiting and pull-down resistors and diodes. A watchdog timer will also be implemented.
Finally, for the power supply, any ideas for a cheap 50V supply? (aim is to keep costs down)
Any help would be much appreciated as this is quite a vital part of the project and I'm learning as I'm doing the project (mechanical engineer student here).
Thanks
Last edited: