A current signal detection and output circuit and a system having the same

By combining zero-crossing detection circuits and logic judgment circuits, automatic identification of power supply type and automatic switching of output channels are achieved, solving the problems of poor compatibility and high risk of manual intervention in existing circuits, and improving the intelligence and safety of the equipment.

CN123155831APending Publication Date: 2026-11-24WITTUR ELEVATOR COMPONENTS SUZHOU
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611348014.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-02
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

The existing power input circuit design is simple, which requires two independent input interfaces and control logic for the device. This results in poor compatibility, high risk of manual intervention, inability to automatically identify and switch power types, and low safety and intelligence.

Method used

It employs a zero-crossing detection circuit, an RC filter circuit, a DC bus sampling circuit, and a logic judgment circuit to automatically identify the input power type and achieve automatic switching through an AC/DC selection circuit, simplifying the structure and reducing costs and safety risks.

Benefits of technology

It enables automatic identification of power supply type and automatic switching of output channel, improving the versatility, safety and intelligence of the equipment, simplifying the system structure, reducing hardware costs and wiring complexity, and avoiding safety risks caused by human error.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123155831A_ABST
    Figure CN123155831A_ABST
Patent Text Reader

Abstract

This invention discloses a current signal detection and output circuit and a system having the same. The signal input port of the circuit is connected to an external AC or DC power supply. The zero-crossing detection circuit includes an optocoupler, whose high-voltage side is connected to the signal input port through a zero-crossing detection module, and whose low-voltage side outputs a zero-crossing detection voltage signal to an RC filter circuit, thereby outputting a filtered voltage signal. The DC bus sampling circuit samples the electrical signal at the signal input port to obtain a sampled voltage. The logic judgment circuit uses a comparator to compare the filtered voltage signal with a first reference voltage, and compares the sampled voltage with a second reference voltage, and outputs one of a first trigger signal corresponding to DC power and a second trigger signal corresponding to AC power based on the comparison result. In response to the output of the first trigger signal, the AC / DC selection circuit turns on the signal input port and the DC output port. In response to the output of the second trigger signal, the signal input port and the AC output port are turned on.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of elevators, and more particularly to a current signal detection and output circuit and a system having the same. Background Technology

[0002] With the development of industrial automation and building intelligence, the power supply environment for various electrical equipment (especially elevators, security, medical, and industrial control equipment) is becoming increasingly complex. In many application scenarios, the same equipment or interface often needs to be compatible with multiple power supply standards. For example, in elevator car emergency lighting and ventilation systems and machine room shaft maintenance systems, the power supply may come from AC power (such as AC220V) from the mains power grid, or from DC power (such as DC24V, DC48V, DC110V, or DC220V) provided by backup battery packs, DC switching power supplies, or specific control cabinets.

[0003] However, existing power input circuits are typically single-function, meaning they design separate input ports and detection circuits for AC and DC power respectively. This design has the following drawbacks: First, in order to adapt to different power supply environments, the equipment often needs to reserve two independent input interfaces (AC interface and DC interface) and two corresponding control logics, resulting in poor compatibility and interface redundancy. This not only increases the size of the equipment and the complexity of wiring, but also increases the hardware cost.

[0004] Secondly, when switching power supply systems, maintenance personnel usually need to manually change the circuit topology by using DIP switches, jumper caps, or replacing terminals to match the current power type. This manual intervention carries a high risk: it is very easy to damage equipment or even cause safety accidents due to misoperation (such as connecting the wrong port or turning the wrong switch).

[0005] Third, existing circuits lack the ability to intelligently identify the type of input power supply and cannot automatically conduct the detected AC or DC power to the corresponding downstream load circuit. Therefore, in situations where seamless switching of backup power is required (such as automatic switching to DC emergency power after a mains power outage), traditional circuits cannot achieve safe, reliable, and automatic switching without manual intervention.

[0006] The disclosure of the above background information is only for the purpose of assisting in understanding the concept and technical solution of this application, and does not necessarily provide technical instruction. Summary of the Invention

[0007] The purpose of this invention is to provide a current signal detection and output circuit that automatically identifies the type of input power supply (AC or DC) and automatically conducts electrical energy to the corresponding output port, thereby improving the versatility, safety and intelligence of the device.

[0008] To achieve the above objectives, the technical solution adopted by the present invention is as follows: A current signal detection and output circuit includes a signal input port, a zero-crossing detection circuit, an RC filter circuit, a DC bus sampling circuit, a first reference voltage generation circuit, a second reference voltage generation circuit, a logic judgment circuit, an AC / DC selection circuit, and a signal output port, wherein the signal input port is configured to connect to an external AC power supply or DC power supply. The zero-crossing detection circuit includes an optocoupler, the high-voltage side of which is connected to the signal input port through a zero-crossing detection module, and the low-voltage side of which is configured to output a zero-crossing detection voltage signal to the RC filter circuit; the RC filter circuit is configured to output a filtered voltage signal. The DC bus sampling circuit is configured to sample the electrical signal at the signal input port to obtain the sampled voltage; The first reference voltage generation circuit is configured to generate a first reference voltage, and the second reference voltage generation circuit is configured to generate a second reference voltage; The logic judgment circuit uses a comparator to compare the filtered voltage signal with the first reference voltage, and compares the sampled voltage with the second reference voltage, and outputs one of the first trigger signal corresponding to DC power and the second trigger signal corresponding to AC power based on the comparison result. The signal output port includes a DC output port and an AC output port. In response to the output of a first trigger signal, the AC / DC selection circuit turns on the signal input port and the DC output port. In response to the output of a second trigger signal, the AC / DC selection circuit turns on the signal input port and the AC output port.

[0009] Furthermore, based on any or a combination of the aforementioned technical solutions, when the electrical signal at the signal input port is AC, the RC filter circuit outputs a first filtered voltage, and the DC bus sampling circuit outputs a first sampling voltage. When the electrical signal at the signal input port is DC, the RC filter circuit outputs a second filtered voltage, and the DC bus sampling circuit outputs a second sampled voltage. The following conditions must be met: the first reference voltage is greater than the first filtered voltage and less than the second filtered voltage; the second reference voltage is greater than the second sampled voltage and less than the first sampled voltage.

[0010] Furthermore, based on any one or a combination of the aforementioned technical solutions, the comparator of the logic judgment circuit includes a first comparison circuit, a second comparison circuit, a third comparison circuit, and a fourth comparison circuit; Wherein, the non-inverting input terminal of the first comparator circuit and the inverting input terminal of the third comparator circuit are connected to the second reference voltage, and the inverting input terminal of the first comparator circuit and the non-inverting input terminal of the third comparator circuit are connected to the sampling output terminal of the DC bus sampling circuit. The non-inverting input terminal of the second comparator circuit and the inverting input terminal of the fourth comparator circuit are connected to the output terminal of the RC filter circuit, and the inverting input terminal of the second comparator circuit and the non-inverting input terminal of the fourth comparator circuit are connected to the first reference voltage.

[0011] Furthermore, based on any or a combination of the aforementioned technical solutions, the logic judgment circuit further includes a first logic gate and a second logic gate; The output terminals of the first comparator circuit and the second comparator circuit are respectively connected to the two input terminals of the first logic gate, and the output terminals of the third comparator and the fourth comparator are respectively connected to the two input terminals of the second logic gate. The output of the first logic gate is connected to the first control terminal of the AC / DC selection circuit to control the on / off state of the signal input port and the DC output port; The output of the second logic gate is connected to the second control terminal of the AC / DC selection circuit to control the on / off state of the signal input port and the AC output port; The first logic gate and the second logic gate do not output a high level at the same time.

[0012] Furthermore, in accordance with any or a combination of the aforementioned technical solutions, the first logic gate is an AND gate or an OR gate, and the second logic gate is an AND gate or an OR gate; The first control terminal is the base of the first transistor, and the output terminal of the first logic gate is connected to the base of the first transistor. The second control terminal is the base of the second transistor, and the output terminal of the second logic gate is connected to the base of the second transistor.

[0013] Furthermore, based on any or a combination of the aforementioned technical solutions, the AC / DC selection circuit further includes a first relay and a second relay; The coil of the first relay forms a circuit with the first transistor, and the contact switch of the first relay is located between the signal input port and the DC output port; The coil of the second relay forms a circuit with the second transistor, and the contact switch of the second relay is located between the signal input port and the AC output port.

[0014] Furthermore, following any one or a combination of the aforementioned technical solutions, the comparator is a four-channel independent differential voltage comparator.

[0015] Furthermore, based on any or a combination of the aforementioned technical solutions, the DC bus sampling circuit includes a rectifier bridge, a filter capacitor, and a voltage divider branch formed by multiple voltage divider resistors connected in series. The AC input terminal of the rectifier bridge is connected to the L terminal and the N terminal of the signal input port, respectively, and its output terminal is connected in parallel with the filter capacitor and the voltage divider branch, respectively. The sampling output terminal is led out between two voltage divider resistors.

[0016] According to another aspect of the present invention, an emergency lighting and ventilation system for an elevator car is provided, including a lighting load and a ventilation load disposed in the car, and a current signal detection and output circuit as described above, wherein the signal input port of the current signal detection and output circuit is selectively connected to an external AC power supply or an external DC power supply.

[0017] According to another aspect of the present invention, an elevator machine room shaft lighting maintenance system is provided, including a shaft lighting circuit and a current signal detection and output circuit as described above, wherein the signal input port of the current signal detection and output circuit is selectively connected to an external AC power supply or an external DC power supply.

[0018] According to another aspect of the present invention, an elevator door operator emergency system is provided, comprising an elevator door operator control circuit and a current signal detection and output circuit as described above, wherein the signal input port of the current signal detection and output circuit is connected to the car top system, the DC output port of the current signal detection and output circuit is connected to the DC input port of the elevator door operator control circuit, and the AC output port of the current signal detection and output circuit is connected to the AC input port of the elevator door operator control circuit.

[0019] The beneficial effects of the technical solution provided by this invention are as follows: a. This invention, by setting up a zero-crossing detection circuit, an RC filter circuit, a DC bus sampling circuit, and a logic judgment circuit, utilizes the difference between the zero-crossing characteristics of the electrical signal under AC and DC operating conditions and the bus voltage characteristics to automatically and accurately determine the type of input power supply; when the detection result is DC, a first trigger signal is output; when the detection result is AC, a second trigger signal is output; the entire identification process requires no manual intervention or external control commands, realizing automatic identification of power supply type and automatic switching of output channels, effectively improving the intelligence level of power supply access; b. This invention requires only one signal input port to be compatible with AC or DC power supply access, eliminating the need for multiple independent input interfaces and corresponding control circuits in the prior art to adapt to different power types; through the cooperation of logic judgment circuit and AC / DC selection circuit, selective output of power signal can be completed without adding complex peripheral circuits, which significantly simplifies the system structure, reduces the number of components and space occupied, and reduces manufacturing costs and on-site wiring difficulty; c. Because the present invention has automatic physical layer isolation and logic judgment functions, it can selectively conduct signal input ports and DC output ports or AC output ports according to the detection results, effectively avoiding safety risks such as short circuits and device damage caused by manual switching or incorrect wiring; at the same time, the output structure of the logic judgment circuit ensures that the first trigger signal and the second trigger signal will not be triggered at the same time, preventing the potential power conflict of simultaneous conduction of AC and DC paths from the source, and ensuring the safe operation of the load and power supply equipment. Attached Figure Description

[0020] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0021] Figure 1 A schematic diagram of the overall structure of a current signal detection and output circuit provided as an exemplary embodiment of the present invention; Figure 2 A schematic diagram of a zero-crossing detection circuit provided as an exemplary embodiment of the present invention; Figure 3 A schematic diagram of the structure of an RC filter circuit provided as an exemplary embodiment of the present invention; Figure 4 A schematic diagram of the structure of a DC bus sampling circuit provided as an exemplary embodiment of the present invention; Figure 5 A schematic diagram of the structure of a first reference voltage generation circuit provided as an exemplary embodiment of the present invention; Figure 6 A schematic diagram of the structure of a second reference voltage generation circuit provided as an exemplary embodiment of the present invention; Figure 7 A schematic diagram of the structure of a logic judgment circuit provided as an exemplary embodiment of the present invention; Figure 8 A schematic diagram of the AC / DC selection circuit provided as an exemplary embodiment of the present invention; Figure 9 A schematic diagram of a 24V step-down circuit provided as an exemplary embodiment of the present invention; Figure 10 A schematic diagram of a 5V step-down circuit provided as an exemplary embodiment of the present invention. Detailed Implementation

[0022] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0023] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, apparatus, product, or device that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or devices.

[0024] In one embodiment of the present invention, a current signal detection and output circuit is provided, such as... Figure 1 As shown, the circuit includes a signal input port, a zero-crossing detection circuit, an RC filter circuit, a DC bus sampling circuit, a first reference voltage generation circuit, a second reference voltage generation circuit, a logic judgment circuit, an AC / DC selection circuit, and a signal output port. The signal input port ( Figure 1 CON1) is configured to connect to an external AC or DC power supply; See Figure 2 The zero-crossing detection circuit includes an optocoupler, whose high-voltage side is connected to a zero-crossing detection module (i.e., Figure 2 Resistors R2, R3, R4, and R5 are connected to the signal input ports (L / + and N / -), and their low-voltage side is configured to output a zero-crossing detection voltage signal (V) to the RC filter circuit. L+ See also Figure 3 The RC filter circuit is configured to output a filtered voltage signal (V). Lavr ); See Figure 4 The DC bus sampling circuit is configured to sample the electrical signals (L / + and N / -) at the signal input port to obtain the sampled voltage (V). dc_S Specifically, the DC bus sampling circuit includes a rectifier bridge, a filter capacitor EC1, and a voltage divider branch formed by multiple voltage divider resistors (R6, R7, R9) connected in series. The AC input terminal of the rectifier bridge is connected to the L / + terminal and the N / - terminal of the signal input port, respectively, and its output terminal is connected in parallel with the filter capacitor EC1 and the voltage divider branch, respectively. The sampling output terminal (sampling voltage V) dc_S It is drawn from between the two voltage divider resistors (R7, R9).

[0025] See Figure 5 The first reference voltage generation circuit is configured to generate a first reference voltage; see also Figure 6 The second reference voltage generation circuit is configured to generate a second reference voltage; Logic judgment circuits such as Figure 7 As shown, it uses a comparator to compare the filtered voltage signal with the first reference voltage, and compares the sampled voltage with the second reference voltage, and outputs one of the first trigger signal corresponding to DC power and the second trigger signal corresponding to AC power based on the comparison result; When the electrical signal at the signal input port is AC, the RC filter circuit outputs a first filtered voltage, and the DC bus sampling circuit outputs a first sampled voltage; when the electrical signal at the signal input port is DC, the RC filter circuit outputs a second filtered voltage, and the DC bus sampling circuit outputs a second sampled voltage; then the following conditions are met: the first reference voltage is greater than the first filtered voltage and less than the second filtered voltage; the second reference voltage is greater than the second sampled voltage and less than the first sampled voltage.

[0026] In a specific numerical embodiment, taking an input AC voltage of 220V and a duty cycle of 50% for both positive and negative voltages as an example, zero-crossing detection via an optocoupler can acquire a square wave signal with a high level of 5V, a low level of 0V, and a frequency of 50Hz. After RC low-pass filtering, the corresponding filtered voltage signal V is obtained. Lavr The signal level is 2.5V; the voltage P after AC rectification is 311V, which is then divided by resistors R6, R7, and R9 to obtain the sampling voltage V. dc_S The value is approximately 3.02V (311V × 1 / (51 + 51 + 1)). Taking a 220V DC input as an example, a constant-level 5V signal can be acquired through zero-crossing detection using an optocoupler; after RC low-pass filtering, the corresponding filtered voltage signal V is obtained. Lavr The signal is at a 5V level; after being divided by resistors R6, R7, and R9, the sampling voltage V is obtained. dc_S The value is approximately 220V × 1 / (51 + 51 + 1) ≈ 2.14V. Therefore, in this embodiment, the value of the first reference voltage is between 2.5V and 5V, for example, 3.75V. Figure 5 As shown; In this embodiment, the value of the second reference voltage is between 2.14V and 3.02V, for example, 2.5V. Figure 6 As shown.

[0027] The signal output port includes a DC output port and an AC output port. In response to the output of a first trigger signal, the AC / DC selection circuit turns on the signal input port and the DC output port. In response to the output of a second trigger signal, the AC / DC selection circuit turns on the signal input port and the AC output port.

[0028] Specifically, the comparator of the logic judgment circuit includes a first comparator circuit, a second comparator circuit, a third comparator circuit, and a fourth comparator circuit; in an optional embodiment, the comparator is a four-way independent differential voltage comparator (…). Figure 7 The chip U6).

[0029] In this circuit, the non-inverting input terminal of the first comparator circuit (IN1+ of U7) and the inverting input terminal of the third comparator circuit (IN3- of U7) are connected to the second reference voltage (V). ref_2.5 The inverting input terminal (IN1- of U7) of the first comparator circuit and the non-inverting input terminal (IN3+ of U7) of the third comparator circuit are connected to the sampling output terminal (sampling voltage V) of the DC bus sampling circuit. dc_S ); The non-inverting input terminal of the second comparator circuit (IN2+ of U7) and the inverting input terminal of the fourth comparator circuit (IN4- of U7) are connected to the output terminal of the RC filter circuit (filtered voltage V). Lavr The inverting input terminal of the second comparator circuit (IN2- of U7) and the non-inverting input terminal of the fourth comparator circuit (IN4+ of U7) are connected to the first reference voltage (V). ref_3.75 ).

[0030] See also Figure 7 The logic judgment circuit further includes a first logic gate (i.e., U4A) and a second logic gate (i.e., U3). The first logic gate can be an AND gate or an OR gate; the second logic gate can be an AND gate or an OR gate. The output terminals of the first comparator circuit and the second comparator circuit are respectively connected to the two input terminals of the first logic gate, and the output terminals of the third comparator and the fourth comparator are respectively connected to the two input terminals of the second logic gate. The output of the first logic gate is connected to the first control terminal (base of the first transistor) of the AC / DC selection circuit to control the on / off state of the signal input port and the DC output port. The output of the second logic gate is connected to the second control terminal (the base of the second transistor) of the AC / DC selection circuit to control the on / off state of the signal input port and the AC output port; The first logic gate and the second logic gate do not output a high level at the same time.

[0031] It should be noted that the first MOSFET and the second MOSFET in this embodiment can be replaced by the first MOSFET and the second MOSFET as a simple variation. The technical solution implemented using the first MOSFET and the second MOSFET should also fall within the protection scope claimed by this invention.

[0032] See Figure 8 The AC / DC selection circuit further includes a first relay RE1 and a second relay RE2; The coil of the first relay forms a circuit with the first transistor Q1, and the contact switch of the first relay is located at the signal input port. Figure 1 CON1) and DC output port ( Figure 8 Between CON3); The coil of the second relay forms a circuit with the second transistor Q2, and the contact switch of the second relay is located at the signal input port. Figure 1 CON1) and AC output port ( Figure 8 Between CON2).

[0033] The current signal detection and output circuit provided in this embodiment of the invention also includes an internal 24V power supply (see...). Figure 9 ) and internal 5V power supply (see Figure 10 ),in, Figure 9 The step-down circuit shown converts the voltage at the L / + and N / - terminals of the signal input port into a 24V power supply to power the first relay RE1 and the second relay RE2. Figure 10 The step-down circuit shown further steps down the 24V voltage to a 5V power supply, which is used to supply power to… Figure 7 The chip U6, the first logic gate U4A, and the second logic gate U3 are powered and used to further step down the 5V power supply to obtain the first reference voltage and the second reference voltage mentioned above.

[0034] The working principle of this embodiment is as follows: When the signal input port ( Figure 1 When CON1 is connected to an external AC power supply, the IN1+ of the four independent differential voltage comparators U6 is less than the IN1-, therefore, OUT1 of U6 outputs a low level; the IN2+ of U6 is less than the IN2-, therefore, OUT2 of U6 outputs a low level; the IN3+ of U6 is greater than the IN2-, therefore, OUT3 of U6 outputs a high level; the IN4+ of U6 is greater than the IN4-, therefore, OUT4 of U6 outputs a high level; the low levels output by OUT1 and OUT2 are fed to the first logic gate, which in turn outputs a low level, turning off the first transistor Q1, and consequently, the first relay RE1 does not work, and its contact switch is open, meaning that the signal input port ( Figure 1 CON1) and AC output port ( Figure 8 The circuit between CON2 and OUT3 is not conducting; while OUT3 and OUT4 output high levels to the second logic gate, which in turn outputs a high level, causing the second transistor Q2 to conduct, and thus the second relay RE2 to operate, closing its contact switch. That is to say, the signal input port (CON2) is open. Figure 1 CON1) and AC output port ( Figure 8 The AC power supply is connected between CON2 and AC3, meaning that the external AC power supply is output through the AC output port. When the signal input port ( Figure 1 When CON1 is connected to an external DC power supply, the four independent differential voltage comparators U6 have IN1+ greater than IN1-, therefore, OUT1 of U6 outputs a high level; IN2+ of U6 is greater than IN2-, therefore, OUT2 of U6 outputs a high level; IN3+ of U6 is less than IN2-, therefore, OUT3 of U6 outputs a low level; IN4+ of U6 is less than IN4-, therefore, OUT4 of U6 outputs a low level; the low levels of OUT3 and OUT4 are fed to the second logic gate, which in turn outputs a low level, causing the second transistor Q2 to turn off, and consequently the second relay RE2 to stop working, its contact switch opens, meaning the signal input port ( Figure 1 CON1) and DC output port ( Figure 8 The signal input port (CON3) is not conducting; while OUT1 and OUT2 output high levels to the first logic gate, which in turn outputs a high level, turning on the first transistor Q1, and thus the first relay RE1 operates, closing its contact switch. That is to say, the signal input port (CON3) is not conducting. Figure 1 CON1) and DC output port ( Figure 8 The connection between CON3 and the external DC power supply is established, meaning that the external DC power supply is output through the DC output port.

[0035] This embodiment uses the filtered voltage signal V Lavr and sampling voltage Vdc_S Dual logical comparison and judgment, thereby controlling Figure 8 The relays (RE1 / RE2) open and close; this is compared to simply comparing the sampled voltage V. dc_S To determine whether the input power supply is AC or DC, a more accurate assessment is needed. Voltage fluctuations or unstable power supply in elevator operation can easily lead to misjudgments, potentially causing power outages in the elevator door operator and resulting in unpredictable losses. Therefore, adding a filter to the voltage signal V... Lavr Double logic comparison is performed to avoid false positives. The above implementation determines whether the input is AC or DC, and outputs to different interfaces accordingly, without simultaneous outputs. This is a hardware-only experiment, requiring no additional MCU or software programming.

[0036] Leveraging its automatic compatibility with both AC and DC power, this invention enables devices employing this circuit to directly connect to power supply networks or emergency power sources of different standards. In one specific embodiment, the current signal detection and output circuit provided in the above embodiment can be applied to an elevator car emergency lighting and ventilation system. In this scenario, during normal operation, the elevator uses DC power (such as DC24V, DC48V, DC110V, or DC220V) provided by the elevator main control cabinet to power the car lighting and ventilation fan. When the mains power fails, the elevator automatically switches to the emergency battery pack, while some emergency power systems (UPS or backup inverters) may output AC220V. Accordingly, the aforementioned current signal detection and output circuit is placed at the car power inlet. When the system inputs DC (normally powered by the control cabinet), it automatically switches to the "DC output port" to power the lighting and ventilation loads; when switching to emergency AC output during a power outage, it immediately detects the AC signal, switches the relay to activate the "AC output port," ensuring that the lighting and ventilation loads continue to operate automatically without manual intervention.

[0037] In another specific embodiment, the current signal detection and output circuit provided in the above embodiment is applied to the elevator machine room shaft lighting maintenance system. In this scenario, the maintenance lighting and safety sockets in the elevator shaft and machine room may be powered by the building's AC220V mains power, or by a temporary mobile power supply (DC battery pack) during debugging or emergencies. Accordingly, the above-mentioned current signal detection and output circuit is directly connected in series at the front end of the shaft lighting circuit. When the input is from the building's mains power, it is detected as AC, and the AC output is turned on to provide power to the shaft lighting circuit. When the maintenance engineer uses an external DC power supply, the circuit automatically switches to DC output, still ensuring that the shaft lighting circuit continues to illuminate, thus guaranteeing the safety of maintenance personnel and the continuity of lighting.

[0038] In another specific embodiment of the present invention, an elevator door operator emergency system is provided, including an elevator door operator control circuit and a current signal detection and output circuit as described above. The signal input port of the current signal detection and output circuit is connected to the car top system outside the system. The DC output port of the current signal detection and output circuit is connected to the DC input port of the elevator door operator control circuit, and the AC output port of the current signal detection and output circuit is connected to the AC input port of the elevator door operator control circuit. Under normal power supply, AC input is used; in emergency situations, DC input is used, without the need for manual switching.

[0039] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0040] The above description is only a specific embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.

Claims

1. A current signal detecting and outputting circuit, characterized by comprising: It includes a signal input port, a zero-crossing detection circuit, an RC filter circuit, a DC bus sampling circuit, a first reference voltage generation circuit, a second reference voltage generation circuit, a logic judgment circuit, an AC / DC selection circuit, and a signal output port, wherein the signal input port is configured to connect to an external AC power supply or DC power supply. The zero-crossing detection circuit includes an optocoupler, the high-voltage side of which is connected to the signal input port through a zero-crossing detection module, and the low-voltage side of which is configured to output a zero-crossing detection voltage signal to the RC filter circuit; the RC filter circuit is configured to output a filtered voltage signal. The DC bus sampling circuit is configured to sample the electrical signal at the signal input port to obtain the sampled voltage; The first reference voltage generation circuit is configured to generate a first reference voltage, and the second reference voltage generation circuit is configured to generate a second reference voltage; The logic judgment circuit uses a comparator to compare the filtered voltage signal with the first reference voltage, and compares the sampled voltage with the second reference voltage, and outputs one of the first trigger signal corresponding to DC power and the second trigger signal corresponding to AC power based on the comparison result. The signal output port includes a DC output port and an AC output port. In response to the output of a first trigger signal, the AC / DC selection circuit turns on the signal input port and the DC output port. In response to the output of a second trigger signal, the AC / DC selection circuit turns on the signal input port and the AC output port.

2. The current signal detection and output circuit according to claim 1, characterized by, When the electrical signal at the signal input port is AC, the RC filter circuit outputs a first filtered voltage, and the DC bus sampling circuit outputs a first sampled voltage. When the electrical signal at the signal input port is DC, the RC filter circuit outputs a second filtered voltage, and the DC bus sampling circuit outputs a second sampled voltage. The following conditions must be met: the first reference voltage is greater than the first filtered voltage and less than the second filtered voltage; the second reference voltage is greater than the second sampled voltage and less than the first sampled voltage.

3. The current signal detection and output circuit according to claim 1, characterized by, The comparator of the logic judgment circuit includes a first comparison circuit, a second comparison circuit, a third comparison circuit, and a fourth comparison circuit; Wherein, the non-inverting input terminal of the first comparator circuit and the inverting input terminal of the third comparator circuit are connected to the second reference voltage, and the inverting input terminal of the first comparator circuit and the non-inverting input terminal of the third comparator circuit are connected to the sampling output terminal of the DC bus sampling circuit. The non-inverting input terminal of the second comparator circuit and the inverting input terminal of the fourth comparator circuit are connected to the output terminal of the RC filter circuit, and the inverting input terminal of the second comparator circuit and the non-inverting input terminal of the fourth comparator circuit are connected to the first reference voltage.

4. The current signal detection and output circuit according to claim 3, characterized in that, The logic judgment circuit further includes a first logic gate and a second logic gate; The output terminals of the first comparator circuit and the second comparator circuit are respectively connected to the two input terminals of the first logic gate, and the output terminals of the third comparator and the fourth comparator are respectively connected to the two input terminals of the second logic gate. The output of the first logic gate is connected to the first control terminal of the AC / DC selection circuit to control the on / off state of the signal input port and the DC output port; The output of the second logic gate is connected to the second control terminal of the AC / DC selection circuit to control the on / off state of the signal input port and the AC output port; The first logic gate and the second logic gate do not output a high level at the same time.

5. The current signal detection and output circuit according to claim 4, characterized in that, The first logic gate is an AND gate or an OR gate, and the second logic gate is an AND gate or an OR gate; The first control terminal is the base of the first transistor, and the output terminal of the first logic gate is connected to the base of the first transistor. The second control terminal is the base of the second transistor, and the output terminal of the second logic gate is connected to the base of the second transistor.

6. The current signal detection and output circuit according to claim 5, characterized in that, The AC / DC selection circuit also includes a first relay and a second relay; The coil of the first relay forms a circuit with the first transistor, and the contact switch of the first relay is located between the signal input port and the DC output port; The coil of the second relay forms a circuit with the second transistor, and the contact switch of the second relay is located between the signal input port and the AC output port.

7. The current signal detection and output circuit according to claim 3, characterized in that, The comparator is a four-channel independent differential voltage comparator.

8. The current signal detection and output circuit according to claim 1, characterized in that, The DC bus sampling circuit includes a rectifier bridge, a filter capacitor, and a voltage divider branch formed by multiple voltage divider resistors connected in series. The AC input terminal of the rectifier bridge is connected to the L terminal and N terminal of the signal input port, respectively, and its output terminal is connected in parallel with the filter capacitor and the voltage divider branch, respectively. The sampling output terminal is led out between two voltage divider resistors.

9. An emergency lighting and ventilation system for an elevator car, characterized in that, It includes lighting loads and ventilation loads installed in the car, and a current signal detection and output circuit as described in any one of claims 1 to 8, wherein the signal input port of the current signal detection and output circuit is selectively connected to an external AC power supply or an external DC power supply.

10. A lighting and maintenance system for an elevator machine room shaft, characterized in that, It includes a shaft lighting circuit and a current signal detection and output circuit as described in any one of claims 1 to 8, wherein the signal input port of the current signal detection and output circuit is selectively connected to an external AC power supply or an external DC power supply.

11. An emergency system for elevator door operators, characterized in that, The system includes an elevator door operator control circuit and a current signal detection and output circuit as described in any one of claims 1 to 8, wherein the signal input port of the current signal detection and output circuit is connected to the car top system, the DC output port of the current signal detection and output circuit is connected to the DC input port of the elevator door operator control circuit, and the AC output port of the current signal detection and output circuit is connected to the AC input port of the elevator door operator control circuit.