Author Topic: Motor state sensor emulator  (Read 484 times)

0 Members and 1 Guest are viewing this topic.

Offline junkandshitandjunkTopic starter

  • Newbie
  • Posts: 5
  • Country: dz
Motor state sensor emulator
« on: February 21, 2022, 06:06:24 pm »
hello, i need to build a motor sensor state emulator, so i need one input and two outputs, basically its a 24v dc motor with two optic sensors, i need to emulate. it works this way, machine drives motor until one optical sensor closes and other sensor opens then motor stops, after that machine drives motor  again until sensors restores its beginning state, one open, other closed.
What i need is idea of schematic for this task, so

input high, output 1 changes to low, ouput 2 changes to high, (after that input changes to low by other hardware)
next machine run input high, output 1 changes to high, output 2 to low, (after that input changes to low by other hardware)
this will be the loop.
outputs will be just two optocouplers, input is 24V DC. How to achieve this without microcontroller?
 

Offline jwet

  • Frequent Contributor
  • **
  • Posts: 461
  • Country: us
Re: Motor state sensor emulator
« Reply #1 on: March 16, 2022, 03:02:16 pm »
I ran into a really clever circuit for the door limits in my garage door opener.  To adjust the stops at the bottom and top of travel, they use a little length of threaded rod- a lead screw and two adjustable end stop switches (could be opto's).  This little lead screw run with the main drive motor while the drive motor is also driving the real door up and down.  To adjust the door limits, you adjust this litlle model's limits swtiches.  Very clever.  It would seem like something like this cold work for you- a little gear motor, a threaded rod, a nut.  3d printing could make a really nice job of it.  My 2 cents.
 

Offline Ian.M

  • Super Contributor
  • ***
  • Posts: 12865
Re: Motor state sensor emulator
« Reply #2 on: March 16, 2022, 03:20:43 pm »
That will do if the motor actually reverses.  If it continues in the same direction, you'll need  something that does *NOT* use a screw mechanism as repeated linear travel in the same direction is impractical.

It gets far far more complex if you need the sensors to be adjustable for time and interval between their activation.  While you could do something with overlapping 90 degree vanes clamped to a shaft driven by a gearmotor coupled to a CVT,  its going to be quite a complex mechanism.

Does the original equipment control the speed of the motor in any way?  If it isn't a simple DC motor, run 'flat out' with no tacho or encoder feedback, any electronic solution will be much harder to implement.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf