CN104728988A - Air conditioner and communication method, device and equipment of inside and outside machines of air conditioner - Google Patents

Air conditioner and communication method, device and equipment of inside and outside machines of air conditioner Download PDF

Info

Publication number
CN104728988A
CN104728988A CN201310705312.8A CN201310705312A CN104728988A CN 104728988 A CN104728988 A CN 104728988A CN 201310705312 A CN201310705312 A CN 201310705312A CN 104728988 A CN104728988 A CN 104728988A
Authority
CN
China
Prior art keywords
data
air
conditioner
external
data transmit
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.)
Granted
Application number
CN201310705312.8A
Other languages
Chinese (zh)
Other versions
CN104728988B (en
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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201310705312.8A priority Critical patent/CN104728988B/en
Publication of CN104728988A publication Critical patent/CN104728988A/en
Application granted granted Critical
Publication of CN104728988B publication Critical patent/CN104728988B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/30Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/62Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/56Remote control
    • F24F11/58Remote control using Internet communication

Abstract

The invention discloses an air conditioner and a communication method, a device and equipment of inside and outside machines of the air conditioner. The equipment comprises a CAN bus; an RS485 bus; a data converter, an outside machine of the air conditioner is connected with the data converter through the CAN bus, an inside machine of the air conditioner is connected with the data converter through the RS485 bus; the data converter is used for converting the RS485 data and the CAN data. By adopting the air conditioner and the communication method, the device and equipment of inside and outside machines of the air conditioner, the problem of low communication efficiency of the inside and outside machines of the air conditioner of prior art can be solved, the communication between the inside and outside machines of the air conditioner is rapid, accurate and efficient, and the inside and outside machines of the air conditioner are compatible on network under the different systems, the matching universality of the inside and outside machines of the air conditioner is enhanced under different networks, and the configuration type selection for the inside and outside machines of the air conditioner is more flexible under different systems.

Description

Air-conditioner and air-conditioning internal-external machine communication means, device, equipment
Technical field
The present invention relates to airconditioning control field, in particular to a kind of air-conditioner and air-conditioning internal-external machine communication means, device, equipment.
Background technology
In multiple on-line system, use RS485 network multi-connected machine completely, traffic rate is comparatively slow, and anti-interference and data fault-tolerant ability is more weak, and agreement upgrading upgrades comparatively difficulty; And use CAN network multi-connected machine completely, although traffic rate and antijamming capability have very large lifting, owing to limiting by network characteristic own, it is less that every frame sends valid data byte number, therefore sends data efficiency lower.
Particularly, CAN(control area net(CAN)) be serial communication, the distribution effectively supporting to have very high safety grade controls in real time.CAN and RS485 communication characteristic is more as shown in table 1.
Table 1
And if air-conditioning internal-external machine cannot be mated adopt different system communication network different system in same system under.
For the problem that air-conditioning internal-external machine communication efficiency in prior art is low, at present effective solution is not yet proposed.
Summary of the invention
For the problem that air-conditioning internal-external machine communication efficiency in correlation technique is low, not yet propose effective solution at present, for this reason, main purpose of the present invention is to provide a kind of air-conditioner and air-conditioning internal-external machine communication means, device, equipment, to solve the problem.
To achieve these goals, according to an aspect of the present invention, provide a kind of air-conditioning internal-external machine communication equipment, this equipment comprises: CAN; RS485 bus; Data converter, air conditioner external is connected with data converter by CAN, and internal machine of air-conditioner is connected with data converter by RS485 bus, and wherein, data converter is for changing RS485 data and CAN data.
Further, data converter comprises: CAN communication interface, is connected with CAN, for transmitting CAN data; CAN data transmit-receive circuit, is connected with CAN communication interface, for receiving and dispatching CAN data; RS485 interface, is connected with RS485 bus, for transmitting RS485 data; RS485 data transmit-receive circuit, is connected with RS485 interface, for receiving and dispatching RS485 data; Main control chip, is connected between CAN data transmit-receive circuit and RS485 data transmit-receive circuit, for control CAN data transmit-receive circuit transmitting-receiving CAN data, and control RS485 data transmit-receive circuit transmitting-receiving RS485 data.
Further, data converter also comprises: power module, is connected respectively with main control chip, CAN data transmit-receive circuit and RS485 data transmit-receive circuit, for powering for main control chip, CAN data transmit-receive circuit and RS485 data transmit-receive circuit.
Further, data converter also comprises: reset circuit, is connected with main control chip, returns back to original state for sending reset signal to trigger main control chip control data converter.
Further, RS485 data transmit-receive circuit comprises: RS485 data transmit-receive chip; First Transient Voltage Suppressor and the second Transient Voltage Suppressor, be connected on the signal port of RS485 data transmit-receive chip.
Further, RS485 data transmit-receive circuit comprises: current-limiting resistance, is connected between main control chip and the first Transient Voltage Suppressor.
Further, CAN data transmit-receive circuit comprises: CAN data transmit-receive chip; First power isolation circuit, is connected between CAN data transmit-receive chip and main control chip; Second source buffer circuit, is connected between CAN data transmit-receive chip and CAN communication interface; First build-out resistor, is connected between the first power isolation circuit and main control chip; Second build-out resistor, is connected between second source buffer circuit and CAN communication interface.
Further, CAN data transmit-receive circuit comprises: the 3rd Transient Voltage Suppressor, is connected respectively with the first power isolation circuit, second source buffer circuit, the first build-out resistor and the second build-out resistor.
Further, CAN data transmit-receive circuit also comprises: polarity switching, and be connected with main control chip, the first build-out resistor and the second build-out resistor respectively, polarity switching comprises: relay; First triode, is connected with the first coil of relay; Second triode, is connected with the second coil of relay, wherein, by controlling the first triode and the second triode in not conducting control relay commutation in the same time, to switch the reiving/transmitting state of CAN data transmit-receive circuit.
To achieve these goals, according to a further aspect in the invention, provide a kind of air-conditioner, this air-conditioner comprises: air conditioner external; One or more internal machine of air-conditioner; Air-conditioning internal-external machine communication equipment; Wherein, air conditioner external is connected with one or more data converter by CAN; Each data converter is connected with internal machine of air-conditioner by RS485 bus.
To achieve these goals, according to a further aspect in the invention, provide a kind of air-conditioning internal-external machine communication means, the method comprises: the control information being received air conditioner external by CAN; Control information is converted to RS485 data by data converter; RS485 data are transferred to internal machine of air-conditioner and manual operator by RS485 bus; RS485 bus receives the feedback information of internal machine of air-conditioner and manual operator; Feedback information is converted to CAN data by data converter; CAN data are back to air conditioner external by CAN.
To achieve these goals, according to a further aspect in the invention, provide a kind of air-conditioning internal-external machine communicator, this device comprises: the first receiver module, for being received the control information of air conditioner external by CAN; First modular converter, is converted to RS485 data for data converter by control information; RS485 data are transferred to internal machine of air-conditioner and manual operator for RS485 bus by the first transport module; Second receiver module, receives the feedback information of internal machine of air-conditioner and manual operator for RS485 bus; Second modular converter, is converted to CAN data for data converter by feedback information; Return module, for CAN, CAN data are back to air conditioner external.
Adopt the present invention, CAN data in CAN can be converted to RS485 data by data converter, and the RS485 data in RS485 bus can be converted to CAN data, achieve the conversion of RS485 data and CAN data, this communication equipment is used in air-conditioner, not use RS485 communication completely, or use CAN to carry out communication completely, thus avoid in prior art and only use RS485 communication, traffic rate is slower, and anti-interference and that data fault-tolerant ability is more weak problem, and avoid and use CAN network online completely, send the problem that data efficiency is lower, but in conjunction with the advantage of CAN and 485 buses, high and the CAN that antijamming capability is stronger of traffic rate is used to send control information to each indoor set and manual operator as the controller in the air conditioner external of host computer, status information, contain much information, internal machine of air-conditioner as slave computer can by information such as the timely feedback environment humitures of RS485 bus, adopt and send 485 higher buses of data efficiency, and the cost of 485 is lower, and can compatible all support RS485 networks and CAN network internal-external machine by data converter, need not match specially, thus solve the low problem of air-conditioning internal-external machine communication efficiency of the prior art, achieve the communication quick and precisely carrying out air-conditioner internal-external machine efficiently, and air-conditioner internal-external machine good compatible network under different systems can be realized, under making heterogeneous networks, interior machine outer machine coupling versatility strengthens, under making different system, internal-external machine configuration type selecting is more flexible.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, and form a application's part, schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the structural representation of the air-conditioning internal-external machine communication equipment according to the embodiment of the present invention;
Fig. 2 is the structural representation of a kind of optional air-conditioning internal-external machine communication equipment according to the embodiment of the present invention;
Fig. 3 is the structural representation of the digital quantizer according to the embodiment of the present invention;
Fig. 4 is the circuit diagram of the RS485 data transmit-receive circuit according to the embodiment of the present invention;
Fig. 5 is the circuit diagram of the CAN data transmit-receive circuit according to the embodiment of the present invention;
Fig. 6 is the flow chart of the RS485 data transmit-receive according to the embodiment of the present invention; And
Fig. 7 is the flow chart of the CAN data transmit-receive according to the embodiment of the present invention.
Detailed description of the invention
It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.Below with reference to the accompanying drawings and describe the present invention in detail in conjunction with the embodiments.
Fig. 1 is the structural representation of the air-conditioning internal-external machine communication equipment according to the embodiment of the present invention.As shown in Figure 1, this equipment can comprise: CAN 10; RS485 bus 20; Data converter 30, air conditioner external 40 is connected with data converter by CAN, and internal machine of air-conditioner 50 is connected with data converter by RS485 bus, and wherein, data converter is for changing RS485 data and CAN data.
Adopt the present invention, CAN data in CAN can be converted to RS485 data by data converter, and the RS485 data in RS485 bus can be converted to CAN data, achieve the conversion of RS485 data and CAN data, this communication equipment is used in air-conditioner, not use RS485 communication completely, or use CAN to carry out communication completely, thus avoid in prior art and only use RS485 communication, traffic rate is slower, and anti-interference and that data fault-tolerant ability is more weak problem, and avoid and use CAN network online completely, send the problem that data efficiency is lower, but in conjunction with the advantage of CAN and 485 buses, high and the CAN that antijamming capability is stronger of traffic rate is used to send control information to each indoor set and manual operator as the controller in the air conditioner external of host computer, status information, contain much information, internal machine of air-conditioner as slave computer can by information such as the timely feedback environment humitures of RS485 bus, adopt and send 485 higher buses of data efficiency, and the cost of 485 is lower, and can compatible all support RS485 networks and CAN network internal-external machine by data converter, need not match specially, thus solve the low problem of air-conditioning internal-external machine communication efficiency of the prior art, achieve the communication quick and precisely carrying out air-conditioner internal-external machine efficiently, and air-conditioner internal-external machine good compatible network under different systems can be realized, under making heterogeneous networks, interior machine outer machine coupling versatility strengthens, under making different system, internal-external machine configuration type selecting is more flexible.
In the above-described embodiments, RS485 bus (the RS485 bus namely in above-described embodiment) cost is low, adopts the program can also reduce communication cost.
According to the abovementioned embodiments of the present invention, as shown in Figures 2 and 3, data converter can comprise: CAN communication interface 31, is connected with CAN 10, for transmitting CAN data; CAN data transmit-receive circuit 32, is connected with CAN communication interface 31, for receiving and dispatching CAN data; RS485 interface 33, is connected with RS485 bus 20, for transmitting RS485 data; RS485 data transmit-receive circuit 34, is connected with RS485 interface, for receiving and dispatching RS485 data; Main control chip 35, is connected between CAN data transmit-receive circuit 32 and RS485 data transmit-receive circuit 34, for control CAN data transmit-receive circuit transmitting-receiving CAN data, and control RS485 data transmit-receive circuit transmitting-receiving RS485 data.
Particularly, as shown in Figure 2, this data converter 30 possesses bi-directional data translation function, and the outer machine status data that can receive CAN 10 converts thereof into RS485 data and sends to internal machine of air-conditioner 50; Data converter 30 can also convert machine status data in the RS485 bus 20 received to CAN data and send to air conditioner external 40.As shown in Figure 2, air conditioner external 40 not only carries out communication with internal machine of air-conditioner 50, communication can also be carried out with manual operator 60, in fig. 2, each air conditioner external 40 can corresponding one or more internal machine of air-conditioner 50, and also namely air conditioner external 40 can pass through one or more data converter 30 with the communication of internal machine of air-conditioner 50.
As shown in Figure 3, data converter 30 can also comprise: power module 36, be connected with main control chip 35, CAN data transmit-receive circuit 32 and RS485 data transmit-receive circuit 34 respectively, for powering for main control chip, CAN data transmit-receive circuit and RS485 data transmit-receive circuit.
Particularly, data converter also comprises: reset circuit 37, is connected with main control chip, returns back to original state for sending reset signal to trigger main control chip control data converter.
As shown in Figure 3, power module 36 adopts low power consumption switch Power supply, can provide stable DC DC source; Main control chip 35 (MCU): the embedded CAN function control device of main control chip and UART communication module (asynchronous receiving-transmitting transmitter).
MAX13089 transponder chip can be adopted in RS485 data transmit-receive circuit 34 shown in Fig. 3, and increase two-way TVS diode at the signal output part of circuit, can Lightning proof, add the reliability of communication data.
CAN data transmit-receive circuit 32 in Fig. 3 can adopt nonpolarity commutation circuit, particularly, can adopt IS01050 transponder chip, and this chip self possesses signal isolation, does not need to adopt light-coupled isolation to improve reliability.
As shown in Figure 4, RS485 data transmit-receive circuit can comprise: RS485 data transmit-receive chip 341; First Transient Voltage Suppressor and the second Transient Voltage Suppressor, be connected to the signal port of RS485 data transmit-receive chip, and in the diagram, RS485 data transmit-receive circuit has three signal ports, and this signal port may be used for transmitting data.
Particularly, RS485 data transmit-receive circuit comprises: current-limiting resistance, is connected between main control chip and the first Transient Voltage Suppressor.
As shown in Figure 4, wherein the first Transient Voltage Suppressor (TVS1) and the second Transient Voltage Suppressor (TVS2) can be anti-lightning strike, if when RS485 data transmit-receive circuit is used for multiplex communication not altogether, TVS pipe is then likely caused to there is forward bias, thus cause the damage of unidirectional TVS pipe, cause communication abnormality, therefore the first above-mentioned Transient Voltage Suppressor and the second Transient Voltage Suppressor can select two-way TVS diode, both direction can carry out clamper to voltage.
Particularly, in Fig. 4, be connected in series current-limiting resistance at RS485 data transmit-receive chip with between main control chip, I/O mouth can be protected very well, prevent its short circuit; Multiple power supply can be used in the circuit shown in Fig. 4 (to be RS485 data transmit-receive chip power supply as used 5V, to use the power supply of 12V to power for I/O interface, signal port in I/O interface and above-described embodiment) power, with the stability of each electronic devices and components work in intensifier circuit for different electronic devices and components.
More specifically, when communication distance is longer, build-out resistor can be increased between AB connection to improve communication quality.
In the above embodiment of the present invention, CAN data transmit-receive circuit can comprise: CAN data transmit-receive chip; First power isolation circuit, is connected between CAN data transmit-receive chip and main control chip; Second source buffer circuit, is connected between CAN data transmit-receive chip and CAN communication interface; First build-out resistor, is connected between the first power isolation circuit and main control chip; Second build-out resistor, is connected between second source buffer circuit and CAN communication interface.
Particularly, CAN data transmit-receive circuit comprises: the 3rd Transient Voltage Suppressor, is connected respectively with the first power isolation circuit, second source buffer circuit, the first build-out resistor and the second build-out resistor.
Further, CAN data transmit-receive circuit also comprises: polarity switching, and be connected with main control chip, the first build-out resistor and the second build-out resistor respectively, polarity switching comprises: relay; First triode, is connected with the first coil of relay; Second triode, is connected with the second coil of relay, wherein, by controlling the first triode and the second triode in not conducting control relay commutation in the same time.
As shown in Figure 5, CAN data transmit-receive chip 321 can be the CAN data transmit-receive chip I SO1050 of TI with isolation features, and CAN data transmit-receive chip is identical with normal electrodeless chip, supports the ISO11898 standard of standard.CAN data transmit-receive circuit can comprise: CAN data transmit-receive chip 321 and power isolation circuit 322, power isolation circuit can be the buffer circuit of two passages, namely the first power isolation circuit in above-described embodiment and second source buffer circuit, particularly, first power isolation circuit and second source buffer circuit can be arranged on CAN data transmit-receive chip both sides, two-way power isolation circuit can use two power supplys (power supplys of two+5V as shown in figure), also can use same power supply.After using power isolation circuit, under extreme case appears in CAN, well can protect other circuit of mainboard.
TVS protect IC (i.e. the 3rd Transient Voltage Suppressor 323) shown in Fig. 5 can be NUP2105, and this chip is two-way TVS chip, can improve EMI and antistatic capacity in high-speed CAN bus.Particularly, in the bus of CAN, first signal enters CAN data transmit-receive chip again after the protection of TVS chip, reduces electrostatic defending to the weakening of CAN data.
Particularly, CAN dipole inversion realizes in particular by relay two-way coil and 2 triodes (Q1 and Q2 as shown in Figure 5), an adhesive direction of each coil control relay of relay.By converter first selected a kind of relay attracting state, if CAN always can't detect signal, so just drive an other triode ON, two keys relay J is commutated.The relay that this programme adopts has magnetic and keeps function, therefore disconnects coil power after coil electricity 10mS, and relay contact can state before hold-in winding power-off.Particularly, the reiving/transmitting state of CAN data transmit-receive circuit is switched by the polarity of conversion CAN data transmit-receive chip.GND in Fig. 5 is ground connection symbol, and the power supply of the two keys relay in Fig. 5 is also+5V.
To achieve these goals, according to a further aspect in the invention, provide a kind of air-conditioner, this air-conditioner comprises: air conditioner external; One or more internal machine of air-conditioner; Air-conditioning internal-external machine communication equipment; Wherein, air conditioner external is connected with one or more data converter by CAN; Each data converter is connected with internal machine of air-conditioner by RS485 bus.
Adopt the present invention, CAN data in CAN can be converted to RS485 data by data converter, and the RS485 data in RS485 bus can be converted to CAN data, achieve the conversion of RS485 data and CAN data, this communication equipment is used in air-conditioner, not use RS485 communication completely, or use CAN to carry out communication completely, thus avoid in prior art and only use RS485 communication, traffic rate is slower, and anti-interference and that data fault-tolerant ability is more weak problem, and avoid and use CAN network online completely, send the problem that data efficiency is lower, but in conjunction with the advantage of CAN and 485 buses, high and the CAN that antijamming capability is stronger of traffic rate is used to send control information to each indoor set and manual operator as the controller in the air conditioner external of host computer, status information, contain much information, internal machine of air-conditioner as slave computer can by information such as the timely feedback environment humitures of RS485 bus, adopt and send 485 higher buses of data efficiency, and the cost of 485 is lower, and can compatible all support RS485 networks and CAN network internal-external machine by data converter, need not match specially, thus solve the low problem of air-conditioning internal-external machine communication efficiency of the prior art, achieve the communication quick and precisely carrying out air-conditioner internal-external machine efficiently, and air-conditioner internal-external machine good compatible network under different systems can be realized, under making heterogeneous networks, interior machine outer machine coupling versatility strengthens, under making different system, internal-external machine configuration type selecting is more flexible.
To achieve these goals, according to a further aspect in the invention, provide a kind of air-conditioning internal-external machine communication means, the method comprises: the control information being received air conditioner external by CAN; Control information is converted to RS485 data by data converter; RS485 data are transferred to internal machine of air-conditioner and manual operator by RS485 bus; RS485 bus receives the feedback information of internal machine of air-conditioner and manual operator; Feedback information is converted to CAN data by data converter; CAN data are back to air conditioner external by CAN.
Adopt the present invention, CAN data in CAN can be converted to RS485 data by data converter, and the RS485 data in RS485 bus can be converted to CAN data, achieve the conversion of RS485 data and CAN data, this communication equipment is used in air-conditioner, not use RS485 communication completely, or use CAN to carry out communication completely, thus avoid in prior art and only use RS485 communication, traffic rate is slower, and anti-interference and that data fault-tolerant ability is more weak problem, and avoid and use CAN network online completely, send the problem that data efficiency is lower, but in conjunction with the advantage of CAN and 485 buses, high and the CAN that antijamming capability is stronger of traffic rate is used to send control information to each indoor set and manual operator as the controller in the air conditioner external of host computer, status information, contain much information, internal machine of air-conditioner as slave computer can by information such as the timely feedback environment humitures of RS485 bus, adopt and send 485 higher buses of data efficiency, and the cost of 485 is lower, and can compatible all support RS485 networks and CAN network internal-external machine by data converter, need not match specially, thus solve the low problem of air-conditioning internal-external machine communication efficiency of the prior art, achieve the communication quick and precisely carrying out air-conditioner internal-external machine efficiently, and air-conditioner internal-external machine good compatible network under different systems can be realized, under making heterogeneous networks, interior machine outer machine coupling versatility strengthens, under making different system, internal-external machine configuration type selecting is more flexible.
Fig. 6 shows the flow chart of RS485 data retransmission, and as shown in Figure 6, RS485 data retransmission can comprise the steps:
Step S601: initialize UART interface.
Particularly, baud rate is set when initializing UART interface.
Step S602: enable control RS485 data transmit-receive chip is output state.
Step S603: the control signal of air conditioner external is sent to corresponding internal machine of air-conditioner.
Step S604: enable control RS485 data transmit-receive chip is input state.
Step S605: judge whether the reply data receiving interior machine.
Wherein, when receiving the reply data of interior machine, perform step S606: the reply data of machine in buffer memory; When not receiving reply data, perform step S607.
The input state time delay 100MS of step S607: control RS485 data transmit-receive chip.
Step S608: enable control RS485 data transmit-receive chip is output state.
Step S609: the control signal of air conditioner external is sent to corresponding manual operator.
Wherein, control signal is the control information in above-described embodiment, can comprise the state of outer machine in this control signal.
Step S610: enable control RS485 data transmit-receive chip is input state.
Step S611: judge whether the reply data receiving manual operator.
Wherein, when receiving the reply data of manual operator, perform step S612: the reply data of buffer memory manual operator; When not receiving reply data, perform step S613.
The input state time delay 100MS of step S613: control RS485 data transmit-receive chip.
Step S614: enable control RS485 data transmit-receive chip is output state.
In being called the roll by above-mentioned steps converter cycle, machine and manual operator obtain the reply data of interior machine and manual operator, and arrange buffer area, the reply data of interior machine and manual operator are saved in buffer area.
Step S615: forward the status data of outer machine to interior machine and manual operator.
The input state time delay 100MS of step S616: control RS485 data transmit-receive chip.
Particularly, by reading the outer machine control data of buffer area, the status data of the external machine of converter carries out protocol conversion process, and sends this data on RS486 holding wire.
Wherein, the reply data in the present embodiment are the feedback information in above-described embodiment.
More specifically, forward the outer machine status data of RS485, need the outer machine status data reading CAN network side, and logical process is carried out to data, so that can compatible RS485 procotol, this process be not only change data, also comprises and changing logic and agreement.
Fig. 7 shows the flow chart of CAN data retransmission, and as shown in Figure 7, RS485 data retransmission can comprise the steps:
Step S701: initialize CAN interface.Particularly, system electrification initializes CAN interface, arranges baud rate.
Step S702: detect the synchronization frame data whether receiving CAN.
Wherein, when receiving the synchronization frame data of CAN, perform step S703; When not receiving the synchronization frame data of CAN, perform step S704.
Step S703: the reply data reading machine and manual operator in RS485.
Step S704: the polarity switching CAN data transmit-receive circuit.
Particularly, with 3 seconds polarity for periodic conversion CAN data transmit-receive circuit.
More specifically, converter judges whether to receive bus synchronous frame data, if do not receive, is the cycle carry out dipole inversion with 3S.
Step S705: the reply data of machine in RS485 and manual operator are converted to CAN data.
Step S706: the reply data of machine and manual operator in sending to CAN.
Step S707: converter by the status data of the upper outside machine of CAN that receives stored in buffer area.
Particularly, the reply data of machine and manual operator in conversion, can pass through to read the interior machine of RS485 network side and the reply data of manual operator, and logical process is carried out to data, so that can compatible CAN network agreement, this process not only comprises to be changed data, and comprises the conversion to logic and agreement.
It should be noted that, can perform in the computer system of such as one group of computer executable instructions in the step shown in the flow chart of accompanying drawing, and, although show logical order in flow charts, but in some cases, can be different from the step shown or described by order execution herein.
To achieve these goals, according to a further aspect in the invention, provide a kind of air-conditioning internal-external machine communicator, this device can comprise: the first receiver module, for being received the control information of air conditioner external by CAN; First modular converter, is converted to RS485 data for data converter by control information; RS485 data are transferred to internal machine of air-conditioner and manual operator for RS485 bus by the first transport module; Second receiver module, receives the feedback information of internal machine of air-conditioner and manual operator for RS485 bus; Second modular converter, is converted to CAN data for data converter by feedback information; Return module, for CAN, CAN data are back to air conditioner external.
Adopt the present invention, CAN data in CAN can be converted to RS485 data by data converter, and the RS485 data in RS485 bus can be converted to CAN data, achieve the conversion of RS485 data and CAN data, this communication equipment is used in air-conditioner, not use RS485 communication completely, or use CAN to carry out communication completely, thus avoid in prior art and only use RS485 communication, traffic rate is slower, and anti-interference and that data fault-tolerant ability is more weak problem, and avoid and use CAN network online completely, send the problem that data efficiency is lower, but in conjunction with the advantage of CAN and 485 buses, high and the CAN that antijamming capability is stronger of traffic rate is used to send control information to each indoor set and manual operator as the controller in the air conditioner external of host computer, status information, contain much information, internal machine of air-conditioner as slave computer can by information such as the timely feedback environment humitures of RS485 bus, adopt and send 485 higher buses of data efficiency, and the cost of 485 is lower, and can compatible all support RS485 networks and CAN network internal-external machine by data converter, need not match specially, thus solve the low problem of air-conditioning internal-external machine communication efficiency of the prior art, achieve the communication quick and precisely carrying out air-conditioner internal-external machine efficiently, and air-conditioner internal-external machine good compatible network under different systems can be realized, under making heterogeneous networks, interior machine outer machine coupling versatility strengthens, under making different system, internal-external machine configuration type selecting is more flexible.
From above description, can find out, present invention achieves following technique effect: adopt the present invention, CAN data in CAN can be converted to RS485 data by data converter, and the RS485 data in RS485 bus can be converted to CAN data, achieve the conversion of RS485 data and CAN data, this communication equipment is used in air-conditioner, not use RS485 communication completely, or use CAN to carry out communication completely, thus avoid in prior art and only use RS485 communication, traffic rate is slower, and anti-interference and that data fault-tolerant ability is more weak problem, and avoid and use CAN network online completely, send the problem that data efficiency is lower, but in conjunction with the advantage of CAN and 485 buses, high and the CAN that antijamming capability is stronger of traffic rate is used to send control information to each indoor set and manual operator as the controller in the air conditioner external of host computer, status information, contain much information, internal machine of air-conditioner as slave computer can by information such as the timely feedback environment humitures of RS485 bus, adopt and send 485 higher buses of data efficiency, and the cost of 485 is lower, and can compatible all support RS485 networks and CAN network internal-external machine by data converter, need not match specially, thus solve the low problem of air-conditioning internal-external machine communication efficiency of the prior art, achieve the communication quick and precisely carrying out air-conditioner internal-external machine efficiently, and air-conditioner internal-external machine good compatible network under different systems can be realized, under making heterogeneous networks, interior machine outer machine coupling versatility strengthens, under making different system, internal-external machine configuration type selecting is more flexible.
Obviously, those skilled in the art should be understood that, above-mentioned of the present invention each module or each step can realize with general calculation element, they can concentrate on single calculation element, or be distributed on network that multiple calculation element forms, alternatively, they can realize with the executable program code of calculation element, thus, they can be stored and be performed by calculation element in the storage device, or they are made into each integrated circuit modules respectively, or the multiple module in them or step are made into single integrated circuit module to realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (12)

1. an air-conditioning internal-external machine communication equipment, is characterized in that, comprising:
CAN;
RS485 bus;
Data converter, air conditioner external is connected with described data converter by described CAN, and internal machine of air-conditioner is connected with described data converter by described RS485 bus,
Wherein, described data converter is for changing RS485 data and CAN data.
2. air-conditioning internal-external machine communication equipment according to claim 1, it is characterized in that, described data converter comprises:
CAN communication interface, is connected with described CAN, for transmitting described CAN data;
CAN data transmit-receive circuit, is connected with described CAN communication interface, for receiving and dispatching described CAN data;
RS485 interface, is connected with described RS485 bus, for transmitting described RS485 data;
RS485 data transmit-receive circuit, is connected with described RS485 interface, for receiving and dispatching described RS485 data;
Main control chip, is connected between described CAN data transmit-receive circuit and described RS485 data transmit-receive circuit, receives and dispatches described CAN data for controlling described CAN data transmit-receive circuit, and controls described RS485 data transmit-receive circuit and receive and dispatch described RS485 data.
3. air-conditioning internal-external machine communication equipment according to claim 2, it is characterized in that, described data converter also comprises:
Power module, is connected with described main control chip, described CAN data transmit-receive circuit and described RS485 data transmit-receive circuit respectively, for powering for described main control chip, described CAN data transmit-receive circuit and described RS485 data transmit-receive circuit.
4. air-conditioning internal-external machine communication equipment according to claim 2, it is characterized in that, described data converter also comprises:
Reset circuit, is connected with described main control chip, controls described data converter for sending reset signal and returns back to original state to trigger described main control chip.
5. air-conditioning internal-external machine communication equipment according to claim 2, is characterized in that, described RS485 data transmit-receive circuit comprises:
RS485 data transmit-receive chip;
First Transient Voltage Suppressor and the second Transient Voltage Suppressor, be connected on the signal port of described RS485 data transmit-receive chip.
6. air-conditioning internal-external machine communication equipment according to claim 5, is characterized in that, described RS485 data transmit-receive circuit comprises:
Current-limiting resistance, is connected between described main control chip and described first Transient Voltage Suppressor.
7. air-conditioning internal-external machine communication equipment according to claim 2, is characterized in that, described CAN data transmit-receive circuit comprises:
CAN data transmit-receive chip;
First power isolation circuit, is connected between described CAN data transmit-receive chip and described main control chip;
Second source buffer circuit, is connected between described CAN data transmit-receive chip and described CAN communication interface;
First build-out resistor, is connected between described first power isolation circuit and described main control chip;
Second build-out resistor, is connected between described second source buffer circuit and described CAN communication interface.
8. air-conditioning internal-external machine communication equipment according to claim 7, is characterized in that, described CAN data transmit-receive circuit comprises:
3rd Transient Voltage Suppressor, is connected with described first power isolation circuit, described second source buffer circuit, described first build-out resistor and described second build-out resistor respectively.
9. air-conditioning internal-external machine communication equipment according to claim 7, is characterized in that, described CAN data transmit-receive circuit also comprises:
Polarity switching, be connected with described main control chip, described first build-out resistor and described second build-out resistor respectively, described polarity switching comprises:
Relay;
First triode, is connected with the first coil of described relay;
Second triode, is connected with the second coil of described relay,
Wherein, by control described first triode and described second triode not in the same time conducting control the commutation of described relay, to switch the reiving/transmitting state of described CAN data transmit-receive circuit.
10. an air-conditioner, is characterized in that, comprising:
Air conditioner external;
One or more internal machine of air-conditioner;
Air-conditioning internal-external machine communication equipment in claim 1 to 9 described in any one;
Wherein, described air conditioner external is connected with one or more data converter by CAN; Each described data converter is connected with described internal machine of air-conditioner by RS485 bus.
11. 1 kinds of air-conditioning internal-external machine communication means, is characterized in that, comprising:
The control information of air conditioner external is received by CAN;
Described control information is converted to RS485 data by data converter;
Described RS485 data are transferred to internal machine of air-conditioner and manual operator by RS485 bus;
Described RS485 bus receives the feedback information of described internal machine of air-conditioner and described manual operator;
Described feedback information is converted to CAN data by described data converter;
Described CAN data are back to described air conditioner external by described CAN.
12. 1 kinds of air-conditioning internal-external machine communicators, is characterized in that, comprising:
First receiver module, for receiving the control information of air conditioner external by CAN;
First modular converter, is converted to RS485 data for data converter by described control information;
Described RS485 data are transferred to internal machine of air-conditioner and manual operator for RS485 bus by the first transport module;
Second receiver module, receives the feedback information of described internal machine of air-conditioner and described manual operator for described RS485 bus;
Second modular converter, is converted to CAN data for described data converter by described feedback information;
Return module, for described CAN, described CAN data are back to described air conditioner external.
CN201310705312.8A 2013-12-18 2013-12-18 Air conditioner and air-conditioning internal-external machine communication means, device, equipment Active CN104728988B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310705312.8A CN104728988B (en) 2013-12-18 2013-12-18 Air conditioner and air-conditioning internal-external machine communication means, device, equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310705312.8A CN104728988B (en) 2013-12-18 2013-12-18 Air conditioner and air-conditioning internal-external machine communication means, device, equipment

Publications (2)

Publication Number Publication Date
CN104728988A true CN104728988A (en) 2015-06-24
CN104728988B CN104728988B (en) 2017-08-01

Family

ID=53453138

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310705312.8A Active CN104728988B (en) 2013-12-18 2013-12-18 Air conditioner and air-conditioning internal-external machine communication means, device, equipment

Country Status (1)

Country Link
CN (1) CN104728988B (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104965473A (en) * 2015-07-22 2015-10-07 广东美的暖通设备有限公司 VRV air-conditioning system and automatic addressing method therefor based on CAN bus
CN105180383A (en) * 2015-10-26 2015-12-23 珠海格力电器股份有限公司 Communication mode control method and system and air conditioner debugging device
CN105551222A (en) * 2016-01-28 2016-05-04 辽宁省交通规划设计院公路养护技术研发中心 Embedded bridge health monitoring system
CN105864898A (en) * 2016-06-01 2016-08-17 珠海格力电器股份有限公司 Multi-connected air conditioning unit
CN106247569A (en) * 2016-09-21 2016-12-21 珠海格力电器股份有限公司 Air-conditioning communication system, communication means and air-conditioner
CN106383478A (en) * 2016-11-15 2017-02-08 宁波奥克斯电气股份有限公司 RS 485 bus-based low-power control method and circuit
CN106452671A (en) * 2016-09-28 2017-02-22 青岛海尔空调电子有限公司 Internal unit and external unit communication method of multi-split air-conditioner
CN106850375A (en) * 2017-02-28 2017-06-13 安徽师范大学 A kind of CAN receive-transmit system
CN107421063A (en) * 2017-07-12 2017-12-01 广东美的制冷设备有限公司 Air conditioning control method, control device, air conditioner, system and storage medium
CN109140700A (en) * 2018-08-03 2019-01-04 珠海格力电器股份有限公司 The means of communication of the communication device of machine, air-conditioning and its inside and outside machine inside and outside a kind of air-conditioning
CN109489185A (en) * 2018-11-16 2019-03-19 珠海格力电器股份有限公司 Air-conditioning system, control method and interior machine controller
CN110686368A (en) * 2019-09-26 2020-01-14 珠海格力电器股份有限公司 Communication control device, internal machine, external machine, temperature controller, communication method and air conditioner
CN112032981A (en) * 2020-07-24 2020-12-04 广东积微科技有限公司 Air conditioner indoor and outdoor unit communication circuit and air conditioner
CN112283886A (en) * 2020-10-13 2021-01-29 珠海格力电器股份有限公司 Control method and device of multi-connected air conditioning unit and multi-connected air conditioning unit
CN113028615A (en) * 2019-12-09 2021-06-25 新奥数能科技有限公司 Distributed central air-conditioning system based on CAN bus and control method thereof
CN113945002A (en) * 2020-07-17 2022-01-18 海信(山东)空调有限公司 Communication conversion circuit and air conditioner

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1426703A1 (en) * 2002-12-02 2004-06-09 Lg Electronics Inc. Central control system for controlling multiple air conditioners and method for operating the same
CN1654893A (en) * 2005-01-28 2005-08-17 杨东 Energy-saving intelligent control system for central air conditioner
CN1783888A (en) * 2004-11-29 2006-06-07 乐金电子(天津)电器有限公司 Air conditioner interface system
CN1877209A (en) * 2005-06-08 2006-12-13 海尔集团公司 Commercial air conditioner management system and control method thereof
KR20070072263A (en) * 2005-12-31 2007-07-04 엘지전자 주식회사 Multi-airconditioner system and communicationg method thereof
CN201368561Y (en) * 2009-01-06 2009-12-23 苏州三星电子有限公司 Automatic regulation device for inverter air conditioner bus
CN201876746U (en) * 2010-11-20 2011-06-22 郑州春泉暖通节能设备有限公司 Energy-saving temperature control device for multi-point monitoring and control
CN102299837A (en) * 2011-07-21 2011-12-28 四川长虹空调有限公司 Frequency conversion air-conditioner temperature data communication method
CN102679497A (en) * 2012-05-14 2012-09-19 广州市设计院 Improved self-correcting variable parameter fan coil temperature control method and special equipment
CN202853058U (en) * 2012-09-20 2013-04-03 宁波奥克斯电气有限公司 Novel multi-connected air conditioning unit
CN103064388A (en) * 2012-12-27 2013-04-24 莱得圣智能科技(上海)有限公司 Intelligent guestroom control system and monitoring method thereof
CN103391230A (en) * 2012-05-11 2013-11-13 珠海格力电器股份有限公司 Communication interface conversion device, system and method

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1426703A1 (en) * 2002-12-02 2004-06-09 Lg Electronics Inc. Central control system for controlling multiple air conditioners and method for operating the same
CN1783888A (en) * 2004-11-29 2006-06-07 乐金电子(天津)电器有限公司 Air conditioner interface system
CN1654893A (en) * 2005-01-28 2005-08-17 杨东 Energy-saving intelligent control system for central air conditioner
CN1877209A (en) * 2005-06-08 2006-12-13 海尔集团公司 Commercial air conditioner management system and control method thereof
KR20070072263A (en) * 2005-12-31 2007-07-04 엘지전자 주식회사 Multi-airconditioner system and communicationg method thereof
CN201368561Y (en) * 2009-01-06 2009-12-23 苏州三星电子有限公司 Automatic regulation device for inverter air conditioner bus
CN201876746U (en) * 2010-11-20 2011-06-22 郑州春泉暖通节能设备有限公司 Energy-saving temperature control device for multi-point monitoring and control
CN102299837A (en) * 2011-07-21 2011-12-28 四川长虹空调有限公司 Frequency conversion air-conditioner temperature data communication method
CN103391230A (en) * 2012-05-11 2013-11-13 珠海格力电器股份有限公司 Communication interface conversion device, system and method
CN102679497A (en) * 2012-05-14 2012-09-19 广州市设计院 Improved self-correcting variable parameter fan coil temperature control method and special equipment
CN202853058U (en) * 2012-09-20 2013-04-03 宁波奥克斯电气有限公司 Novel multi-connected air conditioning unit
CN103064388A (en) * 2012-12-27 2013-04-24 莱得圣智能科技(上海)有限公司 Intelligent guestroom control system and monitoring method thereof

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104965473A (en) * 2015-07-22 2015-10-07 广东美的暖通设备有限公司 VRV air-conditioning system and automatic addressing method therefor based on CAN bus
CN105180383A (en) * 2015-10-26 2015-12-23 珠海格力电器股份有限公司 Communication mode control method and system and air conditioner debugging device
CN105180383B (en) * 2015-10-26 2017-11-17 珠海格力电器股份有限公司 A kind of communication modes control method, system and debugging air conditioner device
CN105551222A (en) * 2016-01-28 2016-05-04 辽宁省交通规划设计院公路养护技术研发中心 Embedded bridge health monitoring system
CN105864898A (en) * 2016-06-01 2016-08-17 珠海格力电器股份有限公司 Multi-connected air conditioning unit
CN106247569A (en) * 2016-09-21 2016-12-21 珠海格力电器股份有限公司 Air-conditioning communication system, communication means and air-conditioner
CN106452671A (en) * 2016-09-28 2017-02-22 青岛海尔空调电子有限公司 Internal unit and external unit communication method of multi-split air-conditioner
CN106383478B (en) * 2016-11-15 2019-10-11 宁波奥克斯电气股份有限公司 Low-power-consumptiocontrol control method and circuit based on RS485 bus
CN106383478A (en) * 2016-11-15 2017-02-08 宁波奥克斯电气股份有限公司 RS 485 bus-based low-power control method and circuit
CN106850375A (en) * 2017-02-28 2017-06-13 安徽师范大学 A kind of CAN receive-transmit system
CN106850375B (en) * 2017-02-28 2022-07-08 安徽师范大学 CAN bus receiving and transmitting system
CN107421063A (en) * 2017-07-12 2017-12-01 广东美的制冷设备有限公司 Air conditioning control method, control device, air conditioner, system and storage medium
CN109140700A (en) * 2018-08-03 2019-01-04 珠海格力电器股份有限公司 The means of communication of the communication device of machine, air-conditioning and its inside and outside machine inside and outside a kind of air-conditioning
CN109489185A (en) * 2018-11-16 2019-03-19 珠海格力电器股份有限公司 Air-conditioning system, control method and interior machine controller
CN110686368A (en) * 2019-09-26 2020-01-14 珠海格力电器股份有限公司 Communication control device, internal machine, external machine, temperature controller, communication method and air conditioner
CN110686368B (en) * 2019-09-26 2021-03-23 珠海格力电器股份有限公司 Communication control device, internal machine, external machine, temperature controller, communication method and air conditioner
CN113028615A (en) * 2019-12-09 2021-06-25 新奥数能科技有限公司 Distributed central air-conditioning system based on CAN bus and control method thereof
CN113945002A (en) * 2020-07-17 2022-01-18 海信(山东)空调有限公司 Communication conversion circuit and air conditioner
CN113945002B (en) * 2020-07-17 2023-07-14 海信空调有限公司 Communication conversion circuit and air conditioner
CN112032981A (en) * 2020-07-24 2020-12-04 广东积微科技有限公司 Air conditioner indoor and outdoor unit communication circuit and air conditioner
CN112283886A (en) * 2020-10-13 2021-01-29 珠海格力电器股份有限公司 Control method and device of multi-connected air conditioning unit and multi-connected air conditioning unit

Also Published As

Publication number Publication date
CN104728988B (en) 2017-08-01

Similar Documents

Publication Publication Date Title
CN104728988A (en) Air conditioner and communication method, device and equipment of inside and outside machines of air conditioner
CN102508533B (en) Reset control device and method
CN101060412B (en) Ethernet power supply system, master control module and Ethernet power supply method
US8924603B2 (en) Protocol adapter for passing diagnostic messages between a host computer and vehicle networks operating in J1939 or J1708 protocol
CN203605405U (en) Air conditioner and communication device of air conditioner internal unit and air conditioner external unit
CN103248526A (en) Communication equipment and method for achieving out-of-band monitoring and management, and master-slave switching method
CN109558371A (en) Serial connection between Management Controller and microcontroller
CN106826825B (en) A kind of more mechanical arm wireless control cabinets and more mechanical arm control systems
CN101661454A (en) High-speed serial buss system capable of being dynamically reconfigured and control method thereof
CN105677605A (en) Highly-efficient interconnected system capable of configuring chips and realization system thereof and device
CN100504831C (en) Method and apparatus for recovering I2C bus locked by slave device
CN104678809A (en) Universal sensor control equipment and system
CN202230378U (en) Motion control system with terminal capable of being expanded at will
CN105812221A (en) Data transmission device and method in virtual extensible local area network
CN101568890B (en) Two-wire field device for process automation technology for connecting at least one sensor element
CN103403563B (en) Reverse supply line test macro and equipment
CN102843253A (en) Multi-sub-rack communication device and method and device of communication of multi-sub-rack communication device
CN204423022U (en) Can general purpose transducer opertaing device and system
CN102635918B (en) The control device of air-conditioner set and control system
CN102447601B (en) S-bus monobus communicating circuit
CN203012478U (en) Distributed control facility for ultra-multichannel optical fiber system of laser device
CN106330787A (en) Data packet transmission method, devices and system
CN110798390A (en) Communication system and communication method for power supply and distribution system of submarine observation network
CN105180383A (en) Communication mode control method and system and air conditioner debugging device
CN104680666A (en) Intelligent express mail box using bus technology

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant