CN104728988B - Air conditioner and air-conditioning internal-external machine communication means, device, equipment - Google Patents

Air conditioner and air-conditioning internal-external machine communication means, device, equipment Download PDF

Info

Publication number
CN104728988B
CN104728988B CN201310705312.8A CN201310705312A CN104728988B CN 104728988 B CN104728988 B CN 104728988B CN 201310705312 A CN201310705312 A CN 201310705312A CN 104728988 B CN104728988 B CN 104728988B
Authority
CN
China
Prior art keywords
data
air
internal
external
machine
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.)
Active
Application number
CN201310705312.8A
Other languages
Chinese (zh)
Other versions
CN104728988A (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 a kind of air conditioner and air-conditioning internal-external machine communication means, device, equipment.Wherein, the equipment includes:CAN;RS485 buses;Data converter, air conditioner external is connected by CAN with data converter, and internal machine of air-conditioner is connected by RS485 buses with data converter, wherein, data converter is used to change RS485 data and CAN data.Using the present invention, solve the problem of air-conditioning internal-external machine communication efficiency of the prior art is low, realize the communication for quick and precisely efficiently carrying out air conditioner internal-external machine, and air conditioner internal-external machine good compatible network under different systems can be realized, so that the outer machine matching versatility enhancing of machine under heterogeneous networks, makes internal-external machine configuration type selecting under different system more flexible.

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, dress Put, equipment.
Background technology
In multiple on-line system, RS485 network multi-connected machines are used completely, and traffic rate is slower and anti-interference and data Fault-tolerant ability is weaker, and agreement upgrading updates more difficult;And CAN network multi-connected machine is used completely, although traffic rate and anti- Interference performance has very big lifting, but is due to be limited by network characteristic itself, and per frame, transmission valid data byte number is less, therefore Send data efficiency relatively low.
Specifically, CAN(Control area net(CAN))For serial communication, it can effectively support the distribution with very high safety grade real When control.CAN is compared as shown in table 1 with RS485 communication characteristics.
Table 1
And if using air-conditioning internal-external machine under different system communication network different system can not carry out in same system Match somebody with somebody.
For the problem of air-conditioning internal-external machine communication efficiency is low in the prior art, effective solution is not yet proposed at present.
The content of the invention
For the problem of air-conditioning internal-external machine communication efficiency is low in correlation technique, effective solution is not yet proposed at present, Therefore, it is a primary object of the present invention to provide a kind of air conditioner and air-conditioning internal-external machine communication means, device, equipment, to solve Above mentioned problem.
To achieve these goals, according to an aspect of the invention, there is provided a kind of air-conditioning internal-external machine communication equipment, is somebody's turn to do Equipment includes:CAN;RS485 buses;Data converter, air conditioner external is connected by CAN with data converter, Internal machine of air-conditioner is connected by RS485 buses with data converter, wherein, data converter is used to change RS485 data and CAN Data.
Further, data converter includes: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 interfaces, are connected with RS485 buses, are used for Transmit RS485 data;RS485 data transmit-receive circuits, are connected with RS485 interfaces, for receiving and dispatching RS485 data;Main control chip, even It is connected between CAN data transmit-receives circuit and RS485 data transmit-receive circuits, for controlling CAN data transmit-receives circuit to receive and dispatch CAN numbers According to, and control RS485 data transmit-receives circuit transmitting-receiving RS485 data.
Further, data converter also includes:Power module, respectively with main control chip, CAN data transmit-receives circuit and RS485 data transmit-receives circuit is connected, for being supplied for main control chip, CAN data transmit-receives circuit and RS485 data transmit-receives circuit Electricity.
Further, data converter also includes:Reset circuit, is connected with main control chip, for send reset signal with Triggering main control chip control data converter returns back to original state.
Further, RS485 data transmit-receives circuit includes:RS485 data transmit-receive chips;First Transient Voltage Suppressor and On second Transient Voltage Suppressor, the signal port for being connected to RS485 data transmit-receive chips.
Further, RS485 data transmit-receives circuit includes:Current-limiting resistance, is connected to main control chip and the first transient voltage Between suppressor.
Further, CAN data transmit-receives circuit includes:CAN data transmit-receive chips;First power isolation circuit, is connected to Between CAN data transmit-receives chip and main control chip;Second source isolation circuit, is connected to CAN data transmit-receives chip and CAN communication Between interface;First build-out resistor, is connected between the first power isolation circuit and main control chip;Second build-out resistor, connection Between second source isolation circuit and CAN communication interface.
Further, CAN data transmit-receives circuit includes:3rd Transient Voltage Suppressor, respectively with the first isolated from power electricity Road, second source isolation circuit, the first build-out resistor and the connection of the second build-out resistor.
Further, CAN data transmit-receives circuit also includes:Polarity switching, matches electricity with main control chip, first respectively Resistance and the connection of the second build-out resistor, polarity switching include:Relay;First triode, the first coil with relay Connection;Second triode, is connected with the second coil of relay, wherein, by controlling the first triode and the second triode to exist Not conducting control relay commutation in the same time, to switch the reiving/transmitting state of CAN data transmit-receive circuits.
To achieve these goals, according to another aspect of the present invention there is provided a kind of air conditioner, the air conditioner includes: Air conditioner external;One or more internal machine of air-conditioner;Air-conditioning internal-external machine communication equipment;Wherein, air conditioner external passes through CAN It is connected with one or more data converters;Each data converter is connected by RS485 buses with internal machine of air-conditioner.
To achieve these goals, should according to another aspect of the present invention there is provided a kind of air-conditioning internal-external machine communication means Method includes:The control information of air conditioner external is received by CAN;Control information is converted to RS485 by data converter Data;RS485 buses are by RS485 data transfers to internal machine of air-conditioner and manual operator;RS485 buses receive internal machine of air-conditioner and hand Grasp the feedback information of device;Feedback information is converted to CAN data by data converter;CAN data are back to air conditioner by CAN Outer machine.
To achieve these goals, should according to another aspect of the present invention there is provided a kind of air-conditioning internal-external machine communicator Device includes:First receiving module, the control information for receiving air conditioner external by CAN;First modular converter, is used Control information is converted into RS485 data in data converter;First transport module, passes RS485 data for RS485 buses Transport to internal machine of air-conditioner and manual operator;Second receiving module, the feedback of internal machine of air-conditioner and manual operator is received for RS485 buses Information;Second modular converter, CAN data are converted to for data converter by feedback information;Module is returned to, for CAN CAN data are back to air conditioner external.
Using the present invention, the CAN data in CAN can be converted to by RS485 data by data converter, and RS485 data in RS485 buses can be converted to CAN data, the conversion of RS485 data and CAN data be realized, in sky Adjust and the communication equipment is used in device, be not to be communicated completely using RS485, or communicated completely using CAN, so as to avoid RS485 is only used only in the prior art to communicate, traffic rate is slower and anti-interference and the problem of weaker data fault-tolerant ability, And completely online using CAN network, the problem of transmission data efficiency is relatively low is avoided, but combines CAN and 485 buses Advantage, use traffic rate high as the controller in the air conditioner external of host computer and the stronger CAN of antijamming capability be total Line sends control information, status information to each indoor set and manual operator, contains much information;Can be with as the internal machine of air-conditioner of slave computer By information such as the timely feedback environment humitures of RS485 buses, 485 buses higher using data efficiency is sent, and 485 into This is relatively low, and by data converter can compatible all support RS485 networks and CAN network internal-external machine, without special Pairing, so as to solve the problem of air-conditioning internal-external machine communication efficiency of the prior art is low, realizes and quick and precisely efficiently enters The communication of row air conditioner internal-external machine, and air conditioner internal-external machine good compatible network under different systems can be realized, make Under heterogeneous networks in the outer machine matching versatility enhancing of machine, make internal-external machine configuration type selecting under different system more flexible.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, this hair Bright schematic description and description is used to explain the present invention, does not constitute inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the structural representation of air-conditioning internal-external machine communication equipment according to embodiments of the present invention;
Fig. 2 is a kind of structural representation of optional air-conditioning internal-external machine communication equipment according to embodiments of the present invention;
Fig. 3 is the structural representation of digital quantizer according to embodiments of the present invention;
Fig. 4 is the circuit diagram of RS485 data transmit-receive circuits according to embodiments of the present invention;
Fig. 5 is the circuit diagram of CAN data transmit-receive circuits according to embodiments of the present invention;
Fig. 6 is the flow chart of RS485 data transmit-receives according to embodiments of the present invention;And
Fig. 7 is the flow chart of CAN data transmit-receives according to embodiments of the present invention.
Embodiment
It should be noted that in the case where not conflicting, the feature in embodiment and embodiment in the application can phase Mutually combination.Describe the present invention in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 is the structural representation of air-conditioning internal-external machine communication equipment according to embodiments of the present invention.As shown in figure 1, this sets It is standby to include:CAN 10;RS485 buses 20;Data converter 30, air conditioner external 40 is turned by CAN and data Parallel operation is connected, and internal machine of air-conditioner 50 is connected by RS485 buses with data converter, wherein, data converter is used to change RS485 data and CAN data.
Using the present invention, the CAN data in CAN can be converted to by RS485 data by data converter, and RS485 data in RS485 buses can be converted to CAN data, the conversion of RS485 data and CAN data be realized, in sky Adjust and the communication equipment is used in device, be not to be communicated completely using RS485, or communicated completely using CAN, so as to avoid RS485 is only used only in the prior art to communicate, traffic rate is slower and anti-interference and the problem of weaker data fault-tolerant ability, And completely online using CAN network, the problem of transmission data efficiency is relatively low is avoided, but combines CAN and 485 buses Advantage, use traffic rate high as the controller in the air conditioner external of host computer and the stronger CAN of antijamming capability be total Line sends control information, status information to each indoor set and manual operator, contains much information;Can be with as the internal machine of air-conditioner of slave computer By information such as the timely feedback environment humitures of RS485 buses, 485 buses higher using data efficiency is sent, and 485 into This is relatively low, and by data converter can compatible all support RS485 networks and CAN network internal-external machine, without special Pairing, so as to solve the problem of air-conditioning internal-external machine communication efficiency of the prior art is low, realizes and quick and precisely efficiently enters The communication of row air conditioner internal-external machine, and air conditioner internal-external machine good compatible network under different systems can be realized, make Under heterogeneous networks in the outer machine matching versatility enhancing of machine, make internal-external machine configuration type selecting under different system more flexible.
In the above-described embodiments, RS485 buses(RS485 buses i.e. in above-described embodiment)Cost is low, using the program Communication cost can also be reduced.
According to the abovementioned embodiments of the present invention, as shown in Figures 2 and 3, data converter can include:CAN communication interface 31, it is connected with CAN 10, for transmitting CAN data;CAN data transmit-receives circuit 32, is connected with CAN communication interface 31, is used for Receive and dispatch CAN data;RS485 interfaces 33, are connected with RS485 buses 20, for transmitting RS485 data;RS485 data transmit-receive circuits 34, it is connected with RS485 interfaces, for receiving and dispatching RS485 data;Main control chip 35, be connected to CAN data transmit-receives circuit 32 with Between RS485 data transmit-receives circuit 34, for controlling CAN data transmit-receives circuit to receive and dispatch CAN data, and control RS485 data Transmission circuit receives and dispatches RS485 data.
Specifically, as shown in Fig. 2 the data converter 30 possesses bi-directional data translation function, CAN 10 can be received Outer machine status data convert thereof into RS485 data and be sent to internal machine of air-conditioner 50;Data converter 30 will can also be received To the interior machine status datas of RS485 buses 20 be converted into CAN data and be sent to air conditioner external 40.As shown in Fig. 2 air conditioner Outer machine 40 is not only communicated with internal machine of air-conditioner 50, can also be communicated with manual operator 60, in fig. 2, each air conditioner Outer machine 40 can correspond to one or more internal machine of air-conditioner 50, namely the communication of air conditioner external 40 and internal machine of air-conditioner 50 can be with Pass through one or more data converters 30.
As shown in figure 3, data converter 30 can also include:Power module 36, respectively with main control chip 35, CAN data Transmission circuit 32 and RS485 data transmit-receives circuit 34 are connected, for for main control chip, CAN data transmit-receives circuit and RS485 Data transmit-receive circuit is powered.
Specifically, data converter also includes:Reset circuit 37, is connected with main control chip, for send reset signal with Triggering main control chip control data converter returns back to original state.
As shown in figure 3, power module 36 is powered using low power consumption switch power supply, using the teaching of the invention it is possible to provide stable DC DC sources;It is main Control chip 35 (MCU):Main control chip embeds CAN function control devices and UART communication modules(Asynchronous receiving-transmitting transmitter).
MAX13089 transponder chips can be used in RS485 data transmit-receives circuit 34 shown in Fig. 3, and in circuit Signal output part increases two-way TVS diode, can Lightning proof, add the reliability of communication data.
CAN data transmit-receives circuit 32 in Fig. 3 can use nonpolarity switching circuit, specifically, can use IS01050 Transponder chip, this chip itself possesses signal isolation, it is not necessary to improve reliability using light-coupled isolation.
As shown in figure 4, RS485 data transmit-receives circuit can include:RS485 data transmit-receives chip 341;First transient voltage Suppressor and the second Transient Voltage Suppressor, are connected to the signal port of RS485 data transmit-receive chips, in Fig. 4, RS485 numbers There are three signal ports according to transmission circuit, the signal port can be used for transmitting data.
Specifically, RS485 data transmit-receives circuit includes:Current-limiting resistance, is connected to main control chip and the first transient voltage presses down Between device processed.
As shown in figure 4, wherein the first Transient Voltage Suppressor(TVS1)With the second Transient Voltage Suppressor(TVS2)Can be with It is anti-lightning strike, if when RS485 data transmit-receives circuit is used for multiplex communication not altogether, it is likely that cause TVS pipe to exist positive Bias, so as to cause the damage of unidirectional TVS pipe, causes communication abnormality, therefore the first above-mentioned Transient Voltage Suppressor and the second wink State voltage suppressor can select two-way TVS diode, and both direction can carry out clamper to voltage.
Specifically, current-limiting resistance is concatenated between RS485 data transmit-receives chip and main control chip in Fig. 4, can protected very well I/O mouthfuls, prevent its short circuit;Multiple power supplys can be used in the circuit shown in Fig. 4(It is RS485 data transmit-receive cores such as using 5V Piece is powered, powered using 12V power supply for I/O interfaces, and I/O interfaces are the signal port in above-described embodiment)For different electricity Sub- component is powered, to strengthen the stability of the work of each electronic component in circuit.
More specifically, when communication distance is longer, can increase build-out resistor to improve communication quality between AB connections.
In the above embodiment of the present invention, CAN data transmit-receives circuit can include:CAN data transmit-receive chips;First electricity Source isolation circuit, is connected between CAN data transmit-receives chip and main control chip;Second source isolation circuit, is connected to CAN data Between transceiving 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 isolation circuit and CAN communication interface.
Specifically, CAN data transmit-receives circuit includes:3rd Transient Voltage Suppressor, respectively with the first power isolation circuit, Second source isolation circuit, the first build-out resistor and the connection of the second build-out resistor.
Further, CAN data transmit-receives circuit also includes:Polarity switching, matches electricity with main control chip, first respectively Resistance and the connection of the second build-out resistor, polarity switching include:Relay;First triode, the first coil with relay Connection;Second triode, is connected with the second coil of relay, wherein, by controlling the first triode and the second triode to exist Not conducting control relay commutation in the same time.
As shown in figure 5, CAN data transmit-receives chip 321 can carry the CAN data transmit-receive chips of isolation features for TI ISO1050, CAN data transmit-receive chip are identical with normal electrodeless chip, support the ISO11898 standards of standard.CAN data transmit-receives Circuit can include:CAN data transmit-receives chip 321 and power isolation circuit 322, power isolation circuit can be two passages The first power isolation circuit and second source isolation circuit in isolation circuit, i.e. above-described embodiment, specifically, can be by first Power isolation circuit and second source isolation circuit are arranged on CAN data transmit-receive chips both sides, and two-way power isolation circuit can be with Use two power supplys(The power supply of two+5V as illustrated), same power supply can also be used.Using power isolation circuit it Afterwards, other circuits of mainboard can be protected well in the case where extreme case occurs in CAN.
The TVS protection chips shown in Fig. 5(That is the 3rd Transient Voltage Suppressor 323)Can be NUP2105, the chip is Two-way TVS chips, can improve EMI and antistatic capacity in high-speed CAN bus.Specifically, signal is first in CAN bus First pass through and CAN data transmit-receive chips are entered back into after the protection of TVS chips, minimizing electrostatic protects the weakening to CAN data.
Specifically, CAN dipole inversion is in particular by relay two-way coil and 2 triodes(As shown in Fig. 5 Q1 and Q2)To realize, an adhesive direction of each coil control relay of relay.One kind is first selected by converter Relay attracting state, if always can't detect signal in CAN, then just drive an other triode ON, make Two keys relay J commutates.There is the relay that this programme is used magnetic to keep disconnecting coil electricity after function, therefore coil electricity 10mS Source, relay contact can the preceding state of hold-in winding power-off.Specifically, by changing the polarity switching CAN of CAN data transmit-receive chips The reiving/transmitting state of data transmit-receive circuit.GND in Fig. 5 is that the power supply of the two keys relay in ground connection symbol, Fig. 5 is also +5V。
To achieve these goals, according to another aspect of the present invention there is provided a kind of air conditioner, the air conditioner includes: Air conditioner external;One or more internal machine of air-conditioner;Air-conditioning internal-external machine communication equipment;Wherein, air conditioner external passes through CAN It is connected with one or more data converters;Each data converter is connected by RS485 buses with internal machine of air-conditioner.
Using the present invention, the CAN data in CAN can be converted to by RS485 data by data converter, and RS485 data in RS485 buses can be converted to CAN data, the conversion of RS485 data and CAN data be realized, in sky Adjust and the communication equipment is used in device, be not to be communicated completely using RS485, or communicated completely using CAN, so as to avoid RS485 is only used only in the prior art to communicate, traffic rate is slower and anti-interference and the problem of weaker data fault-tolerant ability, And completely online using CAN network, the problem of transmission data efficiency is relatively low is avoided, but combines CAN and 485 buses Advantage, use traffic rate high as the controller in the air conditioner external of host computer and the stronger CAN of antijamming capability be total Line sends control information, status information to each indoor set and manual operator, contains much information;Can be with as the internal machine of air-conditioner of slave computer By information such as the timely feedback environment humitures of RS485 buses, 485 buses higher using data efficiency is sent, and 485 into This is relatively low, and by data converter can compatible all support RS485 networks and CAN network internal-external machine, without special Pairing, so as to solve the problem of air-conditioning internal-external machine communication efficiency of the prior art is low, realizes and quick and precisely efficiently enters The communication of row air conditioner internal-external machine, and air conditioner internal-external machine good compatible network under different systems can be realized, make Under heterogeneous networks in the outer machine matching versatility enhancing of machine, make internal-external machine configuration type selecting under different system more flexible.
To achieve these goals, should according to another aspect of the present invention there is provided a kind of air-conditioning internal-external machine communication means Method includes:The control information of air conditioner external is received by CAN;Control information is converted to RS485 by data converter Data;RS485 buses are by RS485 data transfers to internal machine of air-conditioner and manual operator;RS485 buses receive internal machine of air-conditioner and hand Grasp the feedback information of device;Feedback information is converted to CAN data by data converter;CAN data are back to air conditioner by CAN Outer machine.
Using the present invention, the CAN data in CAN can be converted to by RS485 data by data converter, and RS485 data in RS485 buses can be converted to CAN data, the conversion of RS485 data and CAN data be realized, in sky Adjust and the communication equipment is used in device, be not to be communicated completely using RS485, or communicated completely using CAN, so as to avoid RS485 is only used only in the prior art to communicate, traffic rate is slower and anti-interference and the problem of weaker data fault-tolerant ability, And completely online using CAN network, the problem of transmission data efficiency is relatively low is avoided, but combines CAN and 485 buses Advantage, use traffic rate high as the controller in the air conditioner external of host computer and the stronger CAN of antijamming capability be total Line sends control information, status information to each indoor set and manual operator, contains much information;Can be with as the internal machine of air-conditioner of slave computer By information such as the timely feedback environment humitures of RS485 buses, 485 buses higher using data efficiency is sent, and 485 into This is relatively low, and by data converter can compatible all support RS485 networks and CAN network internal-external machine, without special Pairing, so as to solve the problem of air-conditioning internal-external machine communication efficiency of the prior art is low, realizes and quick and precisely efficiently enters The communication of row air conditioner internal-external machine, and air conditioner internal-external machine good compatible network under different systems can be realized, make Under heterogeneous networks in the outer machine matching versatility enhancing of machine, make internal-external machine configuration type selecting under different system more flexible.
Fig. 6 shows the flow chart of RS485 data forwardings, as shown in fig. 6, RS485 data forwardings can include following step Suddenly:
Step S601:Initialize UART interface.
Specifically, baud rate is set when initializing UART interface.
Step S602:Enable controls RS485 data transmit-receives chip to be output state.
Step S603:The control signal of air conditioner external is sent to corresponding internal machine of air-conditioner.
Step S604:Enable controls RS485 data transmit-receives chip to be input state.
Step S605:Judge whether to receive the reply data of interior machine.
Wherein, in the case where receiving the reply data of interior machine, step S606 is performed:The reply data of machine in caching; In the case where being not received by reply data, step S607 is performed.
Step S607:Control the input state delay 100MS of RS485 data transmit-receive chips.
Step S608:Enable controls RS485 data transmit-receives chip to be output state.
Step S609:The control signal of air conditioner external is sent to corresponding manual operator.
Wherein, control signal is that can include the shape of outer machine in the control information in above-described embodiment, the control signal State.
Step S610:Enable controls RS485 data transmit-receives chip to be input state.
Step S611:Judge whether to receive the reply data of manual operator.
Wherein, in the case where receiving the reply data of manual operator, step S612 is performed:Cache the reply number of manual operator According to;In the case where being not received by reply data, step S613 is performed.
Step S613:Control the input state delay 100MS of RS485 data transmit-receive chips.
Step S614:Enable controls RS485 data transmit-receives chip to be output state.
The reply data of interior machine and manual operator are obtained by machine in the roll-call of above-mentioned steps converter cycle and manual operator, and Buffer area is set, the reply data of interior machine and manual operator are preserved to buffer area.
Step S615:The status data of the outer machine of forwarding is to interior machine and manual operator.
Step S616:Control the input state delay 100MS of RS485 data transmit-receive chips.
Specifically, by reading the outer machine control data of buffer area, the status data of the external machine of converter carries out agreement and turned Change processing, and this data is sent on RS486 signal wires.
Wherein, the reply data in the present embodiment are the feedback information in above-described embodiment.
More specifically, the outer machine status datas of RS485 are forwarded, it is necessary to read the outer machine status data of CAN network side, and it is right Data carry out logical process, so as to which compatibility RS485 procotols, this process is not only that data are changed, also wrap Include and logic and agreement are changed.
Fig. 7 shows the flow chart of CAN data forwardings, as shown in fig. 7, RS485 data forwardings may include steps of:
Step S701:Initialize CAN interface.Specifically, system electrification initialization CAN interface, sets baud rate.
Step S702:Detect whether to receive the synchronous frame data of CAN.
Wherein, in the case where receiving the synchronous frame data of CAN, step S703 is performed;It is being not received by CAN In the case of the synchronous frame data of bus, step S704 is performed.
Step S703:Read the reply data of machine and manual operator in RS485.
Step S704:Switch the polarity of CAN data transmit-receive circuits.
Specifically, with the 3 seconds polarity for periodic conversion CAN data transmit-receive circuits.
More specifically, converter judges whether to receive bus synchronous frame data, using 3S as the cycle if being not received by Carry out dipole inversion.
Step S705:The reply data of machine in RS485 and manual operator are converted into CAN data.
Step S706:To CAN send in machine and manual operator reply data.
Step S707:The status data of outer machine in the CAN received is stored in buffer area by converter.
Specifically, the reply data of machine and manual operator in changing, can be grasped by reading the interior machine and hand of RS485 network sides The reply data of device, and logical process is carried out to data, so as to which compatible CAN network agreement, this process not only includes Data are changed, and including the conversion to logic and agreement.
It should be noted that can be in such as one group computer executable instructions the step of the flow of accompanying drawing is illustrated Performed in computer system, and, although logical order is shown in flow charts, but in some cases, can be with not The order being same as herein performs shown or described step.
To achieve these goals, should according to another aspect of the present invention there is provided a kind of air-conditioning internal-external machine communicator Device can include:First receiving module, the control information for receiving air conditioner external by CAN;First modulus of conversion Block, RS485 data are converted to for data converter by control information;First transport module, for RS485 buses by RS485 Data transfer is to internal machine of air-conditioner and manual operator;Second receiving module, internal machine of air-conditioner and manual operator are received for RS485 buses Feedback information;Second modular converter, CAN data are converted to for data converter by feedback information;Module is returned, is used for CAN data are back to air conditioner external by CAN.
Using the present invention, the CAN data in CAN can be converted to by RS485 data by data converter, and RS485 data in RS485 buses can be converted to CAN data, the conversion of RS485 data and CAN data be realized, in sky Adjust and the communication equipment is used in device, be not to be communicated completely using RS485, or communicated completely using CAN, so as to avoid RS485 is only used only in the prior art to communicate, traffic rate is slower and anti-interference and the problem of weaker data fault-tolerant ability, And completely online using CAN network, the problem of transmission data efficiency is relatively low is avoided, but combines CAN and 485 buses Advantage, use traffic rate high as the controller in the air conditioner external of host computer and the stronger CAN of antijamming capability be total Line sends control information, status information to each indoor set and manual operator, contains much information;Can be with as the internal machine of air-conditioner of slave computer By information such as the timely feedback environment humitures of RS485 buses, 485 buses higher using data efficiency is sent, and 485 into This is relatively low, and by data converter can compatible all support RS485 networks and CAN network internal-external machine, without special Pairing, so as to solve the problem of air-conditioning internal-external machine communication efficiency of the prior art is low, realizes and quick and precisely efficiently enters The communication of row air conditioner internal-external machine, and air conditioner internal-external machine good compatible network under different systems can be realized, make Under heterogeneous networks in the outer machine matching versatility enhancing of machine, make internal-external machine configuration type selecting under different system more flexible.
As can be seen from the above description, the present invention realizes following technique effect:Using the present invention, pass through data Converter can be converted to the CAN data in CAN RS485 data, and can be by the RS485 numbers in RS485 buses According to CAN data are converted to, the conversion of RS485 data and CAN data is realized, the communication equipment is used in air conditioner, is not Communicated, or communicated completely using CAN using RS485 completely, so as to avoid only logical using only RS485 in the prior art News, traffic rate is slower and anti-interference and the problem of weaker data fault-tolerant ability, and avoids and use CAN network completely It is online, the problem of data efficiency is relatively low is sent, but the advantage of CAN and 485 buses is combined, it is used as the air conditioner of host computer Controller in outer machine is sent using traffic rate height and the stronger CAN of antijamming capability to each indoor set and manual operator to be controlled Information processed, status information, contain much information;It can pass through the timely feedback environment of RS485 buses as the internal machine of air-conditioner of slave computer The information such as humiture, 485 buses higher using data efficiency is sent, and 485 cost is relatively low, and pass through data converter Can compatible all supports RS485 networks and CAN network internal-external machine, without specially matching, so as to solve in the prior art Air-conditioning internal-external machine communication efficiency it is low the problem of, realize quick and precisely efficiently carry out air conditioner internal-external machine communication, and Air conditioner internal-external machine good compatible network under different systems can be realized so that the outer machine matching of machine is logical under heterogeneous networks Strengthened with property, make internal-external machine configuration type selecting under different system more flexible.
Obviously, those skilled in the art should be understood that above-mentioned each module of the invention or each step can be with general Computing device realize that they can be concentrated on single computing device, or be distributed in multiple computing devices and constituted Network on, alternatively, the program code that they can be can perform with computing device be realized, it is thus possible to they are stored Performed in the storage device by computing device, either they are fabricated to respectively each integrated circuit modules or by they In multiple modules or step single integrated circuit module is fabricated to realize.So, the present invention is not restricted to any specific Hardware and software is combined.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies Change, equivalent substitution, improvement etc., should be included in the scope of the protection.

Claims (12)

1. a kind of air-conditioning internal-external machine communication equipment, it is characterised in that including:
CAN;
RS485 buses;
Data converter, air conditioner external is connected by the CAN with the data converter, and internal machine of air-conditioner passes through institute State RS485 buses to be connected with the data converter, manual operator is connected by the RS485 buses with the data converter,
Wherein, the data converter is used to change RS485 data and CAN data.
2. air-conditioning internal-external machine communication equipment according to claim 1, it is characterised in that the data converter includes:
CAN communication interface, is connected with the CAN, for transmitting the CAN data;
CAN data transmit-receive circuits, are connected with the CAN communication interface, for receiving and dispatching the CAN data;
RS485 interfaces, are connected with the RS485 buses, for transmitting the RS485 data;
RS485 data transmit-receive circuits, are connected with the RS485 interfaces, for receiving and dispatching the RS485 data;
Main control chip, is connected between the CAN data transmit-receives circuit and the RS485 data transmit-receives circuit, for controlling State CAN data transmit-receives circuit and receive and dispatch the CAN data, and control the RS485 data transmit-receives circuit to receive and dispatch the RS485 numbers According to.
3. air-conditioning internal-external machine communication equipment according to claim 2, it is characterised in that the data converter also includes:
Power module, respectively with the main control chip, the CAN data transmit-receives circuit and the RS485 data transmit-receives circuit Connection, for being powered for the main control chip, the CAN data transmit-receives circuit and the RS485 data transmit-receives circuit.
4. air-conditioning internal-external machine communication equipment according to claim 2, it is characterised in that the data converter also includes:
Reset circuit, is connected with the main control chip, and the number is controlled to trigger the main control chip for sending reset signal Original state is returned back to according to converter.
5. air-conditioning internal-external machine communication equipment according to claim 2, it is characterised in that the RS485 data transmit-receives circuit Including:
RS485 data transmit-receive chips;
First Transient Voltage Suppressor and the second Transient Voltage Suppressor, are connected to the signal of the RS485 data transmit-receives chip On port.
6. air-conditioning internal-external machine communication equipment according to claim 5, it is characterised in that the RS485 data transmit-receives circuit Including:
Current-limiting resistance, is connected between the main control chip and first Transient Voltage Suppressor.
7. air-conditioning internal-external machine communication equipment according to claim 2, it is characterised in that the CAN data transmit-receives circuit bag Include:
CAN data transmit-receive chips;
First power isolation circuit, is connected between the CAN data transmit-receives chip and the main control chip;
Second source isolation circuit, is connected between the CAN data transmit-receives chip and the CAN communication interface;
First build-out resistor, is connected between first power isolation circuit and the main control chip;
Second build-out resistor, is connected between the second source isolation circuit and the CAN communication interface.
8. air-conditioning internal-external machine communication equipment according to claim 7, it is characterised in that the CAN data transmit-receives circuit bag Include:
3rd Transient Voltage Suppressor, respectively with first power isolation circuit, the second source isolation circuit, described One build-out resistor and second build-out resistor connection.
9. air-conditioning internal-external machine communication equipment according to claim 7, it is characterised in that the CAN data transmit-receives circuit is also Including:
Polarity switching, is connected with the main control chip, first build-out resistor and second build-out resistor respectively, The polarity switching includes:
Relay;
First triode, is connected with the first coil of the relay;
Second triode, is connected with the second coil of the relay,
Wherein, by controlling first triode and second triode conducting does not control the relay to change in the same time To switch the reiving/transmitting state of the CAN data transmit-receives circuit.
10. a kind of air conditioner, it is characterised in that including:
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, the air conditioner external is connected by CAN with one or more data converters;Each data conversion Device is connected by RS485 buses with the internal machine of air-conditioner.
11. a kind of air-conditioning internal-external machine communication means, it is characterised in that including:
The control information of air conditioner external is received by CAN;
The control information is converted to RS485 data by data converter;
RS485 buses are by the RS485 data transfers to internal machine of air-conditioner and manual operator;
The RS485 buses receive the feedback information of the internal machine of air-conditioner and the manual operator;
The feedback information is converted to CAN data by the data converter;
The CAN data are back to the air conditioner external by the CAN.
12. a kind of air-conditioning internal-external machine communicator, it is characterised in that including:
First receiving module, the control information for receiving air conditioner external by CAN;
First modular converter, RS485 data are converted to for data converter by the control information;
First transport module, for RS485 buses by the RS485 data transfers to internal machine of air-conditioner and manual operator;
Second receiving module, the feedback information of the internal machine of air-conditioner and the manual operator is received for the RS485 buses;
Second modular converter, CAN data are converted to for the data converter by the feedback information;
Module is returned, the CAN data are back to the air conditioner external for the CAN.
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 CN104728988A (en) 2015-06-24
CN104728988B true 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)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104965473B (en) * 2015-07-22 2018-01-02 广东美的暖通设备有限公司 Multiple on-line system and the multiple on-line system automatic addressing method based on CAN
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
CN106452671B (en) * 2016-09-28 2020-09-18 青岛海尔空调电子有限公司 Multi-connected indoor and outdoor unit communication method
CN106383478B (en) * 2016-11-15 2019-10-11 宁波奥克斯电气股份有限公司 Low-power-consumptiocontrol control method and circuit based on RS485 bus
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
CN109140700B (en) * 2018-08-03 2019-12-03 珠海格力电器股份有限公司 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
CN109489185B (en) * 2018-11-16 2020-06-26 珠海格力电器股份有限公司 Air conditioning system, control method and internal machine controller
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
CN113945002B (en) * 2020-07-17 2023-07-14 海信空调有限公司 Communication conversion circuit and air conditioner
CN112032981B (en) * 2020-07-24 2021-10-22 广东积微科技有限公司 Air conditioner indoor and outdoor unit communication circuit and air conditioner
CN112283886B (en) * 2020-10-13 2022-01-28 珠海格力电器股份有限公司 Control method and device of multi-connected air conditioning unit and multi-connected air conditioning unit

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

Also Published As

Publication number Publication date
CN104728988A (en) 2015-06-24

Similar Documents

Publication Publication Date Title
CN104728988B (en) Air conditioner and air-conditioning internal-external machine communication means, device, equipment
CN1685326B (en) Bus connection system
CN102281254B (en) Design system and method of server serial port
CN102334112B (en) Method and system for virtual machine networking
CN103916314A (en) Message transmitting control method, related device and physical host
US7747804B2 (en) Method and system for setting addresses for slave devices in data communication
CN105051706A (en) Device, method and system for operation of a low power PHY with a PCIe protocol stack
CN109885526B (en) Information processing platform based on OpenVPX bus
CN109558371A (en) Serial connection between Management Controller and microcontroller
CN104468238A (en) Double-network-card redundancy switching method based on vxworks system
CN203605405U (en) Air conditioner and communication device of air conditioner internal unit and air conditioner external unit
CN106826825B (en) A kind of more mechanical arm wireless control cabinets and more mechanical arm control systems
CN105677605A (en) Highly-efficient interconnected system capable of configuring chips and realization system thereof and device
CN103077151A (en) Device for switching universal serial bus (USB) interface and standard serial port
US7756267B2 (en) System and method for mirroring power over ethernet registers in a physical layer device over a single isolation boundary
CN204117142U (en) Electronic device for providing instant switching and sharing of universal serial bus electronic equipment by host
CN102098196B (en) The data transmission method of blade server
CN202230378U (en) Motion control system with terminal capable of being expanded at will
KR20160016843A (en) Method for communicating data, communication controller and circuit arrangement
CN101568890B (en) Two-wire field device for process automation technology for connecting at least one sensor element
CN209447019U (en) RS485 equipment connects circuit and system
CN112084131A (en) Computing device and computing system for digital currency
CN102635918B (en) The control device of air-conditioner set and control system
CN102447601B (en) S-bus monobus communicating circuit
CN105180383A (en) Communication mode control method and system and air conditioner debugging device

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