CN109901474B - Control system, control circuit and control method - Google Patents

Control system, control circuit and control method Download PDF

Info

Publication number
CN109901474B
CN109901474B CN201910219740.7A CN201910219740A CN109901474B CN 109901474 B CN109901474 B CN 109901474B CN 201910219740 A CN201910219740 A CN 201910219740A CN 109901474 B CN109901474 B CN 109901474B
Authority
CN
China
Prior art keywords
pin
capacitor
rectifier bridge
cap
chip
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910219740.7A
Other languages
Chinese (zh)
Other versions
CN109901474A (en
Inventor
俞秀峰
张波
金伟祥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Biyi Microelectronics Co ltd
Original Assignee
Shenzhen Biyi Microelectronics Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Biyi Microelectronics Co ltd filed Critical Shenzhen Biyi Microelectronics Co ltd
Priority to CN201910219740.7A priority Critical patent/CN109901474B/en
Publication of CN109901474A publication Critical patent/CN109901474A/en
Application granted granted Critical
Publication of CN109901474B publication Critical patent/CN109901474B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Rectifiers (AREA)

Abstract

The invention discloses a control system, a control circuit and a control method, wherein the control circuit is connected with a chip and comprises: a connection mode identification module and a setting function control module. The connection mode identification module is used for identifying the connection position of a set pin of the chip and feeding back the connection position information to a set function control module; the setting function control module is connected with the connection mode identification module and used for controlling the chip to start or close the setting function according to the information fed back by the connection mode identification module. The control system, the control circuit and the control method provided by the invention can improve the application compatibility of the chip, so that the chip can adaptively turn on or turn off the X-cap discharge function according to the system application environment.

Description

Control system, control circuit and control method
Technical Field
The invention belongs to the technical field of microelectronics, relates to a control system of a chip, and particularly relates to a control circuit and a control method of the chip.
Background
In some chips, a control circuit of the chip is powered through an HV pin before the chip is normally powered, and two power supply modes are mainly adopted, namely high-voltage starting and X-cap discharging.
In the high-voltage starting function, before the control system of the chip normally supplies power through the auxiliary winding, the control circuit is supplied with power through the HV pin.
In the X-capacitor discharge function, the X-cap is connected to the AC input and needs to be discharged to a low value when the system is disconnected from the AC. The control circuit can discharge X-cap by detecting the voltage change at the HV end, such as whether the system is disconnected from AC by sine wave flat detection system, and when the system is detected to be disconnected from AC, the switch tube inside the high-voltage starting end HV is conducted to establish a current path.
FIG. 1 is a schematic circuit diagram of a conventional chip with high voltage start-up and X-CAP discharge functions; as shown in fig. 1, from the front of the bridge through two rectifier diodes to the HV pin.
FIG. 2 is a circuit diagram of a conventional chip with only a high voltage start function; as shown in fig. 2, the bus capacitor Cbus is directly connected to the HV pin (the value of the Cbus capacitor is larger than X-cap, which can be discharged by other means, such as by a resistor, which consumes more power).
In the prior art, the two methods cannot be compatible, namely, a control circuit with high-voltage starting and X-CAP capacitor discharging functions in fig. 1 cannot adopt the connection mode of fig. 2, otherwise, the X-CAP discharging function is turned on (because the Cbus capacitance value is large, the Vbus voltage waveform is flat), the bus capacitor is always discharged, and the system works abnormally. While the connection method of fig. 1 can be adopted in fig. 2, two more diodes are added in fig. 1, which increases the cost of the system, but the control circuit does not have the X-cap discharge function at this time.
In view of the above, there is a need to design a chip control circuit to overcome the above-mentioned drawbacks of the existing chip control circuits.
Disclosure of Invention
The invention provides a control circuit and a control method, which can improve the compatibility of the application of a chip and enable the chip to adaptively turn on or turn off an X-cap discharge function according to the system application environment.
In order to solve the technical problem, according to one aspect of the present invention, the following technical solutions are adopted:
a control circuit, the control circuit disposed within a chip, the control circuit comprising:
the connection mode identification module is used for identifying the connection position of a set pin of the chip and feeding back the connection position information to a set function control module; and
and the setting function control module is connected with the connection mode identification module and used for controlling the chip to start or close the setting function according to the information fed back by the connection mode identification module.
As an embodiment of the present invention, the function controlled by the set function control module is a discharge function, and the set function control module is a discharge function control module;
and the discharge function control module controls the chip to start or close the discharge function according to the information fed back by the connection mode identification module.
As an embodiment of the present invention, the connection mode identification module is configured to obtain a voltage of an HV pin of the chip, and identify whether the HV pin is connected to a rectifier diode located in front of the rectifier bridge or connected to a bus located behind the rectifier bridge.
As an embodiment of the present invention, the discharge function control module is configured to control the chip to turn on or turn off the X-CAP discharge function according to the result identified by the connection mode identification module;
if the result of the identification of the connection mode identification module is that the HV pin is connected with a rectifier diode positioned in front of a rectifier bridge, the discharge function control module controls the chip to start the X-CAP discharge function;
and if the result of the identification of the connection mode identification module is that the HV pin is connected with the bus behind the rectifier bridge, the discharge function control module controls the chip to close the X-CAP discharge function.
As an embodiment of the present invention, the connection mode identification module samples the voltage of the HV pin when the system satisfies the X-CAP discharge condition;
the connection mode identification module is used for setting time to start an internal discharge function, and judging the capacitance value of the HV pin connection capacitor by comparing HV voltage change conditions before and after discharge, so as to distinguish whether the HV pin is connected with a rectifier bridge front diode or a rectifier bridge rear bus;
when the HV pin is connected with a front diode of the rectifier bridge, the capacitor corresponding to the HV pin is an X-CAP capacitor, and when the HV pin is connected with a rear bus of the rectifier bridge, the capacitor corresponding to the HV pin is a bus Cbus capacitor; the capacitance value of the X-CAP capacitor is smaller than that of the Cbus capacitor;
if the HV voltage variation is larger than a set threshold value, judging that a capacitor corresponding to the HV pin corresponds to an X-CAP capacitor with a smaller capacitance value, and judging that the HV pin is connected with a rectifier bridge front diode;
if the HV voltage variation is smaller than the set threshold value, the capacitor corresponding to the HV pin is judged to correspond to the Cbus capacitor with a larger capacitance value, and the HV pin is judged to be connected with a rear bus of the rectifier bridge.
As an embodiment of the present invention, the connection mode identification module includes a comparative discharge power supply V1, a comparator U1, a switch tube S1, a first resistor R1, a second resistor R2, and a first capacitor C1;
the first end of the first resistor R1 is connected with the HV pin, the second end of the first resistor R1 is respectively connected with the first end of the second resistor R2, the positive phase input end of the comparator U1 and the positive electrode of the contrast discharging power supply V1, the negative electrode of the contrast discharging power supply V1 is respectively connected with the negative phase input end of the comparator U1 and the first end of the first capacitor C1 through a switch tube S1, the second end of the first capacitor C1 is grounded, and the second end of the second resistor R2 is grounded.
As an embodiment of the invention, the comparator U1 judges whether the HV pin is connected to the front diode of the rectifier bridge or the rear bus of the rectifier bridge by comparing the second HV voltage HV2 input from the non-inverting input terminal with the first HV voltage HV1 input from the inverting input terminal;
if the second HV voltage HV2 is higher than the first HV voltage HV1 in a discharge period, it indicates that the capacitance value of the HV pin is larger, and the discharge function control module turns off the X-CAP discharge function, otherwise, it indicates that the capacitance of the HV pin is smaller, and the X-CAP discharge function is continuously maintained in an on state.
As an embodiment of the present invention, the connection mode identification module determines whether the X-CAP discharge condition is satisfied by sampling a voltage signal of the HV pin, and determines that the input AC is powered down when it is detected that the HV signal does not have a rising slope within a set time, so as to satisfy the X-CAP discharge condition.
A control circuit, the control circuit is connected with a chip, and the control circuit comprises:
and the discharge function control module is used for controlling the discharge function of the HV pin to be closed after the HV pin of the chip continuously discharges for the set times.
As an embodiment of the present invention, the discharge function control module includes:
the discharging function closing control unit is used for controlling to close the discharging function of the HV pin after the HV pin of the chip continuously discharges for a set number of times; and
and the discharge function reset control unit is used for resetting the discharge function of the HV pin after the system triggers the abnormal protection.
A control system comprises the control circuit, and the control circuit is connected with a setting pin of a chip.
As an embodiment of the invention, the control system further comprises a rectifier bridge, a first diode D1, a second diode D2, an X-CAP capacitor and a Cbus capacitor;
the first end of the rectifier bridge is respectively connected with the anode of a first diode D1 and the first end of an X-CAP capacitor, the second end of the rectifier bridge is connected with the first end of a Cbus capacitor, the third end of the rectifier bridge is respectively connected with the anode of a second diode D2 and the second end of the X-CAP capacitor, and the second end of the Cbus capacitor and the fourth end of the rectifier bridge are respectively grounded; the cathode of the first diode D1 is connected with the cathode of the second diode D2; the HV pin of the chip is connected to the cathode of a first diode D1.
As an embodiment of the present invention, the control system further includes a rectifier bridge and a Cbus capacitor; the second end of the rectifier bridge is connected with the first end of the Cbus capacitor and the HV pin of the chip; and the second end of the Cbus capacitor and the fourth end of the rectifier bridge are respectively grounded.
A control method, the control method comprising:
a connection mode identification step of identifying the connection position of a set pin of the chip;
and a setting function control step of controlling the chip to start or close the setting function according to the information fed back by the connection mode identification step.
In one embodiment of the present invention, in the setting function control step, the controlled function is a discharge function, and the setting function control step is a discharge function control step; and controlling the chip to start a discharging function or close the discharging function according to the information fed back by the connection mode identification step.
As an embodiment of the present invention, in the connection mode identifying step, the voltage of the HV pin of the chip is obtained, and the HV pin is identified as being connected to the rectifier diode located in front of the rectifier bridge or connected to the bus located behind the rectifier bridge;
in the discharge function control step, controlling the chip to turn on or turn off the X-CAP discharge function according to the result identified in the connection mode identification step:
if the result of the identification of the connection mode identification step is that the HV pin is connected with a rectifier diode positioned in front of a rectifier bridge, the control chip starts an X-CAP discharge function;
and if the result of the identification in the connection mode identification step is that the HV pin is connected with the bus behind the rectifier bridge, the control chip closes the X-CAP discharge function.
In the connection mode identification step, when the system meets the X-CAP discharge condition, the voltage of the HV pin is sampled; testing and starting an internal discharge function for a period of time, and judging the capacitance value of the HV pin connecting capacitor by comparing the HV voltage change conditions before and after discharge so as to distinguish whether the HV pin is connected with a front diode of a rectifier bridge or a rear bus of the rectifier bridge;
when the HV pin is connected with a front diode of the rectifier bridge, the capacitor corresponding to the HV pin is an X-CAP capacitor, and when the HV pin is connected with a rear bus of the rectifier bridge, the capacitor corresponding to the HV pin is a bus Cbus capacitor; the capacitance value of the X-CAP capacitor is smaller than that of the Cbus capacitor;
if the HV voltage variation is larger than a set threshold value, judging that a capacitor corresponding to the HV pin corresponds to an X-CAP capacitor with a smaller capacitance value, and judging that the HV pin is connected with a rectifier bridge front diode;
if the HV voltage variation is smaller than the set threshold value, the capacitor corresponding to the HV pin is judged to correspond to the Cbus capacitor with a larger capacitance value, and the HV pin is judged to be connected with a rear bus of the rectifier bridge.
As an embodiment of the present invention, the connection mode identification module determines whether the X-CAP discharge condition is satisfied by sampling a voltage signal of the HV pin, and determines that the input AC is powered down when it is detected that the HV signal does not have a rising slope within a set time, so as to satisfy the X-CAP discharge condition.
A control method, the control method comprising: and after the setting pins of the chip continuously discharge for the set times, controlling to close the discharge function of the setting pins.
As an embodiment of the present invention, the control method includes:
a discharge function closing control step, namely controlling to close the discharge function of the HV pin after the HV pin of the chip continuously discharges for a set number of times, and then not starting the discharge function when the HV pin does not reach a set condition; and
and a discharging function resetting control step of resetting the discharging function of the HV pin after the system triggers the abnormal protection.
The invention has the beneficial effects that: the control system, the control circuit and the control method provided by the invention can improve the application compatibility of the chip, so that the chip can adaptively turn on or turn off the X-cap discharge function according to the system application environment.
Drawings
FIG. 1 is a circuit diagram of a conventional chip with high voltage start-up and X-CAP discharge functions.
Fig. 2 is a circuit diagram of a conventional chip having only a high-voltage start function.
Fig. 3 is a schematic diagram illustrating a chip control system according to an embodiment of the invention.
Fig. 4 is a circuit diagram of a connection type identification module of the chip control system according to an embodiment of the invention.
FIG. 5 is a waveform diagram of the HV pin voltage signal and the discharge logic signal according to an embodiment of the invention.
Detailed Description
Preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
For a further understanding of the invention, reference will now be made to the preferred embodiments of the invention by way of example, and it is to be understood that the description is intended to further illustrate features and advantages of the invention, and not to limit the scope of the claims.
The description in this section is for several exemplary embodiments only, and the present invention is not limited only to the scope of the embodiments described. It is within the scope of the present disclosure and protection that the same or similar prior art means and some features of the embodiments may be interchanged.
The invention discloses a control circuit, which is connected with a chip and comprises: a connection mode identification module and a setting function control module. The connection mode identification module is used for identifying the connection position of the set pin of the chip and feeding back the connection position information to the set function control module. The setting function control module is connected with the connection mode identification module and used for controlling the chip to start or close the setting function according to the information fed back by the connection mode identification module.
FIG. 3 is a schematic diagram of a chip control system according to an embodiment of the present invention; referring to fig. 3, in an embodiment of the present invention, the function controlled by the set function control module is a discharging function, and the set function control module is a discharging function control module. The control circuit 10 is connected with the chip 20, and the control circuit 10 comprises: a connection mode identification module 11 and a discharge function control module 12. The discharging function control module 12 controls the chip 20 to turn on or turn off the discharging function according to the information fed back by the connection mode identification module 11. In an embodiment of the present invention, part or all of the control circuit 10 is disposed inside the chip 20; in another embodiment of the present invention, the control circuit 10 is disposed outside the chip 20.
In an embodiment of the present invention, the connection mode identification module 11 is used to obtain a voltage of the HV pin of the chip 20, and thereby identify whether the HV pin is connected to a rectifier diode located in front of a rectifier bridge or connected to a bus located behind the rectifier bridge.
With reference to fig. 1 and 2, in an embodiment of the present invention, the control system includes a rectifier bridge D3, a first diode D1, a second diode D2, an X-CAP capacitor, and a Cbus capacitor; the first diode D1 and the second diode D2 may be rectifier diodes. A first end of the rectifier bridge D3 is respectively connected with an anode of a first diode D1 and a first end of an X-CAP capacitor, a second end of the rectifier bridge D3 is connected with a first end of a Cbus capacitor, a third end of the rectifier bridge D3 is respectively connected with an anode of a second diode D2 and a second end of the X-CAP capacitor, and a second end of the Cbus capacitor and a fourth end of the rectifier bridge D3 are respectively grounded; the cathode of the first diode D1 is connected to the cathode of the second diode D2. The HV pin of the chip 20 is connected to the second terminal of the rectifier bridge D3, or the HV pin of the chip 20 is connected to the cathode of the first diode D1.
In an embodiment of the present invention, the discharging function control module 12 is configured to control the chip 20 to turn on or off the X-CAP discharging function according to the result identified by the connection mode identification module 11: if the result of the identification of the connection mode identification module is that the HV pin is connected with a rectifier diode positioned in front of a rectifier bridge, the discharge function control module controls the chip to start the X-CAP discharge function; if the result of the identification of the connection mode identification module is that the HV pin is connected with the bus behind the rectifier bridge, the discharge function control module 12 controls the chip to close the X-CAP discharge function.
In an embodiment of the invention, the connection mode identification module 11 samples the voltage of the HV pin when the system meets the X-CAP discharge condition.
FIG. 5 is a schematic diagram of waveforms of the HV pin voltage signal and the discharge logic signal according to an embodiment of the present invention; referring to fig. 5, in an embodiment of the present invention, the connection mode identification module determines whether the X-CAP discharge condition is satisfied by sampling the HV pin voltage signal, and determines that the input AC is powered down and the X-CAP discharge condition is satisfied when it is detected that the HV signal does not have a rising slope within a set time. As shown in fig. 5, when the HV voltage signal is the rectified steamed bread wave signal 501, it indicates that the AC input is normal and the X-capacitor discharging function is not required to be turned on, and when the HV voltage signal becomes smooth, it indicates that the AC input is powered off and the X-capacitor discharging function is turned on; according to the waveform characteristics, the steamed bread wave signal 501 has a rising slope and a falling slope, and the duration of the falling slope does not exceed 1/4 of the input AC cycle; the smooth signal 502 has no rising slope, so when the rising slope is not generated in a certain time on the HV signal, the input AC is judged to be powered down, and the X-CAP discharging condition is met.
The connection mode identification module 11 is used for setting time to turn on an internal discharge function (namely, testing time to turn on the internal discharge function), and judging the capacitance value of the HV pin connection capacitor by comparing HV voltage change conditions before and after discharge, so as to distinguish whether the HV pin is connected to a rectifier bridge front diode or a rectifier bridge rear bus. When the HV pin is connected with a front diode of the rectifier bridge, the capacitor corresponding to the HV pin is an X-CAP capacitor, and when the HV pin is connected with a rear bus of the rectifier bridge, the capacitor corresponding to the HV pin is a bus Cbus capacitor; the capacitance value of the X-CAP capacitor is smaller than that of the Cbus capacitor.
If the HV voltage variation is larger than the set threshold, the discharge function control module 12 determines that the capacitance corresponding to the HV pin corresponds to the smaller X-CAP capacitance, and determines that the HV pin is connected to the rectifier bridge front diode; if the HV voltage variation is smaller than the set threshold, the discharge function control module 12 determines that the capacitor corresponding to the HV pin corresponds to the Cbus capacitor with a larger capacitance value, and determines that the HV pin is connected to the rear bus of the rectifier bridge.
FIG. 4 is a schematic circuit diagram of a connection type identification module of the chip control system according to an embodiment of the present invention; referring to fig. 4, in an embodiment of the invention, the connection type identification module includes a comparative discharge power source V1, a comparator U1, a switch tube S1, a first resistor R1, a second resistor R2, and a first capacitor C1. The first end of the first resistor R1 is connected with the HV pin, the second end of the first resistor R1 is respectively connected with the first end of the second resistor R2, the positive phase input end of the comparator U1 and the positive electrode of the contrast discharging power supply V1, the negative electrode of the contrast discharging power supply V1 is respectively connected with the negative phase input end of the comparator U1 and the first end of the first capacitor C1 through a switch tube S1, the second end of the first capacitor C1 is grounded, and the second end of the second resistor R2 is grounded.
In an embodiment of the invention, the comparator U1 determines whether the HV pin is connected to the front diode of the rectifier bridge or to the rear bus of the rectifier bridge by comparing the second HV voltage HV2 input from the non-inverting input terminal with the first HV voltage HV1 input from the inverting input terminal. If the second HV voltage HV2 is higher than the first HV voltage HV1 in a discharge period, it indicates that the capacitance value of the HV pin is larger, and the discharge function control module turns off the X-CAP discharge function, otherwise, it indicates that the capacitance of the HV pin is smaller, and the X-CAP discharge function is continuously maintained in an on state.
In an embodiment of the invention, the chip can automatically identify whether the HV pin is connected with a rectifier diode in front of a bridge or a bus behind the bridge (namely, a connection mode identification module is added) through internal setting, and simultaneously, according to the connection characteristics of a system, the corresponding function of the chip is started, if the chip judges that the HV pin is connected with the rectifier diode in front of the bridge, the HV has high-voltage starting and X-CAP discharging functions, and if the chip judges that the HV pin is connected with the bus behind the bridge, the HV only has the high-voltage starting function and the X-CAP discharging function is closed.
In an embodiment of the invention, as shown in fig. 4, when the system meets the discharge condition of X-CAP, HV voltage is sampled, the connection mode identification module testably starts the internal discharge function for a period of time, and the capacitance of HV pin is determined by comparing the HV voltage change before and after discharge, so as to distinguish whether HV is connected to the diode before bridge or to the bus after bridge, because HV is connected to the diode before bridge, the capacitance of HV is X-CAP, and when connected to the bus after bridge, the capacitance of HV is bus capacitance (X-CAP is smaller, HV voltage change is larger, Cbus is larger, HV voltage change is smaller). And X-CAP is generally 100nf-220nf, assuming that the capacitance of X-CAP is at most 1uF and the capacitance of bus is at least 10 uF. The discharge current is 5mA, the discharge time is 10ms, if the discharge is performed on the X-CAP, the discharge voltage dU is 5mA × 10ms/1uF is 50V, if the discharge is performed on the bus, the dU is 5mA × 10ms/10uF is 5V, so V1 in fig. 4 is set to 10V, if the HV2 voltage is always higher than the HV1 voltage in one discharge cycle, the capacitance value on the HV is large, the system turns off the X-CAP discharge function, otherwise, the capacitance on the HV is small, and the X-CAP discharge function is continued.
Referring to fig. 4, HV2 is a sampled real-time HV voltage signal, and HV1 is a sampled and held signal of the sampled discharge initial HV voltage signal, when the discharge condition of the X-capacitor (X-CAP) is not satisfied, the S1 switch keeps on state, and HV1 is HV-V1 (where HV is a real-time signal). When the discharge condition of the X-capacitor is met at the time t0, the S1 switching tube is opened, and at the time, HV1 is equal to HVt0-V1, namely the HV signal state at the time t0 is recorded; when the discharge is finished, if the HV voltage drops to exceed V1, HV2< HV1, and comparator U1 outputs low level, whereas if the HV voltage drops to be less than V1, HV2> HV1, and comparison U1 output keeps high level. Therefore, the discharge of the X-capacitor at the moment is judged according to the output level of the U1, the drop degree of the HV voltage is judged, and the size of the capacitor on the HV pin is judged according to the drop degree of the HV voltage, so that whether the HV is connected to a front bridge diode or a rear bridge bus is distinguished, when the HV is connected to the front bridge diode, the capacitor on the HV is X-CAP, and when the HV is connected to the rear bridge bus, the capacitor on the HV is bus capacitor. And X-CAP is generally 100nf-220nf, assuming that the capacitance of X-CAP is at most 1uF and the capacitance of bus is at least 10 uF. The discharge current is 5mA, the discharge time is 10ms, if the discharge is performed on the X-CAP, the discharge voltage dU is 5mA × 10ms/1uF is 50V, if the discharge is performed on the bus, the dU is 5mA × 10ms/10uF is 5V, so V1 in fig. 3 is set to 10V, if the HV2 voltage is always higher than the HV1 voltage in one discharge cycle, the capacitance value on the HV is large, the system turns off the X-CAP discharge function, otherwise, the capacitance on the HV is small, and the X-CAP discharge function is continued.
In an embodiment of the present invention, the control circuit is connected to a chip, and the control circuit includes: and the discharge function control module is used for controlling the discharge function of the HV pin to be closed after the HV pin of the chip continuously discharges for the set times.
In an embodiment of the present invention, the discharge function control module includes: a discharge function closing control unit and a discharge function resetting control unit. The discharging function closing control unit is used for controlling to close the discharging function of the HV pin after the HV pin of the chip continuously discharges for a set number of times, and then the discharging function is not started when the HV pin does not reach a set condition; the discharging function reset control unit is used for resetting the discharging function of the HV pin after the system triggers abnormal protection.
The invention also discloses a control system which comprises the control circuit, and the control circuit is connected with the setting pin of the chip.
In an embodiment of the present invention, the control system further includes a rectifier bridge, a first diode D1, a second diode D2, an X-CAP capacitor, and a Cbus capacitor. The first end of the rectifier bridge is respectively connected with the anode of a first diode D1 and the first end of an X-CAP capacitor, the second end of the rectifier bridge is connected with the first end of a Cbus capacitor, the third end of the rectifier bridge is respectively connected with the anode of a second diode D2 and the second end of the X-CAP capacitor, and the second end of the Cbus capacitor and the fourth end of the rectifier bridge are respectively grounded; the cathode of the first diode D1 is connected to the cathode of the second diode D2. The HV pin of the chip is connected to the cathode of a first diode D1.
In another embodiment of the present invention, the control system further comprises a rectifier bridge, a Cbus capacitor; the second end of the rectifier bridge is connected with the first end of the Cbus capacitor and the HV pin of the chip; and the second end of the Cbus capacitor and the fourth end of the rectifier bridge are respectively grounded. The first end and the third end of the rectifier bridge are respectively connected with a power filter (EMI filter).
In an embodiment of the present invention, the control method includes:
a connection mode identification step of identifying the connection position of a set pin of the chip;
and a setting function control step of controlling the chip to start or close the setting function according to the information fed back by the connection mode identification step.
In an embodiment of the present invention, in the step of setting function control, the controlled function is a discharging function, and the step of setting function control is a step of controlling discharging function; and controlling the chip to start a discharging function or close the discharging function according to the information fed back by the connection mode identification step.
In an embodiment of the invention, in the step of identifying the connection mode, the voltage of the HV pin of the chip is acquired, and the HV pin is identified as being connected to the rectifier diode positioned in front of the rectifier bridge or connected to the bus positioned behind the rectifier bridge;
in the discharge function control step, controlling the chip to turn on or turn off the X-CAP discharge function according to the result identified in the connection mode identification step: if the result of the identification of the connection mode identification step is that the HV pin is connected with a rectifier diode positioned in front of a rectifier bridge, the control chip starts an X-CAP discharge function; and if the result of the identification in the connection mode identification step is that the HV pin is connected with the bus behind the rectifier bridge, the control chip closes the X-CAP discharge function.
In an embodiment of the invention, in the connection mode identification step, when the system meets the X-CAP discharge condition (the judgment mode is that whether the X-CAP discharge condition is met or not is judged by sampling the voltage signal of the HV pin, when the HV signal is detected not to have a rising slope within a set time, the AC input is judged to be powered down, and the X-CAP discharge condition is met, and the voltage of the HV pin is sampled; the discharge function in the device is started for a period of time in a testability mode, and the capacitance value of the HV pin connecting capacitor is judged by comparing the HV voltage change conditions before and after discharge, so that whether the HV pin is connected to a diode in front of a rectifier bridge or a bus behind the rectifier bridge is distinguished. When the HV pin is connected with a front diode of the rectifier bridge, the capacitor corresponding to the HV pin is an X-CAP capacitor, and when the HV pin is connected with a rear bus of the rectifier bridge, the capacitor corresponding to the HV pin is a bus Cbus capacitor; the capacitance value of the X-CAP capacitor is smaller than that of the Cbus capacitor. If the HV voltage variation is larger than the set threshold value, the capacitor corresponding to the HV pin is judged to correspond to the X-CAP capacitor with smaller capacitance value, and the HV pin is judged to be connected with a front diode of the rectifier bridge. If the HV voltage variation is smaller than the set threshold value, the capacitor corresponding to the HV pin is judged to correspond to the Cbus capacitor with a larger capacitance value, and the HV pin is judged to be connected with a rear bus of the rectifier bridge.
In an embodiment of the present invention, the control method includes: and after the setting pins of the chip continuously discharge for the set times, controlling to close the discharge function of the setting pins.
In an embodiment of the present invention, the control method includes:
a discharge function closing control step, namely controlling to close the discharge function of the HV pin after the HV pin of the chip continuously discharges for a set number of times, and then not starting the discharge function when the HV pin does not reach a set condition; and
and a discharging function resetting control step of resetting the discharging function of the HV pin after the system triggers the abnormal protection.
In summary, the control system, the control circuit and the control method provided by the invention can improve the application compatibility of the chip, so that the chip can adaptively turn on or turn off the X-cap discharge function according to the system application environment.
When the X-CAP discharge function is required, the control system can be connected as shown in FIG. 1, and when the system does not need the X-CAP capacitive discharge function, the control system can be directly shown in FIG. 2, so that two diodes can be omitted.
The description and applications of the invention herein are illustrative and are not intended to limit the scope of the invention to the embodiments described above. Variations and modifications of the embodiments disclosed herein are possible, and alternative and equivalent various components of the embodiments will be apparent to those skilled in the art. It will be clear to those skilled in the art that the present invention may be embodied in other forms, structures, arrangements, proportions, and with other components, materials, and parts, without departing from the spirit or essential characteristics thereof. Other variations and modifications of the embodiments disclosed herein may be made without departing from the scope and spirit of the invention.

Claims (14)

1. A control circuit, wherein the control circuit is connected to a chip, the control circuit comprising:
the connection mode identification module is used for identifying the connection position of a set pin of the chip and feeding back the connection position information to a set function control module; and
the setting function control module is connected with the connection mode identification module and used for controlling the chip to start or close the setting function according to the information fed back by the connection mode identification module;
the function controlled by the set function control module is a discharging function, and the set function control module is a discharging function control module;
the discharge function control module controls the chip to start or close the discharge function according to the information fed back by the connection mode identification module; and when the setting pin is identified to be connected with the rectifier diode in front of the rectifier bridge, the X-CAP discharge function is started, and when the setting pin is identified to be connected with the bus behind the rectifier bridge, the X-CAP discharge function is closed.
2. The control circuit of claim 1, wherein:
the connection mode identification module is used for acquiring the voltage of the HV pin of the chip and identifying whether the HV pin is connected with a rectifier diode positioned in front of a rectifier bridge or a bus positioned behind the rectifier bridge.
3. The control circuit of claim 2, wherein:
the discharge function control module is used for controlling the chip to start or close the X-CAP discharge function according to the result identified by the connection mode identification module;
if the result of the identification of the connection mode identification module is that the HV pin is connected with a rectifier diode positioned in front of a rectifier bridge, the discharge function control module controls the chip to start the X-CAP discharge function;
and if the result of the identification of the connection mode identification module is that the HV pin is connected with the bus behind the rectifier bridge, the discharge function control module controls the chip to close the X-CAP discharge function.
4. The control circuit of claim 2, wherein:
the connection mode identification module samples the voltage of the HV pin when the system meets the X-CAP discharge condition;
the connection mode identification module is used for starting an internal discharge function for a period of time, and judging the capacitance value of the HV pin connection capacitor by comparing the HV voltage change conditions before and after discharge, so as to distinguish whether the HV pin is connected with a front diode of a rectifier bridge or a rear bus of the rectifier bridge;
when the HV pin is connected with a front diode of the rectifier bridge, the capacitor corresponding to the HV pin is an X-CAP capacitor, and when the HV pin is connected with a rear bus of the rectifier bridge, the capacitor corresponding to the HV pin is a bus Cbus capacitor; the capacitance value of the X-CAP capacitor is smaller than that of the Cbus capacitor;
if the HV voltage variation is larger than a set threshold value, judging that a capacitor corresponding to the HV pin corresponds to an X-CAP capacitor with a smaller capacitance value, and judging that the HV pin is connected with a rectifier bridge front diode;
if the HV voltage variation is smaller than the set threshold value, the capacitor corresponding to the HV pin is judged to correspond to the Cbus capacitor with a larger capacitance value, and the HV pin is judged to be connected with a rear bus of the rectifier bridge.
5. The control circuit of claim 4, wherein:
the connection mode identification module comprises a contrast discharge power supply V1, a comparator U1, a switching tube S1, a first resistor R1, a second resistor R2 and a first capacitor C1;
the first end of the first resistor R1 is connected with the HV pin, the second end of the first resistor R1 is respectively connected with the first end of the second resistor R2, the positive phase input end of the comparator U1 and the positive electrode of the contrast discharging power supply V1, the negative electrode of the contrast discharging power supply V1 is respectively connected with the negative phase input end of the comparator U1 and the first end of the first capacitor C1 through a switch tube S1, the second end of the first capacitor C1 is grounded, and the second end of the second resistor R2 is grounded.
6. The control circuit of claim 5, wherein:
the comparator U1 judges whether the HV pin is connected with a front diode of the rectifier bridge or a rear bus of the rectifier bridge by comparing the second HV voltage HV2 input from the non-inverting input terminal with the first HV voltage HV1 input from the inverting input terminal;
if the second HV voltage HV2 is higher than the first HV voltage HV1 in a discharge period, it indicates that the capacitance value of the HV pin is larger, and the discharge function control module turns off the X-CAP discharge function, otherwise, it indicates that the capacitance of the HV pin is smaller, and the X-CAP discharge function is continuously maintained in an on state.
7. The control circuit of claim 4, wherein:
the connection mode identification module judges whether the X-CAP discharge condition is met or not by sampling the voltage signal of the HV pin, and when the HV signal is detected not to have a rising slope within a set time, the input AC is judged to be powered down, and the X-CAP discharge condition is met.
8. A control system, characterized by: comprising a control circuit according to any of claims 1 to 7, said control circuit being connected to a set pin of the chip.
9. The control system of claim 8, wherein:
the control system also comprises a rectifier bridge, a first diode D1, a second diode D2, an X-CAP capacitor and a Cbus capacitor;
the first end of the rectifier bridge is respectively connected with the anode of a first diode D1 and the first end of an X-CAP capacitor, the second end of the rectifier bridge is connected with the first end of a Cbus capacitor, the third end of the rectifier bridge is respectively connected with the anode of a second diode D2 and the second end of the X-CAP capacitor, and the second end of the Cbus capacitor and the fourth end of the rectifier bridge are respectively grounded; the cathode of the first diode D1 is connected with the cathode of the second diode D2; the HV pin of the chip is connected to the cathode of a first diode D1.
10. The control system of claim 8, wherein:
the control system also comprises a rectifier bridge and a Cbus capacitor;
the second end of the rectifier bridge is connected with the first end of the Cbus capacitor and the HV pin of the chip; and the second end of the Cbus capacitor and the fourth end of the rectifier bridge are respectively grounded.
11. A control method, characterized in that the control method comprises:
a connection mode identification step of identifying the connection position of a set pin of the chip;
a setting function control step of controlling the chip to start or close the setting function according to the information fed back by the connection mode identification step;
in the step of setting function control, the controlled function is a discharging function, and the step of setting function control is a step of controlling the discharging function; controlling the chip to start a discharging function or close the discharging function according to the information fed back by the connection mode identification step; and when the setting pin is identified to be connected with the rectifier diode in front of the rectifier bridge, the X-CAP discharge function is started, and when the setting pin is identified to be connected with the bus behind the rectifier bridge, the X-CAP discharge function is closed.
12. The control method according to claim 11, characterized in that:
in the connection mode identification step, acquiring the voltage of an HV pin of the chip, and identifying whether the HV pin is connected with a rectifier diode positioned in front of a rectifier bridge or a bus positioned behind the rectifier bridge;
in the discharge function control step, controlling the chip to turn on or turn off the X-CAP discharge function according to the result identified in the connection mode identification step:
if the result of the identification of the connection mode identification step is that the HV pin is connected with a rectifier diode positioned in front of a rectifier bridge, the control chip starts an X-CAP discharge function;
and if the result of the identification in the connection mode identification step is that the HV pin is connected with the bus behind the rectifier bridge, the control chip closes the X-CAP discharge function.
13. The control method according to claim 12, characterized in that:
in the connection mode identification step, when the system meets the X-CAP discharge condition, sampling the voltage of an HV pin; testing and starting an internal discharge function for a period of time, and judging the capacitance value of the HV pin connecting capacitor by comparing the HV voltage change conditions before and after discharge so as to distinguish whether the HV pin is connected with a front diode of a rectifier bridge or a rear bus of the rectifier bridge;
when the HV pin is connected with a front diode of the rectifier bridge, the capacitor corresponding to the HV pin is an X-CAP capacitor, and when the HV pin is connected with a rear bus of the rectifier bridge, the capacitor corresponding to the HV pin is a bus Cbus capacitor; the capacitance value of the X-CAP capacitor is smaller than that of the Cbus capacitor;
if the HV voltage variation is larger than a set threshold value, judging that a capacitor corresponding to the HV pin corresponds to an X-CAP capacitor with a smaller capacitance value, and judging that the HV pin is connected with a rectifier bridge front diode;
if the HV voltage variation is smaller than the set threshold value, the capacitor corresponding to the HV pin is judged to correspond to the Cbus capacitor with a larger capacitance value, and the HV pin is judged to be connected with a rear bus of the rectifier bridge.
14. The control method according to claim 13, characterized in that:
the connection mode identification module judges whether the X-CAP discharge condition is met or not by sampling the voltage signal of the HV pin, and when the HV signal is detected not to have a rising slope within a set time, the input AC is judged to be powered down, and the X-CAP discharge condition is met.
CN201910219740.7A 2019-03-22 2019-03-22 Control system, control circuit and control method Active CN109901474B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910219740.7A CN109901474B (en) 2019-03-22 2019-03-22 Control system, control circuit and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910219740.7A CN109901474B (en) 2019-03-22 2019-03-22 Control system, control circuit and control method

Publications (2)

Publication Number Publication Date
CN109901474A CN109901474A (en) 2019-06-18
CN109901474B true CN109901474B (en) 2022-04-05

Family

ID=66952839

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910219740.7A Active CN109901474B (en) 2019-03-22 2019-03-22 Control system, control circuit and control method

Country Status (1)

Country Link
CN (1) CN109901474B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112019069B (en) * 2020-09-01 2022-05-24 矽力杰半导体技术(杭州)有限公司 Control chip and switching power supply using same

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB271119A (en) * 1926-05-17 1927-11-10 British Thomson Houston Co Ltd Improvements in and relating to methods of and apparatus for the control of electricpower
CN201440615U (en) * 2009-08-27 2010-04-21 惠州三华工业有限公司 AC power-off quick response and AC filtering capacitance discharging circuit
CN102263516A (en) * 2010-05-31 2011-11-30 通嘉科技股份有限公司 Discharging module applicable to switch mode power supply and method thereof
CN102611090B (en) * 2011-01-19 2017-04-05 广州市金矢电子有限公司 Capacitor pulse electric discharge device, capacitor fling-cut switch
CN102255489B (en) * 2011-07-26 2013-06-19 无锡硅动力微电子股份有限公司 High-voltage start-up circuit for switching power supply converter
TWI464991B (en) * 2011-08-31 2014-12-11 Leadtrend Tech Corp Circuit for discharging an x capacitor
CN103023369B (en) * 2011-09-27 2015-04-01 台达电子企业管理(上海)有限公司 Capacitance discharge circuit and power converter
US8653841B2 (en) * 2012-05-04 2014-02-18 GM Global Technology Operations LLC Method and apparatus for monitoring a high-voltage electrical circuit including a discharge circuit
TWM447632U (en) * 2012-10-05 2013-02-21 Excelliance Mos Corp Power supply and startup circuit thereof
CN103236787B (en) * 2013-04-12 2015-07-08 矽力杰半导体技术(杭州)有限公司 Capacity discharge method and circuit
CN204190611U (en) * 2014-09-05 2015-03-04 芯砺微(上海)电子科技有限公司 A kind of energy-storage travelling wave tube power-off automatic discharge circuit
CN204720412U (en) * 2015-07-02 2015-10-21 江苏东光电子有限公司 A kind of gas discharge tube HV aging circuit
US10008952B1 (en) * 2016-12-23 2018-06-26 Rockwell Automation Technologies, Inc. Power conversion system with conditioner capacitor discharge apparatus
JP2019047621A (en) * 2017-09-01 2019-03-22 ミツミ電機株式会社 Semiconductor device for power supply control, power supply device, and discharge method of x capacitor
CN208094435U (en) * 2018-01-09 2018-11-13 深圳市海鸿微电子科技有限公司 A kind of AC-DC Switching Power Supplies and its control chip

Also Published As

Publication number Publication date
CN109901474A (en) 2019-06-18

Similar Documents

Publication Publication Date Title
US11490483B2 (en) Leakage protection circuit, method and drive device
US9059585B2 (en) Self-discharge control for an EMI filter capacitor
US5563799A (en) Low cost/low current watchdog circuit for microprocessor
CN108093528B (en) Overvoltage protection circuit applied to LED driving chip
US6552578B1 (en) Power down circuit detecting duty cycle of input signal
US11664738B2 (en) Control chip and switching power supply
US20110210712A1 (en) AC or DC POWER SUPPLY EMPLOYING SAMPLING POWER CIRCUIT
US7369382B2 (en) Integrated circuit with an undervoltage detector
US20110093222A1 (en) Power cycling test apparatus
US8140726B2 (en) Single wire transmission interface and method for the same
US20170155316A1 (en) System and Method for a Power Conversion System
CN109901474B (en) Control system, control circuit and control method
CN107947123B (en) ACDC switching power supply protection circuit and ACDC switching power supply device
CN207753898U (en) A kind of output overvoltage protection circuit based on floating ground BUCK frameworks
US5027328A (en) Memory drive device and method
CN116819278A (en) Super capacitor charging circuit testing method, device, equipment, computer and medium
CN219758374U (en) Power-on detection circuit and electronic equipment
US7405550B2 (en) Control input circuit for an electrical device
CN115940615B (en) Control chip of switching power supply
CN117155101B (en) Discharge control circuit and method for X capacitor and switching power supply
CN115118150B (en) Method and circuit for automatically identifying and adapting X capacitor discharging function in switch circuit
CN111900783B (en) Over-power protection circuit, charger and over-power protection method
CN115038211A (en) LED light string control system and signal identification thereof
CN110031692A (en) A kind of auxiliary mobile unit accurately identifies the method and circuit of ACC state
CN114630470A (en) Leakage protection circuit, driving circuit and leakage detection method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Room 3303, block a, block 8, block C, Wanke Yuncheng phase III, Liuxin 4th Street, Xili community, Nanshan District, Shenzhen City, Guangdong Province

Applicant after: Shenzhen Biyi Microelectronics Co., Ltd

Address before: 518055 2 302, nine Xiang Ling new industrial zone, 4227 Xili Hu Road, Nanshan District, Shenzhen, Guangdong.

Applicant before: SHENZHEN KIWI MICROELECTRONIC Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant