SUMMERY OF THE UTILITY MODEL
The utility model aims at providing an intelligent switch controller which is used for solving the problems of low service life and high cost of a relay; meanwhile, a zero-crossing detection circuit is provided and used for accurately detecting alternating current zero-crossing points.
The technical scheme of the utility model includes:
a zero-crossing detection circuit comprises a series voltage division circuit used for connecting an alternating current main circuit and a detection output circuit used for outputting a zero-crossing detection result; the input end of the detection output circuit is connected with the series voltage division circuit, and the output end of the detection output circuit is used for being connected with a post-stage circuit.
The utility model discloses still technical scheme still include:
an intelligent switch controller comprises a processor, a relay and a zero-crossing detection circuit, wherein the processor is connected with the relay in a control mode and is connected with the zero-crossing detection circuit in a sampling mode; the zero-crossing detection circuit comprises a series voltage division circuit used for connecting the alternating current main circuit and a detection output circuit used for outputting a zero-crossing detection result; the input end of the detection output circuit is connected with the series voltage division circuit, and the output end of the detection output circuit is connected with the processor.
The utility model discloses a zero cross detection circuit can jump according to the level of the output of comparator and detect the alternating current circuit zero crossing point. The utility model discloses a circuit has wide voltage input scope, even under the unstable condition of voltage, also can normal controlgear's action, makes the product more reliable. The utility model discloses intelligence switch controller near exchanging zero passage action, can reduce the inrush current, reduces the equipment switch harm to the relay contact in the twinkling of an eye to reach life-span, the purpose that improves the controller security performance of extension intelligent house controller, can choose the relay of low TV grade for use moreover, and then reduce cost.
Furthermore, the series voltage division circuit comprises a plurality of current limiting resistors and two sampling resistors which are connected in series, and the series point of the two sampling resistors is grounded; the detection output circuit comprises a comparator; two ends of the two sampling resistors which are connected in series are respectively connected to two input ends of the comparator; each sampling resistor is connected with a TVS tube in parallel, and the directions of the two TVS tubes are opposite; and the output end of the comparator is used for connecting a post-stage circuit.
Two TVS tubes are adopted, and the circuit safety is higher.
Furthermore, the series voltage division circuit comprises a plurality of current-limiting resistors and a primary side of an optical coupling element which are connected in series, and the primary side of the optical coupling element is reversely connected with a diode in parallel; the detection output circuit comprises a switch tube, a trigger pole of the switch tube is connected with the secondary side of the optical coupling element, and an input pole/output pole of the switch tube is used for being connected with a post-stage circuit.
The optical coupling isolation mode is adopted, and the optical coupling isolation device can be suitable for shells made of metal or plastic materials.
Furthermore, a fuse is also serially connected in the serial voltage division circuit.
Furthermore, the input end of the series voltage division circuit is connected with a lightning arrester in parallel.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings and embodiments.
Zero-crossing detection circuit embodiment 1
The zero-cross detection circuit shown in fig. 1 includes a series voltage dividing circuit, which is composed of voltage dividing resistors R1, R13, R3, R4, R14, and R5 connected in series and connected to a main circuit (N, L is connected to an ac terminal of the main circuit). Wherein, R1, R5, R14 and R13 are used for realizing current limiting; r3 and R4 are used as sampling resistors, and sampling voltages at two ends of the sampling resistors are connected to input ends (U1-2 and U1-3) of a comparator U1 (adopting LM 358). The series points of R3 and R4 are grounded, and the resistance values of R3 and R4 can be adjusted according to requirements, so that the sampling voltage meets the requirement of the input voltage of the comparator. The output of comparator U1 is used to indicate the voltage zero crossing. The comparator U1 is an essential part of a detection output circuit for outputting a zero-cross detection result.
The basic working principle is that when the N, L voltage is positive, the U1-2 voltage is positive, the U1-3 voltage is negative, the comparator outputs high level, and the high level is detected by a rear-stage circuit through a resistor R2(R15 is a pull-down resistor); when the voltage N, L is negative, the comparator output flips, so that the voltage of the front main circuit can cross zero by detecting the level transition of OUT.
The R3 is connected with a TVS tube D1 in parallel, the R4 is connected with a TVS tube D4 in parallel, and the directions of D1 and D4 are opposite (the anode of D1 is connected with the anode of D4, the cathode of D1 is connected with U1-2, and the cathode of D4 is connected with U1-3) so as to prevent the chip from being burnt out due to overlarge forward voltage; meanwhile, reverse voltage can be clamped, and safety and reliability are higher compared with a mode that protection is carried out after R3 and R4 are connected in series. And a lightning arrester RV1 (voltage dependent resistor) is connected in parallel between fuses F1 and N, L in series in the series voltage division circuit. Therefore, the circuit of the embodiment has a wide voltage input range, and can normally control the action of equipment even if the voltage is unstable, so that the product is more reliable.
Zero-crossing detection circuit embodiment 2
The zero-crossing detection circuit shown in fig. 2 comprises a series voltage dividing circuit, wherein the series voltage dividing circuit comprises current limiting resistors R10 and R11 which are connected in series and a primary side of an optical coupling element U2, and the primary side of the optical coupling element U2 is connected with a diode D2 in an inverse parallel mode; the base electrode of the triode Q1 is connected with the secondary side of the optocoupler U2, the collector electrode of the triode Q1 is connected with VCC through a pull-up resistor R21, the emitter is grounded, and the collector electrode forms an output OUT which is used for being connected with a rear-stage circuit.
The transistor Q1 is a main part of a detection output circuit for outputting a zero-cross detection result, and as other embodiments, other types of switching tubes, such as MOS tubes, may also be used.
The working principle is as follows: when the voltage is positive, the current passes through the primary side of the optocoupler U2, and when the voltage is reverse, the current passes through the diode D2; when current passes through the primary side of the optocoupler U2, the secondary side is conducted, so that trigger voltage is provided for the transistor Q1, the transistor Q1 is conducted, OUT outputs a low level, and when current passes through the diode D2, the transistor Q1 is not conducted, and OUT outputs a high level. The R20 and the R21 can adjust OUT voltage, so that the phenomenon that the chip is burnt OUT due to too high output and the voltage cannot be detected due to too low output is avoided.
This embodiment owing to adopted the mode of opto-coupler isolation, can be applicable to metal or plastic casing.
Intelligent switch controller embodiment 1
The intelligent switch controller shown in fig. 3 (including an intelligent zero-fire switch, a fan coil temperature controller, an OLED scene panel, a scene panel control box, an intelligent fresh air/water floor heating/electric floor heating temperature controller, etc.) includes a processor MCU, the MCU controls and connects a relay (for example, a coil of the MCU driving the relay), when controlling the relay, in order to avoid the relay contact from being damaged when breaking current, the relay can be controlled to be broken and opened again when detecting that the current passes through zero by using the zero-crossing detection circuit shown in fig. 1. In the circuit, the MCU is only needed to be used as a rear-stage part of the zero-crossing detection circuit, and the OUT is connected to an IO port of the MCU. The zero-crossing detection circuit is the same as that shown in fig. 1, and therefore, the description thereof is omitted.
The utility model discloses an intelligence switch controller near exchanging zero passage action, can reduce the inrush current, reduces the equipment switch harm to the relay contact in the twinkling of an eye to reach life-span, the purpose that improves the controller security performance of extension intelligent house controller, can choose the relay of low TV grade for use moreover, and then reduce cost.
Intelligent switch controller embodiment 2
The intelligent switch controller shown in fig. 4 (including an intelligent zero-fire switch, a fan coil temperature controller, an OLED scene panel, a scene panel control box, an intelligent fresh air/water floor heating/electric floor heating temperature controller, etc.), includes a processor MCU, and the MCU controls and connects a relay (for example, a coil of the MCU driving the relay), so that when the relay is controlled, in order to avoid the relay contact from being damaged when the relay contact is disconnected with current, the relay can be disconnected and opened by using the zero-crossing detection circuit shown in fig. 2 when detecting that the current is zero. In the circuit, the MCU is only needed to be used as a rear-stage part of the zero-crossing detection circuit, and the OUT is connected to an IO port of the MCU. The zero-crossing detection circuit is the same as that shown in fig. 2, and therefore, the description thereof is omitted.