Home Forums Usage How do I do a simulation for this circuit ?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #9160
    Phloks
    Participant

      Please have a look at below schematic. I have built it in real life, and the result is what is expected. Low at the input gives +12V at label RX_12V. High at the input gives 0V at label RX_12V.
      However, when I try to simulate the circuit I do not see the expected output. The output stays at around +12V no matter what the input is.
      Can anyone please tell me how I should do a DC simulation for this schematic ?

       

       

      I have tried a transient simulation with a pulse voltage source (from 0 to 3.3v, pulse length 1 second, rise and fall 1 nanosecond) which gives me a fairly constant output of +12V at RX_12V.
      A DC simulation does not give me any output in the graphics at all…..

      #9161
      Phloks
      Participant

        P.S.
        With input I mean ENABLE_TX_12V.

        #9162
        w5eeg
        Participant

          I think the only problem is the output MOSFET needs to be reversed so that the P-channel source is connected to the 12 volt supply.  Attaching a uSimmics schematic screenshot.

          #9164
          w5eeg
          Participant

            My mistake, Q2 looks correct, and I had not included Q4. When included, there is the problem you described.

            #9165
            w5eeg
            Participant

              Maybe R10 is the problem?  I have deactivated it in the attached screenshot.

              Attachments:
            Viewing 5 posts - 1 through 5 (of 5 total)
            • You must be logged in to reply to this topic.