Carrier communication protection circuit, carrier communication system and communication protection method
By adding a protection circuit in the carrier communication system, using comparator and voltage divider resistance to detect voltage, avoiding peak voltage breakdown system control chip, the product defect problem caused by excessive voltage in carrier communication is solved, and product safety and yield are improved.
Patent Information
- Application Number
- CN202111436465.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-29
- Publication Date
- 2025-08-05
- Estimated Expiration
- 2041-11-29
AI Technical Summary
During carrier communication, the peak voltage may break down the system control chip, resulting in poor product.
A carrier communication protection circuit is added between the carrier communication module and the system control chip, including a comparator module, a logic control module, a first and second voltage divider resistors, and the voltage values are compared through the comparator module. When the spike voltage occurs, the logic control module is turned on to turn off the internal power supply of the carrier communication module.
The peak voltage breakdown system control chip is avoided and the product safety and yield is improved.
Smart Images

Figure CN114268873B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data communications, and in particular to a carrier communication protection circuit, a carrier communication system and a communication protection method. Background Art
[0002] Consumer electronics such as TWS Bluetooth earphones and headsets are trending toward low cost, miniaturization, and minimalist design. Early TWS Bluetooth earphones had three charging contacts between their charging cases: power, communication, and GND. To reduce costs, the number of charging contacts between TWS earphones and their charging cases has been reduced to two: one for power and communication, and one for GND.
[0003] However, in the existing carrier communication process, the power communication voltage is affected by the external power supply, and a spike voltage will be generated. If the spike voltage value exceeds the voltage threshold of the system control chip, it may break down the system control chip, resulting in product defects. Summary of the Invention
[0004] The main purpose of the present invention is to provide a carrier communication protection circuit, a carrier communication system and a communication protection method, aiming to solve the technical problem of how to prevent excessive voltage from causing damage to product quality.
[0005] To achieve the above object, the present invention provides a carrier communication protection circuit, the carrier communication protection circuit comprising: a comparator module, a logic control module, a first voltage-dividing resistor and a second voltage-dividing resistor;
[0006] The comparator module is connected to a preset carrier communication module, the comparator module is connected to the first voltage-dividing resistor and the second voltage-dividing resistor, the comparator module is connected to a preset system power supply, and the comparator module is connected to the logic control module;
[0007] The logic control module is connected to the preset carrier communication module;
[0008] When the output terminal of the comparator module outputs a high level, the logic control module is turned on to control the internal power supply of the preset carrier communication module to be turned off.
[0009] Optionally, the comparator module includes a comparator, the positive input terminal of the comparator is connected to the signal output terminal of the preset carrier communication module, the negative input terminal of the comparator is connected to one end of the first voltage divider resistor and one end of the second voltage divider resistor, the power input terminal of the comparator is connected to the preset system power supply, and the output terminal of the comparator is connected to the gate of the logic control module.
[0010] Optionally, the positive input terminal of the comparator is also connected to the signal input terminal of a preset system control chip.
[0011] Optionally, when the output end of the comparator module outputs a low level, the logic control module is not turned on, the preset carrier communication module works normally, and the preset system control chip normally receives the communication signal of the preset carrier communication module.
[0012] Optionally, the logic control module includes an NMOS tube, a gate of the NMOS tube is connected to the output end of the comparator, and a D end of the NMOS tube is connected to an internal power supply control end of the preset carrier communication module.
[0013] Optionally, one end of the first voltage-dividing resistor is connected to the preset system power supply, and the other end is connected to the negative input end of the comparator and one end of the second voltage-dividing resistor.
[0014] Optionally, the negative power supply terminal of the comparator is grounded, the S terminal of the NMOS tube is grounded, and one end of the second voltage-dividing resistor is grounded.
[0015] In addition, to achieve the above-mentioned purpose, the present invention also provides a carrier communication system, which includes a preset carrier communication module, a preset system control chip and the carrier communication protection circuit as described above, the preset carrier communication module is connected to the carrier communication protection circuit, and the carrier communication protection circuit is connected to the preset system control chip.
[0016] In addition, to achieve the above object, the present invention also provides a communication protection method, which is applied to the carrier communication system as described above, and includes the following steps:
[0017] When the preset carrier communication module outputs a communication signal to the carrier communication protection circuit, the carrier communication protection circuit compares the online voltage of the communication signal with the preset voltage;
[0018] When the line voltage is greater than the preset voltage, the internal power supply of the preset carrier communication module is pulled down by the carrier communication protection circuit to suspend the operation of the preset carrier communication module;
[0019] When the voltage on the line is not greater than the preset voltage, the communication signal is input to the preset system control chip, so that the preset system control chip decodes the communication signal and completes the signal instruction.
[0020] In addition, to achieve the above-mentioned purpose, the present invention also provides a carrier communication protection device, which includes: a memory, a processor, and a communication protection program stored on the memory and runnable on the processor. When the communication protection program is executed by the processor, the steps of the communication protection method described above are implemented.
[0021] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium, on which a communication protection program is stored. When the communication protection program is executed by a processor, the steps of the communication protection method described above are implemented.
[0022] The present invention proposes a carrier communication protection circuit, a carrier communication system and a communication protection method, wherein the carrier communication protection circuit includes: a comparator module, a logic control module, a first voltage-dividing resistor and a second voltage-dividing resistor; the comparator module is connected to a preset carrier communication module, the comparator module is connected to the first voltage-dividing resistor and the second voltage-dividing resistor, the comparator module is connected to a preset system power supply, and the comparator module is connected to the logic control module; the logic control module is connected to the preset carrier communication module; when the output end of the comparator module outputs a high level, the logic control module is turned on to control the internal power supply of the preset carrier communication module to be turned off. By adding the above-mentioned carrier communication protection circuit between the preset carrier communication module and the preset system control chip, the protection of the preset system control chip is achieved when a spike voltage occurs, avoiding the problem of the system control chip being broken down due to excessive voltage during the carrier communication process, thereby improving product safety and product yield. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying any creative work.
[0024] Figure 1 This is a module diagram of an embodiment of a carrier communication protection circuit of the present invention;
[0025] Figure 2 for Figure 1 A schematic diagram of the circuit structure of an embodiment;
[0026] Figure 3 This is a flow chart of an embodiment of a communication protection method of the present invention.
[0027] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings and in conjunction with the embodiments.
[0028] Description of Figure Numbers:
[0029]
[0030] DETAILED DESCRIPTION
[0031] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0032] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.
[0033] It should be noted that all directional indications in the embodiments of the present invention (such as up, down, left, right, front, back, etc.) are only used to explain the relative position relationship, movement status, etc. between the various components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0034] In addition, the descriptions of "first", "second", etc. in the present invention are for descriptive purposes only and should not be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" or "second" may explicitly or implicitly include at least one of such features. In addition, the technical solutions between the various embodiments can be combined with each other, but this must be based on the fact that they can be implemented by ordinary technicians in this field. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0035] The present invention provides a carrier communication protection circuit. By adding the carrier communication protection circuit between an existing carrier communication module and a system control chip, when the carrier communication module outputs a spike voltage, the carrier communication module can be prevented from outputting the spike voltage to the system control chip, thereby protecting the system control chip and avoiding the problem of breakdown of the system control chip due to excessive voltage during carrier communication, thereby improving product safety and product yield.
[0036] Reference Figure 1 and Figure 2, an embodiment of the present invention provides a carrier communication protection circuit, the carrier communication protection circuit comprising: a comparator module 100, a logic control module 200, a first voltage-dividing resistor R1 and a second voltage-dividing resistor R2;
[0037] The carrier communication protection circuit, the preset carrier communication module PLC_IC and the preset system control chip SOC together constitute the carrier communication system in this embodiment.
[0038] The comparator module 100 is connected to the preset carrier communication module PLC_IC, the comparator module 100 is connected to the first voltage-dividing resistor R1 and the second voltage-dividing resistor R2, the comparator module 100 is connected to the preset system power supply VSYS, and the comparator module 100 is connected to the logic control module 200;
[0039] Specifically, in this embodiment, the comparator module 100 includes a comparator U1, the positive input terminal IN+ of the comparator U1 is connected to the PLC (Programmable Logic Controller) signal output terminal (i.e. Figure 2 The negative input terminal IN- of the comparator U1 is connected to one end of the first voltage-dividing resistor R1 and one end of the second voltage-dividing resistor R2, the power input terminal VCC of the comparator U1 is connected to the preset system power supply VSYS, and the output terminal OUT of the comparator U1 is connected to the gate G of the logic control module 200.
[0040] The logic control module 200 is connected to the preset carrier communication module PLC_IC;
[0041] Specifically, in this embodiment, the logic control module 200 includes an NMOS transistor Q1, the gate G of the NMOS transistor Q1 is connected to the output end OUT of the comparator U1, and the D end of the NMOS transistor Q1 is connected to the internal power supply PLC_VDIG control end of the preset carrier communication module.
[0042] When the output terminal OUT of the comparator module 100 outputs a high level, the logic control module 200 is turned on to control the internal power supply PLC_VDIG of the preset carrier communication module PLC_IC to be turned off;
[0043] The positive input terminal IN+ of the comparator U1 is also connected to the PLC signal input terminal (ie Figure 2 The PLC pin in the upper left corner of the SOC) is connected;
[0044] When the output terminal OUT of the comparator module 100 outputs a low level, the logic control module 200 is not turned on, the preset carrier communication module PLC_IC operates normally, and the preset system control chip SOC normally receives the communication signal of the preset carrier communication module PLC_IC.
[0045] It should be noted that the output result of the output terminal OUT of the comparator module 100 is determined by comparing the voltage value of the input of the positive input terminal IN+ of the comparator U1 with the voltage value of the input of the negative input terminal IN− of the comparator U1.
[0046] When the output terminal OUT of the comparator module 100 outputs a high level, it means that the voltage value of the IN+ terminal is greater than the voltage value of the IN- terminal. At this time, the logic control module 200 is controlled to be turned on, and the internal power supply PLC_VDIG of the preset carrier communication module PLC_IC is controlled to be turned off. Figure 2 The Internal Supply pin of the preset carrier communication module PLC_IC is blocked to block the power communication signal sent by the preset carrier communication module PLC_IC at the current moment;
[0047] When the output terminal OUT of the comparator module 100 outputs a low level, it means that the voltage value of the IN+ terminal is less than or equal to the voltage value of the IN- terminal. At this time, the logic control module 200 will be controlled to be turned off, that is, the power communication signal sent by the preset carrier communication module PLC_IC at the current moment will not be blocked, so that the preset system control chip SOC can normally receive the power communication signal sent by the preset carrier communication module PLC_IC.
[0048] One end of the first voltage-dividing resistor R1 is connected to the preset system power supply VSYS, and the other end is connected to the negative input terminal IN- of the comparator U1 and one end of the second voltage-dividing resistor R2.
[0049] Reference Figure 2 It can be understood that after the preset system power VSYS is divided by the first voltage-dividing resistor R1 and the second voltage-dividing resistor R2, the voltage input to the negative input terminal IN- of the comparator U1 is the divided voltage VREF.
[0050] The negative voltage supply terminal VEE of the comparator U1 is grounded, the S terminal of the NMOS transistor Q1 is grounded, and one end of the second voltage-dividing resistor R2 is grounded.
[0051] from Figure 2As can be seen in the figure, the ground terminal GND (short for the ground terminal of an electrical wire, representing the ground wire or zero line) of the preset carrier communication module PLC_IC, the lower end of the second voltage-dividing resistor R2, the negative voltage supply terminal VEE of the comparator U1, the S terminal of the NMOS transistor Q1, and the ground terminal GND of the preset system chip are all grounded. The purpose of the ground connection is to discharge static electricity and redundant current in the circuit to the ground, reducing harm to users. In this embodiment, harm to users of equipment equipped with the carrier communication system can be reduced.
[0052] Combine Figure 1 and Figure 2 , the specific circuit principle of the present invention is as follows:
[0053] The carrier communication protection circuit module is mainly composed of comparator U1, NMOS tube Q1, voltage divider resistors R1, R2 and resistor R3. The power communication signal of the preset carrier communication module PLC_IC is connected to IN+ of the comparator U1 and is also connected to the corresponding network of the preset system control chip SOC.
[0054] The preset system power supply VSYS is divided by first and second voltage-divider resistors R1 and R2 to obtain VREF, which is then connected to IN- of comparator U1. The VREF voltage value is the maximum voltage Vsoc allowed by the preset system-on-chip (SOC). The power supply VCC of comparator U1 can be provided by the preset system power supply VSYS or other stable power supply in the carrier communication system, which is not limited in this embodiment. The output terminal OUT of comparator U1 is connected to the gate G of NMOS transistor Q1 to control whether NMOS transistor Q1 is turned on or off, thereby controlling the internal power supply PLC_VDIG of PLC_IC.
[0055] When the voltage VPLC of the power communication signal of the preset carrier communication module PLC_IC is greater than VREF, the output terminal OUT of the comparator U1 outputs a high level, the NMOS tube Q1 is turned on, and the internal power supply PLC_VDIG of the preset carrier communication module PLC_IC is pulled down to 0, so that the preset carrier communication module PLC_IC is reset, and VPLC fails to be input to the SOC, thereby avoiding damage to the SOC due to excessive voltage.
[0056] When the voltage VPLC of the power communication signal of the preset carrier communication module PLC_IC is ≤ VREF, the output terminal OUT of the comparator U1 outputs a low level, the NMOS tube Q1 is not turned on, the preset carrier communication module PLC_IC operates normally, and the power communication signal is input into the SOC to complete the carrier communication.
[0057] It should be noted that, in the above logic judgment step, pulling down the internal power supply PLC_VDIG of the preset carrier communication module PLC_IC to 0 does not mean that the preset carrier communication module PLC_IC is continuously shut down. The preset carrier communication module PLC_IC only performs a reset operation at the moment when the power communication signal voltage is too high to stop sending the power communication signal with the current voltage being too high. After the reset operation is completed, its internal power supply PLC_VDIG will return to normal working state from 0. The above steps only mean that the power communication signal with too high voltage at this moment will not be transmitted to the preset system control chip SOC, and will not affect the transmission of the power communication signal with normal voltage in the subsequent time.
[0058] The present embodiment provides a carrier communication protection circuit, which includes: a comparator module, a logic control module, a first voltage-dividing resistor and a second voltage-dividing resistor; the comparator module is connected to a preset carrier communication module, the comparator module is connected to the first voltage-dividing resistor and the second voltage-dividing resistor, the comparator module is connected to a preset system power supply, and the comparator module is connected to the logic control module; the logic control module is connected to the preset carrier communication module; when the output end of the comparator module outputs a high level, the logic control module is turned on to control the internal power supply of the preset carrier communication module to be turned off. By adding the above-mentioned carrier communication protection circuit between the preset carrier communication module and the preset system control chip, the protection of the preset system control chip is achieved when a spike voltage occurs, avoiding the problem of the system control chip being broken down due to excessive voltage during the carrier communication process, thereby improving product safety and product yield.
[0059] Reference Figure 3 , an embodiment of the present invention further provides a communication protection method, the communication protection method comprising the following steps:
[0060] Step S10, when the preset carrier communication module outputs a communication signal to the carrier communication protection circuit, the carrier communication protection circuit compares the online voltage of the communication signal with a preset voltage;
[0061] Step S20: When the line voltage is greater than the preset voltage, the internal power supply of the preset carrier communication module is pulled down by the carrier communication protection circuit to suspend the operation of the preset carrier communication module;
[0062] Step S21 : when the line voltage is not greater than the preset voltage, inputting the communication signal into the preset system control chip, so that the preset system control chip decodes the communication signal and completes the signal instruction.
[0063] It can be understood that when the PLC carrier communication module (i.e., the preset carrier communication module) outputs the power communication signal to the comparator of the communication protection circuit module, the voltage on the power communication line is compared with the preset voltage Vsoc in the comparator. If the voltage on the power communication line is ≤Vsoc, the power communication signal sent by the PLC carrier communication module is input into the SOC system control chip, and the SOC system control chip decodes the signal to complete the signal instruction; if the voltage on the power communication line is >Vsoc, the comparator inputs the judgment result into the logic control module, and the logic control module pulls down the internal power supply of the PLC carrier communication module through the logic control circuit, and the PLC carrier communication module stops working. There is no power and signal transmission on the PLC power communication line, and no damage is caused to the subsequent SOC system control chip.
[0064] The application of the communication protection method of the carrier communication protection circuit of this embodiment can also refer to the above embodiment, and will not be repeated here. As a matter of course, since the communication protection method of the carrier communication protection circuit of this embodiment is applied to the technical solution of the above carrier communication protection circuit, the communication protection method of the carrier communication protection circuit has all the beneficial effects of the above carrier communication protection circuit.
[0065] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or system comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or system. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or system comprising the element.
[0066] The serial numbers of the above embodiments of the present invention are for description only and do not represent the advantages or disadvantages of the embodiments.
[0067] Through the description of the above embodiments, those skilled in the art can clearly understand that the above embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better embodiment. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present invention.
[0068] The above are only preferred embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention description and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A carrier communication protection circuit, characterized in that: The carrier communication protection circuit includes: a comparator, an NMOS tube, a first voltage-dividing resistor and a second voltage-dividing resistor; The positive input end of the comparator is respectively connected to the signal output end of the preset carrier communication module and the signal input end of the preset system control chip, the negative input end of the comparator is connected to one end of the first voltage-dividing resistor and one end of the second voltage-dividing resistor, the other end of the first voltage-dividing resistor is connected to the preset system power supply, and the other end of the second voltage-dividing resistor is grounded. The power input end of the comparator is connected to the preset system power supply, and the comparator is used to compare the online voltage of the communication signal of the preset carrier communication module with the preset voltage and output a high level or a low level; wherein, the preset voltage is obtained by dividing the preset system power supply by the first voltage-dividing resistor and the second voltage-dividing resistor; The gate of the NMOS tube is connected to the output terminal of the comparator, the drain of the NMOS tube is connected to the internal power supply control terminal of the preset carrier communication module, and the source of the NMOS tube is grounded; When the output end of the comparator outputs a high level, the NMOS tube is turned on to control the internal power supply of the preset carrier communication module to be turned off, so that the preset carrier communication module is reset, and the communication signal of the preset carrier communication module is prevented from being input into the preset system control chip.
2. The carrier communication protection circuit according to claim 1, wherein: When the output end of the comparator module outputs a low level, the NMOS tube is not turned on, the preset carrier communication module works normally, and the preset system control chip receives the communication signal of the preset carrier communication module normally.
3. A carrier communication system, characterized in that: The carrier communication system includes a preset carrier communication module, a preset system control chip and a carrier communication protection circuit as described in any one of claims 1 to 2, the preset carrier communication module is connected to the carrier communication protection circuit, and the carrier communication protection circuit is connected to the preset system control chip.
4. A communication protection method, characterized in that: The communication protection method is applied to the carrier communication system according to claim 3, comprising the following steps: When the preset carrier communication module outputs a communication signal to the carrier communication protection circuit, the carrier communication protection circuit compares the online voltage of the communication signal with the preset voltage; When the voltage on the line is greater than the preset voltage, the internal power supply of the preset carrier communication module is pulled down by the carrier communication protection circuit, so that the preset carrier communication module stops working.
5. The communication protection method according to claim 4, wherein: After the step of comparing the online voltage of the communication signal with the preset voltage by the carrier communication protection circuit, the method further includes: When the voltage on the line is not greater than the preset voltage, the communication signal is input to the preset system control chip, so that the preset system control chip decodes the communication signal and completes the signal instruction.
Citation Information
Patent Citations
Over temperature protection circuit for battery
CN101373893A