Baud rate deviation detection method and device and air conditioner indoor unit

A technology of deviation detection and baud rate, which is applied in the field of communication, can solve problems such as communication equipment not working properly, complicated testing process, communication failure between communication equipment, etc.

CN106788920AActive Publication Date: 2017-05-31GREE ELECTRIC APPLIANCES INC
10 Cites 7 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Publication Date
2017-05-31

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a baud rate deviation detection method and device and an air conditioner indoor unit. The method comprises the steps that before communication is established between a first communication device and a second communication device which are connected through a serial port line, the first communication device obtains a baud rate deviation value of the second communication device according to a detection pulse signal sent by the second communication device; the first communication device obtains own baud rate deviation value according to the same detection pulse signal sent by the first communication device; and the first communication device calculates to obtain a total baud rate deviation value according to the two baud rate deviation values, and when the total baud rate deviation value exceeds a baud rate deviation threshold value, it is judged that a deviation fault occurs in a baud rate. According to the method, the device and the air conditioner indoor unit, before the communication is established between the communication devices, the baud rate deviation is detected, the baud rate deviation is diagnosed timely, communication faults resulting from the baud rate deviation are effectively reduced, and the normal communication between the communication devices is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present invention relates to the technical field of communication, and more specifically, to a method and device for detecting baud rate deviation, and an air conditioner indoor unit. Background technique

[0002] The baud rate is the rate of a single-chip microcomputer or computer during serial communication. Specifically, it refers to the change in the unit time after the signal is modulated, that is, the number of times the carrier parameter changes in the unit time, such as transmitting 240 characters per second. And each character format contains 10 bits (1 start bit, 1 stop bit, 8 data bits), and the baud rate at this time is 240Bd.

[0003] When serial communication is used between communication devices, the communication between them will be normal only if the baud rates of the two communication devices are consistent. When the baud rate deviates due to some reasons (such as the baud rate setting error of a certain device in the sending de...

Examples

Embodiment Construction

[0106] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0107] The embodiment of the present invention discloses a baud rate deviation detection method, device, and air conditioner indoor unit, so as to realize timely detection of baud rate deviation, effectively reduce communication failures caused by baud rate deviation, and ensure communication between communication devices. Normal communication.

[0108] see figure 1, a flow chart of a baud rate deviation detection method disclosed in an embodiment of the pres...