LM74700D-Q1: OR-ing power redundant- priority mux controller

Part Number: LM74700D-Q1
Other Parts Discussed in Thread: LM74800-Q1, LM74700-Q1, LM74502-Q1

Tool/software:

Hi,
I attached the (1. Schematic & 2. Block diagram) for an OR-ing redundant power-supply controller.

Inputs are:

  • 12V-(a) → LM74700
  • 12V-(b) → LM74700
  • AUX-BAT 12V-(c) → LM74800

On the load side there must always be 12 V available from exactly one source: either a, b, or c (OR-ing based priority power mux).

When a is supplying the load, b and c must be turned off; the same rule applies when b or c supplies the load.

The auxiliary battery (c) must be charged whenever a primary input (a or b) is present, and the battery voltage is below the charge threshold.

In the sketch:

  • Signal 'd' is the AUX discharge control (DCHG).
  • Signal 'e' is the AUX charge control (CHG).

This is the behavior I need to implement. Please help with the concept and give a clear, step-by-step solution.

Thanks in advance.