Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
@AJN 1)the force is controlled by magnet position: the moving magnet is positioned by the motor and a stationary magnet that can be repositioned manually control the max force. 2) ideally yes because I would like the motion repeated 1000s of times per use. But the motor can go in both directions if need be, but I worry about it wearing out faster. 3) I want the max force to be the same but play with loading rates, linear, sinesoidal., impulse like ..4) will post a few examples of profiles I would like to create
@TimWescott yes I am aware of the endpoints being out of my control. I want to control the shape of the loading as the magnet travels through its range of motion. The distance/ magnet stregth is wide enough that my low is always zero. My max is modulated by the position of the plate.
ok one more question could this be a back emf thing since the motor is an inductive load? Is the h bridge isolating the motor from the rest of the electronics
@SpehroPethany would slowing down too fast be the same thing. My slider only has it go in one direction. So me moving to fast would be just very quick acceleration.
@BrianDrummond I am not sure the description on amazon has "DC12V 60W 60RPM 8N.M Reversible Worm Gear Motor High Torque Speed Reducing Electric Gearbox Motor-JCF63L" I did not touch the motor at all to test the warmth but I was running it in like 15 second increments with nothing on the shaft so I do not think it was stressed in any manner.
@jsotola The motor is the issue. It will not spin the shaft at all. Since I disconnected it from the entire circuit and SW and hooked up to the PSU directly this is strictly a motor problem. I am trying to deduce is this just cheaply made motor or something I did. I had backup copy of the same motor. Hooked up to the PSU it works as expected. I am just trying to avoid frying it, assuming it is something with my circuit.
@tlfong01 The change in SW was just to put in a stop button, which sets the duty cycle to zero, overriding the slider widget. I tested the motor outside of the SW hooking it up directly to the PSU and the shaft does not turn. At this point I think the SW is irrelevant.