Signal conditioning method and device for air conditioning system communication device and air conditioning system
By using a signal adjustment method in the air conditioning system communication device, the resistance value is adjusted using a resistor adjustment component to convert the HomeBus signal into a UART signal, thus solving the communication problem caused by power signal interference and ensuring communication quality and effectiveness.
Patent Information
- Application Number
- CN202211481937.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-24
- Publication Date
- 2025-11-28
- Estimated Expiration
- 2042-11-24
AI Technical Summary
In the prior art, the interference of power signals on communication signals leads to poor communication performance or even the inability to communicate.
By using the signal conditioning method of the air conditioning system communication device, the resistance value is adjusted by the resistance adjustment component, the HomeBus signal is converted into a UART signal, and a reasonable resistance load is determined to reduce power signal interference.
This reduces power signal interference within a reasonable resistive load range, ensuring communication quality and effectiveness, and guaranteeing successful communication between devices.
Smart Images

Figure CN115899973B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of air conditioner communication technology, and in particular to a signal adjustment method and device for an air conditioner system communication device and an air conditioner system. BACKGROUND
[0002] A multi-connected air conditioner system includes multiple indoor units, an outdoor unit, and a wire controller and other devices. The system includes multiple devices that establish communication through a HomeBus bus. The communication process between the multiple devices requires reasonable conversion between different communication signals (i.e., HomeBus signals and UART signals) to ensure normal communication.
[0003] In the HomeBus communication process, after the device is powered on, the power signal will interfere with the communication signal, causing abnormal communication signal waveform, which leads to poor communication effect or inability to communicate. Therefore, how to reduce the interference of the power signal has become a problem to be solved. SUMMARY
[0004] The embodiments of the present application provide a signal adjustment method and device for an air conditioner system communication device and an air conditioner system to at least solve the problem of poor communication effect caused by power signal interference in related technologies.
[0005] In a first aspect, a signal adjustment method for an air conditioner system communication device is provided. One air conditioner system communication device corresponds to one target device to be communicated. The air conditioner system communication device includes a signal acquisition module, a signal adjustment module, and a signal conversion module connected in sequence. The signal adjustment module includes a resistance adjustment component. The air conditioner system communication device is configured to: in response to a communication failure instruction of the target device, adjust the resistance value of the resistance adjustment component according to a preset resistance value to scale and adjust the first HomeBus signal and the second HomeBus signal collected by the signal acquisition module into a first target HomeBus signal and a second target HomeBus signal; the preset resistance value is multiple; input the first target HomeBus signal and the second target HomeBus signal into the signal conversion module to obtain a target UART signal; and according to the target UART signal, start the target device and other devices to re-establish communication.
[0006] The resistance value of the resistance adjustment component is adjusted to complete the adjustment of the resistance load of the air conditioner system communication device.
[0007] The same input HomeBus signal (i.e., the first HomeBus signal and the second HomeBus signal) obtains different target UART signals under different loads. That is, the same input HomeBus signal and the resistance value of the resistance adjustment component are different, and the obtained target UART signal is different.
[0008] Specifically, the same first HomeBus signal and second HomeBus signal generate different first target HomeBus signals and second target HomeBus signals under different resistance loads, thereby obtaining different target UART signals.
[0009] The target device and other devices reestablish communication through the target UART signal to determine whether the target UART signal can drive the target device and other devices to successfully establish communication.
[0010] The embodiment of the present application has the beneficial effects that: based on the plurality of preset resistance values pre-stored by the air conditioning system communication device, the resistance value of the resistance adjusting assembly is automatically adjusted to determine the influence of the power supply signal on the input communication signal (i.e., the first HomeBus signal and the second HomeBus signal) under different resistance loads of the air conditioning system communication device, i.e., different first target HomeBus signals and second target HomeBus signals generated under different resistance loads are converted into different target UART signals. For the communication state of whether the target device can successfully establish communication with other devices under different target UART signals, the corresponding target UART signal when the communication is successfully established is taken as an ideal UART signal, so that the resistance value of the resistance adjusting assembly corresponding to the ideal UART signal is determined as a reasonable resistance load with less influence of the power supply signal on the communication signal, thereby realizing automatic adjustment of the resistance load of the air conditioning system communication device to determine a target resistance load with less interference of the power supply signal on the input communication signal.
[0011] Therefore, the air conditioning system communication device adjusts the resistance load of the air conditioning system communication device within a reasonable range by the signal adjusting method to make the interference of the power supply signal on the input communication signal within a reasonable range, thereby ensuring the communication quality and communication effect of the target device and other devices establishing communication.
[0012] In some embodiments, the resistance adjusting assembly includes a first resistance and a second resistance, a first end of the first resistance is connected with a first signal input end of the first HomeBus signal, and a first end of the second resistance is connected with a second signal input end of the second HomeBus signal; the preset resistance values are arranged in order; and the air conditioning system communication device is specifically configured to adjust the resistance values of the first resistance and the second resistance to the preset resistance values corresponding to different bit sequences in order until the preset resistance value corresponding to the last bit sequence in the order or until the target device and other devices successfully communicate.
[0013] The plurality of preset resistance values can be arranged in a certain order, and one preset resistance value corresponds to one bit sequence.
[0014] The first HomeBus signal and the second HomeBus signal collected by the signal collection module are input to the first signal input end and the second signal input end respectively, and then the resistance load of the air conditioning system communication device is adjusted in turn according to the arrangement order to obtain different first target HomeBus signals and second target HomeBus signals. Correspondingly, different target UART signals are obtained based on different first target HomeBus signals and second target HomeBus signals, so that different communication states are obtained, that is, the communication is successfully established or the communication fails to be established.
[0015] Specifically, if the target device successfully establishes communication with other devices when the resistance value is adjusted to a certain preset resistance value, the first resistance value and the resistance value at which the communication is successfully established are determined as the target resistance value, that is, under the target resistance value, the power supply signal does not interfere with the communication signal and does not affect the successful communication between devices. If the target device still fails to establish communication with other devices when the last preset resistance value is adjusted, that is, all the preset resistance values are used for adjustment, it is indicated that not only the power supply signal causes the communication failure or the power supply signal is not the reason for the communication failure. Therefore, in this case, the communication state between the target device and other devices cannot be adjusted to the state of successfully establishing communication by or only by adjusting the resistance load.
[0016] Based on this embodiment, the stop condition for adjusting the resistance load of the air conditioning system communication device is defined to ensure the rationality of the adjustment process and reduce the redundant operation of continuing to adjust after the adjustment is successful or avoid the misoperation of continuing to adjust after the preset resistance value is taken.
[0017] In some embodiments, the air conditioning system communication device is further configured to: in response to the communication establishment instruction of the target device, send a preset signal to other devices; if the preset signal returned by other devices and / or the preset signal returned by the target device is not received within a preset time, it is determined that the target device fails to establish communication with other devices, so that the target device generates a communication failure instruction; and receive the communication failure instruction.
[0018] The air conditioning system communication device is provided with a preset signal in advance, and the preset signal is also called a preset special electric text.
[0019] In the embodiment, the generation condition or generation scenario of generating the communication failure instruction is described, that is, the embodiment provides a scenario of adjusting failure in the process of adjusting the above-mentioned signal adjustment method. Through the embodiment, it can be determined in advance whether the current resistance load inside the air conditioning system communication device meets the requirements based on the preset signal. When the requirements are met, the current resistance load is directly used to establish the communication between the target device and other devices. When the requirements are not met, the resistance load inside the air conditioning system communication device is adjusted based on the plurality of preset resistance values to determine a reasonable target resistance value.
[0020] In some embodiments, the air conditioning system communication device is further configured to: receive the preset signal returned by the other device and the preset signal returned by the target device within a preset time, and determine that the target device and the other device establish the communication successfully.
[0021] The embodiment provides the generation condition or generation scenario of generating the communication success instruction, and also provides an application scenario of adjusting success in the process of adjusting the above-mentioned signal adjustment method.
[0022] In some embodiments, the air conditioning system communication device is further specifically configured to: when the target duty cycle is less than or equal to a preset duty cycle, sequentially determine a first target resistance value from the plurality of preset resistance values in order; the first target resistance value is less than the first resistance value; the target duty cycle is the duty cycle of the UART signal corresponding to the communication failure of the target device; the first resistance value is the resistance value corresponding to the first resistance and the second resistance when the target device fails to communicate; the resistance of the first resistance and the second resistance is adjusted to the first target resistance value; until the last first target resistance value is adjusted or until the target device and the other device successfully communicate.
[0023] The preset duty cycle can be set by the user according to the requirements, or can be a desired duty cycle set in advance by the person skilled in the art for different first HomeBus signals and second HomeBus signals.
[0024] Therefore, the direction of adjusting the resistance load of the air conditioning system communication device is determined according to the size of the target duty cycle and the preset duty cycle, that is, whether to adjust to the large or to the small. Specifically, when the target duty cycle is less than or equal to the preset duty cycle, the resistance load of the air conditioning system communication device is adjusted to the small.
[0025] In some embodiments, the air conditioning system communication device is further specifically configured to: when the target duty cycle is greater than the preset duty cycle, sequentially determine a second target resistance value from the plurality of preset resistance values in order; the second target resistance value is greater than the first resistance value;
[0026] The resistance of the first resistor and the second resistor is adjusted to be the second target resistance value; until the last second target resistance value is adjusted or until the target device successfully communicates with the other device.
[0027] Therefore, the direction of adjusting the resistance load of the air conditioning system communication device is determined according to the size of the target duty cycle and the preset duty cycle, that is, whether to adjust to be large or to adjust to be small. Specifically, when the target duty cycle is greater than the preset duty cycle, the resistance load of the air conditioning system communication device is adjusted to be large.
[0028] In a second aspect, an air conditioning system communication device is provided. One air conditioning system communication device corresponds to one target device to be communicated. The air conditioning system communication device comprises a signal acquisition module, a signal adjustment module and a signal conversion module connected in sequence. The signal adjustment module comprises a resistance adjustment component. The air conditioning system communication device can execute the signal adjustment method of any one of the first aspect.
[0029] In some embodiments, the resistance adjustment component comprises a first resistor and a second resistor. A first end of the first resistor is connected to a first signal input end of a first HomeBus signal. A first end of the second resistor is connected to a second signal input end of a second HomeBus signal.
[0030] In a third aspect, an air conditioning system is provided. The air conditioning system comprises a plurality of devices and a plurality of air conditioning system communication devices. One air conditioning system communication device corresponds to one device. The plurality of devices comprises a target device. The air conditioning system communication device is provided with a signal acquisition module, a signal adjustment module and a signal conversion module connected in sequence. The signal adjustment module comprises a resistance adjustment component. The air conditioning system communication device can execute the signal adjustment method of any one of the first aspect.
[0031] In some embodiments, the resistance adjustment component comprises a first resistor and a second resistor. A first end of the first resistor is connected to a first signal input end of a first HomeBus signal. A first end of the second resistor is connected to a second signal input end of a second HomeBus signal.
[0032] In a fourth aspect, the embodiments of the present application provide a computer readable storage medium, which stores instructions. When the instructions are run on any one of the above devices, the device executes the signal adjustment method of any one of the above air conditioning system communication devices.
[0033] In a fifth aspect, the embodiments of the present application provide a chip, comprising a processor and a memory. The memory is used to store computer execution instructions. The processor is connected with the memory. When the chip is running, the processor executes the computer execution instructions stored in the memory, so that the chip executes the signal adjustment method of any one of the above air conditioning system communication devices.
[0034] In a sixth aspect, the embodiments of the present application provide a computer program product containing instructions, which, when executed on the device of any of the above, cause the device to perform the signal adjustment method of any of the above air conditioning system communication devices.
[0035] In the embodiments of the present application, the names of the components of the above device do not constitute a limitation on the device itself, and in actual implementation, these components can appear with other names. As long as the functions of the components are similar to those of the embodiments of the present application, they are within the scope of the claims of the present application and equivalent technologies.
[0036] In addition, the technical effects brought by any one of the design methods in the second aspect to the sixth aspect can refer to the technical effects brought by the different design methods in the first aspect, which will not be repeated here. BRIEF DESCRIPTION OF DRAWINGS
[0037] The accompanying drawings are used to provide a further understanding of the technical solutions of the present application, and constitute a part of the specification, and are used to explain the technical solutions of the present application together with the embodiments of the present application, and do not constitute a limitation on the technical solutions of the present application.
[0038] Figure 1 A schematic diagram of a framework of an air conditioning system is provided for the embodiments of the present application;
[0039] Figure 2 A circuit system architecture diagram of an air conditioning system is provided for the embodiments of the present application;
[0040] Figure 3 A circuit schematic diagram of an air conditioning system communication device is provided for the embodiments of the present application;
[0041] Figure 4 A flowchart of a signal adjustment method of an air conditioning system communication device is provided for the embodiments of the present application;
[0042] Figure 5 A signal waveform diagram after signal conversion and adjustment is provided for the embodiments of the present application;
[0043] Figure 6 A signal waveform diagram after signal conversion and adjustment is provided for the embodiments of the present application;
[0044] Figure 7 A flowchart of a signal adjustment method of an air conditioning system communication device is provided for the embodiments of the present application;
[0045] Figure 8 A flowchart of a signal adjustment method of an air conditioning system communication device is provided for the embodiments of the present application;
[0046] Figure 9 A flowchart of a signal adjustment method of an air conditioning system communication device is provided for the embodiments of the present application;
[0047] Figure 10 A flow chart of a signal adjusting method of a communication device of an air conditioning system according to an embodiment of the present application is provided.
[0048] Figure 11 A hardware structure schematic diagram of a controller according to an embodiment of the present application is provided. DETAILED DESCRIPTION
[0049] The technical solutions in the embodiments of the present application will be clearly and completely described with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative work fall within the protection scope of the present application.
[0050] The terms "first", "second" are used only for the purpose of description, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined with "first", "second" can explicitly or implicitly include one or more of the features. In the description of the present application, the meaning of "a plurality of" is two or more, unless otherwise specified.
[0051] In the description of the present application, it should be noted that, unless otherwise explicitly specified and limited, the terms "connected", "connected" should be understood in a broad sense, for example, it can be fixedly connected, or detachably connected, or integrally connected. For a person of ordinary skill in the art, the specific meaning of the above terms in the present application can be understood according to the specific circumstances. In addition, when describing the pipeline, the "connected" and "connected" used in the present application have the meaning of conducting. The specific meaning needs to be understood in combination with the context.
[0052] In the embodiments of the present application, the words such as "exemplary" or "for example" are used to represent an example, illustration or description. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as more preferred or more advantageous than other embodiments or design schemes. Rather, the words such as "exemplary" or "for example" are intended to present the relevant concept in a specific manner.
[0053] The multi-split air conditioning system includes a plurality of indoor units, an outdoor unit, a wire controller and a plurality of devices. The plurality of devices included in the system are all communicated through the HomeBus bus. The communication process between the plurality of devices needs to be reasonably converted between different communication signals (i.e. HomeBus signals and UART signals) to make the communication normal.
[0054] In the HomeBus communication process, after the equipment is powered on, the power signal will interfere with the communication signal, causing the communication signal waveform to be abnormal, thereby causing poor communication effect or communication failure. Therefore, how to reduce the interference of the power signal has become a problem to be solved.
[0055] Therefore, the signal adjustment method of the air conditioning system communication device provided in the embodiments of the present application can automatically adjust the resistance value of the resistance adjustment component based on the plurality of preset resistance values stored in the air conditioning system communication device, so as to determine the influence of the power signal on the input communication signal (i.e., the first HomeBus signal and the second HomeBus signal) under different resistance loads, i.e., different first target HomeBus signals and second target HomeBus signals generated under different resistance loads, which are converted into different target UART signals.
[0056] The communication state of whether the target device can successfully establish communication with other devices under different target UART signals is determined, and the target UART signal corresponding to the successful establishment of communication is taken as the ideal UART signal, so that the resistance value of the resistance adjustment component corresponding to the ideal UART signal is determined as a reasonable resistance load with less influence of the power signal on the communication signal, thereby realizing automatic adjustment of the resistance load of the air conditioning system communication device to determine a target resistance load with less interference of the power signal on the input communication signal.
[0057] Therefore, the air conditioning system communication device adjusts the resistance load of the air conditioning system communication device within a reasonable range by the above signal adjustment method, so that the interference of the power signal on the input communication signal is within a reasonable range, thereby ensuring the communication quality and communication effect of the target device in establishing communication with other devices.
[0058] In the embodiments of the present application, the air conditioning system communication device is applied to an air conditioning equipment, which can be a multi-split air conditioning equipment and a single machine air conditioning equipment, etc. The multi-split air conditioning equipment includes one outdoor unit and multiple indoor units, and the single machine air conditioning equipment includes one outdoor unit corresponding to one indoor unit.
[0059] To further facilitate the description of the scheme of the present application, the signal adjustment method of the air conditioning system communication device of the present application will be described in detail below taking the multi-split air conditioning equipment as an example.
[0060] Reference Figure 1 and Figure 2As shown, the air conditioning system 100 can include one or more of the following: a plurality of indoor units 101, an outdoor unit 102, a controller 103, a wire controller 104, an air conditioning system communication device 105, and a terminal device 106. Among them, the air conditioning system communication device 105 can include a signal acquisition module, a signal adjustment module and a signal conversion module connected in sequence.
[0061] In some embodiments, the signal adjustment module includes a resistance adjustment component.
[0062] In some embodiments, each indoor unit 101 is respectively connected to the wire controller 104 and the outdoor unit 102 through the air conditioning system communication device 105.
[0063] Exemplarily, after the air conditioning system is powered on, the wire controller 104 respectively acquires the indoor unit 101 attribute information corresponding to each indoor unit 101; according to the indoor unit 101 attribute information respectively fed back by each indoor unit 101, a corresponding indoor unit 101 control interface is generated and displayed, so as to receive the control information of the corresponding indoor unit 101 through the indoor unit 101 control interface.
[0064] In some embodiments, the terminal device 106 is installed with an air conditioning system application. The user performs a related operating parameter setting operation on the air conditioning system application of the terminal device, and forms a corresponding instruction sent to the controller 103. The controller 103 sends the corresponding instruction to each device of the air conditioning system according to the air conditioning system communication device 105. Among them, each device of the air conditioning system is also called a peripheral device. Exemplarily, the peripheral device can be the indoor unit 101, the outdoor unit 102 or the wire controller 104.
[0065] In some embodiments, the air conditioning system further includes a cloud server (not shown in the figure) to accept the device start request sent by the terminal device. And send a device start instruction to the air conditioning system. The device start instruction is used to instruct the air conditioning system to perform a corresponding function operation according to the preset control information.
[0066] In some embodiments, the controller 103 refers to a device that can generate operation control signals according to instruction operation codes and timing signals, and instruct the home appliance to execute control instructions. For example, the controller 103 can be a central processing unit (CPU), a general-purpose processor network processor (NP), a digital signal processor (DSP), a programmable logic device (PLD), a microprocessor, a microcontroller 103, or any combination thereof. The controller 103 can also be other devices with processing functions, such as circuits, devices, or software modules, and the embodiments of the present application do not make any limitation thereto.
[0067] For example, the controller 103 can control the air conditioning system to operate in various operating modes according to operating parameters. The various operating modes are a cooling mode, a heating mode, a sterilization mode, or a dehumidification mode. The mutual conversion between the cooling mode and the heating mode is achieved by changing the flow direction of the refrigerant in the pipeline between the indoor unit 101 and the outdoor unit 102 of the air conditioning system.
[0068] Further, Figure 2 For example, the circuit system architecture of the air conditioning system 100 is shown.
[0069] The air conditioning device can further include a display 107, a warning device 108, a human-computer interaction device 109, and a power supply 110.
[0070] The wire controller 104, the display 107, the warning device 108, the human-computer interaction device 109, and the power supply are all connected to the controller 103.
[0071] In some embodiments, the display 107 can be used to display the running state of the air conditioning system in various operating modes and the corresponding information of the operating mode.
[0072] In some embodiments, the display 107 can be a liquid crystal display, an organic light-emitting diode (OLED) display. The specific type, size, and resolution of the display are not limited, and it can be understood by those skilled in the art that the display 107 can be changed in performance and configuration as needed.
[0073] In some embodiments, the warning device 108 is used to send corresponding prompt information when starting the running program to prompt the user to the stage of the running process.
[0074] In some embodiments, as Figure 3The circuit structure diagram of the air conditioning system communication device 105 is shown. The resistance adjusting component includes a first resistor and a second resistor. A first end of the first resistor is connected to a first signal input end of a first HomeBus signal. A first end of the second resistor is connected to a second signal input end of a second HomeBus signal. A second end of the first resistor and a second end of the second resistor are both connected to a voltage Vcm. The first signal input end of the first HomeBus signal is connected to a first input end of a comparator. The second signal input end of the second HomeBus signal is connected to a second input end of the comparator. A voltage Vref is connected to a third input end of the comparator.
[0075] R0 is a peripheral circuit resistance outside the air conditioning system communication device, and is usually a fixed value. The first resistor and the second resistor are both adjustable resistances R1 inside the air conditioning system communication device, and are usually set to multiple selectable resistances. For example, there are eight selectable resistance values for adjustment. Vref is a voltage limit value for signal conversion, and Vcm is a voltage value for signal conversion, and the voltage value is usually 2.5V.
[0076] Specifically, the first HomeBus signal and the second HomeBus signal become a first target HomeBus signal and a second target HomeBus signal after adjustment. The first target HomeBus signal and the second target HomeBus signal enter the comparator. The comparator judges whether the difference between the first target HomeBus signal and the second target HomeBus signal is within Vref. If yes, 1 is output, and if no, 0 is output, to output a digital signal, i.e., a target UART signal. The maximum value of Vref is 300mV.
[0077] In some embodiments, the air conditioning system communication device 105 is a component for communicating with external devices or external servers according to various communication protocol types. For example, the air conditioning system communication device 105 can include at least one of a Wi-Fi chip, a Bluetooth communication protocol chip, a wired Ethernet communication protocol chip, other network communication protocol chips or near field communication protocol chips, and an infrared receiver.
[0078] In some embodiments, the air conditioning system 100 can transmit control signals and data signals between a terminal device (for example, a mobile phone, a tablet computer, a wearable mobile device, etc.) used by a user, other home devices (for example, an air conditioner, a monitoring device, etc.), and a server through the air conditioning system communication device 105.
[0079] For example, the user issues an instruction indicating a start mode through a mobile phone. The air conditioning system 100 receives the instruction through the air conditioning system communication device 105. In response to the device start instruction indicating the start mode by the user, the controller 103 of the air conditioning system is started.
[0080] In some embodiments, the human-computer interaction device 109 is configured to realize the interaction between the user and the air conditioning system. The human-computer interaction device 109 can include one or more of a physical button, a touch display panel, or a voice recognition device. For example, the user can start the air conditioning system to work through the human-computer interaction device, and can also set the program corresponding to the operation mode of the air conditioning system through the human-computer interaction device.
[0081] In some embodiments, the power supply 110, under the control of the controller 103, provides power supply support for the air conditioning system 100 by inputting power from an external power source.
[0082] Based on the above-mentioned air conditioning system, as shown in Figure 4 The signal adjustment method of the air conditioning system communication device provided by the embodiments of the present application comprises the following steps:
[0083] In step S401, the air conditioning system communication device adjusts the resistance value of the resistance adjustment component according to a preset resistance value in response to the communication failure instruction of the target device, so as to scale and adjust the first HomeBus signal and the second HomeBus signal collected by the signal collection module into the first target HomeBus signal and the second target HomeBus signal, respectively.
[0084] The air conditioning system communication device pre-stores a plurality of preset resistance values. Wherein, one air conditioning system communication device corresponds to one target device to be communicated, and the preset resistance value is usually a plurality of preset resistance values.
[0085] For example, the above-mentioned target device can be any one of a plurality of indoor units, outdoor units, and line controllers, and other devices can be one or more devices other than the target device in the plurality of devices.
[0086] The resistance value of the resistance adjustment component is adjusted to complete the adjustment of the resistance load of the air conditioning system communication device.
[0087] In the step, the air conditioning system communication device can automatically adjust the resistance value of the resistance adjustment component based on the plurality of preset resistance values, so as to determine the influence of the power supply signal on the input communication signal (i.e., the first HomeBus signal and the second HomeBus signal) under different resistance loads of the air conditioning system communication device, i.e., different first target HomeBus signals and second target HomeBus signals generated under different resistance loads, so as to convert into different target UART signals.
[0088] In some embodiments, when the target device starts to establish communication with the other device or is ready to establish communication, the preset signal is first sent to determine whether the target device and the other device can successfully communicate, so as to determine whether to adjust the resistance adjustment assembly. Based on this, the following describes the generation condition or generation scenario of the communication failure instruction.
[0089] Specifically, the air conditioning system communication device sends the preset signal to the other device in response to the communication establishment instruction of the target device. If the preset signal returned by the other device and / or the preset signal returned by the target device is not received within a preset time, it is determined that the target device and the other device fail to establish communication, so that the target device generates a communication failure instruction. The air conditioning system communication device can receive the communication failure instruction.
[0090] The air conditioning system communication device described above is pre-provided with a preset signal, which can also be referred to as a preset special electric text.
[0091] In this embodiment, whether the current resistance load inside the air conditioning system communication device currently meets the requirements can be determined in advance based on the preset signal. When the requirements are met, the current resistance load is directly used to establish communication between the target device and the other device. When the requirements are not met, the resistance load inside the air conditioning system communication device is adjusted based on a plurality of preset resistance values to determine a reasonable target resistance value.
[0092] In addition, it should be noted that after the target device fails to establish communication with the other device, the target device also issues the above-mentioned communication failure instruction to trigger the implementation of the signal adjustment method steps.
[0093] Meanwhile, after the adjustment fails during the implementation of the signal adjustment method, the communication failure instruction can also be generated to trigger the repeated implementation of steps S401 to S403 of the signal adjustment method.
[0094] With respect to the implementation mode of the above-mentioned failure scenario, in some other embodiments, the air conditioning system communication device is further configured to, within a preset time, receive the preset signal returned by the other device and the preset signal returned by the target device, and determine that the target device and the other device successfully establish communication.
[0095] This embodiment provides the generation condition or generation scenario of the communication success instruction, and also provides an application scenario of the successful adjustment during the implementation of the above-mentioned signal adjustment method.
[0096] Step S402: input the first target HomeBus signal and the second target HomeBus signal into the signal conversion module to obtain a target UART signal.
[0097] The first target HomeBus signal and the second target HomeBus signal are analog signals, and the target UART signal is a digital signal. This step is a process of converting the differential analog signal into a digital signal.
[0098] It can be understood that the same input HomeBus signal (i.e., the first HomeBus signal and the second HomeBus signal) obtains different target UART signals under different loads. That is, the same input HomeBus signal obtains different target UART signals when the resistance values of the resistance adjustment components are different.
[0099] Specifically, the same input first HomeBus signal and second HomeBus signal generate different first target HomeBus signal and second target HomeBus signal under different resistance loads, thereby obtaining different target UART signals.
[0100] In step S403, the target device is started to re-establish communication with other devices according to the target UART signal.
[0101] The above step of starting the target device to re-establish communication with other devices through the target UART signal determines whether the target UART signal can drive the target device to successfully establish communication with other devices.
[0102] In this step, for different target UART signals, the communication state of whether the target device can successfully establish communication with other devices is determined, and the target UART signal corresponding to the successful establishment of communication is taken as an ideal UART signal. Thus, the resistance value of the resistance adjustment component corresponding to the ideal UART signal is determined as a reasonable resistance load in which the power signal has less influence on the communication signal, thereby realizing automatic adjustment of the resistance load of the air conditioning system communication device to determine a target resistance load in which the power signal has less interference on the input communication signal.
[0103] The following Figure 5 and Figure 6 The following describes the influence of the power signal on the communication signal.
[0104] Figure 5 In the above-mentioned embodiment, the waveform diagram of the HomeBus differential signal converted into an ideal UART signal without the interference of the power signal. In the diagram, the difference between the first HomeBus signal and the second HomeBus signal is the HomeBus differential signal.
[0105] Figure 6(a) shows the waveforms of the HomeBus differential signal converted to a UART signal under power signal interference, where the first and second HomeBus signals are converted to UART signals after being affected by power signal interference. (Comparison) Figure 6 The waveform of the UART signal in (a) is the same as Figure 5 The waveform of the UART signal shows that the UART signal becomes abnormal after interference.
[0106] After passing through the adjusting resistor assembly, it becomes as follows: Figure 6 The waveform of the UART signal shown in (b) is compared. Figure 6 The waveform of the UART signal in (a) is the same as Figure 6 As can be seen from the waveform of the UART signal in (b), the abnormal UART signal generated after interference has been greatly improved. Figure 6 The waveform of the UART signal in (b) is the same as Figure 5 The waveforms of the UART signals are not significantly different and will not have a major impact on the communication between the target device and other devices.
[0107] Figure 4 The technical solution shown brings at least the following beneficial effects: By using this signal adjustment method, the air conditioning system communication device adjusts the resistive load of the air conditioning system communication device within a reasonable range, so that the interference of the power signal on the input communication signal is within a reasonable range, thereby ensuring the communication quality and communication effect of the target device establishing communication with other devices.
[0108] Regarding step S401 above, and considering three practical application scenarios, the method for adjusting the resistance value of the resistance adjustment component is explained as follows.
[0109] In scenario one, when the direction of resistance load adjustment in the air conditioning system's communication device is uncertain, a method can be adopted to sequentially call multiple preset resistance values to obtain the target resistance value. Specifically, when the resistance adjustment component reaches the target resistance value, the first HomeBus signal and the second HomeBus signal are converted into the target UART signal, which can successfully initiate communication between the target device and other devices.
[0110] For example, the above scenario one can be the following scenarios: a scenario where the resistance value of the resistance adjustment component is not set with a preset duty cycle, or a scenario where the target duty cycle is not obtained.
[0111] Regarding scenario one above, combined with Figure 4 ,like Figure 7As shown, as an embodiment, the step 401 can be implemented by the following steps to adjust the resistance load of the air conditioning system communication device by adjusting the resistance values of the first resistance and the second resistance.
[0112] In step S401A, the resistance values of the first resistance and the second resistance are adjusted in sequence to the preset resistance values corresponding to different bit sequences, so as to scale and adjust the first HomeBus signal and the second HomeBus signal collected by the signal collection module into the first target HomeBus signal and the second target HomeBus signal, respectively, until the preset resistance value corresponding to the last bit sequence in the sequence is reached or until the target device successfully communicates with other devices.
[0113] The plurality of preset resistance values can be arranged in a certain order, and one preset resistance value corresponds to one bit sequence.
[0114] After the first HomeBus signal and the second HomeBus signal collected by the signal collection module are input to the first signal input end and the second signal input end, respectively, the resistance load of the air conditioning system communication device is adjusted in sequence according to the arrangement order, and different first target HomeBus signals and second target HomeBus signals are obtained. Correspondingly, different target UART signals are obtained based on different first target HomeBus signals and second target HomeBus signals, so as to obtain different communication states, i.e., successful communication establishment or failed communication establishment.
[0115] The following describes the two ending modes of the above-mentioned ending adjustment, which are: (1) the preset resistance value corresponding to the last bit sequence in the sequence; and (2) the target device successfully communicates with other devices.
[0116] Specifically, if the target device successfully establishes communication with other devices when adjusting to a certain preset resistance value, the first resistance value and the resistance value of the successful communication establishment are determined as the target resistance value, i.e., under the target resistance value, the power signal does not interfere with the communication signal, and does not affect the successful communication between devices.
[0117] If the target device still fails to establish communication with other devices when adjusting to the preset resistance value corresponding to the last bit sequence, i.e., all preset resistance values are used for adjustment, it is indicated that not only the power signal causes the communication failure or the power signal is not the reason for the communication failure. Therefore, in this case, the communication state between the target device and other devices cannot be adjusted to the state of successful communication establishment by or only by adjusting the resistance load.
[0118] In some embodiments, when the target device fails to establish communication with other devices after all preset resistance values are used for adjustment, a warning message is sent to prompt the user that the target device fails to establish communication with other devices.
[0119] As a specific implementation of this scenario one, taking the target device preparing to establish communication with other devices as an example, the specific steps shown in FIG. 8 are used to describe the implementation process of the air conditioner system communication device in this scenario one. Figure 8
[0120] Step S801, when the target device prepares to establish communication with other devices, the air conditioner system communication device first sends a preset signal to other devices.
[0121] Step S802, it is determined whether the target device successfully communicates with other devices, if yes, go to step S806; if no, go to step S803.
[0122] Step S803, the resistance adjustment assembly is adjusted according to the preset resistance values in sequence.
[0123] Step S804, it is determined whether the target device successfully communicates with other devices after the resistance adjustment assembly is adjusted; if yes, go to step S806; if no, go to step S805.
[0124] Step S805, it is determined whether the preset resistance values are selected; if yes, go to step S807; if no, return to step S803.
[0125] Step S806, the target device starts to establish communication with other devices.
[0126] Step S807, the air conditioner system communication device sends a warning message.
[0127] The warning message is used to prompt the user that the target device fails to successfully establish communication with other devices.
[0128] Scenario two, for most application scenarios, the resistance load of the air conditioner system communication device needs to be reduced to reduce the influence of the power signal on the communication signal.
[0129] Based on the above application scenarios, after the target device fails to establish communication with other devices, the first resistance value is compared with the plurality of preset resistance values in turn. Among the plurality of preset resistance values, starting from the preset resistance value that first appears to be less than the first resistance value, the preset resistance values are called in turn, and the resistance values of the first resistance and the second resistance are assigned, to obtain the adjustment result of the communication state in turn, until the communication state is a state of successfully establishing communication, the preset resistance value is stopped from being assigned to the resistance values of the first resistance and the second resistance. Or, when the preset resistance value of the last bit sequence is called, the communication state still does not show success, then the preset resistance value is ended from being called, to end the signal adjustment process.
[0130] In this scenario two, the plurality of preset resistance values are arranged in descending order.
[0131] For example, the above scenario two can be a scenario in which the resistance load of the air conditioning system device needs to be adjusted to be smaller when the target duty cycle is less than or equal to the preset duty cycle.
[0132] As a specific implementation of this scenario two, in combination with Figure 4 As shown in Figure 9 The above step 401 can be implemented by the following steps to adjust the resistance load of the air conditioning system communication device to be smaller when the target duty cycle is less than or equal to the preset duty cycle.
[0133] Step S901, when the target duty cycle is less than or equal to the preset duty cycle, a first target resistance value is determined from the plurality of preset resistance values in order.
[0134] The above preset duty cycle can be set by the user according to the needs, or it can be a desired duty cycle that is set in advance by the person skilled in the art for different first HomeBus signals and second HomeBus signals.
[0135] Among them, the first target resistance value is less than the first resistance value; the target duty cycle is the duty cycle of the UART signal corresponding to the communication failure of the target device; the first resistance value is the resistance value corresponding to the first resistance and the second resistance when the target device fails to communicate.
[0136] Step S902, the resistance of the first resistance and the second resistance is adjusted to the first target resistance value, until the last first target resistance value is adjusted or until the target device successfully communicates with other devices.
[0137] Scenario three, for most application scenarios, the resistance load of the air conditioning system device needs to be adjusted to be larger, in order to reduce the influence of the power signal on the communication signal.
[0138] Based on the above application scenarios, after the target device fails to establish communication with other devices, the first resistance value is compared with the plurality of preset resistance values in turn. Starting from the first preset resistance value among the plurality of preset resistance values, the preset resistance values are called in turn, and the first resistance and the second resistance are assigned resistance values, so as to obtain the adjustment result of the communication state in turn, until the communication state is a state of successfully establishing communication, and the preset resistance value is stopped from being called to assign resistance values to the first resistance and the second resistance. Or, when the communication state still does not show success after calling the preset resistance value of the target bit sequence, the preset resistance value is ended from being called, so as to end the signal adjustment process; wherein, the preset resistance value of the target bit sequence is the preset resistance value that first appears smaller than the first resistance value among the plurality of preset resistance values.
[0139] In the third scenario, the plurality of preset resistance values are arranged in descending order.
[0140] For example, the third scenario described above can be a scenario in which the resistance load of the air conditioning system device needs to be adjusted to be larger when the target duty cycle is greater than the preset duty cycle.
[0141] As a specific implementation of the third scenario, in combination with Figure 4 As shown in Figure 10 The step 401 described above can be implemented by the following steps to adjust the resistance load of the air conditioning system communication device to be larger when the target duty cycle is greater than the preset duty cycle.
[0142] Step S101, when the target duty cycle is greater than the preset duty cycle, the second target resistance value is determined from the plurality of preset resistance values in turn according to the order.
[0143] Among them, the second target resistance value is greater than the first resistance value;
[0144] Step S102, adjust the resistance of the first resistance and the second resistance to the second target resistance value until the last second target resistance value is adjusted or until the target device successfully communicates with other devices.
[0145] In the two examples of the second scenario and the third scenario described above, the direction of adjusting the resistance load size of the air conditioning system communication device is determined according to the size of the target duty cycle and the preset duty cycle, that is, whether to adjust to be larger or to be smaller.
[0146] It should be noted that the two examples of the above scenario two and scenario three can also be arranged in ascending order. For this embodiment, the implementation process of the above two examples of application scenario is the same as the principle of the above two example implementation processes, and thus is not described here. Moreover, the arrangement order of the plurality of preset resistance values is not specifically limited in the present application, whether it is arranged in descending order or ascending order, or mixed sequence, as long as the uniqueness of the preset resistance value is ensured each time.
[0147] In the above different scenario embodiments, the stop condition of the adjustment of the resistance load of the air conditioning system communication device is limited to ensure the rationality of the adjustment process, reduce the redundant operation of continuing adjustment after the adjustment is successful, or avoid the misoperation of continuing adjustment after the preset resistance value is taken.
[0148] It can be seen that the above mainly introduces the scheme provided by the embodiments of the present application from the method aspect. In order to realize the above functions, the embodiments of the present application provide corresponding hardware structures and / or software modules for executing various functions. Those skilled in the art should easily realize that the modules and algorithm steps of the examples described in conjunction with the embodiments disclosed in the present application can be realized in the form of hardware or a combination of hardware and computer software. Whether a certain function is realized in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to realize the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0149] The embodiments of the present application can divide the functional modules of the controller according to the above method examples, for example, each functional module can be divided according to each function, or two or more functions can be integrated in one processing module. The above integrated module can be realized in the form of hardware or software functional module. Optionally, the division of the modules in the embodiments of the present application is illustrative, and is only a logical functional division, and another division method can be used in actual implementation.
[0150] The embodiments of the present application also provide a hardware structure schematic diagram of a controller. As shown in Figure 11 The controller 103 includes a processor 301, and optionally includes a memory 302 and a communication interface 303 connected with the processor 301. The processor 301, the memory 302 and the communication interface 303 are connected through a bus 304.
[0151] The processor 301 can be a central processing unit (CPU), a general-purpose processor, a network processor (NP), a digital signal processor (DSP), a microprocessor, a microcontroller, a programmable logic device (PLD), or any combination thereof. The processor 301 can also be other devices with processing capabilities, such as a circuit, a device, or a software module. The processor 301 can also include multiple CPUs, and the processor 301 can be a single-CPU processor or a multi-CPU processor. The processor herein can refer to one or more devices, circuits, or processing cores for processing data (e.g., computer program instructions).
[0152] The memory 302 can be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disk storage, a magnetic disk storage or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and that can be accessed by a computer, without limitation. The memory 302 can exist independently or be integrated with the processor 301. The memory 302 can include computer program code. The processor 301 is configured to execute the computer program code stored in the memory 302, thereby implementing the signal adjustment method of the air conditioning system communication device provided in the embodiments of the present application.
[0153] The communication interface 303 can be configured to communicate with other devices or communication networks (e.g., Ethernet, a radio access network (RAN), a wireless local area network (WLAN), etc.). The communication interface 303 can be a module, a circuit, a transceiver, or any device capable of communication.
[0154] The bus 304 can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus 304 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 11 Only one thick line is used in the figure to represent the bus, but it does not mean that there is only one bus or only one type of bus.
[0155] The embodiment of the present application further provides a computer readable storage medium, which comprises computer execution instructions, and when the computer execution instructions are executed on a computer, the computer is caused to execute the signal adjustment method of the air conditioning system communication device provided in any one of the above-mentioned embodiments.
[0156] The embodiment of the present application further provides a computer program product comprising computer execution instructions, and when the computer execution instructions are executed on a computer, the computer is caused to execute the signal adjustment method of the air conditioning system communication device provided in any one of the above-mentioned embodiments.
[0157] In the above-mentioned embodiments, all or part of the embodiments can be realized by software, hardware, firmware or any combination thereof. When realized by software, all or part of the embodiments can be realized in the form of a computer program product. The computer program product comprises one or more computer execution instructions. When the computer execution instructions are loaded and executed on a computer, all or part of the processes or functions according to the embodiments of the present application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer execution instructions can be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer execution instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center through a wired (for example, coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (for example, infrared, wireless, microwave, etc.) manner. The computer readable storage medium can be any available medium that can be accessed by a computer or a data storage device comprising one or more servers, data centers, etc. that can be integrated with the medium. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD) or a semiconductor medium (for example, a solid state disk (SSD)) etc.
[0158] Although the application has been described in connection with the embodiments thereof with reference to the various drawings, it will be apparent to those of ordinary skill in the art that variations in the embodiments can be used and that it is not intended to limit the application to the particular form described. From the above discussion and illustrations, one skilled in the art will readily develop variations in the embodiments without departing from the spirit and scope of the application. Accordingly, the application is not limited by the specific examples described herein, but only by the claims that follow, the intent being to cover all modifications and equivalents falling within the spirit and scope of the application. The specification and drawings are, accordingly to be regarded as illustrative rather than restrictive.
[0159] Although the application has been described in connection with the embodiments thereof with reference to the various drawings, it will be apparent to those of ordinary skill in the art that variations in the embodiments can be used and that it is not intended to limit the application to the particular form described. From the above discussion and illustrations, one skilled in the art will readily develop variations in the embodiments without departing from the spirit and scope of the application. Accordingly, the application is not limited by the specific examples described herein, but only by the claims that follow, the intent being to cover all modifications and equivalents falling within the spirit and scope of the application. The specification and drawings are, accordingly to be regarded as illustrative rather than restrictive.
[0160] The above description is only specific embodiments of the present application, but the protection scope of the present application is not limited thereto, and any changes or substitutions within the technical scope disclosed in the present application should be covered in the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A signal conditioning method for an air conditioning system communication device, comprising: The air conditioning system communication device corresponds to a target device to be communicated, and comprises a signal acquisition module, a signal adjustment module and a signal conversion module connected in sequence. The air conditioning system communication device is configured to: in response to a communication failure instruction of the target device, adjust resistance values of the resistance adjustment component according to preset resistance values, so as to scale and adjust first HomeBus signals and second HomeBus signals collected by the signal acquisition module into first target HomeBus signals and second target HomeBus signals respectively; the preset resistance values are multiple; input the first target HomeBus signals and the second target HomeBus signals into the signal conversion module to obtain target UART signals; start the target device and other devices to re-establish communication according to the target UART signals; The resistance adjustment component comprises a first resistor and a second resistor, a first end of the first resistor is connected with a first signal input end of the first HomeBus signals, a first end of the second resistor is connected with a second signal input end of the second HomeBus signals, and the preset resistance values are arranged in order; when the air conditioning system communication device executes the adjusting of the resistance values of the resistance adjustment component according to the preset resistance values, it is specifically configured to: adjust resistance values of the first resistor and the second resistor into preset resistance values corresponding to different bit sequences in order until the preset resistance values corresponding to the last bit sequence in the order or until the target device successfully communicates with the other devices; The air conditioning system communication device is further specifically configured to: when a target duty cycle is less than or equal to a preset duty cycle, determine a first target resistance value from the multiple preset resistance values in order according to the order; the first target resistance value is less than a first resistance value; the target duty cycle is a duty cycle of a UART signal generated when the target device fails to communicate; the first resistance value is a resistance value corresponding to the first resistor and the second resistor when the target device fails to communicate; adjust the resistance values of the first resistor and the second resistor into the first target resistance value; until the last first target resistance value is adjusted or until the target device successfully communicates with the other devices.
2. The signal conditioning method of claim 1, wherein, The air conditioning system communication device is further configured to: in response to a communication establishment instruction of the target device, send a preset signal to the other devices; if the preset signal returned by the other devices and / or the preset signal returned by the target device is not received within a preset time, it is determined that the target device fails to establish communication with the other devices, so that the target device generates the communication failure instruction; receive the communication failure instruction.
3. The signal conditioning method of claim 2, wherein, The air conditioning system communication device is further configured to: if the preset signal returned by the other devices and the preset signal returned by the target device are received within a preset time, it is determined that the target device successfully establishes communication with the other devices.
4. The signal conditioning method of claim 1, wherein, The air conditioning system communication device is also specifically configured to: When the target duty cycle is greater than the preset duty cycle, a second target resistance value is determined from the plurality of preset resistance values in the order; the second target resistance value is greater than the first resistance value; The resistance of the first resistance and the second resistance is adjusted to the second target resistance value; until the last second target resistance value is adjusted or until the target device successfully communicates with the other devices.
5. An air conditioning system communication device, comprising: One air conditioning system communication device corresponds to one target device to be communicated, and the air conditioning system communication device comprises a signal acquisition module, a signal adjustment module and a signal conversion module connected in sequence; the signal adjustment module comprises a resistance adjustment assembly; the air conditioning system communication device can execute the signal adjustment method of any one of claims 1 to 4.
6. The air conditioner system communication device of claim 5, wherein, The resistance adjustment assembly comprises a first resistance and a second resistance, a first end of the first resistance is connected with a first signal input end of a first HomeBus signal; a first end of the second resistance is connected with a second signal input end of a second HomeBus signal.
7. An air conditioning system characterized by comprising: The air conditioning system comprises a plurality of devices and a plurality of air conditioning system communication devices; one air conditioning system communication device corresponds to one device; the plurality of devices comprises a target device, and the air conditioning system communication device is provided with a signal acquisition module, a signal adjustment module and a signal conversion module connected in sequence; the signal adjustment module comprises a resistance adjustment assembly; the air conditioning system communication device can execute the signal adjustment method of any one of claims 1 to 4.
8. The air conditioning system of claim 7, wherein, The resistance adjustment assembly comprises a first resistance and a second resistance, a first end of the first resistance is connected with a first signal input end of a first HomeBus signal; a first end of the second resistance is connected with a second signal input end of a second HomeBus signal.
Citation Information
Patent Citations
Analog signal acquisition system and method
CN106130495A
Communication method, terminal and readable storage medium
CN112788700A
Central air conditioner control system
CN215490245U