Author Topic: UC3842/3 Current Sense pin  (Read 3182 times)

0 Members and 1 Guest are viewing this topic.

Offline hesam.moshiriTopic starter

  • Regular Contributor
  • *
  • Posts: 150
  • Country: se
    • MyVanitar
UC3842/3 Current Sense pin
« on: October 20, 2020, 11:43:22 am »
I want to design a constant current supply based on the UC3843.

I see the chip provides the current sense input, can I use this pin as the current feedback to limit the current?
The mentioned threshhold voltage is 1V. I'm not sure exceeding 1V will turn-off the PWM (short circuit use case) or reduce PWM duty cycle as voltage feedback error amplifier does (2.5V reference).


Online T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22433
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: UC3842/3 Current Sense pin
« Reply #1 on: October 20, 2020, 03:04:51 pm »
Constant current where?

The UC3843 is a peak current mode controller.  Notice the Error Amplifier sets the sense threshold.  The comparator feeds a latch, which is set by the oscillator every cycle and reset by the comparator.  It fundamentally works by sensing current here, on a cycle by cycle basis, and proportional to the error amp's command.

For something like an LED supply, you would typically use peak current mode operation as normal, then use the error amp to regulate output voltage and current.

Here's an example I made some years ago: https://www.seventransistorlabs.com/Images/LED_Light.png
It has adjustable output, overvoltage protection, and thermal limiting.

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline Phoenix

  • Frequent Contributor
  • **
  • Posts: 436
  • Country: au
Re: UC3842/3 Current Sense pin
« Reply #2 on: October 20, 2020, 11:27:53 pm »
however, I have a doubt whether this pin only used to turn-off the chip by overcurrent

As Tim mentioned, this is a peak mode current control IC. The operation is that the error amplifier of the output voltage is used to set the peak current limit. The current sense pin is fed into a comparator to compare against the error amplifier's peak limit. Once the peak current is reached the comparator switches and trips the flip-flop off turning off the PWM. the flip-flop is then reset by the internal oscillator. This continues on a cycle by cycle basis.

What Tim has done is feed an external current regulation loop as the feedback instead of a voltage. With this arrangement you still use the peak current control, but the peak value is set by the external current control loop. This could achieve what you are after.

You can also trick the chip into becoming a simple PWM generator without peak current control. You sort of reverse the operation by feeding a ramp into the current sense pin and a "target duty cycle" value into the feedback pin. You then use your external current/voltage loop to create the duty cycle. This is Similar to Tim's concept but without the additional internal peak controller.

In any case you must use the current sense pin for something as it is integral to the PWM generation.
 

Online T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22433
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: UC3842/3 Current Sense pin
« Reply #3 on: October 21, 2020, 09:14:59 am »
I want to sense the current by a shunt resistor from the output and by using an opamp amplifier, however, I have a doubt whether this pin only used to turn-off the chip by overcurrent, or I could use it to keep the current constant and compensate it by reducing the voltage (constant current). if that's not applicable, then I'm gonna tie it to the ground and use the feedback pin for sensing both voltage and current like many other chips.

What output?

You seem to have a lot of preconceptions about how this chip works.  Did you read the block diagram you posted?  It says everything you need to know.  (Are you familiar with logic diagrams? Would you like us to talk through the circuit?)

I said,
It fundamentally works by sensing current here, on a cycle by cycle basis, and proportional to the error amp's command.

If you grounded that pin, it would fundamentally not work!

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf