CN107911273A - Communication system, communication means and the household electrical appliance of household electrical appliance - Google Patents

Communication system, communication means and the household electrical appliance of household electrical appliance Download PDF

Info

Publication number
CN107911273A
CN107911273A CN201711365364.XA CN201711365364A CN107911273A CN 107911273 A CN107911273 A CN 107911273A CN 201711365364 A CN201711365364 A CN 201711365364A CN 107911273 A CN107911273 A CN 107911273A
Authority
CN
China
Prior art keywords
module
communication interface
communication
slave
transmitting terminal
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
CN201711365364.XA
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.)
Hefei Hualing Co Ltd
Midea Group Co Ltd
Hefei Midea Refrigerator Co Ltd
Original Assignee
Hefei Hualing Co Ltd
Midea Group Co Ltd
Hefei Midea Refrigerator 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 Hefei Hualing Co Ltd, Midea Group Co Ltd, Hefei Midea Refrigerator Co Ltd filed Critical Hefei Hualing Co Ltd
Priority to CN201711365364.XA priority Critical patent/CN107911273A/en
Publication of CN107911273A publication Critical patent/CN107911273A/en
Priority to PCT/CN2018/090792 priority patent/WO2019119740A1/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • H04L12/40039Details regarding the setting of the power status of a node according to activity on the bus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40143Bus networks involving priority mechanisms
    • H04L12/4015Bus networks involving priority mechanisms by scheduling the transmission of messages at the communication node

Abstract

The invention discloses a kind of communication system of household electrical appliance, communication means and household electrical appliance, communication system includes:First communication interface of each slave module has receiving terminal and transmitting terminal;Second communication interface of host module has receiving terminal and transmitting terminal;The transmitting terminal in receiving terminal and the second communication interface in first communication interface is connected to the first bus of communication bus module, and the receiving terminal in transmitting terminal and the second communication interface in the first communication interface is connected to the second bus of communication bus module;Second communication interface is configured to sending and receiving pattern by host module when powering on, receiving terminal in corresponding first communication interface is configured to reception pattern by each slave module when powering on, and transmitting terminal is configured to high-impedance state, and corresponding transmitting terminal is configured to sending mode by each slave module after the inquiry instruction of host module transmission is successfully parsed, so as to avoid slave intermodule from producing loop current, while ensure that host module can normally receive data.

Description

Communication system, communication means and the household electrical appliance of household electrical appliance
Technical field
The present invention relates to household electrical appliance technical field, more particularly to a kind of communication system of household electrical appliance, a kind of household electric Device and a kind of communication means of household electrical appliance.
Background technology
UART (Universal Asynchronous Receiver/Transmitter, universal asynchronous receiving-transmitting transmitter) Communication is gradually widely used in because of relatively low physical layer cost, higher traffic rate and more perfect verification scheme The usage scenarios such as control, short distance interaction.UART communications are usually only used as point-to-point communication, when a system needs multiple equipment Between carry out information exchange when, bus message, such as 485, CAN etc., Huo Zhetong need to be converted information into by bus transceiver The main computer unit with multiple UART resources is crossed, respectively point-to-point connection to multiple appendent computer systems.But its there are the problem of It is that the rising of production cost can be all caused using bus transceiver or using the main computer unit of multiple UART resources.
In order to solve the problems, such as that production cost rises, correlation technique proposes a kind of communication system of the more slaves of single host, but Be, its there are the problem of be that, when two and above slave send message at the same time, host can not normally receive message, alternatively, working as When transmission data are different between slave, such as when one end transmission logic high and other end transmission logic low, easily lead Cause to produce loop current between slave, message can not be normally received by also resulting in host side.
The content of the invention
It is contemplated that one of technical problem in above-mentioned technology is solved at least to a certain extent.For this reason, the present invention One purpose is to propose a kind of communication system of household electrical appliance, slave intermodule can be avoided to produce loop current, protected at the same time Barrier host module end can normally receive data.
Second object of the present invention is to propose a kind of household electrical appliance.
Third object of the present invention is to propose a kind of communication means of household electrical appliance.
To reach above-mentioned purpose, first aspect present invention embodiment proposes a kind of communication system of household electrical appliance, including: Multiple slave modules, wherein, each slave module has the first communication interface, and first communication interface has receiving terminal And transmitting terminal;Host module, the host module have the second communication interface, and second communication interface has receiving terminal and hair Sending end;Communication bus module, the communication bus module include the first bus and the second bus, wherein, each described first is logical The transmitting terminal in receiving terminal and second communication interface in letter interface is all connected to first bus, and each described first The receiving terminal in transmitting terminal and second communication interface in communication interface is all connected to second bus;Wherein, it is described Second communication interface is configured to sending and receiving pattern by host module when powering on, and each slave module is when powering on by phase Receiving terminal in the first communication interface answered is configured to reception pattern, and the transmitting terminal in corresponding first communication interface is configured Into high-impedance state, and each slave module after the inquiry instruction that the host module sends successfully is parsed by corresponding first Transmitting terminal in communication interface is configured to sending mode, to send response data to the host module.
The communication system of the household electrical appliance proposed according to embodiments of the present invention, multiple slave moulds each slave module in the block With the first communication interface, the first communication interface has receiving terminal and a transmitting terminal, and host module has the second communication interface, and second Communication interface has receiving terminal and transmitting terminal, and communication bus module includes the first bus and the second bus, and each first communication connects The transmitting terminal in receiving terminal and the second communication interface in mouthful is all connected to the first bus, the transmission in each first communication interface Receiving terminal in end and the second communication interface is all connected to the second bus, and host module configures the second communication interface when powering on Into sending and receiving pattern, the receiving terminal in corresponding first communication interface is configured to reception pattern by each slave module when powering on, And the transmitting terminal in corresponding first communication interface is configured to high-impedance state, and each slave module is successfully parsing host module The transmitting terminal in corresponding first communication interface is configured to sending mode after the inquiry instruction of transmission, to be sent to host module Response data.Thus, the communication system of the embodiment of the present invention by the transmitting terminal in the first communication interface by being configured to high-impedance state And the transmitting terminal in the first communication interface is configured to sending mode after the inquiry instruction of host module transmission is successfully parsed, from And on the premise of production cost is not lifted, can effectively avoid slave module send response data when with other slave modules Loop current is caused, while ensures that host module can normally receive data.
In addition, the communication system for the household electrical appliance that above-described embodiment proposes according to the present invention, can also have following additional Technical characteristic:
According to one embodiment of present invention, the host module by way of timesharing asynchronous communication with it is each described from Machine module communicates.
According to one embodiment of present invention, the host module, the host module is every the first preset time to institute State the first bus and send inquiry instruction, after each slave module receives the inquiry instruction, the inquiry is instructed into Parsing go to obtain the ID in the inquiry instruction, and will be corresponding when the ID during the inquiry instructs matches with self ID Transmitting terminal in first communication interface is configured to sending mode.
According to one embodiment of present invention, each slave module sends response data to the host module and completes Afterwards, the transmitting terminal in corresponding first communication interface is reverted into high-impedance state.
According to one embodiment of present invention, each slave module is by by the hair in corresponding first communication interface Sending end is arranged to the input patterns of GPIO, to be configured to high-impedance state.
According to one embodiment of present invention, the host module is additionally operable to judge whether received in the second preset time The response data that the slave module is sent, and do not receive the response number that the slave module is sent in the second preset time According to when, judge communication failure occurs between the slave module, and carry out fault cues.
To reach above-mentioned purpose, second aspect of the present invention embodiment proposes a kind of household electrical appliance, including the family expenses The communication system of electric appliance.
The household electrical appliance proposed according to embodiments of the present invention, by the communication system of household electrical appliance, so that, do not lifting life On the premise of producing cost, it can effectively avoid causing loop current with other slave modules during slave module transmission response data, Ensure that host module can normally receive data at the same time.
To reach above-mentioned purpose, third aspect present invention embodiment proposes a kind of communication means of household electrical appliance, described The communication system of household electrical appliance includes multiple slave modules, host module and communication bus module, each slave module tool There is the first communication interface, first communication interface has receiving terminal and transmitting terminal, and there is the host module the second communication to connect Mouthful, second communication interface has receiving terminal and transmitting terminal, and the communication bus module includes the first bus and the second bus, Wherein, the transmitting terminal in the receiving terminal and second communication interface in each first communication interface is all connected to described the One bus, each the receiving terminal in the transmitting terminal and second communication interface in the communication interface of the multiple slave module is equal Second bus is connected to, the communication means comprises the following steps:The host module leads to when powering on by described second Letter interface is configured to sending and receiving pattern, and each slave module matches somebody with somebody the receiving terminal in corresponding first communication interface when powering on Reception pattern is set to, and the transmitting terminal in corresponding first communication interface is configured to high-impedance state;The host module is to described First bus sends inquiry instruction;Each slave module will after the inquiry instruction of the host module transmission is successfully parsed Transmitting terminal in corresponding first communication interface is configured to sending mode, to send response data to the host module.
The communication means of the household electrical appliance proposed according to embodiments of the present invention, host module connect the second communication when powering on Mouth is configured to sending and receiving pattern, and the receiving terminal in corresponding first communication interface is configured to receive by each slave module when powering on Pattern, and the transmitting terminal in corresponding first communication interface is configured to high-impedance state, host module sends to the first bus and inquires Instruction, each slave module is after the inquiry instruction of host module transmission is successfully parsed by the hair in corresponding first communication interface Sending end is configured to sending mode, to send response data to host module.Thus, the communication means of the embodiment of the present invention pass through by Transmitting terminal in first communication interface is configured to high-impedance state and after the inquiry instruction of host module transmission is successfully parsed by first Transmitting terminal in communication interface is configured to sending mode so that, on the premise of production cost is not lifted, can effectively avoid from Loop current is caused with other slave modules when machine sends response data, while ensures that host module can normally receive data.
In addition, the communication means for the household electrical appliance that above-described embodiment proposes according to the present invention, can also have following additional Technical characteristic:
According to one embodiment of present invention, the host module by way of timesharing asynchronous communication with it is each described from Machine module communicates.
According to one embodiment of present invention, the host module is sent every the first preset time to first bus Inquiry instruction, after each slave module receives the inquiry instruction, parses to obtain the inquiry instruction The ID in inquiry instruction is stated, and when the ID during the inquiry instructs matches with self ID by corresponding first communication interface Transmitting terminal be configured to sending mode.
According to one embodiment of present invention, each slave module sends response data to the host module and completes Afterwards, the transmitting terminal in corresponding first communication interface is reverted into high-impedance state.
According to one embodiment of present invention, each slave module is by by the hair in corresponding first communication interface Sending end is arranged to the input patterns of GPIO, to be configured to high-impedance state.
According to one embodiment of present invention, whether the host module also judges to receive in the second preset time described The response data that slave module is sent, and do not receive the response data that the slave module is sent in the second preset time When, judge communication failure occurs between the slave module, and carry out fault cues.
Brief description of the drawings
Fig. 1 is the block diagram according to the communication system of the household electrical appliance of the embodiment of the present invention;
Fig. 2 is the structure diagram according to the communication system of the household electrical appliance of the embodiment of the present invention;
Fig. 3 is the block diagram according to the household electrical appliance of the embodiment of the present invention;
Fig. 4 is the flow chart according to the communication means of the household electrical appliance of the embodiment of the present invention;
Fig. 5 be according to the flow chart of the communication means of the household electrical appliance of a specific embodiment of the invention, wherein, be applied to Host module;
Fig. 6 be according to the flow chart of the communication means of the household electrical appliance of another of the invention specific embodiment, wherein, application In slave module.
Embodiment
The embodiment of the present invention is described below in detail, the example of the embodiment is shown in the drawings, wherein from beginning to end Same or similar label represents same or similar element or has the function of same or like element.Below with reference to attached The embodiment of figure description is exemplary, it is intended to for explaining the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings the communication system of the household electrical appliance of the embodiment of the present invention, household electrical appliance and household electrical appliance are described Communication means.
Fig. 1 is the block diagram according to the communication system of the household electrical appliance of the embodiment of the present invention.As shown in Figure 1, this hair The communication system of the household electrical appliance of bright embodiment, including:Multiple slave modules 10, host module 20 and communication bus module 30.
Wherein, each slave module 10 has the first communication interface, and the first communication interface has receiving terminal RX10 and transmission Hold TX10;Host module 20 has the second communication interface, and the second communication interface has receiving terminal RX20 and transmitting terminal TX20, communication Bus module 30 includes the first bus 31 and the second bus 32, the communications of receiving terminal RX10 and second in each first communication interface Transmitting terminal TX20 in interface is all connected to the first bus 31, the communications of transmitting terminal TX10 and second in each first communication interface Receiving terminal RX20 in interface is all connected to the second bus 32;Wherein, second communication interface when powering on of host module 20 configures Into sending and receiving pattern, the receiving terminal RX10 in corresponding first communication interface is configured to receive by each slave module 10 when powering on Pattern, and the transmitting terminal TX10 in corresponding first communication interface is configured to high-impedance state, and each slave module 10 is in success The transmitting terminal TX10 in corresponding first communication interface is configured to after the inquiry instruction that parsing host module 20 is sent to send mould Formula, to send response data to host module 20.
In embodiments of the present invention, as shown in Fig. 2, multiple slave modules 10 may include the first slave module 11, second from Machine module 12 ... N slave module 1N, wherein, the receiving terminal RX11 and first in the first communication interface of the first slave module 11 Bus 31 is connected, the receiving terminal RX12 in the first communication interface of the second slave module 12 is connected with the first bus 31 ... N from Receiving terminal RX1N in the first communication interface of machine module 1N is connected with the first bus 31, the second communication interface of host module 20 In transmitting terminal TX20 be also connected with the first bus 31;Transmitting terminal TX11 in first communication interface of the first slave module 11 with Second bus 32 is connected, and the transmitting terminal TX12 in the first communication interface of the second slave module 12 is connected with the second bus 32 ... the Transmitting terminal TX1N in the first communication interface of N slave modules 1N is connected with the second bus 32, the second communication of host module 20 Receiving terminal RX20 in interface is also connected with the second bus 32.Wherein, by taking refrigerator as an example, master control borad can be used as host module 20, Aobvious control plate and refrigeration lamp control panel can be used as slave module 10.
That is, the receiving terminal RX10 and the second of host module 20 in the first communication interface of multiple slave modules 10 Transmitting terminal TX20 in communication interface is connected by the first bus 31, the transmission in the first communication interface of multiple slave modules 10 End TX10 is connected with the receiving terminal RX20 in the second communication interface of host module 20 by the second bus 32, in household electrical appliance system System is when powering on, and the second communication interface of host module 20 is configured to sending and receiving pattern, i.e. the second communication interface have at the same time transmission with Receiving terminal RX10 in corresponding first communication interface is configured to reception pattern by receive capabilities, each slave module 10, so as to In the inquiry instruction that receiving host module 20 is sent, and the transmitting terminal TX10 in corresponding first communication interface is configured to high resistant State, is impacted with keeping the port not communicate to other slaves, is sent when slave module 10 successfully parses host module 20 Inquiry instruction after, the transmitting terminal TX10 in corresponding first communication interface is configured to sending mode by slave module 10, with to Host module 20 sends response data.
According to one embodiment of present invention, each slave module 10 is by by the transmission in corresponding first communication interface End TX10 is arranged to input (input) mould of GPIO (General Purpose Input Output, universal input/output) Formula, to be configured to high-impedance state.
Thus, the communication system of the household electrical appliance of the embodiment of the present invention, by the first communication interface by slave module Transmitting terminal be configured to high-impedance state, make the transmitting terminal in the first communication interface of slave module when response data need not be sent The second bus is discharged, meanwhile, the transmitting terminal for carrying out the slave module of data response will not be to the transmitting terminal of other slave modules Impact, such as produce loop circuit, so as to ensure that host module normally receives data.
According to one embodiment of present invention, host module 20 by way of timesharing asynchronous communication with each slave module 10 communicate.
Thus, the communication system of the household electrical appliance of the embodiment of the present invention, is dispatched by data timesharing, easy to be supervised by serial ports Control equipment is monitored bus, can quickly analyze the interaction data situation of host module and slave module.
According to one embodiment of present invention, host module 20 sends to the first bus 31 every the first preset time and inquires Instruction, after each slave module 10 receives inquiry instruction, parses inquiry instruction to obtain the ID in inquiry instruction, and The transmitting terminal TX10 in corresponding first communication interface is configured to send when the ID during inquiry instructs matches with self ID Pattern.
That is, have and 10 one-to-one ID of slave module in the inquiry instruction that host module 20 is sent (identification, identity), host module 20 sends inquiry instruction every the first preset time to the first bus 31, i.e., main Machine module 20 sends inquiry instruction by the first bus 31 to slave module 10, and each slave module 10 receives inquiry instruction Afterwards, inquiry instruction is parsed to obtain the ID inquired in instruction, and judges the ID in inquiry instruction with slave module 10 certainly Whether body ID matches, if matched, slave module 10 configures the transmitting terminal TX10 in corresponding first communication interface Into sending mode, to send response data to host module 20, if it does not match, slave module 10 is without responding.
For example, host module 20 sends inquiry instruction to the first bus 31, and the first bus 31 will inquire that instruction is sent To multiple slave modules 10, the first slave module 11 is referred to after receiving inquiry instruction to inquiring that instruction is parsed with obtaining inquiry ID in order, the first slave module 11 judge whether the ID in inquiry instruction matches with self ID, if it does, then the first slave Transmitting terminal TX11 in first communication interface is configured to sending mode by module 11, to send response data to host module 20, If it does not match, sign off.
According to one embodiment of present invention, after the completion of each slave module 10 sends response data to host module 20, Transmitting terminal TX10 in corresponding first communication interface is reverted into high-impedance state.
That is, each slave module 10, when the ID during inquiry instructs matches with self ID, slave module 10 will Transmitting terminal TX10 in corresponding first communication interface is configured to sending mode, to host module 20 send response data, when return After the completion of answering data sending, then the transmitting terminal TX10 in corresponding first communication interface is recovered high-impedance state by slave module 10.
For example, host module 20 sends to the first bus 31 and askes to during the transmission inquiry instruction of the first slave module 11 Ask instruction, and sent by the first bus 31 to multiple slave modules 10, multiple slave modules 10 receive right after inquiry instructs Inquiry instruction is parsed and obtains the ID in inquiry instruction, and the first slave module 11 judges ID and self ID in inquiry instruction Match, then the transmitting terminal TX11 in the first communication interface of the first slave module 11 is configured to send by the first slave module 11 Pattern, and to host module 20 send response data, the first slave module 11 send response data after by the first communication interface Transmitting terminal TX11 be configured to high-impedance state, other slave modules 10 judge inquiry instruction in ID it is different from self ID, without Data response, host module 20 wait the first preset time to terminate after receiving the response data of the first slave module 11 transmission, And send inquiry instruction to the second slave module 12.
According to one embodiment of present invention, can after host module 20 receives the response data of the transmission of slave module 10 First preset time is reset and continues to send inquiry instruction to the first bus 31, to reduce the stand-by period.
That is, host module 20 receive after the response data of the first slave module 11 transmission can by first it is default when Between reset, and to the second slave module 12 send inquiry instruction.
According to one embodiment of present invention, host module 20 be additionally operable to judge whether to receive in the second preset time from The response data that machine module 10 is sent, and when not receiving in the second preset time the response data of the transmission of slave module 10, Judge communication failure occurs between host module 20 and slave module 10, and carry out fault cues.Wherein, the second preset time is small In the first preset time, host module 20 can send one or many inquiries to slave module 10 in the second preset time and instruct.
That is, host module 20 carries out timing after sending inquiry instruction to slave module 10, and judge timing time Whether second preset time is reached, if timing time reaches the second preset time, host module 20 judges and the slave mould Communication failure occurs between block 10, and carries out fault cues, if not up to the second preset time, continues timing.Wherein, may be used Fault cues are carried out by modes such as display end, buzzer, network signals, specifically, different link failures can distribute difference Fault identification code name, in order to distinguish fault zone.
According to one embodiment of present invention, when having interaction data between a slave module 10 and other slave modules 10 Demand when, related data need to be included in the data to communicate with host module 20, is transmitted via host module 20.
In conclusion the communication system of the household electrical appliance proposed according to embodiments of the present invention, multiple slave moulds are in the block every A slave module has the first communication interface, and the first communication interface has receiving terminal and transmitting terminal, and host module has second to lead to Believe interface, the second communication interface has receiving terminal and transmitting terminal, and communication bus module includes the first bus and the second bus, each The transmitting terminal in receiving terminal and the second communication interface in first communication interface is all connected to the first bus, and each first communication connects The receiving terminal in transmitting terminal and the second communication interface in mouthful is all connected to the second bus, and host module leads to when powering on by second Letter interface is configured to sending and receiving pattern, and the receiving terminal in corresponding first communication interface is configured to by each slave module when powering on Reception pattern, and the transmitting terminal in corresponding first communication interface is configured to high-impedance state, and each slave module is successfully solving The transmitting terminal in corresponding first communication interface is configured to sending mode after the inquiry instruction that analysis host module is sent, with to master Machine module sends response data.Thus, the communication system of the embodiment of the present invention is by the way that the transmitting terminal in the first communication interface is matched somebody with somebody It is set to high-impedance state and is configured to the transmitting terminal in the first communication interface after the inquiry instruction of host module transmission is successfully parsed Sending mode so that, on the premise of production cost is not lifted, can effectively avoid slave module send response data when and its He causes loop current at slave module, while ensures that host module can normally receive data.
The embodiment of the present invention also proposed a kind of household electrical appliance.
Fig. 3 is the block diagram according to the household electrical appliance of the embodiment of the present invention.As shown in figure 3, household electrical appliance 200 include The communication system 100 of household electrical appliance.
The household electrical appliance proposed according to embodiments of the present invention, by the communication system of household electrical appliance, so that, do not lifting life On the premise of producing cost, it can effectively avoid causing loop current with other slave modules during slave module transmission response data, Ensure that host module can normally receive data at the same time.
Fig. 4 is the communication means according to the household electrical appliance of the embodiment of the present invention.The communication system of household electrical appliance includes multiple Slave module, host module and communication bus module, each slave module have the first communication interface, and the first communication interface has Receiving terminal and transmitting terminal, host module have the second communication interface, and the second communication interface has receiving terminal and transmitting terminal, and communication is total Wire module includes the first bus and the second bus, wherein, in the receiving terminal and the second communication interface in each first communication interface Transmitting terminal be all connected to the first bus, in the transmitting terminal and the second communication interface in the communication interface of each multiple slave modules Receiving terminal be all connected to the second bus.
As shown in figure 4, the communication means of the household electrical appliance of the embodiment of the present invention, comprises the following steps:
S1:Second communication interface is configured to sending and receiving pattern by host module when powering on, and each slave module is when powering on Receiving terminal in corresponding first communication interface is configured to reception pattern, and by the transmitting terminal in corresponding first communication interface It is configured to high-impedance state.
According to one embodiment of present invention, each slave module is by by the transmitting terminal in corresponding first communication interface It is arranged to the input patterns of GPIO, to be configured to high-impedance state.
S2:Host module sends inquiry instruction to the first bus.
S3:Each slave module is after the inquiry instruction of host module transmission is successfully parsed by corresponding first communication interface In transmitting terminal be configured to sending mode, with to host module send response data.
That is, the second communication interface of the receiving terminal and host module in the first communication interface of multiple slave modules In transmitting terminal be connected by the first bus, of the transmitting terminal and host module in the first communication interface of multiple slave modules Receiving terminal in two communication interfaces is connected by the second bus, in household electrical appliance system electrification, the second communication of host module Interface is configured to sending and receiving pattern, i.e. the second communication interface has the function of to send and receive at the same time, and each slave module will be corresponding Receiving terminal in first communication interface is configured to reception pattern, in order to the inquiry instruction that receiving host module is sent, and by phase Transmitting terminal in the first communication interface answered is configured to high-impedance state, and shadow is caused to keep the port not communicate to other slaves Ring, after slave module successfully parses the inquiry instruction of host module transmission, slave module is by corresponding first communication interface Transmitting terminal be configured to sending mode, with to host module send response data.
Thus, the communication system of the household electrical appliance of the embodiment of the present invention, by the first communication interface by slave module Transmitting terminal be configured to high-impedance state, make the transmitting terminal in the first communication interface of slave module when response data need not be sent The second bus is discharged, meanwhile, the transmitting terminal for carrying out the slave module of data response will not be to the transmitting terminal of other slave modules Impact, such as produce loop circuit, so as to ensure that host module normally receives data.
According to one embodiment of present invention, host module by way of timesharing asynchronous communication with each slave module into Row communication, to distinguish data flow from time slot.
According to one embodiment of present invention, host module sends inquiry to the first bus every the first preset time and refers to Order, after each slave module receives inquiry instruction, parses inquiry instruction to obtain the ID in inquiry instruction, and asking Ask and the transmitting terminal in corresponding first communication interface is configured to sending mode when the ID in instruction matches with self ID.
That is, have and the one-to-one ID of slave module in the inquiry instruction that host module is sent (identification, identity), host module send inquiry instruction, i.e. host mould every the first preset time to the first bus Block sends inquiry instruction by the first bus to slave module, and after each slave module receives inquiry instruction, inquiry is instructed Parsed to obtain the ID in inquiry instruction, and judge whether the ID in inquiry instruction matches with slave module self ID, If matched, the transmitting terminal in corresponding first communication interface is configured to sending mode by slave module, with to host mould Block sends response data, if it does not match, slave module is without responding.
According to one embodiment of present invention, after the completion of each slave module sends response data to host module, by phase Transmitting terminal in the first communication interface answered reverts to high-impedance state.
That is, each slave module, when the ID during inquiry instructs matches with self ID, slave module will be corresponding The first communication interface in transmitting terminal be configured to sending mode, to host module send response data, when response data send After the completion of, then the transmitting terminal in corresponding first communication interface is recovered high-impedance state by slave module.
According to one embodiment of present invention, can be by the after host module receives the response data of slave module transmission One preset time resets and continues to send inquiry instruction to the first bus, to reduce the stand-by period.
According to one embodiment of present invention, host module also judges slave module whether is received in the second preset time The response data of transmission, and when not receiving in the second preset time the response data of slave module transmission, judges and slave Communication failure occurs between module, and carries out fault cues.
That is, host module carries out timing after sending inquiry instruction to slave module, and whether judge timing time Reach the second preset time, if timing time reaches the second preset time, host module judges to send out between slave module Raw communication failure, and fault cues are carried out, if not up to the second preset time, continues timing.Wherein, display can be passed through The modes such as end, buzzer, network signal carry out fault cues, and specifically, different link failures, which can distribute different failures, to be known Other code name, in order to distinguish fault zone.
According to one embodiment of present invention, when the need for having interaction data between a slave module and other slave modules When asking, related data need to be included in the data to communicate with host module, is transmitted via host module.
A specific embodiment according to the present invention, as shown in figure 5, the communication party of the household electrical appliance of the embodiment of the present invention Method, the communication means applied to host module include:
S101:Host module powers on, and the second communication interface is configured to sending and receiving pattern.
S102:Configure simultaneously open system timer.Wherein, can be set according to the quantity and slave module data amount of slave module Surely the time interval of data, i.e. the first preset time are sent.
S103:Judge whether to reach the first preset time.
If it is, perform step S104;If it is not, then return to step S103.
S104:Inquiry instruction is sent to next slave module by the first bus.
S105:Second preset time is set and starts timing, that is, receives the maximum latency of response data.
S106:Judge whether to receive response data.
If it is, return to step S104;If it is not, then perform step S107.
S107:Judge whether timing time reaches the second preset time.
If it is, perform step S108;If it is not, then return to step S107.
S108:Judgement and current slave module communication failure, and carry out fault cues.
A specific embodiment according to the present invention, as shown in fig. 6, the communication party of the household electrical appliance of the embodiment of the present invention Method, the communication means applied to slave module include:
S201:Slave module powers on, and the receiving terminal in the first communication interface is configured to reception pattern, and by first interface In transmitting terminal be configured to high-impedance state.Wherein, by the way that the transmitting terminal in corresponding first communication interface is arranged to GPIO's Input patterns, to be configured to high-impedance state.
S202:Receive and parse through inquiry instruction.
S203:Judge whether the ID in inquiry instruction matches with self ID.
If it is, perform S204;If it is not, then terminate communication.
S204:The data received are handled, and prepare response data.
S205:Transmitting terminal in first communication interface is configured to sending mode, and sends back and answers data.
S206:Judge whether response data is sent.
If it is, perform step S207;If it is not, then return to step S206.
S207:Transmitting terminal in first communication interface is configured to high-impedance state.
In conclusion the communication means of the household electrical appliance proposed according to embodiments of the present invention, host module will when powering on Second communication interface is configured to sending and receiving pattern, and each slave module is when powering on by the receiving terminal in corresponding first communication interface Reception pattern is configured to, and the transmitting terminal in corresponding first communication interface is configured to high-impedance state, host module is total to first Line sends inquiry instruction, and each slave module communicates after the inquiry instruction of host module transmission is successfully parsed by corresponding first Transmitting terminal in interface is configured to sending mode, to send response data to host module.Thus, the communication of the embodiment of the present invention Method is by being configured to high-impedance state by the transmitting terminal in the first communication interface and referring in the inquiry for successfully parsing host module transmission The transmitting terminal in the first communication interface is configured to sending mode after order, so that, can on the premise of production cost is not lifted Effectively avoid causing loop current with other slave modules during slave transmission response data, while ensure that host side can normally connect Receive data.
In the description of the present invention, it is to be understood that term " " center ", " longitudinal direction ", " transverse direction ", " length ", " width ", " thickness ", " on ", " under ", "front", "rear", "left", "right", " vertical ", " level ", " top ", " bottom ", " interior ", " outer ", " up time The orientation or position relationship of the instruction such as pin ", " counterclockwise ", " axial direction ", " radial direction ", " circumferential direction " be based on orientation shown in the drawings or Position relationship, is for only for ease of and describes the present invention and simplify description, rather than indicates or imply that signified device or element must There must be specific orientation, with specific azimuth configuration and operation, therefore be not considered as limiting the invention.
In addition, term " first ", " second " are only used for description purpose, and it is not intended that instruction or hint relative importance Or the implicit quantity for indicating indicated technical characteristic.Thus, define " first ", the feature of " second " can be expressed or Implicitly include one or more this feature.In the description of the present invention, " multiple " are meant that two or more, Unless otherwise specifically defined.
In the present invention, unless otherwise clearly defined and limited, term " installation ", " connected ", " connection ", " fixation " etc. Term should be interpreted broadly, for example, it may be fixedly connected or be detachably connected, or integrally;Can be that machinery connects Connect or be electrically connected;It can be directly connected, can also be indirectly connected by intermediary, can be in two elements The connection in portion or the interaction relationship of two elements.For the ordinary skill in the art, can be according to specific feelings Condition understands the concrete meaning of above-mentioned term in the present invention.
In the present invention, unless otherwise clearly defined and limited, fisrt feature can be with "above" or "below" second feature It is that the first and second features directly contact, or the first and second features pass through intermediary mediate contact.Moreover, fisrt feature exists Second feature " on ", " top " and " above " but fisrt feature are directly over second feature or oblique upper, or be merely representative of Fisrt feature level height is higher than second feature.Fisrt feature second feature " under ", " lower section " and " below " can be One feature is immediately below second feature or obliquely downward, or is merely representative of fisrt feature level height and is less than second feature.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or the spy for combining the embodiment or example description Point is contained at least one embodiment of the present invention or example.In the present specification, schematic expression of the above terms is not It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office Combined in an appropriate manner in one or more embodiments or example.In addition, without conflicting with each other, the skill of this area Art personnel can be tied the different embodiments or example described in this specification and different embodiments or exemplary feature Close and combine.
Although the embodiment of the present invention has been shown and described above, it is to be understood that above-described embodiment is example Property, it is impossible to limitation of the present invention is interpreted as, those of ordinary skill in the art within the scope of the invention can be to above-mentioned Embodiment is changed, changes, replacing and modification.

Claims (13)

  1. A kind of 1. communication system of household electrical appliance, it is characterised in that including:
    Multiple slave modules, wherein, each slave module has the first communication interface, and first communication interface, which has, to be connect Receiving end and transmitting terminal;
    Host module, the host module have the second communication interface, and second communication interface has receiving terminal and transmitting terminal;
    Communication bus module, the communication bus module include the first bus and the second bus, wherein, each first communication The transmitting terminal in receiving terminal and second communication interface in interface is all connected to first bus, and each described first is logical The receiving terminal in transmitting terminal and second communication interface in letter interface is all connected to second bus;
    Wherein, second communication interface is configured to sending and receiving pattern by the host module when powering on, each slave mould Receiving terminal in corresponding first communication interface is configured to reception pattern by block when powering on, and by corresponding first communication interface In transmitting terminal be configured to high-impedance state, and each slave module is in the inquiry instruction for successfully parsing the host module and sending The transmitting terminal in corresponding first communication interface is configured to sending mode afterwards, to send response data to the host module.
  2. 2. the communication system of household electrical appliance as claimed in claim 1, it is characterised in that the host module is asynchronous by timesharing The mode of communication communicates with each slave module.
  3. 3. the communication system of household electrical appliance as claimed in claim 2, it is characterised in that the host module is default every first Time sends inquiry instruction to first bus, after each slave module receives the inquiry instruction, to the inquiry Ask that instruction is parsed to obtain the ID in the inquiry instruction, and when the ID during the inquiry instructs matches with self ID Transmitting terminal in corresponding first communication interface is configured to sending mode.
  4. 4. the communication system of the household electrical appliance as any one of claim 1-3, it is characterised in that each slave mould After the completion of block sends response data to the host module, the transmitting terminal in corresponding first communication interface is reverted into high resistant State.
  5. 5. the communication system of household electrical appliance as claimed in claim 4, it is characterised in that each slave module is by by phase Transmitting terminal in the first communication interface answered is arranged to the input patterns of GPIO, to be configured to high-impedance state.
  6. 6. the communication system of household electrical appliance as claimed in claim 1, it is characterised in that the host module is additionally operable to judgement The response data that the slave module is sent whether is received in two preset times, and does not receive institute in the second preset time When stating the response data of slave module transmission, judge communication failure occurs between the slave module, and carry out fault cues.
  7. 7. a kind of household electrical appliance, it is characterised in that include the communication system of the household electrical appliance as any one of claim 1-6 System.
  8. 8. a kind of communication means of household electrical appliance, it is characterised in that the communication system of the household electrical appliance includes multiple slave moulds Block, host module and communication bus module, each slave module have the first communication interface, the first communication interface tool There are receiving terminal and transmitting terminal, the host module has the second communication interface, and second communication interface has receiving terminal and hair Sending end, the communication bus module include the first bus and the second bus, wherein, the reception in each first communication interface Transmitting terminal in end and second communication interface is all connected to first bus, the communication of each the multiple slave module The receiving terminal in transmitting terminal and second communication interface in interface is all connected to second bus, the communication means bag Include following steps:
    Second communication interface is configured to sending and receiving pattern by the host module when powering on, and each slave module is upper Receiving terminal in corresponding first communication interface is configured to reception pattern when electric, and by the hair in corresponding first communication interface Sending end is configured to high-impedance state;
    The host module sends inquiry instruction to first bus;
    Each slave module connects the corresponding first communication after the inquiry instruction of the host module transmission is successfully parsed Transmitting terminal in mouthful is configured to sending mode, to send response data to the host module.
  9. 9. the communication means of household electrical appliance as claimed in claim 8, it is characterised in that the host module is asynchronous by timesharing The mode of communication communicates with each slave module.
  10. 10. the communication means of household electrical appliance as claimed in claim 9, it is characterised in that the host module is pre- every first If the time sends inquiry instruction to first bus, after each slave module receives the inquiry instruction, to described Inquiry instruction is parsed to obtain the ID in the inquiry instruction, and the ID in the inquiry instruction matches with self ID When the transmitting terminal in corresponding first communication interface is configured to sending mode.
  11. 11. the communication means of the household electrical appliance as any one of claim 8-10, it is characterised in that each slave After the completion of module sends response data to the host module, the transmitting terminal in corresponding first communication interface is reverted into high resistant State.
  12. 12. the communication means of household electrical appliance as claimed in claim 11, it is characterised in that each slave module pass through by Transmitting terminal in corresponding first communication interface is arranged to the input patterns of GPIO, to be configured to high-impedance state.
  13. 13. the communication means of household electrical appliance as claimed in claim 8, it is characterised in that the host module also judges second The response data that the slave module is sent whether is received in preset time, and is not received in the second preset time described During the response data that slave module is sent, judge communication failure occurs between the slave module, and carry out fault cues.
CN201711365364.XA 2017-12-18 2017-12-18 Communication system, communication means and the household electrical appliance of household electrical appliance Pending CN107911273A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201711365364.XA CN107911273A (en) 2017-12-18 2017-12-18 Communication system, communication means and the household electrical appliance of household electrical appliance
PCT/CN2018/090792 WO2019119740A1 (en) 2017-12-18 2018-06-12 Communication system and communication method for household appliance, and household appliance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711365364.XA CN107911273A (en) 2017-12-18 2017-12-18 Communication system, communication means and the household electrical appliance of household electrical appliance

Publications (1)

Publication Number Publication Date
CN107911273A true CN107911273A (en) 2018-04-13

Family

ID=61870097

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711365364.XA Pending CN107911273A (en) 2017-12-18 2017-12-18 Communication system, communication means and the household electrical appliance of household electrical appliance

Country Status (2)

Country Link
CN (1) CN107911273A (en)
WO (1) WO2019119740A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109889593A (en) * 2019-02-27 2019-06-14 中国人民解放军海军工程大学 A kind of distributed slave means of communication moving motor-driven shelter for guaranteeing and device
WO2019119740A1 (en) * 2017-12-18 2019-06-27 合肥华凌股份有限公司 Communication system and communication method for household appliance, and household appliance

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020188782A1 (en) * 2001-06-08 2002-12-12 Victor Fay Generic serial bus architecture
CN104317765A (en) * 2014-10-20 2015-01-28 成都广达电子股份有限公司 Serial communication based one-to-many communication system and implementation method
CN105701052A (en) * 2016-02-02 2016-06-22 合肥华凌股份有限公司 Communication device and communication method used for serial port communication
CN106569976A (en) * 2016-11-16 2017-04-19 深圳拓邦股份有限公司 Serial port communication system and communication method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108055185B (en) * 2017-12-18 2020-08-04 合肥华凌股份有限公司 Communication system and communication method of household appliance and household appliance
CN108123863B (en) * 2017-12-18 2020-11-24 合肥华凌股份有限公司 Communication system and communication method of household appliance and household appliance
CN107911273A (en) * 2017-12-18 2018-04-13 合肥华凌股份有限公司 Communication system, communication means and the household electrical appliance of household electrical appliance
CN108123862A (en) * 2017-12-18 2018-06-05 合肥华凌股份有限公司 Communication system, communication means and the household electrical appliance of household electrical appliance

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020188782A1 (en) * 2001-06-08 2002-12-12 Victor Fay Generic serial bus architecture
CN104317765A (en) * 2014-10-20 2015-01-28 成都广达电子股份有限公司 Serial communication based one-to-many communication system and implementation method
CN105701052A (en) * 2016-02-02 2016-06-22 合肥华凌股份有限公司 Communication device and communication method used for serial port communication
CN106569976A (en) * 2016-11-16 2017-04-19 深圳拓邦股份有限公司 Serial port communication system and communication method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019119740A1 (en) * 2017-12-18 2019-06-27 合肥华凌股份有限公司 Communication system and communication method for household appliance, and household appliance
CN109889593A (en) * 2019-02-27 2019-06-14 中国人民解放军海军工程大学 A kind of distributed slave means of communication moving motor-driven shelter for guaranteeing and device

Also Published As

Publication number Publication date
WO2019119740A1 (en) 2019-06-27

Similar Documents

Publication Publication Date Title
CN108123862A (en) Communication system, communication means and the household electrical appliance of household electrical appliance
CN1132381C (en) Interface interlace
US20060154691A1 (en) Architecture and protocol for software defined radio system
EP1261171A2 (en) Radio communication terminal having functions of master station or slave station
CN101908974A (en) Heat switching system and heat switching method of dual-redundant CAN bus
CN105022276A (en) Smart home system and data interaction method thereof
EP3541086B1 (en) Systems and methods for network port monitoring using low energy wireless communications
EP1699021A1 (en) Connection adapter for communication device
CN107911273A (en) Communication system, communication means and the household electrical appliance of household electrical appliance
CN108012305A (en) Smart machine matches somebody with somebody network method, system and smart machine
US7752503B2 (en) CAN controller system
CN102004535B (en) Electronic system and resetting method thereof
CN102387524B (en) Indoor distributed monitoring system for WLAN (Wireless Local Area Network)
EP1722579B1 (en) A dual mode terminal and a method of realizing dual mode access thereof
CN108965448B (en) Information transmission system and method
CN207766560U (en) Smart machine and smart machine distribution network systems
CN108123863A (en) Communication system, communication means and the household electrical appliance of household electrical appliance
CN201846346U (en) Dual-redundancy heat switching system of controller area network (CAN) bus
CN104798345A (en) Master bus device for a vehicle communication bus of a motor vehicle
CN108055185A (en) Communication system, communication means and the household electrical appliance of household electrical appliance
CN101446836B (en) Temperature control method and device for controlling temperature adjusting equipment of vending machine
CN103376369B (en) The method of testing of communication load and device
CN107748669B (en) Software upgrading device
CN110391823B (en) Communication circuit, control method thereof, and device having communication function
CN208968830U (en) A kind of host computer and automotive diagnostic system

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180413

RJ01 Rejection of invention patent application after publication