I am working on a project within my company that involves a relay board used to control three different motors when an external 24V button is pressed. The existing setup works based on this principle.
Now, I have been tasked with designing a new board that maintains the current logic while introducing PWM (Pulse Width Modulation) capability for one of the motors. An important requirement is that the motors should still be controllable in their default manner even if no microcontroller software is running, if the software crashes, or if the controller malfunctions. To achieve this, I've come up with a circuit design, and I'd appreciate your insights on it.
here is the sketch:


I have a few questions:
Now, I have been tasked with designing a new board that maintains the current logic while introducing PWM (Pulse Width Modulation) capability for one of the motors. An important requirement is that the motors should still be controllable in their default manner even if no microcontroller software is running, if the software crashes, or if the controller malfunctions. To achieve this, I've come up with a circuit design, and I'd appreciate your insights on it.
here is the sketch:

- Here's a breakdown of the proposed circuit:
- Input Processing: The external 24V momentary switch's signal is processed using a voltage divider before being routed to six drivers.
- Default Mode: In normal operation (when the MCU is functional), 1OE (Output Enable) is set to low (pull-down), and 2OE is pulled up..
- Software Control: Once the MCU software is developed, it will set 1OE to '1' and 2OE to '0', enabling the MCU to control the motors.
- Failsafe Mechanism: To ensure failsafe operation, an external watchdog with a latch circuit is integrated. This watchdog monitors the MCU's status. If a software crash occurs, the MCU is held in reset (RST), and the outputs are set to a high-impedance state (high-z). At this point, the pull-down/pull-up configurations take over to ensure the motors remain controllable.

I have a few questions:
- Could you please review the attached sketch and let me know if you notice any potential issues with this design?
- I am aware that connecting the inputs together is feasible, but I am uncertain about how to handle the outputs in this setup. Any advice on this matter would be greatly appreciated.
Attachments
-
512 KB Views: 17
-
632.9 KB Views: 5
Last edited: