CN113391560A - Door and window control system based on bus hooking technology - Google Patents

Door and window control system based on bus hooking technology Download PDF

Info

Publication number
CN113391560A
CN113391560A CN202110740443.4A CN202110740443A CN113391560A CN 113391560 A CN113391560 A CN 113391560A CN 202110740443 A CN202110740443 A CN 202110740443A CN 113391560 A CN113391560 A CN 113391560A
Authority
CN
China
Prior art keywords
bus
door
external equipment
window motor
window
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110740443.4A
Other languages
Chinese (zh)
Inventor
刘恒锦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanchang Yunhuaqi Intelligent Technology Co ltd
Original Assignee
Nanchang Yunhuaqi Intelligent Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanchang Yunhuaqi Intelligent Technology Co ltd filed Critical Nanchang Yunhuaqi Intelligent Technology Co ltd
Priority to CN202110740443.4A priority Critical patent/CN113391560A/en
Publication of CN113391560A publication Critical patent/CN113391560A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The invention discloses a door and window control system based on a bus hanging technology, which comprises a door and window motor, a bus led out from the door and window motor, and external equipment hung on the bus through a communication adapter, wherein each external equipment is provided with an independent communication adapter; the bus comprises two data transmission lines and two power supply lines; the door and window motor continuously inspects the external equipment hung on the bus to obtain an inspection result, and updates the external equipment list. The invention realizes the classification and hanging of external equipment on the bus by arranging the bus and matching with the communication adapter classified by independent definition, thereby greatly reducing the wire consumption and the failure rate. When external equipment is needed to be added, a bus can be directly led out from a communication adapter of any original external equipment to be connected to the communication adapter of the newly added external equipment, and the newly added external equipment can be put into use after the inspection and addition of the door and window motor are completed, so that a large number of control signal lines are not needed to be identified, and the installation and use efficiency is greatly improved.

Description

Door and window control system based on bus hooking technology
Technical Field
The invention relates to the technical field of electric door and window control, in particular to a door and window control system based on a bus hanging technology.
Background
In the ecology of smart homes, the electric door and window, as an important part of home life, often needs to be connected with one or more peripherals such as an indoor microwave sensor switch, an outdoor wall switch, an entrance guard device, a smart home controller and the like, and the complicated connection relationship enables the number of leads connected to an external port by an electric door and window motor to be increased sharply, the amount of wire rods to be increased sharply, and the failure rate and the difficulty of construction and maintenance to be increased accordingly.
Disclosure of Invention
The embodiment of the invention discloses a door and window control system based on a bus hanging technology, which realizes classification hanging of various external equipment on a bus by arranging the bus and matching with communication adapters matched with the external equipment one by one in a multi-equipment environment, reduces the wiring and connecting work of lead wires in a bus arrangement mode, greatly reduces the wire consumption and the construction and maintenance difficulty, and reduces the fault occurrence rate due to the simple arrangement characteristic of bus hanging. When external devices such as switch accessories are required to be added, a four-wire bus can be directly led out from a communication adapter of any original external device and connected to an independent communication adapter of the newly added external device, the newly added external device is patrolled and examined by a door and window motor and added, and then the newly added external device can be put into use, so that various control signal wires are not required to be identified, and the installation and use efficiency is greatly improved.
The embodiment of the invention discloses a door and window control system based on a bus hanging technology, which comprises:
the door and window motor, the bus that is drawn forth from the said door and window motor, and, hang the external device on the said bus through the communication adapter, every said external device possesses the independent communication adapter;
the bus comprises a communication A line and a communication B line for transmitting bus data, and a power supply positive line and a power supply negative line for supplying power to the external equipment;
the door and window motor patrols the bus to obtain an inspection result;
and the door and window motor updates an external device list based on the inspection result.
Preferably, the data format of the bus data is frame data, and the frame data includes a frame header, a data length, a data stream direction, a target address, a self running state, a function code, an additional variable length data block and a check code;
when the self address points to the door and window motor, the data flow direction is that the door and window motor flows to the external equipment corresponding to the target address, or when the self address points to any external equipment, the data flow direction is that any external equipment flows to the door and window motor;
when the self address points to the door and window motor and the target address is 0, the bus data is a broadcast message, and the door and window motor transmits the broadcast message to each external device.
Preferably, sub-wires which are not longer than a preset jumper wire length are connected between the external equipment and the corresponding communication adapter;
and the interval length between two cross-over points of any two adjacent communication adapters on the bus is not less than the preset cross-over interval.
Preferably, the communication adapter comprises a main control module, a communication module, a control module and a voltage stabilizing module;
the main control module comprises a single chip microcomputer U1 and peripheral signal acquisition elements R2 and C3, the communication module comprises a communication chip U2 and bus communication protection elements R1 and R3, the control module comprises a bus branch interface JP1 and an MOS switch element Q1, and the voltage stabilizing module comprises a voltage stabilizing chip U4 and input power supply filter capacitors C6 and C7;
the single chip microcomputer U1 receives control signals input by external equipment through the peripheral signal acquisition elements R2 and C3 and converts the control signals into equipment classification data, the communication chip U2 outputs the equipment classification data to the communication B line and the communication A line connected with the bus branch interface JP1 through the bus communication protection elements R1 and R3, and the door and window motor operates according to the equipment classification data;
the voltage stabilizing chip is used for stabilizing the voltage value supplied by the bus to 5V so as to supply the main control module and the communication module to operate;
the MOS switch element Q1 is used for controlling the power supply of an external device connected to the communication adapter.
Preferably, the door and window motor is right the bus is patrolled and examined, obtains the result of patrolling and examining, includes:
in each preset polling period, the door and window motor conducts polling according to the target address of each external device in the external device list, and whether the target address is consistent with the check code corresponding to the target address is detected;
if the external equipment is consistent with the external equipment, obtaining a correct normal inspection result aiming at the detection of the external equipment;
and if the check codes are inconsistent, obtaining a correction routing inspection result for correcting the check codes of the external equipment.
Preferably, if any target address has no returned data after exceeding a preset silent period, a deletion polling result for deleting data aiming at the target address is obtained.
Preferably, at the end of each preset polling period, the door and window motor outputs a frame of scanning broadcast data aiming at the non-recording external equipment to the bus;
and receiving an adding inspection result which is returned to the door and window motor by the non-recording external equipment and contains the target address and the check code of the non-recording external equipment.
Preferably, the door and window motor is based on patrol and examine the result and update external device list, include:
in the external equipment list, the door and window motor corrects the check code of the target address of which the check code is changed due to the replacement of the external equipment based on the correction routing inspection result;
deleting external equipment information corresponding to the damaged or offline external equipment based on the deletion inspection result;
and adding and writing external equipment information corresponding to the external equipment which is accessed to the bus but is not written in the external equipment list based on the adding and routing inspection result.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
under the multi-equipment environment, the buses are arranged and the communication adapters matched with the external equipment one by one are matched, so that the classification and hanging of the external equipment on the buses are realized, the wiring and connecting work of leads is reduced by the bus arrangement mode, the wire consumption and the construction and maintenance difficulty are greatly reduced, and the fault occurrence rate is reduced due to the simple arrangement characteristic of the bus hanging. When external devices such as switch accessories are required to be added, a four-wire bus can be directly led out from a communication adapter of any original external device and connected to an independent communication adapter of the newly added external device, the newly added external device is patrolled and examined by a door and window motor and added, and then the newly added external device can be put into use, so that various control signal wires are not required to be identified, and the installation and use efficiency is greatly improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a schematic structural diagram of a door/window control system based on a bus hooking technology according to an embodiment of the present invention;
fig. 2 is a schematic circuit diagram of a communication adapter in a door and window control system based on a bus hooking technology according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first", "second", "third", "fourth", and the like in the description and the claims of the present invention are used for distinguishing different objects, and are not used for describing a specific order. The terms "comprises," "comprising," and any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The embodiment of the invention discloses a door and window control system based on a bus hanging technology, which realizes classification hanging of various external devices on a bus by arranging the bus and matching with communication adapters matched with the external devices one by one in a multi-device environment, reduces the wiring and connecting work of leads in a bus arrangement mode, greatly reduces the wire consumption and the construction and maintenance difficulty, and reduces the fault occurrence rate due to the simple arrangement characteristic of bus hanging. When external devices such as switch accessories are required to be added, a four-wire bus can be directly led out from a communication adapter of any original external device and connected to an independent communication adapter of the newly added external device, the newly added external device is patrolled and examined by a door and window motor and added, and then the newly added external device can be put into use, so that various control signal wires are not required to be identified, and the installation and use efficiency is greatly improved.
Referring to fig. 1 and 2, fig. 1 is a schematic structural diagram of a door and window control system based on a bus hanging technology according to an embodiment of the present invention; fig. 2 is a schematic circuit diagram of a communication adapter in a door and window control system based on a bus hooking technology according to an embodiment of the present invention.
As shown in fig. 1, the door and window control system based on the bus hanging technology may include:
the door and window motor, the bus that draws forth from the door and window motor to, hang the external device on the bus through the communication adapter, each external device all possesses independent communication adapter.
The bus comprises a communication A line and a communication B line for transmitting bus data, and a power supply positive line and a power supply negative line for supplying power to the external equipment;
it should be understood that the door and window motor in this embodiment may be a door and window driving motor for driving the opening/closing of the electric door, or may be a door and window driving motor for driving the opening/closing of the electric window and maintaining the opening angle; and one door and window motor can only drive single equipment, and can also be used for driving a plurality of similar equipment or different equipment. In practical application, the door and window motor comprises a door and window motor motion driving element, a door and window motor control or communication signal interface element, a door and window motor action logic comprehensive element and the like, so that the door and window motor is a complete integrated system and can independently execute actions according to bus data.
The external device mainly refers to various accessories adapted to switch signals, such as a microwave sensor switch, an access control switch, a single-key wall switch, a multi-key wall switch, a safety light machine, a wind and rain sensor switch, a miscellaneous switch (a user-defined switch) and the like, and the external device can also be data signal accessories such as an intelligent home central controller and the like (at the moment, a communication adapter needs to be customized and adjusted to a hardware interface of the intelligent home central controller to be a data A, B interface).
As an optional implementation mode, only a bus is led out from a control port of a door and window motor, the bus comprises two data lines and two power lines, each external device is hung on the bus through a communication adapter, therefore, under the scene of multiple devices such as intelligent home, a plurality of external devices can realize communication with the door and window motor by hanging the bus, the control ports of the door and window motor are not required to be respectively pulled, concise wiring is realized, the wire consumption and the construction maintenance difficulty are greatly reduced, and meanwhile, the concise bus wiring mode also reduces the failure rate in daily use.
As an optional implementation manner, sub-wires not longer than a preset jumper wire length are connected between the external device and the corresponding communication adapter; and the interval length between two cross-over points of any two adjacent communication adapters on the bus is not less than the preset cross-over interval. Specifically, the preset jumper length of the sub-line between the external equipment and the communication adapter can be limited to be 5cm, so that the standard layout is realized, the occupation ratio of the bus part in the total wire consumption is ensured to the maximum extent, the bus part is easy to observe and convenient to connect, and the adding and hanging work of the external equipment on the bus in the subsequent maintenance process is facilitated.
In this embodiment, the data format of the bus data is frame data, and the frame data includes a frame header, a data length, a data flow direction, a target address, a self running state, a function code, an additional variable length data block, and a check code.
As an alternative embodiment, different function codes correspond to different function strategies, for example, it may be assumed that the function codes stored by the door and window motor are: 0 (manufacturer reserved function, corresponding new function can be added or used for testing), 1 (obtaining running state of external equipment), 2 (scanning and adding new external equipment), 3 (configuring type of the external equipment, and wrong starting may cause wrong configuration of the type of the equipment or change of opening and closing authority of a door and window motor, so that the function is started and needs manufacturer key), 4 (power off of the external equipment) and … …. Therefore, the external equipment can be controlled in a diversified mode based on the function codes, and the specific external equipment can be scanned and controlled by matching the target address with the self address.
As an optional implementation manner, when the address of the external device is pointing to the door/window motor, the data flow direction is that the door/window motor flows to the external device corresponding to the target address, or, when the address of the external device is pointing to any external device, the data flow direction is that any external device flows to the door/window motor. Specifically, the bus data may be output from the door/window motor to the external device, and the external device may also transmit the return value or the received control command to the door/window motor through the communication adapter in the form of bus data through the bus, where the specific flow direction depends on the target address and the self address in the bus data.
As an optional implementation manner, when the self address points to the door and window motor and the target address is 0, the bus data is a broadcast message, and the door and window motor transmits the broadcast message to each external device. Specifically, when the door and window motor outputs a target address of 0 to the bus, that is, when the bus data of the target address does not exist, the bus data is a broadcast message, each external device on the bus can receive the broadcast message, and all the external devices can be patrolled and examined or uniformly controlled through the broadcast message.
In this embodiment, as shown in fig. 2, the communication adapter includes a main control module, a communication module, a control module, and a voltage stabilizing module;
the main control module comprises a single chip microcomputer U1 and peripheral signal acquisition elements R2 and C3, the communication module comprises a communication chip U2 and bus communication protection elements R1 and R3, the control module comprises a bus branch interface JP1 and an MOS switch element Q1, and the voltage stabilizing module comprises a voltage stabilizing chip U4 and input power supply filter capacitors C6 and C7;
the single chip microcomputer U1 receives a switch control signal which indicates on/off and is input by external equipment through the peripheral signal acquisition elements R2 and C3, the control signal is converted into equipment classification data, the communication chip U2 outputs the equipment classification data to a communication line B and a communication line A which are connected with the bus branch interface JP1 through the bus communication protection elements R1 and R3, and the door and window motor operates according to the equipment classification data; in this case, the amount of the solvent to be used,
the voltage stabilizing chip is used for stabilizing the voltage value supplied by the bus to 5V so as to supply the main control module and the communication module to operate;
the MOS switch element Q1 is used to control the power supply of the external device connected to the communication adapter, so that the external device can be powered off to save energy when necessary.
Therefore, the communication adapter can realize the bidirectional transmission of bus data between the door and window motor and the two ends of the external equipment under the matching of the master control module and the communication module, and the voltage stabilizing module provides stable power supply for the communication adapter. In addition, the control module can realize the power supply control of specific external equipment, for example, the external equipment which does not need to operate at present and consumes electric energy in no-load can be cut off, and the energy conservation is realized.
In this embodiment, the door and window motor patrols and examines the bus, obtains the result of patrolling and examining to based on the result of patrolling and examining update external device list.
As an optional implementation manner, in each preset polling period, the door and window motor performs polling according to the target address of each external device in the external device list, and detects whether the target address is consistent with the check code corresponding to the target address. If the external equipment is consistent with the external equipment, a correct normal inspection result aiming at the detection of the external equipment is obtained; if the check codes are inconsistent, a correction routing inspection result for correcting the check codes of the external equipment is obtained. In the external equipment list, the door and window motor corrects the check code of the target address of which the check code is changed due to the replacement of the external equipment based on the correction routing inspection result; deleting external equipment information corresponding to the damaged or offline external equipment based on the deletion inspection result; and adding and writing the external equipment information corresponding to the external equipment which is accessed to the bus but is not written into the external equipment list based on the adding and routing inspection result.
Specifically, a preset routing inspection period is set in the door and window motor according to actual requirements, an external device list is stored in the door and window motor, and external device information such as a target address and a check code corresponding to the external device hung on the bus is recorded in the external device list. Supposing that a microwave sensor switch, a single-key/multi-key wall switch, an access control switch and a wind and rain sensor switch are respectively hung on the bus, in each preset inspection cycle, the door and window motor sends broadcast information to the external equipment, the function codes in the broadcast information indicate the external equipment to return an inspection result containing the check code to the door and window motor, and the door and window motor can match and check the check code and the corresponding target address according to the check code. If the access control switch is replaced, the check code of the target address where the access control switch is obtained in the current preset inspection cycle is different from the external equipment list, and due to the fact that the inspection results are inconsistent, the correction inspection result containing the target address of the access control switch and the current check code is obtained at the moment. The door and window motor corrects the check code corresponding to the target address accordingly, so that the external device list is updated, and errors in bus data transmission are avoided.
In addition, if any target address has no return data after exceeding the preset silent period, a deletion polling result for deleting data aiming at the target address is obtained. Assuming that the switch of the weather sensor is disassembled and maintained, the door and window motor cannot obtain return data of the switch of the weather sensor during inspection, and after the preset silent period is exceeded and the return data cannot be obtained, the inspection deleting result containing the target address and the check code of the switch of the weather sensor is obtained. The door and window motor deletes information of external equipment such as target addresses and check codes corresponding to the wind and rain sensor switches accordingly, so that the external equipment list is updated, redundant invalid data are eliminated, and invalid control instructions are prevented from being sent out.
In addition, at the end of each preset polling period, the door and window motor outputs a frame of scanning broadcast data aiming at the non-recording external equipment to the bus; and receiving an adding inspection result which is returned to the door and window motor by the non-recording external equipment and contains the target address and the check code of the non-recording external equipment. It is assumed here that the weather sensor switch is repaired and re-hooked to the bus, and at this time, the target address and the check code of the weather sensor switch are deleted from the external device list, so that the external device information of the weather sensor switch needs to be added to the external device list again, and here, the door and window motor writes the external device information of the weather sensor switch in the added inspection result into the external device list, so that the external device is automatically added.
Therefore, external equipment such as a microwave sensor switch, a wall switch, an entrance guard switch, a wind and rain sensor switch and the like is defined and classified through the communication adapter, is hung on the bus, and performs association interaction of bus data at a door and window motor end.
For example, after receiving the door opening instruction, the door control switch outputs frame data indicating the door opening to the door and window motor, so that the electric door is opened, and the door control switch and the electric door are matched to complete releasing for the verifier.
In addition, the microwave sensor switch can detect the movement of the human body, so that the microwave sensor switch (door entrance) arranged outdoors and the microwave sensor switch (door exit) arranged indoors can detect the movement of the human body when a person approaches the electric door, and output frame data with a function code for indicating the opening of the electric door to a door and window motor, and the electric door is automatically opened according to the frame data without manually pressing an access control switch by a user; furthermore, the microwave sensor switch can be set to fail in a specific period/scene, for example, after a user enters the door from work, or in the late night period, the microwave sensor switch installed indoors and outdoors can be set to fail, so that the entrance guard safety is ensured, and the energy is saved; and in daytime or working hours, the switches of the microwave sensors are all activated, and the automatic access control function is recovered.
Similarly, when the weather sensor switch detects outdoor rain, the weather sensor switch outputs frame data with a function code indicating the closing of the electric window to the door and window motor, and at the moment, the door and window motor firstly acquires the self running state of the electric window, and if the self running state of the electric window indicates that the electric window is in the closed state, the electric window does not need to be driven; if the running state of the electric window indicates that the electric window is in the opening state, the electric window is driven to be closed accordingly, rainwater is prevented from splashing into a room, and the wind and rain sensor switch is matched with the electric window to achieve automatic window closing.
It should be understood that the bus hooking technology CAN be realized by communication interaction protocols such as RS485 custom protocol, CAN protocol, MODBUS protocol, and the like. In addition, the above-mentioned method for the interaction of the door control switch, the microwave sensor switch and the weather sensor switch is only proposed in this embodiment for the convenience of understanding, in practical application, the specific type, working mode or interaction mode of the external equipment is not limited, the external equipment can be the automatic microwave sensor switch and the weather sensor switch, can also be a manual door control switch, a wall single-key/multi-key button switch, a self-defined switch with a self-defined function, an intelligent home central controller for overall control of the intelligent home equipment and the like, the external equipment is only defined, classified and connected to the bus through the communication adapter, the data interaction can be realized with other door and window motors or external devices hung on the bus based on the communication interaction protocol adopted by the bus according to the actual application requirements.
In addition, in this embodiment, the bus may be a cable that is integrally laid, or a cable that is led out from a communication adapter of some external device and is connected to a communication adapter of another external device, and this part of the cable realizes data transmission and power supply functions of the bus, and thus is included as a part of the bus. In addition, in a home environment with a limited range, data transmission delay caused by bus extension is very little relative to a preset polling period and response speeds of external equipment and a door and window motor, and the operation of the door and window motor and each external equipment on the bus is not substantially influenced. Thus, in a residential environment, data transmission delay and power transmission loss due to bus add-on extension are not considered.
In conclusion, under the multi-equipment environment, the buses are distributed and matched with the communication adapters which are matched with the external equipment one by one, classification and connection of the external equipment on the buses are achieved, the wiring and connection work of leads is reduced in the bus distribution mode, the wire consumption and the construction and maintenance difficulty are greatly reduced, and the fault occurrence rate is reduced due to the simple distribution characteristic of bus connection. When external devices such as switch accessories are required to be added, a four-wire bus can be directly led out from a communication adapter of any original external device and connected to an independent communication adapter of the newly added external device, the newly added external device is patrolled and examined by a door and window motor and added, and then the newly added external device can be put into use, so that various control signal wires are not required to be identified, and the installation and use efficiency is greatly improved.

Claims (8)

1. The utility model provides a door and window control system based on bus articulates technique which characterized in that, the system includes:
the door and window motor, the bus that is drawn forth from the said door and window motor, and, hang the external device on the said bus through the communication adapter, every said external device possesses the independent communication adapter;
the bus comprises a communication A line and a communication B line for transmitting bus data, and a power supply positive line and a power supply negative line for supplying power to the external equipment;
the door and window motor patrols the bus to obtain an inspection result;
and the door and window motor updates an external device list based on the inspection result.
2. The door and window control system based on bus hanging technology as claimed in claim 1, comprising:
sub-wires which are not longer than the preset jumper wire length are connected between the external equipment and the corresponding communication adapter;
and the interval length between two cross-over points of any two adjacent communication adapters on the bus is not less than the preset cross-over interval.
3. The door and window control system based on bus hanging technology as claimed in claim 1, comprising:
the data format of the bus data is frame data, and the frame data comprises a frame header, a data length, a data flow direction, a target address, a self running state, a functional code, an additional variable-length data block and a check code;
when the self address points to the door and window motor, the data flow direction is that the door and window motor flows to the external equipment corresponding to the target address, or when the self address points to any external equipment, the data flow direction is that any external equipment flows to the door and window motor;
when the self address points to the door and window motor and the target address is 0, the bus data is a broadcast message, and the door and window motor transmits the broadcast message to each external device.
4. The door and window control system based on bus hanging technology as claimed in claim 1, comprising:
the communication adapter comprises a main control module, a communication module, a control module and a voltage stabilizing module;
the main control module comprises a single chip microcomputer U1 and peripheral signal acquisition elements R2 and C3, the communication module comprises a communication chip U2 and bus communication protection elements R1 and R3, the control module comprises a bus branch interface JP1 and an MOS switch element Q1, and the voltage stabilizing module comprises a voltage stabilizing chip U4 and input power supply filter capacitors C6 and C7;
the single chip microcomputer U1 receives switch control signals input by external equipment through the peripheral signal acquisition elements R2 and C3 and converts the control signals into equipment classification data, the communication chip U2 outputs the equipment classification data to the communication B line and the communication A line connected with the bus branch interface JP1 through the bus communication protection elements R1 and R3, and the door and window motor operates according to the equipment classification data;
the voltage stabilizing chip is used for stabilizing the voltage value supplied by the bus to 5V so as to supply the main control module and the communication module to operate;
the MOS switch element Q1 is used for controlling the power supply of an external device connected to the communication adapter.
5. The door and window control system based on bus hanging technology according to claim 1, wherein the door and window motor is used for routing inspection of the bus to obtain routing inspection results, and the system comprises:
in each preset polling period, the door and window motor conducts polling according to the target address of each external device in the external device list, and whether the target address is consistent with the check code corresponding to the target address is detected;
if the external equipment is consistent with the external equipment, obtaining a correct normal inspection result aiming at the detection of the external equipment;
and if the check codes are inconsistent, obtaining a correction routing inspection result for correcting the check codes of the external equipment.
6. The door and window control system based on bus hanging technology as claimed in claim 5, comprising:
and if any target address does not return data when exceeding a preset silent period, obtaining a deletion polling result for deleting data aiming at the target address.
7. The door and window control system based on bus hanging technology as claimed in claim 5, comprising:
at the end of each preset polling period, the door and window motor outputs a frame of scanning broadcast data aiming at the non-recording external equipment to the bus;
and receiving an adding inspection result which is returned to the door and window motor by the non-recording external equipment and contains the target address and the check code of the non-recording external equipment.
8. A door and window control system based on bus hanging technology according to any one of claims 5, 6 or 7, characterized in that the door and window motor updates an external device list based on the inspection result, including:
in the external equipment list, the door and window motor corrects the check code of the target address of which the check code is changed due to the replacement of the external equipment based on the correction routing inspection result;
deleting external equipment information corresponding to the damaged or offline external equipment based on the deletion inspection result;
and adding and writing external equipment information corresponding to the external equipment which is accessed to the bus but is not written in the external equipment list based on the adding and routing inspection result.
CN202110740443.4A 2021-06-30 2021-06-30 Door and window control system based on bus hooking technology Pending CN113391560A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110740443.4A CN113391560A (en) 2021-06-30 2021-06-30 Door and window control system based on bus hooking technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110740443.4A CN113391560A (en) 2021-06-30 2021-06-30 Door and window control system based on bus hooking technology

Publications (1)

Publication Number Publication Date
CN113391560A true CN113391560A (en) 2021-09-14

Family

ID=77624729

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110740443.4A Pending CN113391560A (en) 2021-06-30 2021-06-30 Door and window control system based on bus hooking technology

Country Status (1)

Country Link
CN (1) CN113391560A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1670647A (en) * 2004-03-19 2005-09-21 上海神力科技有限公司 Controller area network bus (CAN bus) distributed control system for fuel cell
CN101942949A (en) * 2010-09-29 2011-01-12 奇瑞汽车股份有限公司 Intelligent vehicle window control method
CN201895556U (en) * 2010-11-23 2011-07-13 奇瑞汽车股份有限公司 Automatic control system for automobile window curtain
CN102222979A (en) * 2011-05-23 2011-10-19 国网电力科学研究院 On-line monitoring device for transmission line
CN104818916A (en) * 2015-05-11 2015-08-05 齐鲁工业大学 Smart electric window group control system based on CAN bus and a method for smart electric window group control system
CN105019768A (en) * 2015-08-25 2015-11-04 广西浦北凯兴电子制品有限公司 Smart home window control system
CN205334157U (en) * 2016-01-26 2016-06-22 天津城建大学 Large -scale public building door and window automatic monitoring system
CN108111382A (en) * 2017-12-01 2018-06-01 广东高云半导体科技股份有限公司 Communicator and its communication means based on I3C buses
CN108650159A (en) * 2018-04-12 2018-10-12 佛山金皇宇机械实业有限公司 A kind of field bus communication method based on RS485 interfaces
CN111127867A (en) * 2019-10-21 2020-05-08 国网浙江临海市供电有限公司 RS485 communication adapter for electricity consumption information acquisition system and control method

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1670647A (en) * 2004-03-19 2005-09-21 上海神力科技有限公司 Controller area network bus (CAN bus) distributed control system for fuel cell
CN101942949A (en) * 2010-09-29 2011-01-12 奇瑞汽车股份有限公司 Intelligent vehicle window control method
CN201895556U (en) * 2010-11-23 2011-07-13 奇瑞汽车股份有限公司 Automatic control system for automobile window curtain
CN102222979A (en) * 2011-05-23 2011-10-19 国网电力科学研究院 On-line monitoring device for transmission line
CN104818916A (en) * 2015-05-11 2015-08-05 齐鲁工业大学 Smart electric window group control system based on CAN bus and a method for smart electric window group control system
CN105019768A (en) * 2015-08-25 2015-11-04 广西浦北凯兴电子制品有限公司 Smart home window control system
CN205334157U (en) * 2016-01-26 2016-06-22 天津城建大学 Large -scale public building door and window automatic monitoring system
CN108111382A (en) * 2017-12-01 2018-06-01 广东高云半导体科技股份有限公司 Communicator and its communication means based on I3C buses
CN108650159A (en) * 2018-04-12 2018-10-12 佛山金皇宇机械实业有限公司 A kind of field bus communication method based on RS485 interfaces
CN111127867A (en) * 2019-10-21 2020-05-08 国网浙江临海市供电有限公司 RS485 communication adapter for electricity consumption information acquisition system and control method

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
何岭松, 赖红, 黄光霞: "支持微网格的可重构测量装备模型", 现代制造工程, no. 06, pages 18 - 20 *
孙宾;王茂森;戴劲松;涂殊荣;: "基于CAN总线的家用门窗自动开关控制系统", no. 03 *
李延军;景波云;: "振弦传感器适配器设计探讨", 中国农村水利水电, no. 01, pages 36 - 38 *
白秉旭;田光兆;: "自主导航农业车辆无线总线系统设计", 中国农机化学报, no. 01, pages 308 - 311 *

Similar Documents

Publication Publication Date Title
CN101900394B (en) Building air-conditioner control system and method based on ZigBee wireless technology
CN101398682B (en) Split type or integral air conditioner cluster network centralization of management control device and method
CN103883198A (en) Intelligent window control system used for energy conservation and fire fighting
CN201652705U (en) Intelligent air-conditioning remote controller
CN106200493A (en) A kind of switching mode room thermostat
CN203879193U (en) Intelligent window control system used for energy conservation and fire fighting
CN205334157U (en) Large -scale public building door and window automatic monitoring system
CN109634331A (en) A kind of transformer substation switch room temperature humidity control system
CN211831281U (en) Wisdom gateway and wisdom street lamp control system
CN113391560A (en) Door and window control system based on bus hooking technology
CN202993458U (en) Integrated variable air volume system and air conditioning unit control cabinet
CN202837965U (en) Global-function remote control system compatible with different brands of air conditioners
CN218782530U (en) Intelligent control system for gymnasium
CN208589996U (en) Intelligent home control system based on radio network technique
CN201100726Y (en) Centralized management control device for separated or mono air conditioner cluster network
CN216387821U (en) Remote control module for power supply of network monitoring camera
CN201680554U (en) Building air-conditioner control system based on ZigBee wireless technology
CN212543440U (en) Comprehensive energy management terminal
CN106228787A (en) Wisdom Electrical Safety monitoring system and monitoring method
CN110554609A (en) Dynamic loop monitoring collector and dynamic loop monitoring collection system
CN209267270U (en) The sub-control terminal in intelligent power distribution room
CN206755495U (en) A kind of fan coil two-way communication control system
CN101614431A (en) The control circuit of air-conditioner
CN218567861U (en) Intelligent infrared air conditioner remote control device
CN111083663A (en) Building monitoring system based on bluetooth mesh network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination