Detection circuit, control device, sensing device, air conditioning system, method and medium

CN122525195APending Publication Date: 2026-08-07NANJING TICA AIR CONDITIONING CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
NANJING TICA AIR CONDITIONING CO LTD
Filing Date
2026-04-15
Publication Date
2026-08-07

AI Technical Summary

Technical Problem

[0002]在空调系统中,各个系统之间(例如,传感器之间、传感器和中控之间等)需要大量复杂的数据交换,相关技术中通常用二总线通讯供电,然而二总线供电方式无法对电参数进行检测

Benefits of technology

[0009] On the other hand, embodiments of this application provide a computer program product, including computer instructions, which, when executed by a processor, implement the control method as described in any of the above embodiments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122525195A_ABST
    Figure CN122525195A_ABST
Patent Text Reader

Abstract

The application discloses a detection circuit, a device, an air conditioning system and a storage medium. The detection circuit is used for a control device and / or a sensing device of the air conditioning system, and comprises an input interface and an output interface. The input interface comprises a first interface and a second interface. A voltage detection module comprises a first voltage dividing resistor and a second voltage dividing resistor. One end of the first voltage dividing resistor is connected with the second voltage dividing resistor, and the other end of the first voltage dividing resistor is connected with a rectifier module and the output interface. The other end of the second voltage dividing resistor is grounded. A voltage connection node is arranged between the first voltage dividing resistor and the second voltage dividing resistor, so as to output a voltage sampling signal. A current detection module comprises a sampling resistor, an operational amplifier and a reference resistor. One end of the sampling resistor is connected with the rectifier module, and the other end of the sampling resistor is grounded. The operational amplifier and the sampling resistor are connected in parallel, so as to output a current connection signal. One end of the reference resistor is connected with an inverting input end of the operational amplifier, and the other end of the reference resistor is connected with a preset reference voltage. Voltage and current synchronous sampling and detection can be realized by using a single detection circuit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of air conditioning technology, specifically to a detection circuit, control device, sensing device, air conditioning system, control method, and storage medium. Background Technology

[0002] In air conditioning systems, a large amount of complex data exchange is required between various systems (e.g., between sensors, between sensors and the central control unit). Related technologies typically use two-bus communication for power supply; however, the two-bus power supply method cannot detect electrical parameters. Summary of the Invention

[0003] This application provides a detection circuit, a control device, a sensing device, an air conditioning system, a control method, and a storage medium, which can solve at least one of the above-mentioned technical problems.

[0004] On one hand, embodiments of this application provide a detection circuit for a control device and / or sensing device of an air conditioning system, the detection circuit comprising: The input interface includes a first interface and a second interface; A voltage detection module includes a first voltage divider resistor and a second voltage divider resistor. One end of the first voltage divider resistor is connected to the second voltage divider resistor, and the other end is connected to the rectifier module and the output interface. The other end of the second voltage divider resistor is grounded. A voltage connection node is provided between the first voltage divider resistor and the second voltage divider resistor to output a voltage sampling signal. The current detection module includes a sampling resistor, an operational amplifier, and a reference resistor. One end of the sampling resistor is connected to the rectifier module, and the other end is grounded. The operational amplifier and the sampling resistor are connected in parallel to output a current connection signal. One end of the reference resistor is connected to the inverting input terminal of the operational amplifier, and the other end is connected to a preset reference voltage.

[0005] On the other hand, embodiments of this application provide a control device, the device comprising: The detection circuit described in any of the above embodiments; The voltage regulation circuit module is connected to an external power supply at one end and to the input interface at the other end. The control module, the processing module includes a first signal pin and a second signal pin, the first signal pin being connected to the voltage connection node and the second signal pin being connected to the current connection node; The bus-based external power supply and communication circuit module includes a first terminal, a second terminal, and a third terminal. The first terminal is connected to the voltage regulation module, the second terminal is connected to the connection pin of the processing module, and the third terminal is connected to an external power device to supply power to and communicate with the external power device.

[0006] On the other hand, embodiments of this application provide a sensing device, including: The detection circuit described in any of the above embodiments; The input terminal is used to connect to an external control device; A power detection module, one end of which is connected to the input terminal, to generate an analog signal based on the voltage input to the input terminal; A processing module is connected to the other end of the power detection module to receive the analog signal and identify the electrical parameters of the current input from the input terminal based on the analog signal. The bus-connected internal power supply and communication circuit module includes a fourth terminal, a fifth terminal, and a sixth terminal. The fourth terminal is connected to the input terminal, the fifth terminal is connected to the processing module, and the sixth terminal is connected to the power consumption module.

[0007] On the other hand, embodiments of this application provide a computer-readable storage medium storing a computer program adapted for loading by a processor to execute the control method as described in any of the above embodiments.

[0008] On the other hand, embodiments of this application provide a computer device, the computer device including a processor and a memory, the memory storing a computer program, and the processor executing the control method as described in any of the above embodiments by calling the computer program stored in the memory.

[0009] On the other hand, embodiments of this application provide a computer program product, including computer instructions, which, when executed by a processor, implement the control method as described in any of the above embodiments.

[0010] The control method provided in this application includes a detection circuit with input and output interfaces. The input interface includes a first interface and a second interface. A voltage detection module includes a first voltage divider resistor and a second voltage divider resistor. One end of the first voltage divider resistor is connected to the second voltage divider resistor, and the other end is connected to the rectifier module and the output interface. The other end of the second voltage divider resistor is grounded. A voltage connection node is provided between the first and second voltage divider resistors to output a voltage sampling signal. A current detection module includes a sampling resistor, an operational amplifier, and a reference resistor. One end of the sampling resistor is connected to the rectifier module, and the other end is grounded. The operational amplifier and the sampling resistor are connected in parallel to output a current connection signal. One end of the reference resistor is connected to the inverting input (pin 3) of the operational amplifier, and the other end is connected to a preset reference voltage. Synchronous sampling and integrated detection of voltage and current can be achieved through a single detection circuit, eliminating the need for two independent detection circuits, simplifying the hardware structure, reducing costs, and adapting to the miniaturization requirements of a two-bus system. The voltage detection module achieves accurate sampling by using a first voltage divider resistor and a second voltage divider resistor. The current detection module uses a sampling resistor, an operational amplifier, and a reference resistor to perform differential amplification and reference bias, ensuring high detection accuracy even in low current or long-distance scenarios, and meeting the wiring requirements of multi-sensor and long-distance scenarios. Attached Figure Description

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

[0012] Figure 1 A schematic diagram of an air conditioning system provided in the embodiments of this application.

[0013] Figure 2 A schematic diagram of the air conditioning system provided in the embodiments of this application.

[0014] Figure 3 This is a schematic diagram of the detection circuit provided in an embodiment of this application.

[0015] Figure 4 This is a schematic diagram of the control device provided in an embodiment of this application.

[0016] Figure 5 This is a schematic diagram of the structure of the sensing device provided in the embodiments of this application.

[0017] Figure 6 This is a flowchart illustrating the control method provided in an embodiment of this application.

[0018] Figure 7This is a schematic diagram of the control unit provided in an embodiment of this application. Detailed Implementation

[0019] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0020] The background technology of this application will be explained in further detail below: With the development of technology, people have placed higher demands on the comfort of their indoor living environment. The Five Constant System integrates a powerful intelligent control system for constant temperature, humidity, oxygen, cleanliness, and quietness, which can achieve uniform and stable indoor temperature, ensuring that the indoor temperature remains within a comfortable range for the human body throughout the year.

[0021] Highly intelligent control systems use smart sensors to detect changes in the environment and regulate the indoor environment. For example, human sensors can detect the number and location of people indoors, dew point sensors can detect the temperature and humidity, carbon dioxide sensors can detect the concentration of carbon dioxide, and a combination of pyroelectric and sound sensors can detect the activities of people and pets in the room, etc.

[0022] In traditional fixed-frequency air conditioners or simple air conditioning systems, only simple switching signals and power cords are typically required. However, for modern variable-frequency air conditioners, multi-split systems, and other similar systems, a large amount of complex data exchange between different systems is required, and simple wiring methods cannot meet these needs.

[0023] In light of this, RS-485 communication technology has been widely used in modern air conditioning systems due to its advantages in anti-interference, long-distance transmission, and multi-point connection. Two-wire technology, which simultaneously provides power and communication, is commonly used in residential and light commercial multi-split air conditioning systems. Its advantages in simplified wiring, lower installation barriers, and lower costs have led to its increasing adoption.

[0024] In highly intelligent control systems, information exchange is required between sensors and between sensors and the central control unit. Mainstream technologies include HomeBus, PB bus, PLC communication, CAN, RS485, and PowerBus communication. Among these technologies, two communication methods are particularly popular: one is four-core RS485 or CAN communication (two cores are power lines), and the other is a two-core dual-bus power supply communication. Four-core communication requires daisy-chaining and precise wiring sequence during installation, resulting in higher wiring and installation costs when there are many sensors. The two-core power supply communication solution allows for arbitrary topology and polarity-free connections, with lower wiring and installation costs, making it suitable for systems with multiple sensor interactions. Major manufacturers are increasingly adopting the two-core solution.

[0025] Below is a further introduction to the communication methods available on the market. The communication methods of air conditioning systems on the market usually include RS-485 communication, CAN communication, HomeBus communication, or two-wire communication.

[0026] Among them, RS-485 communication has been applied in the five-constant intelligent system due to its advantages of strong anti-interference capability, long transmission distance, large network capacity, and mature technology. This communication method uses differential signal transmission, which can effectively suppress common-mode interference; theoretically, the communication distance can reach 1200 meters without the addition of repeaters; one bus can connect 32 devices (such as sensors), which can fully meet the communication and interaction between central controllers and between sensors within the five-constant system.

[0027] Among them, CAN communication is a two-wire communication with a maximum baud rate of 125kbps. It has certain short-circuit protection and self-recovery capabilities, a communication distance of up to 1000m, and supports multiple topology connections. It has also been widely used in the market.

[0028] HomeBus communication, derived from RS485 communication, supports non-polarized wiring, a maximum baud rate of 200kbps, a communication distance of up to 1000m, and supports various topologies: tree, star, and bus connections. Commercially available HomeBus communication solutions can utilize impedance matching circuits, with the main controller dynamically controlling on / off states based on transmission status; alternatively, they can determine the communication link length level based on the pulse high-level duration, and then dynamically compensate for communication issues to improve stability; or, an active inductor can be integrated into the chip's power module to isolate AC differential signals and extract DC power, optimizing circuit integration and reducing the size of the communication circuit. Many related multi-sensor or central control communication solutions on the market use traditional HomeBus solutions, which can improve the stability of long-distance communication transmission and reduce communication conflicts between multiple devices. However, HomeBus's maximum supported load current is only 0.2A, making it unsuitable for high-power loads, such as human motion sensors.

[0029] The two-wire communication method uses two wires for communication and power supply. Through power carrier or similar modulation techniques, DC power is supplied to the control board on both wires, while digital communication signals are superimposed on the same pair of wires using modulation techniques. The maximum supported baud rate is 500kbps. The two-wire communication method allows for a maximum communication distance of 1500m, reducing wiring costs. The topology and wiring method are polarity-insensitive, offering greater flexibility and lowering installation barriers and error rates.

[0030] RS-485 communication has the advantages mentioned above, but its long-distance communication cabling costs are high. The cabling requires polarity differentiation and daisy-chain connections, resulting in high installation and maintenance costs. In contrast, two-bus communication offers advantages such as lower installation and maintenance costs, flexible wiring that lowers the installation threshold, and high flexibility, leading to its increasing adoption.

[0031] RS-485 communication uses a four-core cable, requiring four signal lines for wiring. It necessitates a daisy-chain bus topology for connection, requiring only two signal lines and two power lines for communication, and it does not support non-polarity wiring. CAN communication, on the other hand, does not support non-polarity wiring and requires additional power cables, resulting in higher costs. Traditional HomeBus communication, typically based on RS-485, requires precise wiring sequence and usually does not handle power supply, making installation more complex, and its maximum supported load current is only 0.2A. Two-bus technology, with its non-polarity topology, offers a higher communication baud rate and a maximum output power of up to 40W, and is gradually being adopted by major manufacturers.

[0032] Two-bus communication can create technological barriers and enhance user stickiness, but it is usually a proprietary protocol used by manufacturers, making technical compatibility and troubleshooting more complex for technologies using two-bus communication in the market. Among related technologies, impedance matching or communication compensation strategies can achieve long-distance access to multiple loads, enabling multi-node communication systems in intelligent systems. However, when implementing system functions with multiple load nodes, neither traditional RS-485 communication nor existing two-bus communication can determine whether a new module will affect the existing system, nor can it report errors when a communication circuit module malfunctions, i.e., it is impossible to locate the faulty module.

[0033] For example, please see Figure 1 In a two-bus communication system connection scheme, the two-bus communication system includes the circuit connection relationship between the central controller and each sensor, including: central controller module 001, two-bus connection line 002, sensor 1 module 003, sensor 2 module 004, sensor 3 module 005, and sensor n module 006. The sensors and the central controller are arbitrarily connected via the two-bus connection line, without polarity or topology requirements. However, because the system cannot determine the working status of multiple nodes, it cannot determine the bus working status, resulting in a relatively crude application.

[0034] However, relying solely on two-bus communication has limitations in transmission capacity and the number of nodes it can support. This limitation is also reflected in commercially available systems that use two-bus technology for power supply and communication of multiple sensors within a system. The main issue is that as the number of functional sensors increases, the power consumption of the sensors within the system also increases, affecting the system's load capacity and reducing its reliability.

[0035] For example, in one radar solution, the rated power consumption of a human sensor is around 3 watts (W), with a peak power of up to 5W during operation. As the number of sensors on the bus increases, the length of the connecting wires increases, the resistance of the far-end lines on the two buses increases, and the line loss increases, causing the voltage at the end of the two buses to be lower than the operating voltage of the sensor device, thus causing the human sensor to malfunction. The increased number of devices on the bus may exceed its capacity, reducing system reliability. For instance, in a five-constant system, the furthest point can reach approximately 200 meters. Using a two-core wire of 0.75 square millimeters and a 24-volt (V) power supply, the furthest point can only carry a load of about 5W, which cannot support multiple sensors operating simultaneously. Some manufacturers increase the bus voltage to over 36V to expand the bus's load capacity, but excessively high voltages will cause a decrease in power conversion efficiency at the sensor end, which is detrimental to system energy saving. For example, as the voltage difference at the sensor end increases, the heat generation will also be more severe, and the resulting high temperature may even affect the operation of high-precision temperature sensors.

[0036] In view of this, to achieve communication and power supply for a highly intelligent system while saving costs and reducing installation and wiring risks, a two-bus design is adopted. Addressing the aforementioned shortcomings of current two-bus communication power supply schemes, this application's implementation, based on the principles of bus protocols, designs a current and voltage detection circuit, adding a power detection and voltage regulation module to the two-bus communication power supply, enabling real-time monitoring, diagnosis, and control of the two-bus system's power consumption. This implementation can monitor bus load and losses in real time, monitor and judge abnormal power consumption sensors in real time, provide early warnings of bus overload conditions, and achieve monitoring and control of the two-bus communication system's operating status, ensuring normal bus operation.

[0037] Through the above design, the central control terminal of this invention can adjust the bus voltage in a timely manner according to the load working conditions, which broadens the load capacity of the bus and solves the problem that the bus in the two-bus communication system, especially the five constant system, cannot support the operation of multiple large load sensors (such as human sensor).

[0038] Please see Figure 2 The application scenarios of the embodiments of this application are further introduced. This application discloses an air conditioning system, which includes a control device (central control 104) and a sensing device (sensor 100, sensor 101, sensor 102, etc.). The control device and the sensing device are connected through a two-wire bus. The control device can power the sensing device and realize communication through the two-wire bus communication.

[0039] Please see Figure 3 This application exemplarily illustrates a detection circuit that can be used in the control device (central control terminal of the air conditioning system) and / or sensing device (sensor terminal) of an air conditioning system to realize the monitoring of current and voltage of the control device and / or sensor.

[0040] Optionally, the control device performs current and voltage detection through a detection circuit to further realize power calculation; the sensing device performs current and voltage detection through a detection circuit and controls the on / off state of internal switching components in response to the instructions of the control device.

[0041] Please see Figure 3 The detection circuit includes: Input interface and output interface (PB_bus), the input interface includes the first interface (PB1) and the second interface (PB2); The voltage detection module includes a first voltage divider resistor R1 and a second voltage divider resistor R2. One end of the first voltage divider resistor R1 is connected to the second voltage divider resistor R2, and the other end is connected to the rectifier module and the output interface (PB_bus). The other end of the second voltage divider resistor R2 is grounded. A voltage connection node is provided between the first voltage divider resistor R1 and the second voltage divider resistor R2 to output a voltage sampling signal. The current detection module includes a sampling resistor ds, an operational amplifier U1, and a reference resistor R8. One end of the sampling resistor ds is connected to the rectifier module and the other end is grounded. The operational amplifier U1 and the sampling resistor ds are connected in parallel to output a current connection signal (I_bus). One end of the reference resistor R8 is connected to the inverting input (pin 3) of the operational amplifier U1 and the other end is connected to a preset reference voltage.

[0042] The input interface can be a two-bus signal input terminal of the detection circuit. The input interface includes a first interface (PB1) and a second interface (PB2). The input interface can be used to connect the two-bus composite signal (including power supply signal and communication signal) output by the central control.

[0043] The output interface (PB_bus) can be the DC power supply output terminal of the detection circuit, which can output the rectified stable DC voltage to the internal power supply and communication module of the sensor or the external power supply and communication module of the central control.

[0044] The voltage detection module can be used to sample the bus voltage. The voltage detection module includes a first voltage divider resistor R1 and a second voltage divider resistor R2. The first voltage divider resistor R1 and the second voltage divider resistor R2 are connected in series to form a voltage divider network, thereby converting the voltage of the two buses into a recognizable voltage sampling signal, which is then output through the voltage connection node.

[0045] The current detection module is used to sample the bus current. It includes a sampling resistor Rs, an operational amplifier U1, and a reference resistor R8. The sampling resistor Rs can be connected in series in the two-bus power supply circuit, converting the bus current into a proportional voltage drop signal using Ohm's law U=I×Rs. The operational amplifier U1 differentially amplifies the voltage across the sampling resistor to output a stable and identifiable current sampling signal (I_bus). The reference resistor R8 provides bias to the inverting input of the operational amplifier, and a preset reference voltage is connected to ensure the linearity and accuracy of small current detection. The voltage and current detection modules work together to form a power detection module for the central control unit or sensor.

[0046] The preset reference voltage can be a fixed voltage value, such as 1.5V, 1.6V, 1.65V, 1.7V, etc. For ease of explanation, the embodiment of this application takes a preset reference voltage of 1.65V as an example. The preset reference voltage can provide common-mode bias for the operational amplifier, thereby avoiding distortion of small current signals.

[0047] The voltage sampling signal (V_bus) can be an analog signal output by the voltage detection module, used to characterize the real-time voltage value of the two-bus system.

[0048] Among them, the current sampling signal (I_bus) can be an analog signal output by the current detection module, used to characterize the real-time current value of the two buses.

[0049] Specifically, the two-bus composite signal can be input into the detection circuit through the input interface (including the first interface PB1 and the second interface PB2) to obtain the DC bus voltage (PB_BUS). Regardless of the wiring orientation, electrical signal detection and power supply can be achieved, adapting to any two-bus topology and polarity-free wiring characteristics.

[0050] The DC bus voltage (PB_BUS) is transmitted in two ways: one to the output interface to power the communication module, and the other to the current and voltage detection modules for current and voltage sampling. For example, assuming the DC bus voltage (PB_BUS) range is [18V, 36V], after being input to the voltage detection module, it is stepped down and converted into a voltage sampling signal (V_bus) of [0V, 3.3V] by the first voltage divider resistor R1 and the second voltage divider resistor R2, and then output at the voltage connection node. As another example, after the DC bus voltage (PB_BUS) is input to the current detection module, the current flowing through the sampling resistor Rs generates a voltage drop signal. This voltage drop signal enters the operational amplifier U1, which uses a reference voltage as a reference to differentially amplify the signal, ultimately outputting a current sampling signal (I_bus). By biasing with the reference voltage, common-mode interference can be eliminated, resulting in a precise current sampling signal.

[0051] Thus, the detection circuit is configured with input and output interfaces. The input interfaces include a first interface and a second interface. A voltage detection module includes a first voltage divider resistor R1 and a second voltage divider resistor R2. One end of the first voltage divider resistor R1 is connected to the second voltage divider resistor R2, and the other end is connected to the rectifier module and the output interface. The other end of the second voltage divider resistor is grounded. A voltage connection node is provided between the first and second voltage divider resistors R1 and R2 to output a voltage sampling signal. A current detection module includes a sampling resistor ds, an operational amplifier U1, and a reference resistor R8. One end of the sampling resistor is connected to the rectifier module, and the other end is grounded. The operational amplifier U1 and the sampling resistor are connected in parallel to output a current connection signal (I_bus). One end of the reference resistor is connected to the inverting input (pin 3) of the operational amplifier, and the other end is connected to a preset reference voltage. A single detection circuit can achieve synchronous sampling and integrated detection of voltage and current, eliminating the need for two independent detection circuits, simplifying the hardware structure, reducing costs, and adapting to the miniaturization requirements of a two-bus circuit. The voltage detection module achieves accurate sampling by using a first voltage divider resistor and a second voltage divider resistor. The current detection module uses a sampling resistor, an operational amplifier, and a reference resistor to perform differential amplification and reference bias, ensuring high detection accuracy even in low current or long-distance scenarios, and meeting the wiring requirements of multi-sensor and long-distance scenarios.

[0052] Optionally, the detection circuit further includes: The rectifier module is connected to the input interface at one end and to the voltage detection module and current detection module at the other end. The rectifier module includes a first diode D1, a second diode D2, a third diode D3, and a fourth diode D4. The anode of the first diode D1 is connected to the cathode of the third diode D3 and the first interface PB1. The cathode of the first diode D1 is connected to the cathode of the second diode D2, the negative terminal of the electrolytic capacitor E1, and the first voltage divider resistor R1. The anode of the second diode D2 is connected to the cathode of the fourth diode D4 and the second interface PB2. The anode of the fourth diode D4 is connected to the anode of the third diode D3, the sampling resistor Rs, and the input terminal of the operational amplifier U1.

[0053] The rectifier module can be a non-polar rectifier bridge consisting of four diodes, used to convert the non-polar two-bus signals of PB1 and PB2 into a unipolar DC voltage (PB_BUS) to adapt to the non-polar wiring characteristics of the two-bus.

[0054] Among them, any two of the first diode D1, the second diode D2, the third diode D3, and the fourth diode D4 can be paired to form a full-bridge rectifier structure to achieve non-polar rectification of the two buses, while preventing the reverse connection of the buses from damaging the subsequent circuits.

[0055] Among them, the electrolytic capacitor E1 can be connected in parallel between PB_BUS and ground to filter out rectified voltage ripple, two-bus communication noise, and stabilize the DC power supply voltage.

[0056] Specifically, diodes D1, D2, D3, and D4 form a full-bridge rectifier structure, which can output a single-polarity DC voltage to the PB_BUS node regardless of the input polarity of the first interface (PB1) and the second interface (PB2). Electrolytic capacitor E1 is connected in parallel for filtering, eliminating rectified ripple and communication noise from the two-bus interface. The 18V~36V high voltage of PB_BUS is stepped down by the first voltage divider resistor R1 and the second voltage divider resistor R2 at a fixed resistance ratio, converting it into a 0V~3.3V low-voltage analog signal that directly matches the MCU's ADC acquisition range. Based on the current-to-voltage conversion and differential amplification principle, the sampling resistor Rs converts the bus current into a millivolt-level voltage drop. Operational amplifier U1, using 1.65V as a reference, differentially amplifies the weak voltage drop, eliminating common-mode interference and outputting a precise current sampling signal.

[0057] For example, the combined power supply and communication signals output by the control device are input to the rectifier module through the first interface PB1 and the second interface PB2. The PB1 and PB2 signals are rectified by the full-bridge rectifier D1~D4 to convert them into a unipolar DC voltage, forming a stable DC bus at the PB_BUS node. Electrolytic capacitor E1 filters and stabilizes the voltage, eliminating noise and ripple. The stable voltage of PB_BUS powers the power supply and communication module through one output interface and is synchronously input to the voltage detection module and current detection module through the other. The PB_BUS voltage is divided by R1 and R2, and the voltage sampling signal V_bus is output at the voltage connection node and transmitted to the ADC pin of the MCU. The PB_BUS voltage flows through the sampling resistor Rs to generate a voltage drop, and this signal is sent to the current detection module. Operational amplifier U1 differentially amplifies the signal with a reference of 1.65V and outputs the current sampling signal I_bus, which is transmitted to another ADC pin of the MCU. The MCU calculates the bus power and bus loss ratio through V_bus and I_bus to support dynamic voltage regulation, overcurrent protection, and abnormal sensor location.

[0058] In some implementations, the voltage detection module further includes a first filter capacitor C1; the first filter capacitor C1 is connected in parallel with the second voltage divider resistor R2 to filter out interference in the voltage sampling signal.

[0059] Optionally, the current detection module also includes a third resistor R3, a fourth resistor R4, a fifth resistor R5, a sixth resistor R6, a seventh resistor R7, an eighth resistor R8, a ninth resistor R9, a second capacitor C2, a third capacitor C3, a fourth capacitor C4, and a fifth capacitor C5. The first end of the sampling resistor Rs is connected to the first end of the fourth resistor R4, the first end of the sixth resistor R6, and the first end of the fourth capacitor C4. The second end of the fourth resistor R4 is connected to the first end of the third capacitor C3. The second end of the sixth resistor R6 is connected to the inverting input terminal 3 of the operational amplifier U1. The second end of the fourth capacitor C4 is grounded. The second end of the sampling resistor Rs is connected to the first end of the third resistor R3 and the first end of the second capacitor C2, respectively. The second end of the third resistor R3 is connected to the second end of the third capacitor C3, and the second end of the second capacitor C2 is grounded. The non-inverting input pin 4 of operational amplifier U1 is connected to the second terminal of the third resistor R3, the first terminal of the fifth resistor R5, and the first terminal of the seventh resistor R7, respectively. The second terminal of the fifth resistor R5 is connected to the output pin 1 of operational amplifier U1, and the second terminal of the seventh resistor R7 is grounded. The inverting input pin 3 of operational amplifier U1 is also connected to the first end of the eighth resistor R8, and the second end of the eighth resistor R8 is connected to a preset reference voltage. The output pin 1 of operational amplifier U1 is connected to the first end of the ninth resistor R9. The second end of the ninth resistor R9 is connected to the first end of the fifth capacitor C5 and the output node of the current sampling signal I_bus. The second end of the fifth capacitor C5 is grounded. The power supply terminal 5 of operational amplifier U1 is connected to the preset power supply, and the ground terminal 2 of operational amplifier U1 is grounded.

[0060] The third resistor R3 can be the signal extraction and current limiting resistor of the current detection module. One end is connected to the second end of the sampling resistor Rs, and the other end is connected to the non-inverting input pin 4 of the operational amplifier U1. It is used to extract the voltage drop signal of the sampling resistor Rs and suppress excessive current input.

[0061] Among them, the fourth resistor R4 can be the signal extraction and current limiting resistor of the current detection module, with one end connected to the first end of the sampling resistor Rs and the other end connected to the first end of the third capacitor C3.

[0062] Among them, the fifth resistor R5 can be the feedback resistor of the operational amplifier U1. One end is connected to the non-inverting input terminal 4 of the operational amplifier U1, and the other end is connected to the output terminal 1 of the operational amplifier U1, forming a differential amplifier circuit and determining the amplification factor.

[0063] Among them, the sixth resistor R6 can be the impedance matching resistor of the current detection module. One end is connected to the first end of the sampling resistor Rs, and the other end is connected to the inverting input terminal 3 of the operational amplifier U1. It is used to match the signal impedance and improve the anti-interference capability.

[0064] Among them, the seventh resistor R7 can be the bias resistor of the operational amplifier U1. One end is connected to the non-inverting input terminal 4 of the operational amplifier U1, and the other end is grounded. It is used to stabilize the potential of the non-inverting input terminal and optimize the amplification characteristics.

[0065] Among them, the eighth resistor R8 can be a reference bias resistor, with one end connected to the inverting input terminal 3 of the operational amplifier U1 and the other end connected to a preset reference voltage to provide common-mode bias for the operational amplifier.

[0066] Among them, the ninth resistor R9 can be the current-limiting output resistor for the current sampling signal. One end is connected to the output terminal 1 of the operational amplifier U1, and the other end is connected to the output node of the current sampling signal I_bus to prevent the output signal from being too large and damaging the ADC interface of the subsequent MCU.

[0067] The second capacitor C2 can be a filter capacitor, with one end connected to the second terminal of the sampling resistor Rs and the other end grounded, used to filter out high-frequency noise and common-mode interference in the voltage signal at the second terminal of the sampling resistor Rs.

[0068] Among them, the third capacitor C3 can be a differential mode interference suppression capacitor, with one end connected to the second end of the fourth resistor R4 and the other end connected to the second end of the third resistor R3, used to suppress differential mode interference in the current signal and improve signal stability.

[0069] Among them, the fourth capacitor C4 can be a filter capacitor, with one end connected to the first end of the sampling resistor Rs and the other end grounded, used to filter out high-frequency noise and common-mode interference in the voltage signal at the first end of Rs.

[0070] Among them, the fifth capacitor C5 can be a filter capacitor, with one end connected to the second end of the ninth resistor R9 and the other end grounded, used to smooth the current sampling signal I_bus output by the operational amplifier and eliminate signal ripple.

[0071] Among them, the sampling resistor Rs can be the core sampling element of the current detection module. It is connected in series in the two-bus power supply circuit to convert the bus current into a proportional voltage drop signal.

[0072] Among them, the operational amplifier U1 can be the core signal amplification device of the current detection module. It amplifies the weak voltage drop signal of the sampling resistor into a recognizable current sampling signal through the differential amplification principle. It includes an inverting input terminal (pin 3), a non-inverting input terminal (pin 4), an output terminal (pin 1), a power supply terminal (pin 5), and a ground terminal (pin 2).

[0073] Among them, the inverting input terminal 3 can be one of the signal input terminals of the operational amplifier U1, used to receive the sampling signal transmitted through the sixth resistor R6, and form a differential input with the signal of the non-inverting input terminal 4.

[0074] Among them, the non-inverting input pin 4 can be one of the signal inputs of the operational amplifier U1, used to receive the sampling signal transmitted through the third resistor R3, and to achieve differential amplification in conjunction with the inverting input pin 3.

[0075] Among them, pin 1 of the output terminal can be the signal output terminal of the operational amplifier U1, which outputs the amplified current signal, which is then processed by the ninth resistor R9 and the fifth capacitor C5 to form the current sampling signal I_bus.

[0076] Among them, pin 5 of the power supply terminal can be the power supply interface of the operational amplifier U1, which is connected to the preset power supply.

[0077] Among them, pin 2 of the ground terminal can be the ground interface of the operational amplifier U1, which is connected to the system ground (GND) to ensure the stability of the operating reference of the operational amplifier.

[0078] The preset reference voltage can be a fixed bias voltage (1.65V in the document) provided for the operational amplifier U1 to ensure the linearity of small current detection and avoid signal distortion.

[0079] The preset power supply can be a stable operating power supply for operational amplifier U1, such as 2V, 3V, 3.3V, 4V, etc., to ensure the stable performance of the operational amplifier.

[0080] Among them, the current sampling signal I_bus can be the final output signal of the current detection module, reflecting the real-time current value of the two buses, which is used to transmit to the ADC interface of the MCU for subsequent processing.

[0081] The output node of the current sampling signal I_bus can be the external output connection point of the current sampling signal I_bus. One end is connected to the second end of the ninth resistor R9 and the first end of the fifth capacitor C5, and the other end is connected to the ADC interface of the MCU.

[0082] Specifically, the sampling resistor Rs is connected in series in the dual-bus power supply circuit. After the bus current flows through Rs, according to Ohm's law U=I×Rs, a voltage drop proportional to the bus current will be generated across the sampling resistor Rs, realizing the conversion of the current signal to a voltage signal. The second capacitor C2 and the fourth capacitor C4 respectively perform common-mode interference filtering on the voltage signal across the sampling resistor Rs, and the third capacitor C3 suppresses differential-mode interference. The multi-stage filtering works together to filter out irrelevant signals such as dual-bus communication noise and electromagnetic interference, ensuring the purity of the voltage signal input to the operational amplifier.

[0083] Operational amplifier U1's inverting input pin 3 receives the voltage signal from the first terminal of Rs through resistor R6 (sixth resistor), and its non-inverting input pin 4 receives the voltage signal from the second terminal of Rs through resistor R3 (third resistor), forming a differential input. Resistor R5 forms a feedback loop, working with resistor R7 (seventh resistor) to adjust the amplification factor and accurately amplify the weak differential voltage signal. Simultaneously, resistor R8 is connected to a preset reference voltage to provide common-mode bias for the operational amplifier, preventing distortion of small current signals and ensuring linear amplification across the entire current range. Resistor R9 limits the current of the amplified signal to prevent excessive current output from damaging the MCU's ADC interface. Capacitor C5 performs a final filter on the current-limited signal, eliminating signal ripple generated during amplification and ultimately outputting a stable current sampling signal I_bus. Operational amplifier U1's power supply pin 5 is connected to a preset power supply to provide stable energy to the amplification circuit; ground pin 2 is grounded to establish a unified operating reference potential, avoiding amplification errors caused by potential drift and ensuring stable operation of the operational amplifier.

[0084] In other words, the current from the two bus passes through the sampling resistor Rs, generating a voltage drop across Rs proportional to the current. Simultaneously, the first terminal of Rs outputs a voltage signal to the first terminals of the fourth resistor R4, the sixth resistor R6, and the fourth capacitor C4. The second terminal of Rs simultaneously outputs a voltage signal to the first terminals of the third resistor R3 and the second capacitor C2. The second terminal of the second capacitor C4 is grounded, filtering out high-frequency noise from the signal at the first terminal of Rs. The second terminal of the second capacitor C2 is also grounded, filtering out high-frequency noise from the signal at the second terminal of Rs. The second terminal of the fourth resistor R4 is connected to the first terminal of the third capacitor C3, and the second terminal of the third resistor R3 is connected to the second terminal of the third capacitor C3. The third capacitor C3 suppresses differential-mode interference between the two signals, resulting in a clean differential voltage signal after multi-stage filtering. The second terminal of the sixth resistor R6 transmits the filtered signal from the first terminal of Rs to the inverting input pin 3 of operational amplifier U1, while the second terminal of the third resistor R3 transmits the filtered signal from the second terminal of Rs to the non-inverting input pin 4 of operational amplifier U1. The second terminal of the eighth resistor R8 is connected to a preset reference voltage, providing common-mode bias for the inverting input pin 3. The fifth resistor R5 connects the non-inverting input pin 4 to the output pin 1 of operational amplifier U1, forming a feedback loop. The seventh resistor R7 connects the non-inverting input pin 4 to ground, stabilizing the potential at the non-inverting input. Operational amplifier U1 accurately amplifies the differential voltage signal. The amplified signal output from the output pin 1 of operational amplifier U1 is current-limited by the ninth resistor R9 and then transmitted to the output node of the current sampling signal I_bus. Simultaneously, the first terminal of the fifth capacitor C5 is connected to this output node, and the second terminal is grounded, smoothing and filtering the current-limited signal to finally output a stable current sampling signal I_bus, which is transmitted to the ADC interface of the MCU. The power supply pin 5 of the operational amplifier U1 is connected to a preset power supply, and the grounding pin 2 is grounded, providing the operational amplifier with continuous and stable operating conditions, ensuring consistent characteristics and no signal drift throughout the amplification process.

[0085] Please see Figure 3The detection circuit may include: diodes D1~D4, sampling resistor Rs, general resistors R1~R9, electrolytic capacitor E1, general capacitors C1~C5, and operational amplifier U1. Specifically, pin 1 of diode D1 is connected to pin 2 of diode D3 and signal PB1; pin 2 of diode D1 is connected to pin 2 of diode D2, pin 2 of electrolytic capacitor E1, pin 2 of resistor R1, and signal PB_BUS; pin 1 of diode D2 is connected to pin 2 of diode D4 and signal PB2; pin 1 of diode D4 is connected to pin 1 of diode D3, pin 1 of resistor Rs, and pin 1 of resistor R4; pin 2 of resistor Rs is connected to pin 1 of resistor R3, pin 1 of electrolytic capacitor E1, and signal GND; pin 1 of resistor R1 is connected to pin 2 of resistor R2, pin 2 of capacitor C1, and signal V_bus; pin 1 of resistor R2 is connected to pin 1 of capacitor C1 and signal GND; and pin 2 of resistor R3 is connected to pin 1 of resistor R5 and capacitor C2. Pin 1 of capacitor C2, pin 2 of capacitor C3, pin 2 of resistor R4 are connected to pin 1 of capacitor C3, pin 1 of resistor R6, and pin 2 of capacitor C4. Pin 2 of capacitor C2 is connected to signal GND. Pin 1 of capacitor C4 is connected to signal GND. Pin 2 of resistor R5 is connected to pin 1 of resistor R7 and pin 4 of operational amplifier U1. Pin 2 of resistor R6 is connected to pin 1 of resistor R8 and pin 3 of operational amplifier U1. Pin 5 of operational amplifier U1 is connected to the 3.3V power supply signal. Pin 2 of operational amplifier U1 is connected to signal GND. Pin 1 of operational amplifier U1 is connected to pin 2 of resistor R7 and pin 1 of resistor R9. Pin 2 of resistor R8 is connected to the 1.65V power supply signal. Pin 2 of resistor R9 is connected to pin 2 of capacitor C5 and signal I_bus. Pin 1 of capacitor C5 is connected to signal GND. This circuit can realize voltage and current detection on the PB line and transmit the data back to the central control. The power consumed by this circuit is...

[0086] Please see Figure 4 This application also proposes a control device 104, comprising: The detection circuit of any of the above embodiments; The voltage regulation circuit module 201 has one end connected to an external power supply and the other end connected to the input interface. The control module includes a first signal pin and a second signal pin. The first signal pin is connected to a voltage connection node, and the second signal pin is connected to a current connection node. The bus-based external power supply and communication circuit module 202 includes a first terminal, a second terminal, and a third terminal. The first terminal is connected to the voltage regulation module, the second terminal is connected to the connection pin of the control module, and the third terminal is connected to the external electrical equipment to supply power to the external electrical equipment and communicate with the external electrical equipment.

[0087] Among them, the control device 104 can be a control unit applied to the air conditioning two-bus system, which can be used to realize the power supply output, communication interaction, voltage and current monitoring and dynamic control of the two-bus system.

[0088] The voltage regulation circuit module 201 can be a functional module in the control device 104 used to dynamically adjust the output voltage of the two-wire bus. One end of the voltage regulation circuit module 201 is connected to an external power supply, and the other end is connected to the input interface of the detection circuit. It can adjust the output voltage amplitude (e.g., from 18V to 36V) according to the instructions of the control module. The voltage regulation circuit module 201 corresponds to... Figure 2 In the middle, the central control unit implements the bus voltage regulation module for voltage regulation.

[0089] The control module can be the arithmetic and decision-making unit of the control device 104, or a microprocessor computing unit (MCU). The control module receives the sampling signal from the detection circuit through the signal pin to perform logic such as power calculation, loss analysis, and overcurrent judgment, and outputs control commands.

[0090] The first signal pin and the second signal pin can be connection nodes for connecting the detection circuit. The first signal pin can be used to receive voltage sampling signals (V_bus), and the second signal pin can be used to receive current sampling signals (I_bus).

[0091] Among them, the voltage connection node can be the signal output point of the voltage detection module in the detection circuit, with one end connected to the voltage sampling signal and the other end connected to the first signal pin of the control module.

[0092] The current connection node can be the signal output point of the current detection module in the detection circuit, with one end connected to the current sampling signal and the other end connected to the second signal pin of the control module.

[0093] Among them, the bus external power supply and communication circuit module 202 can be a functional module in the control device 104 that integrates power supply and communication. It can simultaneously supply power to external electrical equipment and transmit communication signals through the same two buses.

[0094] The first end of the bus external power supply communication circuit module 202 can be the power supply input end of the bus external power supply communication circuit module 202, which is used to connect to the output end of the voltage regulation circuit module 201 and receive the regulated DC voltage.

[0095] The second end of the bus external power supply communication circuit module 202 can be the communication interaction end of the bus external power supply communication circuit module 202, which is connected to the connection pin of the control module to realize the transmission of instructions or data between the control module and the external power equipment.

[0096] The third terminal of the bus external power supply and communication circuit module 202 can be the external connection terminal of the bus external power supply and communication circuit module 202, which connects to external electrical equipment, outputs power supply voltage and transmits communication signals.

[0097] The external power source can be a power source that provides power to the control device 104 (for example, it can be 220V AC mains power, which is converted to 24V DC by a switching power supply and then input to the voltage regulation circuit module 201).

[0098] Among them, the external electrical equipment can be the load device of the control device 104, that is, various sensors in the air conditioning system (such as human sensor, dew point sensor, etc.), which receive power supply through the two-wire bus and communicate with the control device 104.

[0099] The connection pins of the control module can be the communication interface of the control module (such as UART1 pin), used to transmit digital instructions and data with the external power supply communication circuit module 202 of the bus.

[0100] Optionally, the control device 104 further includes: The switching power supply circuit module 200 has its input terminal connected to an external AC power supply and its output terminal connected to a voltage regulation circuit module 201.

[0101] Optionally, the control device 104 further includes: The power conversion circuit module 210 has its input terminal connected to the output terminal of the switching power supply circuit module 200, and its output terminal connected to the control module to supply power to the control module.

[0102] The switching power supply circuit module 200 can be a power conversion component of the control device 104. Its input end is connected to an external AC power supply, and its output end is connected to the voltage regulation circuit module 201. It is used to convert the external AC power supply (such as 220V) into a stable DC voltage (such as 24V) to provide initial DC power supply for the voltage regulation circuit module 201 and subsequent related modules.

[0103] The power conversion circuit module 210 can be a secondary power conversion component of the control device 104. Its input end is connected to the output end of the switching power supply circuit module 200, and its output end is connected to the control module. It is used to convert the DC voltage (24V) output by the switching power supply circuit module 200 into the working voltage (such as 3.3V) adapted to the control module, so as to provide a stable power supply for the control module.

[0104] Specifically, the external power supply is converted into a stable DC voltage (e.g., 24V) by a switching power supply and then input to the voltage regulation circuit module 201. The voltage regulation circuit module 201 dynamically adjusts the output voltage (18V~36V) according to the instructions of the control module, implementing an energy-saving logic where the higher the load or the greater the line loss, the higher the voltage. This ensures stable power supply to remote devices while avoiding energy waste caused by excessive power supply. The regulated voltage signal enters the detection circuit through the input interface. The detection circuit acquires the voltage sampling signal (V_bus) through resistor voltage division and multi-stage filtering, and acquires the current sampling signal (I_bus) through current-to-voltage conversion, differential amplification, and multi-stage filtering. Both signals are synchronously transmitted to the corresponding signal pins of the control module, realizing real-time monitoring of the voltage and current on both buses.

[0105] The first terminal of the bus-based external power supply and communication circuit module 202 receives the regulated power supply voltage, and the third terminal outputs the power to the external electrical equipment. At the same time, the control module's instructions are transmitted to the second terminal of the module via the connection pin. The control module can superimpose digital instructions on the power supply bus based on power carrier or modulation technology to achieve bidirectional communication with the external electrical equipment without the need for additional communication lines.

[0106] More specifically, the external AC power supply (220V) is first connected to the switching power supply circuit module 200 and converted into a stable DC voltage (24V) to provide initial power to the voltage regulation circuit module 201; at the same time, the 24V DC voltage output by the switching power supply circuit module 200 is connected to the power conversion circuit module 210 and converted into a 3.3V DC voltage adapted to the control module, ensuring the stability of the control module's operating voltage and avoiding the impact of voltage fluctuations on the calculation accuracy.

[0107] The 24V output of the switching power supply circuit module 200 provides a stable input to the voltage regulation circuit module 201. The voltage regulation circuit module 201 dynamically adjusts the output voltage (18V~36V) according to the instructions from the control module, ensuring both the power supply needs of the remote devices on the two-bus system and energy efficiency. The two-stage power conversion provides a partitioned power supply mode for the control device 104, offering high-voltage power supply and low-voltage operation, thus improving power supply reliability. The regulated voltage signal enters the detection circuit via the input interface, acquiring voltage sampling signals (V_bus) and current sampling signals (I_bus) and transmitting them to the control module. Under the stable power supply provided by the power conversion circuit module 210, the control module performs calculations such as power calculation, bus loss ratio analysis, and overcurrent judgment, generating voltage regulation commands, communication commands, or protection commands. The external power supply communication circuit module 202 receives the regulated voltage and supplies power to external devices; simultaneously, it superimposes the control module's commands onto the power supply bus, enabling bidirectional communication with external devices without additional wiring.

[0108] In other words, an external 220V AC power supply is connected to the input terminal of the switching power supply circuit module 200, which converts it into a stable 24V DC voltage. The output terminal is divided into two paths: one path connects to the input terminal of the voltage regulation circuit module 201 to power the voltage regulation circuit module 201; the other path connects to the input terminal of the power conversion circuit module 210 to prepare for secondary power conversion. The power conversion circuit module 210 receives the 24V DC voltage output from the switching power supply circuit module 200, converts it into a 3.3V DC voltage, and connects its output terminal to the power supply interface of the control module to provide a continuous and stable operating power supply for the control module, ensuring that the control module starts up and operates normally. After the control module initializes, it sends a voltage adjustment command to the voltage regulation circuit module 201 based on the subsequently collected bus loss data; the voltage regulation circuit module 201 adjusts the 24V DC voltage to a target voltage of 18V~36V and outputs it to the input interface of the detection circuit and the first terminal of the bus external power supply communication circuit module 202. The regulated voltage signal enters the detection circuit through the input interface. The detection circuit generates a voltage sampling signal (V_bus) through the voltage detection module and a current sampling signal (I_bus) through the current detection module. The two signals are transmitted to the first and second signal pins of the control module through the voltage connection node and the current connection node, respectively.

[0109] The bus-based external power supply and communication circuit module 202 outputs the regulated voltage to power external electrical devices via its third terminal. Simultaneously, it modulates and superimposes the control module's commands onto the power supply bus to achieve communication with the external devices. Feedback data from the external devices is transmitted in reverse via the same bus to this module, demodulated, and then sent to the control module. The control module receives the feedback data in real time and continuously adjusts the voltage regulation commands. If an overcurrent is detected, it first sends a command to cut off the high-power load of the external device. If this fails, it controls the voltage regulation circuit module 201 to stop outputting and attempts to restart it after 30 seconds, thus achieving tiered protection.

[0110] Please see Figure 4The control device 104 may include a switching power supply module 200, a voltage regulation circuit module 201-201, a bus external power supply and communication circuit module 202-202, a bus output terminal 203, a voltage detection circuit module 204, a current detection circuit module 205, a microprocessor computing unit 206, a central control module 207, a main control other circuit module 208, a current detection module 209, and a power conversion circuit module 210-210. In this module, pin 1 of module 200 is connected to 220V AC power, and pin 2 outputs 24V power, which is connected to pin 1 of module 201 and pin 1 of module 210 respectively. Pin 2 of module 201 outputs 18V~36V power, which is connected to pin 1 of module 204 as its Vdc1, pin 1 of module 202, and module 209 respectively. Module 209 is connected to pin 1 of module 205. Pin 2 of module 202 is connected to module 203, and module 203 is connected to an external two-wire bus. Pin 3 of module 210 outputs 3.3V power, which is connected to pin 1 of VCC of module 206, and pin 2 outputs 5V, which is connected to module 208. Pin 1 of module 206's ADC is connected to pin 2 of module 204, pin 2 of ADC is connected to pin 2 of module 205, and pin 1 of UART is connected to pin 3 of module 202. This module can realize the power detection function of the central control, the overcurrent protection function, the external power supply and communication function of the bus, and the voltage adjustable function.

[0111] Please see Figure 5 This application also proposes a sensing device, comprising: The detection circuit described in any of the above embodiments; The input terminal is used to connect to the external control device 104; A power detection module, one end of which is connected to the input terminal, generates an analog signal based on the voltage input at the input terminal; The processing module is connected to the other end of the power detection module to receive analog signals and identify the electrical parameters of the current input from the input terminal based on the analog signals. The bus-connected internal power supply and communication circuit module 302 includes a fourth terminal, a fifth terminal, and a sixth terminal. The fourth terminal is connected to the input terminal, the fifth terminal is connected to the processing module, and the sixth terminal is connected to the power consumption module.

[0112] Optionally, the power module includes a low-power circuit module and a high-power circuit module. A switch is provided between the high-power circuit module and the bus-to-internal power supply communication circuit module 302. The processing module controls the conduction of the switch to supply power to the high-power circuit module.

[0113] The sensing device can be a terminal sensing unit applied to a five-constant air conditioning two-bus system, integrating a detection circuit, a power detection module, a processing module, and a bus-to-internal power supply and communication circuit module 302. It receives power supply and communication signals from the external control device 104 through the two-bus system, and realizes its own power consumption monitoring, environmental parameter acquisition, and bidirectional interaction with the control device 104.

[0114] The input terminal can be the connection interface between the sensing device and the external control device 104, used to receive a composite signal of power supply signal and communication signal of the two buses, to provide power to the sensing device and transmit communication commands.

[0115] Among them, the power detection module can be a functional module in the sensing device used to assist in the acquisition of power supply parameters. One end is connected to the input terminal, receives the input voltage of the two-wire bus, and generates an analog signal related to voltage or current, providing supplementary data for the processing module to identify electrical parameters.

[0116] The processing module can be the computing unit of the sensing device, with a built-in microprocessor (MCU), connecting the signal output terminal of the detection circuit and the output terminal of the power detection module, receiving analog signals and performing analog-to-digital conversion and processing, identifying electrical parameters and generating feedback commands.

[0117] Among them, electrical parameters can be parameters that characterize the power supply status of the two-wire bus. For example, they can include input voltage parameters at the input terminal, operating current parameters of the sensing device, power consumption parameters, etc., which can be calculated by the processing module based on the analog signal.

[0118] Among them, the bus-to-internal power supply and communication circuit module 302 can be a functional module in the sensing device that realizes power distribution and communication demodulation, and separates the two-bus composite signal at the input end into power supply voltage and communication signal, which are supplied to the power consumption module and the processing module respectively.

[0119] The fourth terminal of the bus-to-internal power supply and communication circuit module 302 can be the signal input terminal of the bus-to-internal power supply and communication circuit module 302, which is connected to the input terminal of the sensing device and receives the composite signal of the power supply signal and communication signal of the two buses.

[0120] The fifth terminal of the bus-to-internal power supply and communication circuit module 302 can be the communication interaction terminal of the bus-to-internal power supply and communication circuit module 302, which is connected to the processing module. The demodulated communication command is transmitted to the processing module, and the feedback data of the processing module is modulated and transmitted back to the external control device 104 through the two buses.

[0121] The sixth terminal of the bus-to-internal power supply and communication circuit module 302 can be the power supply output terminal of the bus-to-internal power supply and communication circuit module 302, which is connected to the power-consuming module to provide the operating voltage to the power-consuming module.

[0122] The power module can be a functional execution unit of the sensing device, and may include a low-power sensor circuit module 304 and a high-power sensor circuit module 305 (such as the detection components of a human sensor or a dew point sensor). It obtains power from the internal power supply communication circuit module 302 through the bus and performs the environmental parameter acquisition function.

[0123] Among them, the low-power circuit module can be the acquisition unit of the power module, a low-power core component (such as a basic detection chip or signal transmission unit) for continuous operation of the sensing device, and is directly and continuously powered by the internal power supply communication circuit module 302 via the bus.

[0124] Among them, the high-power circuit module can be a high-performance acquisition unit of the power module, with a higher rated power consumption or peak power consumption than the low-power circuit.

[0125] Among them, the switch K1 can be an on / off control component set between the high-power circuit module and the bus-connected internal power supply and communication circuit module 302, which is controlled by the electrical signal of the processing module to realize the power supply of the high-power circuit module to be turned on or off.

[0126] Specifically, the internal power supply and communication circuit module 302 of the bus divides the DC voltage input from the two buses into two power supplies. One supply directly and continuously powers the low-power circuit module of the sensor, ensuring the basic data acquisition and communication interaction functions of the sensing device. The other supply provides controllable power to the high-power circuit module through a switch. The processing module controls the switching on / off of the switch by outputting an electrical signal to realize on-demand power supply to the high-power circuit module and avoid the continuous operation of high-power components occupying bus load resources.

[0127] The composite signal of the power supply signal and the communication signal of the external control device 104 is input through the input terminal. The internal power supply and communication circuit module 302 of the bus performs filtering and demodulation, separating it into a stable DC power supply voltage and digital communication commands. The power supply voltage is used to drive the power module, and the communication commands are transmitted to the processing module. At the same time, the feedback data of the processing module is modulated by the module and transmitted back to the external control device 104 through the same two-wire bus, realizing the integration of power supply and communication.

[0128] The detection circuit acquires the voltage of the two-wire bus and the operating current signal of the sensing device. The power detection module simultaneously acquires the input voltage signal. After the two analog signals are transmitted to the processing module, they are converted from analog to digital and processed by algorithms to identify their own electrical parameters (such as real-time power consumption) and reported to the control device 104 connected to the sensing device. The processing module also receives high-power load on / off commands from the external control device 104 and directly controls the on / off state of the switching devices to achieve linkage between electrical parameter monitoring and high-power load control. As a two-wire bus terminal, the sensing device acquires its own electrical parameters and environmental parameters in real time and transmits them back to the external control device 104, providing terminal data for the control device 104 to calculate bus losses, judge load anomalies, and dynamically adjust the bus voltage. At the same time, it strictly executes the load control commands of the control device 104, cutting off / opening the high-power circuit module through the switching devices, and working with the control device 104 to achieve dynamic optimization of the bus load and avoid bus overload.

[0129] Please see Figure 5 The sensing device may include an input terminal module 300, a current detection module 301, a bus-to-internal power supply and communication circuit module 302, a power conversion circuit module 303, a sensor low-power circuit module 304, a voltage detection circuit module 305, a current detection circuit module 306, a linear power supply circuit module 307, a sensor high-power circuit module 308, a microprocessor computing unit 309, and a high-power sensor module 310. The system includes a bus input connection module 300, which connects to pin 1 of modules 305, 301, and 302. Module 301 connects to pin 1 of module 306. Pin 2 of module 302 connects to pin 1 of module 303. Pin 2 of module 303 outputs 5V and connects to pin 1 of module 304, switch K1, and module 307. Pin 2 of switch K1 connects to module 308. Module 309's ADC pin 3 connects to pin 2 of module 305, ADC pin 4 connects to pin 2 of module 306, UART pin 2 interconnects with pin 3 of module 302, VCC pin 2 connects to pin 2 of module 307, and CTL pin 1 connects to relay K1. Using these modules, the sensor power consumption can be calculated in real time, and the data can be transmitted to the central control system for real-time detection of abnormal power consumption in sensor modules.

[0130] Please see Figure 6 The present application also proposes a control method for the above-mentioned air conditioning system, comprising: Step 011: When the current value output by the control device 104 is greater than the preset current threshold, the control switch is opened, and the bus current is determined based on the first electrical parameter obtained by the processing module.

[0131] The preset current threshold can be a pre-set overcurrent judgment benchmark value for the two buses in the control device 104, which can be calibrated based on the bus load capacity, line loss characteristics and power consumption parameters of the sensing device.

[0132] The current value output by the control device 104 can be the total current value of the two buses collected by the control device 104 through its own detection circuit, reflecting the overall load current status of the two buses, and is calculated by the processing module based on the current sampling signal (I_bus).

[0133] The switching component can be an on / off control component located between the high-power circuit module of the sensing device and the power supply and communication circuit module 302 of the bus pair. It is controlled by the processing module of the sensing device, and its on / off state directly determines the power supply status of the high-power circuit module.

[0134] The bus current can be the actual operating current in the two buses, including the total current supplied by the control device 104 to all sensing devices, and is determined by the processing module of the control device 104 based on the first electrical parameters collected by the detection circuit.

[0135] The first electrical parameter can be the core electrical parameter of the two-bus system collected by the detection circuit of the control device 104, including at least the bus output voltage sampling signal (V_bus) and the bus output current sampling signal (I_bus).

[0136] Specifically, the control device 104 continuously collects the first electrical parameters of the two buses through the detection circuit, the processing module calculates the bus output current value in real time, and compares the value with the preset current threshold in real time. The preset current threshold is the upper limit of the current for safe operation of the system. It is a critical value pre-calibrated based on the line current carrying capacity of the two buses, the power of the power supply module and the total power consumption of the sensing device, to ensure that the system can work stably when the bus current does not exceed this value.

[0137] When the control device 104 determines that the bus output current value is greater than the preset current threshold, it determines that the two buses are in an overload or overcurrent state. At this time, the control device 104 sends a switching device disconnection command to all sensors through the two buses. After receiving the command, the sensor processing module immediately outputs a control signal to control its own switching device to disconnect, cutting off the power supply to the high-power circuit module, reducing the operating power consumption of the sensor, and thus reducing the bus power draw current of a single sensor. After the power supply to the high-power circuit modules of all sensors is disconnected, the total load power consumption of the two buses is greatly reduced, and the bus current decreases accordingly. The real-time value of the bus current is always continuously calculated and determined by the control device 104 processing module based on the first electrical parameter, providing data basis for subsequent overcurrent state determination, bus restart, or voltage regulation operation.

[0138] In some implementations, the method further includes: Step 012: When the switch is open and the bus current is greater than the preset current threshold, control device 104 disconnects the sensing device. Step 013: After the control device 104 disconnects the sensor for a preset duration, the control device 104 reconnects the sensor.

[0139] The preset current threshold can be the upper limit of the current for safe operation of the two buses as pre-calibrated by the control device 104, and can be adaptively set according to the bus load capacity, line loss, total power consumption of the sensing device, etc.

[0140] The switching component can be a control component for controlling the on / off connection between the high-power circuit module of the sensing device and the internal power supply communication circuit module 302 of the bus. It is controlled by the sensing device processing module and cuts off the power supply to the high-power circuit module when disconnected.

[0141] Among them, the bus current can be the real-time current value of the two buses, which can be calculated and determined by the control device 104 processing module based on the first electrical parameters collected by the detection circuit, and can reflect the overall load status of the two buses.

[0142] The first electrical parameter can be the electrical parameter of the two-wire bus acquired by the detection circuit of the control device 104, which can be a voltage sampling signal and / or a current sampling signal.

[0143] The preset duration can be the bus disconnection delay time preset by the control device 104, calibrated according to the system fault recovery characteristics (e.g., 30 seconds), to reserve time for bus fault troubleshooting and circuit reset.

[0144] Specifically, the control device 104 can perform two-level judgment on overcurrent conditions. First, it determines whether there is an overcurrent in the bus before the switch is disconnected. If an overcurrent is detected, it restores the load by disconnecting the high-power load. If an overcurrent is still detected after the switch is disconnected, it determines that there is a fault in the bus (such as a short circuit, hardware abnormality of multiple sensors, etc.). The control device 104 actively disconnects the power supply connection with the sensors, stops the voltage output of the two buses, and completely cuts off the fault circuit, preventing the overcurrent condition from continuing and causing the control device 104, the two bus lines, and the sensor hardware to burn out, thus achieving hardware protection for the core components of the system. After the control device 104 disconnects the bus, it restores the bus voltage output and reconnects the sensors after a preset delay. The preset delay is a time reserved for circuit reset and self-elimination of temporary faults (such as poor line contact or instantaneous sensor failure), so that the system can automatically recover without manual intervention, improving the level of intelligence.

[0145] For example, the control device 104 can continuously collect the first electrical parameters of the two buses through the detection circuit. The control module calculates the real-time bus current based on the first electrical parameters and compares it with the preset current threshold. When the bus current is greater than the preset current threshold, the control device 104 sends a switch disconnect command to all sensing devices through the external power supply communication circuit module 202. After receiving the disconnect command, the processing module of each sensing device can disconnect its own switch to cut off the power supply to the high-power circuit module and keep the low-power circuit module working, thereby achieving soft load reduction and reducing the overall load of the bus. After all switches are disconnected, the control device 104 processing module continues to monitor the bus current in real time according to the first electrical parameter and performs a secondary overcurrent judgment. If the bus current drops to less than the preset current threshold, it is judged as a slight overload, the system releases the overcurrent protection, keeps the switches disconnected, and can gradually restore the power supply to the high-power load as needed. If the bus current is still greater than the preset current threshold after the switches are disconnected, it can be considered that there is a serious fault in the bus (such as a short circuit, abnormal sensor hardware, etc.). The control device 104 immediately triggers hard cut-off protection, stops outputting voltage to the two buses through its own voltage regulation circuit module 201 / power supply module, realizes that the control device 104 disconnects the sensor, and all sensors temporarily stop working due to the loss of bus power supply. The control device 104 remains disconnected from the sensing device, starts timing, and waits for a preset duration (e.g., 30 seconds) to allow time for circuit reset and temporary fault self-clearing. After the preset duration, the control device 104 no longer detects the fault status and directly restores the output voltage to the dual bus via the voltage regulation circuit module 201 / power supply module, thus reconnecting the control device 104 to the sensing device. After the bus power supply is restored, all sensing devices automatically power on, the low-power circuit module resumes operation, the detection circuit restarts collecting dual bus parameters, the control device 104 processing module resumes real-time monitoring of the bus current, and the system returns to normal monitoring. If the fault has been cleared, the bus current remains within the threshold, and the system operates normally. If the fault still exists, the overcurrent protection process will be triggered again.

[0146] In some implementations, the method further includes: Step 014: Determine the bus loss ratio of the air conditioning system based on the output power consumption and the sensing power consumption, wherein the output power consumption is determined based on the first analog signal and the sensing power consumption is determined based on the second analog signal.

[0147] Among them, the bus loss ratio can be the ratio of the power loss of the second bus line of the air conditioning system to the total output power of the control device 104 bus, reflecting the line transmission efficiency.

[0148] The output power consumption can be the total electrical power output by the control device 104 through the two buses, which is determined by the processing module of the control device 104 based on the first analog signal, and reflects the total power of the bus power supply of the control device 104.

[0149] Among them, the sensing power consumption can be the sum of the operating power of all sensing devices in the air conditioning system. It is determined by the processing module of the control device 104 based on the sum of the second analog signals uploaded by each sensing device, and reflects the total power consumption of the terminal load.

[0150] The first analog signal can be the analog signal of the two-bus voltage and current sampling acquired by the detection circuit of the control device 104 (i.e., the analog signal corresponding to the aforementioned first electrical parameter), including the voltage sampling signal V_bus and the current sampling signal I_bus.

[0151] The second analog signal can be the sampling analog signal of the working voltage and current of each sensing device's detection circuit or power detection module. After being processed by the sensing device processing module into its own power consumption data, it is transmitted back to the control device 104 through the two buses for calculating the sensing power consumption.

[0152] The preset current threshold can be the upper limit of the safe operating current of the two-bus system pre-calibrated by the control device 104, which is set according to the bus load capacity, line loss characteristics, and total power consumption of the sensing device.

[0153] The preset duration can be the bus disconnection delay time preset by the control device 104, calibrated according to the system fault recovery characteristics, to reserve time for bus fault troubleshooting and circuit reset.

[0154] Specifically, a dual-end data acquisition logic is adopted, which involves acquisition from both the control device 104 and the sensing device. The control device 104 acquires the first analog signal through the detection circuit and calculates its own output power consumption (total power of bus power supply) in real time. Each sensing device independently acquires the second analog signal, calculates its own sensing power consumption, and actively transmits it back to the control device 104. The control device 104 summarizes all terminal data to obtain the total sensing power consumption, thereby realizing power consumption acquisition from the power supply end to the load end.

[0155] According to the law of conservation of energy, the power loss of the two-bus line = the output power consumption of the control device 104 - the sum of the sensing power consumption of all sensing devices; while the bus loss ratio can be calculated by (output power consumption - sum of sensing power consumption) ÷ output power consumption × 100%, which directly reflects the transmission efficiency of the two-bus line. The higher the loss ratio, the worse the line resistance, length or load matching, and the more serious the line heating and voltage attenuation.

[0156] Therefore, the bus loss ratio calculation is performed simultaneously with the graded overcurrent protection. The loss ratio provides a basis for determining the cause of the overcurrent protection fault: if there is an overcurrent and the loss ratio is too high, it is determined to be a line fault (such as too small wire diameter or too long wiring); if there is an overcurrent and the loss ratio is normal, it is determined to be a load superposition fault (such as multiple high-power sensors working at the same time), making the fault location of overcurrent protection more accurate.

[0157] To facilitate better implementation of the control method in the embodiments of this application, the embodiments of this application also provide a control device. Please refer to... Figure 7 , Figure 7 A schematic diagram of the control device provided in an embodiment of this application. The control unit 400 may include: The control module 401 is used to control the switch to open when the current value of the current output by the control device is greater than a preset current threshold, and the bus current is determined based on the first electrical parameter obtained by the processing module.

[0158] Each unit in the aforementioned control device can be implemented entirely or partially through software, hardware, or a combination thereof. These units can be embedded in or independent of the processor in a computer device in hardware form, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each unit.

[0159] The control unit 400 can be integrated into a terminal or server that has storage and a processor and thus computing capabilities, or the control unit 400 can be the terminal or server.

[0160] Optionally, this application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above-described method embodiments.

[0161] This application also provides a computer-readable storage medium for storing a computer program. This computer-readable storage medium can be applied to a computer device, and the computer program causes the computer device to execute the corresponding processes in the control methods of the embodiments of this application; for the sake of brevity, further details are omitted here.

[0162] This application also provides a computer program product including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the corresponding flow in the control method of the embodiments of this application. For simplicity, further details are omitted here.

[0163] This application also provides a computer program comprising computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the corresponding flow in the control method of this application. For brevity, further details are omitted here.

[0164] It should be understood that the processor in this application may be an integrated circuit chip with signal processing capabilities. In implementation, the steps of the above method embodiments can be completed by integrated logic circuits in the processor's hardware or by instructions in software form. The processor described above can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this application can be directly embodied in the execution of a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software modules can be located in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. This storage medium is located in memory, and the processor reads information from the memory and, in conjunction with its hardware, completes the steps of the above method.

[0165] It is understood that the memory in the embodiments of this application can be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDR SDRAM), Enhanced Synchronous DRAM (ESDRAM), Synchlink DRAM (SLDRAM), and Direct Rambus RAM (DR RAM). It should be noted that the memory used in the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0166] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0167] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0168] In the embodiments of this application, the terms "module" or "unit" refer to a computer program or part of a computer program that has a predetermined function and works with other related parts to achieve a predetermined goal, and can be implemented wholly or partially using software, hardware (such as processing circuitry or memory), or a combination thereof. Similarly, a processor (or multiple processors or memory) can be used to implement one or more modules or units. Furthermore, each module or unit can be part of an overall module or unit that includes the functionality of that module or unit.

[0169] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0170] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0171] In addition, the functional units in this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0172] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer or a server) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.

[0173] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A detection circuit, characterized in that, For a control device and / or sensing device of an air conditioning system, the detection circuit includes: The input interface includes a first interface and a second interface; A voltage detection module includes a first voltage divider resistor and a second voltage divider resistor. One end of the first voltage divider resistor is connected to the second voltage divider resistor, and the other end is connected to the output interface. The other end of the second voltage divider resistor is grounded. A voltage connection node is provided between the first voltage divider resistor and the second voltage divider resistor to output a voltage sampling signal. The current detection module includes a sampling resistor, an operational amplifier, and a reference resistor. One end of the sampling resistor is grounded, and the operational amplifier and the sampling resistor are connected in parallel to output a current connection signal. One end of the reference resistor is connected to the inverting input terminal of the operational amplifier, and the other end is connected to a preset reference voltage.

2. The detection circuit according to claim 1, characterized in that, Also includes: A rectifier module is provided, with one end connected to the input interface and the other end connected to the sampling resistor of the voltage detection module and the current detection module. The rectifier module includes a first diode, a second diode, a third diode, and a fourth diode. The anode of the first diode is connected to the cathode of the third diode and the first interface; the cathode of the first diode is connected to the cathode of the second diode and the first voltage divider resistor; the anode of the second diode is connected to the cathode of the fourth diode and the second interface; and the anode of the fourth diode is connected to the anode of the third diode, the sampling resistor, and the input terminal of the operational amplifier. An electrolytic capacitor, one end of which is connected to the rectifier module, and the other end of which is connected to the grounded end of the sampling resistor.

3. The detection circuit according to claim 1, characterized in that, The voltage detection module further includes a first filter capacitor, which is connected in parallel with a second voltage divider resistor to filter out interference in the voltage sampling signal.

4. The detection circuit according to claim 1, characterized in that, The current detection module also includes a third resistor, a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor, an eighth resistor, a ninth resistor (R9), a second capacitor (C2), a third capacitor, a fourth capacitor, and a fifth capacitor. The first end of the sampling resistor is connected to the first end of the fourth resistor, the first end of the sixth resistor, and the first end of the fourth capacitor, respectively. The second end of the fourth resistor is connected to the first end of the third capacitor. The second end of the sixth resistor is connected to the inverting input of the operational amplifier. The second end of the fourth capacitor is grounded. The second end of the sampling resistor is connected to the first end of the third resistor and the first end of the second capacitor, respectively. The second end of the third resistor is connected to the second end of the third capacitor, and the second end of the second capacitor is grounded. The non-inverting input terminal of the operational amplifier is connected to the second terminal of the third resistor, the first terminal of the fifth resistor, and the first terminal of the seventh resistor, respectively. The second terminal of the fifth resistor is connected to the output terminal of the operational amplifier, and the second terminal of the seventh resistor is grounded. The inverting input terminal of the operational amplifier is also connected to the first terminal of the eighth resistor, and the second terminal of the eighth resistor is connected to a preset reference voltage. The output terminal of the operational amplifier is connected to the first terminal of the ninth resistor, the second terminal of the ninth resistor is connected to the first terminal of the fifth capacitor and the output node of the current sampling signal, and the second terminal of the fifth capacitor is grounded. The power supply terminal of the operational amplifier is connected to a preset power supply, and the ground terminal of the operational amplifier is grounded.

5. A control device, characterized in that, include: The detection circuit according to any one of claims 1-4; The voltage regulation circuit module is connected to an external power supply at one end and to the input interface at the other end. The control module includes a first signal pin and a second signal pin, wherein the first signal pin is connected to the voltage connection node and the second signal pin is connected to the current connection node; The bus-based external power supply and communication circuit module includes a first terminal, a second terminal, and a third terminal. The first terminal is connected to the voltage regulation module, the second terminal is connected to the connection pin of the control module, and the third terminal is connected to an external power device to supply power to and communicate with the external power device.

6. The control device according to claim 5, characterized in that, Also includes: A switching power supply circuit module, wherein the input terminal of the switching power supply circuit module is connected to an external AC power supply, and the output terminal is connected to the voltage regulation circuit module.

7. The control device according to claim 6, characterized in that, Also includes: A power conversion circuit module, wherein the input terminal of the power conversion circuit module is connected to the output terminal of the switching power supply circuit module, and the output terminal is connected to the control module to supply power to the control module.

8. A sensing device, characterized in that, include: The detection circuit according to any one of claims 1-4; The input terminal is used to connect to an external control device; A power detection module, one end of which is connected to the input terminal, to generate an analog signal based on the voltage input to the input terminal; A processing module is connected to the other end of the power detection module to receive the analog signal and identify the electrical parameters of the current input from the input terminal based on the analog signal. The bus-to-internal power supply and communication circuit module 302 includes a fourth terminal, a fifth terminal, and a sixth terminal. The fourth terminal is connected to the input terminal, the fifth terminal is connected to the processing module, and the sixth terminal is connected to the power consumption module.

9. The sensing device according to claim 8, characterized in that, The power module includes a low-power circuit module and a high-power circuit module. A switch is provided between the high-power circuit module and the bus-to-internal power supply and communication circuit module 302. The processing module controls the conduction of the switch to supply power to the high-power circuit module.

10. An air conditioning system, characterized in that, include: The control device according to any one of claims 5-7; and The sensing device according to any one of claims 8-9.

11. A control method, characterized in that, For use in the air conditioning system of claim 9, the method includes: If the current value output by the control device is greater than a preset current threshold, the switch is opened, and the bus current is determined based on the first electrical parameter obtained by the processing module.

12. The control method according to claim 11, characterized in that, Also includes: When the switch is open and the bus current is greater than a preset current threshold, the control device is controlled to disconnect the sensing device. After the control device disconnects the sensing device for a preset duration, it reconnects the sensing device.

13. The control method according to claim 12, characterized in that, Also includes: The bus loss ratio of the air conditioning system is determined based on the output power consumption and the sensing power consumption, wherein the output power consumption and the sensing power consumption are determined based on the first electrical parameters.

14. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program adapted for loading by a processor to perform the control method as described in any one of claims 10-12.