Control system and method for controlling positive and negative power supply and communication of power supply and electric device
By connecting the motherboard and the driver board via a two-core bus, and using relay switching circuits and the main controller for coordinated control, flexible power supply and communication for the electric device are achieved. This solves the problems of limited functionality and complex wiring in traditional two-core bus control systems, simplifies the wiring structure, and improves construction efficiency and system flexibility.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- HANGZHOU TONGLING TECHNOLOGY CO LTD
- Filing Date
- 2025-12-17
- Publication Date
- 2026-05-05
AI Technical Summary
In existing electric actuator control systems, the traditional two-core bus power supply method has a single function and cannot realize individual or group control of specific devices on the bus. In addition, it requires strict distinction between positive and negative terminals when wiring, resulting in high installation and debugging difficulty and high error rate.
Through the two-core bus connection between the motherboard and the driver board, the relay switching circuit and the main controller work together to achieve flexible switching of the polarity of the two-core bus power supply. The communication data encoding output is completed by controlling the conduction duration of the relay switching circuit. The rectifier bridge circuit of the driver board converts the positive and negative power supplies of the two-core bus into DC power with constant polarity. The signal detection circuit collects and identifies the bus level signal.
It achieves a significantly simplified cabling structure that eliminates the need for additional communication lines, reducing construction and material costs, avoiding equipment failures caused by incorrect polarity connections, improving construction efficiency and convenience, possessing strong environmental adaptability and practical value, and supporting individual or group control operations.
Smart Images

Figure CN121979017A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electric device control technology, and in particular to a control system, method and electric device for controlling the forward and reverse power supply and communication. Background Technology
[0002] In the control systems of electric devices (such as electric window openers for fire protection) in fields such as fire protection and smart homes, a two-core bus is widely used for power supply and control to reduce wiring costs and complexity. One core is the positive power supply, and the other is the negative power supply. (Refer to...) Figure 1 Therefore, in traditional control methods, the main controller controls the power supply to the terminal driver board by switching the voltage polarity on the bus (BUS+ and BUS-) using relays. The driver board controls the forward and reverse rotation of the motor by recognizing the power supply direction (forward or reverse), thereby performing basic actions such as opening and closing windows. However, this control method, which relies solely on power polarity, is functionally limited. It can only synchronously enable all devices connected to the bus to perform fully open or fully closed operations, and cannot perform individual or group control of specific devices on the bus, greatly limiting the system's flexibility and intelligence.
[0003] To further enhance system functionality, the industry has attempted to superimpose communication signals onto power lines, such as using power line carrier communication technology. However, such solutions typically involve complex circuits and high costs, and communication reliability is difficult to guarantee under interference caused by the start-up and shutdown of high-power equipment such as motors. Furthermore, existing systems require strict differentiation of the positive and negative terminals of the bus during wiring; if workers reverse the connections, the equipment will malfunction, increasing the difficulty and error rate of installation and debugging. Therefore, there is an urgent need for a low-cost two-wire control system that can achieve flexible addressing communication and eliminate polarity requirements in wiring, without adding cables and ensuring reliable power supply. Summary of the Invention
[0004] This application provides a control system, method, and electric device for controlling forward and reverse power supply and communication, so as to at least solve the problem of high power supply and communication control costs in existing electric device control systems in related technologies.
[0005] In a first aspect, this application provides a control system for controlling the positive and negative power supply and communication, including a motherboard and at least one driver board, wherein the motherboard and the driver board are connected via a two-core bus comprising a positive power line and a negative power line; wherein... The motherboard includes: The relay switching circuit has its input end connected to the main controller and its output end connected to the driver board via the two-core bus. The main controller is used to switch the power supply polarity of the two-core bus by controlling the on / off state of the relay switching circuit to form a positive power supply state or a reverse power supply state, and to encode and output communication data by controlling the conduction duration of the relay switching circuit. The driver board includes: The rectifier bridge circuit has its input end connected to the two-core bus and its output end connected to the driven motor, and is used to output DC power with constant polarity to the motor. The signal detection circuit has a first input terminal connected to the positive power line and a first output terminal connected to the first signal received from the controller, and a second input terminal connected to the negative power line and a second output terminal connected to the second signal received from the controller, used to acquire the level signal of the two-core bus. The controller is used to identify the power supply status of the two-core bus based on the level signal, select a first signal receiving end or a second signal receiving end to receive the communication data based on the power supply status, and perform corresponding control operations.
[0006] Preferably, the relay switching circuit includes a first relay control circuit and a second relay control circuit; the input of the first relay control circuit is connected to the first signal output terminal of the main controller, and the output terminal is connected to the first terminal of the positive power supply line; the input of the second relay control circuit is connected to the second signal output terminal of the main controller, and the output terminal is connected to the first terminal of the negative power supply line; wherein, The main controller is configured to generate a first power supply waveform on the positive power line and a second power supply waveform on the negative power line by controlling the on / off timing of the first relay control circuit and the second relay control circuit. The pulse widths of the first power supply waveform and the second power supply waveform are different and do not overlap during the high level period. The high-level period of the first power supply waveform is a positive power supply state, used to provide electrical energy; the high-level period of the second power supply waveform is a reverse power supply state, and its duration is modulated to represent communication data bits.
[0007] Preferably, the encoding method of the communication data bits is as follows: The pulse width of the second power supply waveform is equal to the first duration, representing binary 0, and the pulse width of the second power supply waveform is equal to the second duration, representing binary 1; wherein the first duration and the second duration are different.
[0008] Preferably, before sending the communication data bits, a frame header signal consisting of a forward power supply state and a reverse power supply state of a specific duration is sent first for communication synchronization.
[0009] Preferably, the first relay control circuit includes a first switch module and a first relay module, and the second relay control circuit includes a second switch module and a second relay module; wherein, The input terminal of the first switch module is connected to the first signal output terminal of the main controller, and the output terminal is connected to the coil contact of the first relay module. The normally closed contact of the first relay module is connected to the negative input voltage, and the normally open contact is connected to the positive input voltage. The output terminal of the first relay module is connected to the positive power supply line. The input terminal of the second switch module is connected to the second signal output terminal of the main controller, and the output terminal is connected to the coil contact of the second relay module. The normally closed contact of the second relay module is connected to the negative input voltage, and the normally open contact is connected to the positive input voltage. The output terminal of the second relay module is connected to the negative power supply line.
[0010] Preferably, the relay switching circuit further includes a first freewheeling diode, a second freewheeling diode, a first transient suppression diode, and a second transient suppression diode; wherein, The first freewheeling diode is connected in parallel with the coil of the first relay module, and the second freewheeling diode is connected in parallel with the coil of the second relay module. The first freewheeling diode and the second freewheeling diode are used to provide a discharge path for the current in the coil and clamp its voltage at a preset voltage. The anode of the first transient suppression diode is connected to the normally closed contacts of the two relay modules, and the cathode is connected to the normally open contacts of the two relay modules; the anode of the second transient suppression diode is connected to the output terminal of the second relay module, and the cathode is connected to the output terminal of the first relay module.
[0011] Preferably, the signal detection circuit includes a first voltage divider sampling branch and a second voltage divider sampling branch; wherein, The input terminal of the first voltage divider sampling circuit is connected to the second terminal of the negative power supply line, and the output terminal is connected to the first signal receiving terminal of the slave controller; the input terminal of the second voltage divider sampling circuit is connected to the second terminal of the positive power supply line, and the output terminal is connected to the second signal receiving terminal of the slave controller. The controller is used to identify the level status of the communication signals output by the two signal receiving terminals, and select the signal receiving terminal with a low level status to receive the communication data from the motherboard.
[0012] Preferably, the signal detection circuit further includes a filtering circuit; wherein, The input terminal of the filter circuit is connected to the output terminal of the rectifier bridge circuit, and the output terminal is connected to the motor, for filtering out noise from the electrical signal output by the rectifier bridge circuit.
[0013] Secondly, this application provides a control method for controlling the forward and reverse power supply and communication of a power source, applied to the control system for controlling the forward and reverse power supply and communication of a power source as described in any of the above-mentioned applications, the method comprising: On the motherboard, the main controller controls the on / off state of the relay to switch the power supply polarity of the two-core bus to form a positive power supply state or a reverse power supply state, and encodes and outputs the communication data by controlling the duration of the relay conduction. On the driver board, a non-polarity power supply is achieved through a rectifier bridge circuit. The signal detection circuit collects the level signals of the two-core bus. The controller identifies the power supply status of the two-core bus based on the level signals, selects the corresponding signal receiving terminal to receive the communication data based on the power supply status, and executes the corresponding control operation.
[0014] Thirdly, this application provides an electric device, including a host computer, a drive motor, and a control system for controlling forward and reverse power supply and communication as described in any of the preceding claims; wherein... The host computer is connected to the main controller in the motherboard, and the drive motor is connected to the slave controller of the drive board; The main controller is configured to receive control commands from the host computer and send communication data to the slave controller according to the control commands; the slave controller is configured to control the corresponding drive motor to rotate forward, reverse, or stop according to the received communication data.
[0015] The control system, method, and electric device for controlling the forward and reverse power supply and communication provided in this application have at least the following technical advantages: The control system of this application is connected via a two-core bus between the motherboard and the driver board. With the help of the relay switching circuit of the motherboard and the coordinated control of the main controller, it not only realizes the flexible switching of the polarity of the two-core bus power supply to meet the forward and reverse operation requirements of the electric device, but also completes the communication data encoding output by controlling the conduction duration of the relay switching circuit, eliminating the need for additional communication lines, greatly simplifying the wiring structure and reducing construction and material costs. The rectifier bridge circuit of the driver board can convert the forward and reverse power supply of the two-core bus into DC power with constant polarity, realizing polarity-free wiring and avoiding equipment failure caused by incorrect positive and negative connections during construction, thus improving construction efficiency and convenience. At the same time, the signal detection circuit works with the slave controller to accurately collect and identify the communication data transmitted by the motherboard, enabling the slave controller to perform individual control, group control, or parameter configuration operations according to the received instructions. This breaks through the limitation of traditional two-core wire solutions that can only switch on and off in full. Moreover, the overall structure is simple and the control logic is clear. While ensuring power supply stability and communication reliability, it also has strong environmental adaptability and practical value.
[0016] Details of one or more embodiments of this application are set forth in the following drawings and description to make other features, objects and advantages of this application more readily apparent. Attached Figure Description
[0017] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings: Figure 1 This is a structural block diagram of an existing electric actuator control system; Figure 2 This is a structural block diagram of a control system for controlling forward and reverse power supply and communication in one embodiment of this application; Figure 3 This is a circuit diagram of a relay switching circuit in one embodiment of this application; Figure 4 This is a schematic diagram of the control waveform in one embodiment of this application; Figure 5 This is a waveform diagram illustrating the control of power supply and communication in one embodiment of this application; Figure 6 This is a circuit schematic diagram of the rectifier bridge circuit and the signal detection circuit in one embodiment of this application; Figure 7 This is a structural schematic diagram of a fire-fighting electric window opener in one embodiment of this application. Detailed Implementation
[0018] To make the objectives, technical solutions, and advantages of this application clearer, the application is described and illustrated below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application. All other embodiments obtained by those skilled in the art based on the embodiments provided in this application without inventive effort are within the scope of protection of this application.
[0019] Obviously, the accompanying drawings described below are merely some examples or embodiments of this application. Those skilled in the art can apply this application to other similar scenarios based on these drawings without any inventive effort. Furthermore, it is understood that although the efforts made in this development process may be complex and lengthy, for those skilled in the art related to the content disclosed in this application, any changes to design, manufacturing, or production based on the technical content disclosed in this application are merely conventional technical means and should not be construed as insufficient disclosure of the content of this application.
[0020] In this application, the reference to "embodiment" means that a specific feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment that is mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described in this application may be combined with other embodiments without conflict.
[0021] Unless otherwise defined, the technical or scientific terms used in this application shall have the ordinary meaning understood by one of ordinary skill in the art to which this application pertains. The terms “a,” “an,” “an,” “the,” and similar words used in this application do not indicate quantity limitation and may indicate singular or plural. The terms “comprising,” “including,” “having,” and any variations thereof used in this application are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or device that includes a series of steps or modules (units) is not limited to the listed steps or units, but may also include steps or units not listed, or may include other steps or units inherent to these processes, methods, products, or devices. The terms “connected,” “linked,” “coupled,” and similar words used in this application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. “Multiple” used in this application refers to two or more. “And / or” describes the relationship between related objects, indicating that three relationships may exist; for example, “A and / or B” can represent: A alone, A and B simultaneously, and B alone. The character " / " generally indicates that the preceding and following objects are in an "or" relationship. The terms "first," "second," and "third" used in this application are merely to distinguish similar objects and do not represent a specific ordering of the objects.
[0022] Currently, existing electric actuator control systems, refer to Figure 1 The project only uses two-core wires: one for positive power (solid red line in the diagram) and one for negative power (solid black line in the diagram). The mainboard controls the switch to output the positive and negative bus signals to power the motor drive board. The motor drive board then determines whether the motor rotates forward or backward by recognizing the direction of the power supply. However, this existing method can only achieve full opening or full closing; it cannot control the opening or closing of a single window opener or multiple window openers. Furthermore, it cannot control the parameters of the drive board on-site, such as stall current setting and operating mode setting, through the mainboard. It also lacks polarity, as there is no distinction between positive and negative wires, making wiring inconvenient for workers.
[0023] Based on the above, embodiments of this application provide a control system, method, and electric device for controlling forward and reverse power supply and communication.
[0024] In a first aspect, embodiments of this application provide a control system based on relay-controlled forward and reverse power supply and communication. Figure 2 This is a structural block diagram of the control system of this application, specifically as follows: Figure 2 As shown, the control system in this embodiment includes a main board and N driver boards (N is a positive integer greater than 1). In this embodiment, the main board and the driver boards are connected via a two-core bus containing a positive power line and a negative power line. The main board includes a power port DC+ / DC- and a first bus port BUS1+ / BUS1-. The driver board includes a second bus port BUS2+ / BUS2- and a motor + / - port. The first end of the positive power line is connected to the BUS1+ port of the main control board, and the second end is connected to the BUS2+ port of the driver board. The second end of the negative power line is connected to the BUS1- port of the main control board and the second end is connected to the BUS2- port of the driver board. The main board is connected to the power supply via the power port DC+ / DC-, and the driver boards are connected to the motors that control the actions via the motor + / - ports.
[0025] In this embodiment, the motherboard includes a relay switching circuit and a main controller. The input of the relay switching circuit is connected to the main controller, and its output is connected to the first terminal BUS1+ / BUS1- of the two-pin bus. That is, the relay switching circuit is connected to the driver board via the two-pin bus. The main controller controls the on / off state of the relay switching circuit to switch the power supply polarity of the two-pin bus to form a positive power supply state or a reverse power supply state. It also controls the conduction duration of the relay switching circuit to encode and output communication data.
[0026] The driver board includes a rectifier bridge circuit, a signal detection circuit, and a slave controller. The input terminal of the rectifier bridge circuit is connected to the second terminal BUS2+ / BUS2- of the two-core bus, and its output terminal is connected to the actuator of the driven electric device, such as a motor, via the motor's + / - terminal, to supply constant polarity DC power to the actuator and power the driver board. The input terminal of the signal detection circuit is connected to the second terminal BUS2+ / BUS2- of the two-core bus, and its output terminal is connected to the slave controller. Specifically, the first input terminal of the signal detection circuit is connected to the positive power line, and the first output terminal is connected to the first signal receiver of the slave controller. The second input terminal of the signal detection circuit is connected to the negative power line, and the second output terminal is connected to the second signal receiver of the slave controller, used to acquire the level signal of the two-core bus. The slave controller is used to identify the power supply status of the two-core bus based on the level signal, select either the first signal receiver or the second signal receiver to receive the communication data based on the power supply status, and execute corresponding control operations.
[0027] In a preferred embodiment, the relay switching circuit includes a first relay control circuit and a second relay control circuit. The input of the first relay control circuit is connected to the first signal output terminal (i.e., the first signal output I / O port) of the main controller, and its output terminal is connected to the first terminal of the positive power supply line. The input of the second relay control circuit is connected to the second signal output terminal of the main controller, and its output terminal is connected to the first terminal of the negative power supply line. In this embodiment, the main controller is configured to control the on / off timing of the first and second relay control circuits to generate a first power supply waveform on the positive power supply line and a second power supply waveform on the negative power supply line. The pulse widths of the first and second power supply waveforms are different, and their high-level periods do not overlap. The high-level period of the first power supply waveform is a positive power supply state, used to provide electrical energy. The high-level period of the second power supply waveform is a reverse power supply state, and its duration is modulated to represent communication data bits. More specifically, the first relay control circuit of this embodiment includes a first switch module and a first relay module, and the second relay control circuit includes a second switch module and a second relay module. The input terminal of the first relay control circuit is connected to the first signal output I / O port of the main controller, and the output terminal is connected to the coil contact of the first relay module. The normally closed contact of the first relay module is connected to a negative input voltage, and the normally open contact is connected to a positive input voltage. The output terminal of the first relay module is connected to the positive power supply line. The input terminal of the second relay control module is connected to the second signal output I / O port of the main controller, and the output terminal is connected to the coil contact of the second relay module. The normally closed contact of the second relay module is connected to a negative input voltage, and the normally open contact is connected to a positive input voltage. The output terminal of the second relay module is connected to the negative power supply line.
[0028] In the relay switching circuit of this embodiment, during signal control, the pulse width of the second power supply waveform represents binary 0 when it is the first duration, and represents binary 1 when it is the second duration; wherein the first duration and the second duration are different. Furthermore, before sending the communication data bits, a frame header signal consisting of a forward power supply state and a reverse power supply state of a specific duration is sent for communication synchronization.
[0029] In a preferred embodiment, reference Figure 3The first relay control circuit includes resistors R17 and R18 and a first switching transistor Q1, and the first relay module includes relay K1. The second relay control circuit includes resistors R11 and R12 and a second switching transistor Q2, and the second relay module includes relay K2. Specifically, pin 1 of the relay is a normally closed contact, pin 2 is a normally open contact, pins 3 and 4 are coil contacts (an inductor is located between pins 3 and 4), and contacts 5 and 6 are the output terminals. The relay switching circuit also includes a first freewheeling diode D1, a second freewheeling diode D2, a first transient suppression diode TVS1, and a second transient suppression diode TVS2.
[0030] Among them, the first end of resistor R17 is connected to the first signal output IO port RELAY_POSCTRL of the main controller, and the second end of resistor R17 is connected to the base of the first switching transistor Q1. The emitter of the first switching transistor Q1 is grounded, and the collector is connected to pin 4 of the first relay K1. Resistor R18 is connected between the base and emitter of the first transistor Q1. The first freewheeling diode D1 is connected in parallel with the inductor coil of the first relay K1. The cathode of the first freewheeling diode D1 and pin 3 of the first relay are connected to the +24V power supply, and the anode and pin 4 of the first relay are connected to the collector of the first switching transistor Q1. Pins 1 and 2 of the first relay are connected to plug-in J1, which is connected to an external power supply (such as DC24 input). Pin 1 is connected to the negative terminal VIN- of the power supply, and pin 2 is connected to the positive terminal VIN+. Pins 5 and 6 of the first relay K1 are connected to plug-in J2. Plug-in J2 is used to connect to the driver board and output communication signals. More specifically, pins 5 and 6 of the first relay K1 are connected to the signal output terminal of the first relay switching module, which is connected to the BUS1+ of the main board (i.e., Figure 3 (BUS+ in the middle).
[0031] The first end of resistor R11 is connected to the second signal output IO port RELAY_NEGCTRL of the main controller. The second end of resistor R11 is connected to the base of the second switching transistor Q2. The emitter of the second switching transistor Q2 is grounded, and the collector is connected to pin 4 of the second relay K2. Resistor R12 is connected between the base and emitter of the second transistor Q2. The second freewheeling diode D2 is connected in parallel with the inductor coil of the second relay K2. The cathode of the second freewheeling diode D2 and pin 3 of the second relay are connected to the +24V power supply, and the anode and pin 4 of the second relay are connected to the collector of the second switching transistor Q2. Pins 1 and 2 of the second relay are connected to plug-in J1, where pin 1 is connected to the negative power supply VIN- and pin 2 is connected to the positive power supply VIN+. Pins 5 and 6 of the second relay K2 are connected to plug-in J2. Pins 5 and 6 of the first relay K1 are connected to the signal output terminal of the second relay switching module, which is connected to BUS1- on the main board (i.e., Figure 3 (in BUS-).
[0032] In this embodiment, the first freewheeling diode and the second freewheeling diode are used to provide a discharge path for the current in the coil and clamp its voltage at a preset voltage; the positive terminal of the first transient suppression diode TVS1 is connected to the normally closed contact (pin 1) of the two relays, and the negative terminal is connected to the normally open contact (pin 2) of the two relays; the positive terminal of the second transient suppression diode TVS2 is connected to the output terminal of the second relay module (i.e., pins 5 / 6 of the second relay K2), and the negative terminal is connected to the output terminal of the first relay module (i.e., pins 5 / 6 of the first relay K1).
[0033] In this embodiment, transistors Q1 and Q2 control the coil of the relay to conduct, thereby controlling the switching of contacts 5 and 6 and contact with contact 2, realizing loop control of the circuit; resistors R17 / R11 mainly serve as current limiters to reduce the power consumption of transistors Q1 / Q2; resistors R18 and R12 respectively ensure that transistors Q1 / Q2 are reliably cut off or operate stably in static mode; diodes D1 / D2 provide reverse freewheeling current, providing a discharge path for the current in the relay coil when the transistors switch from conduction to turn-off, and clamping its voltage at +24V; TVS transistors TVS1 / TVS2 mainly prevent overvoltage pulses from occurring in the circuit, protecting the circuit.
[0034] During motherboard operation, the I / O ports of the main controller (i.e., the first microcontroller), RELAY_POSCTRL and RELAY_NEGCTRL, primarily control transistors Q1 / Q2 by outputting high and low levels. Plug-in J1 connects to the DC24 input, with VIN+ being +24V and VIN- being GND (ground); plug-in J2 connects to the signal outputs BUS+ / BUS-.
[0035] When the signal output of plug-in J1 is to be BUS+=+24V and BUS-=0V, RELAY_POSCTRL outputs a high level, Q1 conducts, the coil of relay K1 conducts, and relay K1 is energized. Contacts 5 and 6 of relay K1 switch to contact contact 2. Since contact 2 is connected to +24V, contacts 5 and 6 of relay K1 also become +24V. Since BUS+ is connected to contacts 5 and 6 of relay K1, the BUS+ output is +24V. When RELAY_NEGCTRL outputs a low level, Q2 is cut off, the coil of relay K2 is cut off, and relay K2 is not energized. Contacts 5 and 6 of relay K2 switch to contact contact 1. Since contact 1 is connected to GND, contacts 5 and 6 of relay K2 also become GND. Since BUS- is connected to contacts 5 and 6 of relay K2, the BUS- output is 0V. At this time, the signal output is BUS+=24V and BUS-=0V.
[0036] To achieve the signal output of plug-in J1 as BUS+=0V and BUS-=+24V, RELAY_POSCTRL outputs a low level, Q1 is cut off, the coil of relay K1 is not conducting, the relay is not energized, and contacts 5 and 6 of the relay are switched to contact 1. Since contact 1 is connected to GND, contacts 5 and 6 of the relay also become GND. BUS+ is connected to contacts 5 and 6 of the relay, so the BUS+ output is GND. When RELAY_NEGCTRL outputs a high level, Q2 conducts, the coil of relay K2 conducts, the relay is energized, and contacts 5 and 6 of the relay are switched to contact 2. Since contact 2 is connected to +24V, contacts 5 and 6 of the relay also become +24V. BUS- is connected to contacts 5 and 6 of the relay, so the BUS- output is +24V. At this time, the signal output is BUS+=24V and BUS-=0V.
[0037] To achieve waveform output, the duration of the RELAY_POSCTRL and RELAY_NEGCTRL output signals can be controlled. For example, to maintain a BUS+=+24V and BUS-=0V signal for 50ms, simply control the RELAY_POSCTRL output to a high level and the RELAY_NEGCTRL output to a low level for 50ms. Similarly, to maintain a BUS+=0V and BUS-=+24V signal for 50ms, refer to the waveform diagram for the output signal. Figure 4 That is, in this embodiment, the pulse width of the output waveform is achieved by controlling the duration of the I / O port.
[0038] In this embodiment, the two waveforms output by BUS+ and BUS- need to alternate, and the high levels of the BUS+ and BUS- output waveforms cannot overlap. A dead time is required, which is determined based on the relay switching time. This ensures that they alternate in the circuit; otherwise, a short circuit will occur. Furthermore, in this embodiment, the BUS+ output waveform is primarily used for transmitting electrical energy, while the BUS- output waveform can be used for both electrical energy and signal transmission. That is, the high levels of both BUS+ and BUS- output waveforms can supply power, thereby ensuring maximum power supply during modulation.
[0039] In this embodiment, during signal transmission, the pulse width of the high level is defined, for example, a pulse width of 15ms represents bit 0 and a pulse width of 30ms represents bit 1, thereby enabling data transmission and controlling the waveform reference. Figure 5In this waveform, the purple waveform represents the forward power supply waveform, and the yellow waveform represents the reverse power supply waveform. The purple waveform provides forward power supply, and the yellow waveform provides reverse power supply and communication data. The frame beginning of the yellow waveform is a 50ms high level, followed by the first byte A5. The main communication data follows the first byte, such as which devices need to be turned on or off.
[0040] In one embodiment, the circuit schematic of the rectifier bridge circuit and the signal detection circuit is referenced. Figure 6 The rectifier bridge circuit includes rectifier diodes D3, D4, D5, and D6. The anodes of D3 and D5 are grounded, and the cathodes of D4 and D6 serve as the positive output terminal V+, supplying power to the motor. The cathode of D3 and the anode of D4 are connected to the motherboard's BUS1+ (i.e., connected to...) via the positive power line. Figure 3 In the BUS+ section, the cathode of D5 and the anode of D6 are connected to the motherboard's BUS1- (i.e., connected to the positive power line) via the positive power cable. Figure 3 (BUS-). Four diodes D3, D4, D5, and D6 form a rectifier bridge. Regardless of whether the bus input terminals BUS+ and BUS- are positive or negative, the output is always positive through the four diodes. The advantage of this power supply modulation in this embodiment is that the rectifier bridge can ensure a continuous power supply to the driver board, ensuring that the driver board always has power.
[0041] The signal detection circuit in this embodiment includes a first voltage divider sampling branch, a second voltage divider sampling branch, and a filtering circuit. The input of the first voltage divider sampling circuit is connected to the second end of the negative power supply line, and its output is connected to the first signal receiving end of the slave controller, i.e., the first signal receiving I / O port. The input of the second voltage divider sampling circuit is connected to the second end of the positive power supply line, and its output is connected to the second signal receiving end of the slave controller, i.e., the second signal receiving I / O port. The slave controller is used to identify the level state of the communication signals output from the two signal receiving I / O ports, and selects the signal receiving I / O port with a low level to receive communication data from the motherboard.
[0042] Continue to refer to Figure 6The first voltage divider sampling branch includes resistors R3 and R4 connected in series, and the second voltage divider sampling branch includes resistors R1 and R2 connected in series. Resistors R3 and R4 are connected in series between the BUS+ terminal and the ground terminal, and the connection point of resistors R3 and R4 is connected to the first signal receiving IO port FZ_TEST from the controller. Resistors R1 and R2 are connected in series between the BUS- terminal and the ground terminal, and the connection point of resistors R1 and R2 is connected to the second signal receiving IO port ZF_TEST from the controller. In this embodiment, resistors R1, R2, R3, and R4 mainly function as voltage dividers. The bus voltage is divided by R1 and R2, or R3 and R4, so that the voltage across R2 / R4 is between 2.5V and 5V. ZF_TEST and FZ_TEST are responsible for receiving signals output from the BUS+ / - bus ports.
[0043] In this embodiment, when the bus port BUS+ / - has no output data, the low-level end of the bus is identified and used as the I / O port for receiving communication data. Specifically, after the wiring is connected, the controller I / O ports ZF_TEST and FZ_TEST can identify which side of the bus is low. When BUS- is low, ZF_TEST is responsible for receiving bus signals, and when BUS+ is low, FZ_TEST is responsible for receiving bus signals. This allows for wiring without reversibility, making it convenient for workers to install.
[0044] In this embodiment, the driver board performs real-time detection of the signals received from ZF_TEST and FZ_TEST via the controller's I / O port to ensure accurate reception of the relay modulation signal. The communication logic definition in this embodiment is as follows: When the motherboard sends data, it uses forward power supply, reverse power supply, and data transmission because the driver board is configured to detect high-level signals as valid. Frame start relay control: forward power supply 50ms, reverse power supply 50ms; Sending a "0" or "1" bit controls the relay: a "0" bit is sent after 30ms of forward power supply and 15ms of reverse power supply, and a "1" bit is sent after 30ms of forward power supply and 30ms of reverse power supply.
[0045] In a preferred embodiment, the signal detection circuit further includes a filtering circuit; wherein the input terminal of the filtering circuit is connected to the output terminal of the rectifier bridge circuit, and the output terminal is connected to the motor, for filtering noise from the electrical signal output by the rectifier bridge circuit. (Continue to refer to...) Figure 6 The filter circuit includes an electrolytic capacitor E1, a first surface-mount capacitor C1, and a second surface-mount capacitor C2 connected in parallel. The electrolytic capacitor E1 is mainly used for energy storage and low-frequency filtering, while the surface-mount capacitors C1 and C2 are mainly used for filtering out mid-frequency and high-frequency noise.
[0046] In summary, the control system for forward and reverse power supply and communication provided in this application, through the two-core bus connection between the motherboard and the driver board, and with the collaborative control of the motherboard relay switching circuit and the main controller, not only achieves flexible switching of the polarity of the two-core bus power supply to meet the forward and reverse operation requirements of the electric device, but also completes the communication data encoding output by controlling the conduction duration of the relay switching circuit, eliminating the need for additional communication lines, greatly simplifying the wiring structure, and reducing construction and material costs. The rectifier bridge circuit of the driver board can uniformly convert the forward and reverse power supply of the two-core bus into DC power with constant polarity, realizing polarity-free wiring, avoiding equipment failures caused by incorrect positive and negative connections during construction, and improving construction efficiency and convenience. At the same time, the signal detection circuit, in conjunction with the slave controller, can accurately collect and identify the communication data transmitted by the motherboard, enabling the slave controller to perform individual control, group control, or parameter configuration operations according to the received instructions, breaking through the limitation of traditional two-core wire solutions that can only switch on and off in full. Moreover, the overall structure is simple and the control logic is clear. While ensuring power supply stability and communication reliability, it also has strong environmental adaptability and practical value.
[0047] Secondly, one embodiment of this application provides a control method for controlling the forward and reverse power supply and communication of a power source, applied to a control system for controlling the forward and reverse power supply and communication of a power source as described in any of the preceding embodiments. The method includes: On the motherboard, the main controller controls the on / off state of the relay to switch the power supply polarity of the two-core bus to form a positive power supply state or a reverse power supply state, and encodes and outputs the communication data by controlling the duration of the relay conduction. On the driver board, a non-polarity power supply is achieved through a rectifier bridge circuit. The signal detection circuit collects the level signals of the two-core bus. The controller identifies the power supply status of the two-core bus based on the level signals, selects the corresponding signal receiving terminal to receive the communication data based on the power supply status, and executes the corresponding control operation.
[0048] It should be noted that the control method based on relay control power supply for forward and reverse power supply and communication provided in this embodiment is applied to the above system implementation method, and will not be repeated here as it has already been described.
[0049] Thirdly, one embodiment of this application provides an electric device, including a host computer, a drive motor, and a control system based on relay-controlled forward and reverse power supply and communication as described in any of the preceding embodiments.
[0050] The host computer is connected to the main controller in the motherboard, and the drive motor is connected to the slave controller of the drive board. The main controller is configured to receive control commands from the host computer and send communication data to the slave controller according to the control commands. The slave controller is configured to control the corresponding drive motor to rotate forward, reverse, or stop according to the received communication data.
[0051] For specific references Figure 7 Taking a fire-fighting electric window opener as an example, the main board is installed in the control box, and the drive board is installed in the drive unit. In the diagram, the solid lines represent power lines (i.e., two-core buses), and the dashed lines represent linkage lines. The control box is connected to the drive units of multiple windows via the power lines. The control box is also connected to the power supply and the host computer. In a preferred embodiment, the slave controller in the drive board is also connected to the control panel, or it communicates with the remote control via a wireless communication chip. Users can also issue commands to open or close windows via the remote control and control panel.
[0052] It should be noted that the fire-fighting electric window opener provided in this embodiment includes the above-described system implementation method, and will not be repeated hereafter.
[0053] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0054] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.
Claims
1. A control system for controlling forward and reverse power supply and communication, characterized in that, It includes a motherboard and at least one driver board, wherein the motherboard and the driver board are connected via a two-core bus comprising a positive power line and a negative power line; wherein, The motherboard includes: The relay switching circuit has its input end connected to the main controller and its output end connected to the driver board via the two-core bus. The main controller is used to switch the power supply polarity of the two-core bus by controlling the on / off state of the relay switching circuit to form a positive power supply state or a reverse power supply state, and to encode and output communication data by controlling the conduction duration of the relay switching circuit. The driver board includes: The rectifier bridge circuit has its input end connected to the two-core bus and its output end connected to the driven motor, and is used to output DC power with constant polarity to the motor. The signal detection circuit has a first input terminal connected to the positive power line and a first output terminal connected to the first signal received from the controller, and a second input terminal connected to the negative power line and a second output terminal connected to the second signal received from the controller, used to acquire the level signal of the two-core bus. The controller is used to identify the power supply status of the two-core bus based on the level signal, select a first signal receiving end or a second signal receiving end to receive the communication data based on the power supply status, and perform corresponding control operations.
2. The system according to claim 1, characterized in that, The relay switching circuit includes a first relay control circuit and a second relay control circuit; the input of the first relay control circuit is connected to the first signal output terminal of the main controller, and its output terminal is connected to the first terminal of the positive power supply line; the input of the second relay control circuit is connected to the second signal output terminal of the main controller, and its output terminal is connected to the first terminal of the negative power supply line. The main controller is configured to generate a first power supply waveform on the positive power line and a second power supply waveform on the negative power line by controlling the on / off timing of the first relay control circuit and the second relay control circuit. The pulse widths of the first power supply waveform and the second power supply waveform are different and do not overlap during the high level period. The high-level period of the first power supply waveform is a positive power supply state, used to provide electrical energy; the high-level period of the second power supply waveform is a reverse power supply state, and its duration is modulated to represent communication data bits.
3. The system according to claim 2, characterized in that, The encoding method for the communication data bits is as follows: The pulse width of the second power supply waveform is equal to the first duration, representing binary 0, and the pulse width of the second power supply waveform is equal to the second duration, representing binary 1; wherein the first duration and the second duration are different.
4. The system according to claim 2, characterized in that, Before sending the communication data bits, a frame header signal consisting of a forward power supply state and a reverse power supply state of a specific duration is sent for communication synchronization.
5. The system according to claim 2, characterized in that, The first relay control circuit includes a first switch module and a first relay module, and the second relay control circuit includes a second switch module and a second relay module; wherein, The input terminal of the first switch module is connected to the first signal output terminal of the main controller, and the output terminal is connected to the coil contact of the first relay module. The normally closed contact of the first relay module is connected to the negative input voltage, and the normally open contact is connected to the positive input voltage. The output terminal of the first relay module is connected to the positive power supply line. The input terminal of the second switch module is connected to the second signal output terminal of the main controller, and the output terminal is connected to the coil contact of the second relay module. The normally closed contact of the second relay module is connected to the negative input voltage, and the normally open contact is connected to the positive input voltage. The output terminal of the second relay module is connected to the negative power supply line.
6. The system according to claim 5, characterized in that, The relay switching circuit further includes a first freewheeling diode, a second freewheeling diode, a first transient suppression diode, and a second transient suppression diode; wherein... The first freewheeling diode is connected in parallel with the coil of the first relay module, and the second freewheeling diode is connected in parallel with the coil of the second relay module. The first freewheeling diode and the second freewheeling diode are used to provide a discharge path for the current in the coil and clamp its voltage at a preset voltage. The anode of the first transient suppression diode is connected to the normally closed contacts of the two relay modules, and the cathode is connected to the normally open contacts of the two relay modules; the anode of the second transient suppression diode is connected to the output terminal of the second relay module, and the cathode is connected to the output terminal of the first relay module.
7. The system according to claim 2, characterized in that, The signal detection circuit includes a first voltage divider sampling branch and a second voltage divider sampling branch; wherein... The input terminal of the first voltage divider sampling circuit is connected to the second terminal of the negative power supply line, and the output terminal is connected to the first signal receiving terminal of the slave controller; the input terminal of the second voltage divider sampling circuit is connected to the second terminal of the positive power supply line, and the output terminal is connected to the second signal receiving terminal of the slave controller. The controller is used to identify the level status of the communication signals output by the two signal receiving terminals, and select the signal receiving terminal with a low level status to receive the communication data from the motherboard.
8. The system according to claim 7, characterized in that, The signal detection circuit further includes a filtering circuit; wherein... The input terminal of the filter circuit is connected to the output terminal of the rectifier bridge circuit, and the output terminal is connected to the motor, for filtering out noise from the electrical signal output by the rectifier bridge circuit.
9. A control method for controlling forward and reverse power supply and communication, applied to a control system for controlling forward and reverse power supply and communication as described in any one of claims 1-8, characterized in that, The method includes: On the motherboard, the main controller controls the on / off state of the relay to switch the power supply polarity of the two-core bus to form a positive power supply state or a reverse power supply state, and encodes and outputs the communication data by controlling the duration of the relay conduction. On the driver board, a non-polarity power supply is achieved through a rectifier bridge circuit. The signal detection circuit collects the level signals of the two-core bus. The controller identifies the power supply status of the two-core bus based on the level signals, selects the corresponding signal receiving terminal to receive the communication data based on the power supply status, and executes the corresponding control operation.
10. An electric device, characterized in that, It includes a host computer, a drive motor, and a control system for controlling the forward and reverse power supply and communication as described in any one of claims 1-8; wherein, The host computer is connected to the main controller in the motherboard, and the drive motor is connected to the slave controller of the drive board; The main controller is configured to receive control commands from the host computer and send communication data to the slave controller according to the control commands; the slave controller is configured to control the corresponding drive motor to rotate forward, reverse, or stop according to the received communication data.