Two-bus communication circuit and electronic equipment
By designing a two-bus communication circuit, which consists of a voltage divider circuit, a voltage regulator circuit, and a comparator circuit, the problem of signal distortion in the prior art is solved, and signal stability and waveform stability are achieved.
Patent Information
- Application Number
- CN202423011465.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-06
- Publication Date
- 2025-12-09
- Estimated Expiration
- 2034-12-06
AI Technical Summary
When existing two-bus technology transmits control signals directly on the power line, signal distortion is likely to occur, affecting signal stability and waveform stability.
Design a two-bus communication circuit, including a bus input terminal, a signal optimization circuit, and a signal output terminal. The signal optimization circuit is composed of a voltage divider circuit, a voltage regulator circuit, a comparator circuit, etc., and is used to stabilize the control signal voltage, filter out noise in the waveform, and ensure the stability and reliability of the signal during transmission.
By designing a two-bus communication circuit, the problem of signal distortion in the prior art is solved, and the signal stability and waveform stability are achieved.
Smart Images

Figure CN223652279U_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of bus communication technology, and in particular to a two-bus communication circuit and electronic device. Background Technology
[0002] Two-wire technology uses only two lines—power and ground—to achieve both power supply and signal transmission in electronic devices. Compared to commonly used electronic devices with three or four signal transmission lines, two-wire based devices only require power and ground lines for wiring. Their advantages include simple wiring, lower cost, and high-efficiency communication speeds reaching 115200 Hz. However, it should be noted that transmitting control signals directly on the power line may result in signal distortion. Utility Model Content
[0003] The main purpose of this utility model is to provide a two-bus communication circuit, which aims to improve the signal stability and waveform stability of electronic devices when using two-bus technology to transmit control signals.
[0004] To achieve the above objectives, this utility model provides a two-bus communication circuit, the two-bus communication circuit comprising:
[0005] A bus input terminal, used to transmit power or control signals;
[0006] A signal optimization circuit, wherein the input terminal of the signal optimization circuit is electrically connected to the bus input terminal, the signal optimization circuit is used to stabilize the voltage of the control signal and filter out noise in the waveform of the control signal;
[0007] The signal output terminal is connected to the output terminal of the signal optimization circuit, and the signal output terminal is used to output control signals to the main controller.
[0008] Optionally, the signal optimization circuit includes:
[0009] A voltage divider circuit, wherein the input terminal of the voltage divider circuit is electrically connected to the bus input terminal, and the voltage divider circuit is used to control the voltage of the signal to a predetermined level range;
[0010] A voltage regulator circuit, wherein the input terminal of the voltage regulator circuit is connected to the output terminal of the voltage divider circuit, and the voltage regulator circuit is used to reduce the voltage of the power supply to a predetermined level range;
[0011] A comparator circuit, the input of which is connected to the output of the voltage divider circuit, is used to compare the voltage of the control signal with a predetermined level range.
[0012] Optionally, the voltage divider circuit includes:
[0013] A first resistor, the first end of which is electrically connected to the bus input terminal, and the second end of which is used to connect to the first serial port terminal of the main controller;
[0014] The second resistor has its first end connected to the second end of the first resistor, and its second end is used to connect to the second serial port of the main controller.
[0015] Optionally, the voltage regulator circuit includes:
[0016] A protection circuit, wherein the input terminal of the protection circuit is connected to the output terminal of the voltage divider circuit;
[0017] A linear voltage regulator circuit is provided, the input terminal of which is connected to the output terminal of the protection circuit, and the output terminal of the linear voltage regulator circuit outputs a preset voltage to the power input terminal of the main controller.
[0018] Optionally, the protection circuit includes:
[0019] The third resistor, the first end of which is connected to the output terminal of the voltage divider circuit;
[0020] A fuse, wherein the first end of the fuse is connected to the second end of the third resistor, and a clamping diode is connected in series between the second end of the fuse and ground.
[0021] Optionally, the linear voltage regulator circuit includes:
[0022] A linear voltage regulator chip, wherein the power input terminal of the linear voltage regulator chip is connected to the second terminal of the fuse, a fourth resistor is connected in series between the enable terminal of the linear voltage regulator chip and the second terminal of the fuse, and at least one capacitor is connected in series or parallel between the output terminal of the linear voltage regulator chip and ground.
[0023] Optionally, the comparison circuit includes:
[0024] The fifth resistor has its first end connected to the output terminal of the voltage divider circuit, and a sixth resistor is connected in series between the second end of the fifth resistor and ground.
[0025] A first diode, with a seventh resistor connected in series between the positive terminal of the first diode and the common node of the fifth and sixth resistors, and a first tantalum capacitor connected between the negative terminal of the first diode and ground, the negative terminal of the first diode being used to connect to a reference voltage.
[0026] Optionally, the two-bus communication circuit further includes:
[0027] A filtering circuit is connected in series between the bus input terminal and the signal optimization circuit. The filtering circuit is used to filter out current noise from the power supply or control signal.
[0028] Optionally, the filtering circuit includes:
[0029] A first inductor, with its first end electrically connected to the bus input terminal and its second end connected to the input terminal of the signal optimization circuit.
[0030] In addition, to achieve the above objectives, this utility model also provides an electronic device, which includes the two-bus communication circuit described above.
[0031] This utility model embodiment includes a bus input terminal for transmitting power or control signals, a signal optimization circuit electrically connected to the bus input terminal, wherein the signal optimization circuit stabilizes the voltage of the control signal and filters out noise in the waveform of the control signal, and finally a signal output terminal electrically connected to the signal optimization circuit to output the control signal to the main controller, thereby improving the signal stability and waveform stability when transmitting control signals using the two-bus technology. Attached Figure Description
[0032] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0033] To more clearly illustrate the technical solutions in the embodiments of this utility model or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this utility model. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0034] Figure 1 This is a schematic diagram of the circuit structure of a two-bus communication circuit according to an embodiment of the present invention;
[0035] Figure 2 This is a schematic diagram of the circuit structure of a two-bus communication circuit according to another embodiment of the present invention;
[0036] Figure 3 This is a schematic diagram of the circuit structure of a two-bus communication circuit according to another embodiment of the present invention.
[0037] Figure 4 This is a schematic diagram of the circuit structure of a two-bus communication circuit according to another embodiment of the present invention.
[0038] Figure 5This is a schematic diagram of the circuit principle of the two-bus communication circuit of this utility model;
[0039] Figure 6 The waveform of the control signal before optimization by the signal optimization circuit;
[0040] Figure 7 The waveform of the control signal after optimization by the voltage divider circuit;
[0041] Figure 8 This is the waveform of the control signal after processing by the comparator circuit.
[0042] Explanation of icon numbers:
[0043]
[0044] The realization of the purpose, functional features and advantages of this utility model will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0045] The technical solutions of the present utility model will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some embodiments of the present utility model, not all embodiments. Well-known modules, units, and their connections, links, communications, or operations are not shown or described in detail. Furthermore, the described features, architectures, or functions can be combined in any way in one or more embodiments. Those skilled in the art should understand that the various embodiments described below are only for illustration and not for limiting the scope of protection of the present utility model. It is also readily understood that the modules or units or processing methods in the various embodiments described herein and shown in the accompanying drawings can be combined and designed in various different configurations. Based on the embodiments of the present utility model, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present utility model.
[0046] The definitions of various terms or methods used in the following embodiments are, except where logically impossible, generally defined as broad concepts that can be implemented under the premise of the content disclosed in the embodiments. Under this understanding, all specific subordinate limitations of the terms or methods should be regarded as part of the utility model content of this utility model, and should not be narrowly interpreted or biased on the grounds that the specification does not disclose the specific limitation. Similarly, provided that it is logically feasible, the order of the steps in the method is flexible and variable, and all specific subordinate limitations in the broad concepts of various terms or methods fall within the scope of protection of this utility model.
[0047] The main solution of this application embodiment is: by providing a bus input terminal to transmit power or control signals, and then providing a signal optimization circuit electrically connected to the bus input terminal, wherein the signal optimization circuit stabilizes the voltage of the control signal and filters out noise in the waveform of the control signal, and finally provides a signal output terminal electrically connected to the signal optimization circuit to output the control signal to the main controller.
[0048] Because existing two-bus technology may encounter problems such as directly transmitting control signals on the power line, it is necessary to address these issues. Figure 6 The problem of signal distortion is shown.
[0049] This application provides a solution to achieve the following when the control signal passes through a voltage divider circuit: Figure 7 The stability shown, after the control signal is compared by the comparator, can achieve the following: Figure 8 The stability shown improves the signal and waveform stability when transmitting control signals using two-bus technology.
[0050] Reference Figure 1 In one embodiment of this utility model, the two-bus communication circuit includes a bus input terminal 100, a signal optimization circuit 200, and a signal output terminal 300, wherein:
[0051] Bus input terminal 100 is used to transmit power or control signals; the input terminal of signal optimization circuit 200 is electrically connected to bus input terminal 100. Signal optimization circuit 200 is used to stabilize the voltage of control signal and filter out noise in the waveform of control signal; signal output terminal 300 is connected to the output terminal of signal optimization circuit 200. Signal output terminal 300 is used to output control signal to main controller.
[0052] In this embodiment, the bus input terminal 100 can adopt various interface forms, such as RJ45 interface, BNC interface, or DB9 interface. The choice of these interface forms depends on the specific application scenario and the compatibility requirements of the equipment. For example, in the field of industrial automation, the RJ45 interface is widely used due to its good anti-interference performance and high transmission rate. In some specific test equipment, the BNC interface is favored because of its ease of connection and disconnection.
[0053] In this embodiment, the signal optimization circuit 200 may include a circuit for signal filtering and conditioning and a circuit for providing a stable voltage to the main controller. By adjusting the amplitude of the signal, its stability and reliability are enhanced, and it can also suppress noise to a certain extent. In addition, the circuit can also isolate the power supply and control signals to better transmit the signal and effectively filter out high-frequency noise and spurious waves in the control signal, thereby improving the purity and reliability of the signal.
[0054] In this embodiment, the signal output terminal 300 can be designed as an interface that directly connects to the input terminal of the main controller, such as a standard TTL level interface or an RS232 / RS485 interface. This design ensures the compatibility and stability between the signal output terminal 300 and the main controller, facilitates the accurate reception and processing of control signals by the main controller, effectively solves the signal distortion problem in the prior art, and improves the performance and reliability of the two-bus technology when transmitting control signals.
[0055] The main controller can be implemented using MCU (Micro Controller Unit), DSP (Digital Signal Processor), FPGA (Field Programmable Gate Array), SOC (System On Chip), etc.
[0056] This embodiment provides a bus input terminal 100 for transmitting power or control signals, and a signal optimization circuit 200 electrically connected to the bus input terminal 100. The signal optimization circuit 200 stabilizes the voltage of the control signal and filters out noise in the waveform of the control signal. Finally, a signal output terminal 300 is provided and electrically connected to the signal optimization circuit 200 to output the control signal to the main controller, thereby improving the signal stability and waveform stability when transmitting control signals using the two-bus technology.
[0057] Optionally, refer to Figure 2 Another embodiment of this utility model provides a two-bus communication circuit, based on the above. Figure 1 In the embodiment shown, the signal optimization circuit 200 includes a voltage divider circuit 210, a voltage regulator circuit 220, and a comparator circuit 230, wherein:
[0058] The input terminal of the voltage divider circuit 210 is electrically connected to the bus input terminal 100. The voltage divider circuit 210 is used to control the voltage of the signal to a predetermined level range. The input terminal of the voltage regulator circuit 220 is connected to the output terminal of the voltage divider circuit 210. The voltage regulator circuit 220 is used to reduce the voltage of the power supply to a predetermined level range. The input terminal of the comparator circuit 230 is connected to the output terminal of the voltage divider circuit 210. The comparator circuit 230 is used to compare the voltage of the control signal with the predetermined level range.
[0059] In this embodiment, the voltage divider circuit 210 can employ a resistor divider method, achieving precise control of the signal voltage by selecting an appropriate resistor value. The design of the voltage divider circuit 210 needs to consider the circuit's load capacity to ensure a stable output voltage within a predetermined range under different load conditions. Specifically, the voltage divider circuit 210 can adjust the input voltage to a suitable operating level for the devices, ensuring correct communication between them; the voltage divider circuit 210 can also help adjust the signal amplitude, making it more suitable for subsequent processing and transmission. For example, the signal output by the sensor may be very weak; the voltage divider circuit 210 can amplify it to an appropriate level for further processing; the voltage divider circuit 210 can also reduce noise and interference through filtering.
[0060] The voltage regulator circuit 220 can use either a linear regulator or a switching regulator, depending on the efficiency and stability requirements of the actual application. Linear regulators have lower noise and higher stability, making them suitable for noise-sensitive applications; while switching regulators have higher efficiency, making them suitable for applications with strict power consumption requirements.
[0061] The comparator circuit 230 can be implemented using discrete components or an operational amplifier. By setting an appropriate reference voltage, the comparator circuit 230 composed of discrete components or the operational amplifier can accurately compare the difference between the input signal and the reference voltage and output a corresponding control signal. The design of the comparator circuit 230 needs to ensure that its response speed is fast enough to meet the requirements of high-speed signal processing.
[0062] In this embodiment, the various parts of the signal optimization circuit 200 work together to ensure the stability and reliability of the control signal during transmission. The voltage divider circuit 210 first adjusts the signal voltage to a suitable level range, then the voltage regulator circuit 220 ensures the stability of the signal voltage, and finally the comparator circuit 230 precisely controls the signal voltage to ensure it remains within a predetermined level range. Through this multi-layered signal processing, the two-bus communication circuit can effectively improve the performance and reliability of signal transmission, meeting the high communication quality requirements of modern electronic devices.
[0063] Optionally, refer to Figure 5 Another embodiment of this utility model provides a two-bus communication circuit, based on the above... Figure 2 In the embodiment shown, the voltage divider circuit 210 includes a first resistor R1 and a second resistor R4, wherein:
[0064] The first end of the first resistor R1 is electrically connected to the bus input terminal 100, and the second end of the first resistor R1 is used to connect to the first serial port terminal of the main controller; the first end of the second resistor R4 is connected to the second end of the first resistor R1, and the second end of the second resistor R4 is used to connect to the second serial port terminal of the main controller.
[0065] In this embodiment, voltage division of the signal voltage can be achieved by using a first resistor R1 and a second resistor R4 connected in series. The resistance values of the first resistor R1 and the second resistor R4 can be selected as needed to ensure that the signal reaches the voltage level required by the serial port of the main controller after voltage division. This design is not only simple but also inexpensive and easy to implement.
[0066] In this embodiment, the resistance values of the first resistor R1 and the second resistor R4 need to be selected considering the circuit's load capacity to ensure a stable output voltage within a predetermined range under different load conditions. Furthermore, the design of the voltage divider circuit 210 also needs to consider the signal's frequency characteristics to ensure that no additional distortion or noise is introduced during signal transmission.
[0067] To improve signal stability and reliability, the voltage divider circuit 210 can also be used in conjunction with the filter circuit 400. The filter circuit 400 can be a low-pass, high-pass, or band-pass filter, with the appropriate filtering method selected based on the signal's frequency characteristics. The filter circuit 400 can effectively filter out high-frequency noise and interference in the signal, ensuring signal purity.
[0068] Optionally, refer to Figure 3 Another embodiment of this utility model provides a two-bus communication circuit, based on the above... Figure 2 In the embodiment shown, the voltage regulator circuit 220 includes a protection circuit 221 and a linear voltage regulator circuit 222, wherein:
[0069] The input terminal of the protection circuit 221 is connected to the output terminal of the voltage divider circuit 210; the input terminal of the linear voltage regulator circuit 222 is connected to the output terminal of the protection circuit 221, and the output terminal of the linear voltage regulator circuit 222 outputs a preset voltage to the power input terminal of the main controller.
[0070] In this embodiment, the protection circuit 221 can be an overcurrent or overvoltage protection circuit 221, used to prevent damage to subsequent circuits due to excessive current or voltage. The design of the protection circuit 221 needs to ensure that its response speed is fast enough to quickly cut off the power supply or limit the current when an abnormality is detected, thereby protecting the safety of the entire circuit. The linear regulator circuit 222 is responsible for stabilizing the input voltage within a predetermined level range, ensuring that the main controller receives a stable power supply. The linear regulator circuit 222 typically has low noise output and is suitable for applications with high power quality requirements.
[0071] In this embodiment, the protection circuit 221 can be implemented using various techniques, such as a transient suppression diode, a fuse F1, and a current limiting circuit. The transient suppression diode can quickly conduct in the event of a momentary overvoltage, discharging excess voltage to ground and thus protecting circuit 221 from damage. The fuse F1 melts when the current exceeds its rated value, cutting off the circuit and preventing overcurrent. The current limiting circuit can automatically reduce the current output when an overcurrent is detected to protect the load device.
[0072] The linear voltage regulator circuit 222 can use integrated voltage regulator chips. These chips integrate multiple protection functions, such as overheat protection and short-circuit protection, to improve the stability and reliability of the circuit. Integrated voltage regulator chips typically have good line regulation and load regulation, and can provide a stable output voltage, maintaining a stable output even when the input voltage or load current changes.
[0073] In this embodiment, the combined use of protection circuit 221 and linear voltage regulator circuit 222 not only ensures the stability of the power input voltage but also effectively prevents damage to the main controller caused by abnormal voltage fluctuations. Furthermore, by rationally designing the response time of protection circuit 221 and the adjustment speed of voltage regulator circuit 220, the circuit's adaptability to voltage fluctuations can be improved, ensuring that the two-bus communication circuit can operate stably and reliably under various working environments.
[0074] Optionally, refer to Figure 5 In another embodiment, this utility model provides a two-bus communication circuit based on the above. Figure 3 In the embodiment shown, the protection circuit 221 includes a third resistor R2 and a fuse F1, wherein:
[0075] The first end of the third resistor R2 is connected to the output end of the voltage divider circuit 210; the first end of the fuse F1 is connected to the second end of the third resistor R2, and a clamping diode D1 is connected in series between the second end of the fuse F1 and ground.
[0076] In this embodiment, the combination of the third resistor R2 and the fuse F1 is used to protect circuit 221 from overcurrent or overvoltage. The third resistor R2 limits the current through the fuse F1, thereby protecting circuit 221 when the current exceeds a safe range. The fuse F1 melts when the current exceeds its rated value, cutting off the circuit and preventing overcurrent. The clamping diode D1 is used to prevent transient overvoltage caused by voltage spikes. It can quickly conduct when the voltage exceeds a certain threshold, discharging the excess voltage to ground, thereby protecting circuit 221 from damage.
[0077] In this embodiment, the design of the protection circuit 221 needs to comprehensively consider the normal operating current and voltage range of the circuit, as well as possible abnormal situations. By reasonably selecting the resistance value of the third resistor R2 and the rated current of the fuse F1, it can be ensured that the performance of the circuit will not be affected under normal operating conditions, while the power supply can be cut off in time in abnormal situations to protect the safety of circuit 221. The selection of the clamping diode D1 needs to be determined based on the highest voltage spike that the circuit may encounter, to ensure that sufficient protection can be provided even in extreme cases.
[0078] Optionally, refer to Figure 5 Another embodiment of this utility model provides a two-bus communication circuit, based on the above. Figure 3 In the embodiment shown, the linear voltage regulator circuit 222 includes a linear voltage regulator chip U2, wherein:
[0079] The power input terminal of the linear regulator chip U2 is connected to the second terminal of the fuse F1. A fourth resistor R3 is connected in series between the enable terminal of the linear regulator chip U2 and the second terminal of the fuse F1. At least one capacitor is connected in series or in parallel between the output terminal of the linear regulator chip U2 and ground.
[0080] In this embodiment, the linear voltage regulator chip U2, as the core component, is responsible for stabilizing the input voltage within a predetermined level range. The fourth resistor R3 is connected in series with the enable terminal of the linear voltage regulator chip U2 to control the chip's startup and shutdown, ensuring that the voltage regulator chip can be shut down promptly when the fuse F1 trips, preventing damage to the main controller due to abnormal voltage. The addition of a capacitor improves power supply stability by filtering out noise and interference on the power line, ensuring the purity of the output voltage.
[0081] In this embodiment, the selection of the linear voltage regulator chip U2 needs to consider its output voltage accuracy and stability, as well as its response speed to input voltage changes. To meet the needs of different applications, products with different output voltage ranges and accuracies can be selected for the linear voltage regulator chip U2. Simultaneously, to improve the circuit's anti-interference capability, the packaging form and layout design of the linear voltage regulator chip U2 also require special attention to reduce the impact of electromagnetic interference on circuit performance, ensuring stable and reliable operation in various complex working environments.
[0082] Optionally, refer to Figure 5 Another embodiment of this utility model provides a two-bus communication circuit, based on the above... Figure 2 In the embodiment shown, the comparator circuit 230 includes a fifth resistor R5 and a first diode D2, wherein:
[0083] The first end of the fifth resistor R5 is connected to the output of the voltage divider circuit 210. The second end of the fifth resistor R5 is connected in series with the sixth resistor R6 between it and ground. The positive terminal of the first diode D2 is connected in series with the common node of the fifth resistor R5 and the sixth resistor R6, and the negative terminal of the first diode D2 is connected to the ground with the first tantalum capacitor C8. The negative terminal of the first diode D2 is used to connect to the reference voltage.
[0084] In this embodiment, the comparator circuit 230 is designed to monitor and regulate the voltage level, ensuring that the voltage received by the main controller is within a safe range. The series combination of the fifth resistor R5 and the sixth resistor R6 forms a voltage divider network for adjusting and stabilizing the voltage input to the comparator circuit 230. The seventh resistor R7, connected in series with the first diode D2, limits the current flowing through the first diode D2, preventing overcurrent damage to the diode. The first tantalum capacitor C8 is used to filter out high-frequency noise in the voltage signal, ensuring that the voltage signal received by the comparator circuit 230 is stable and accurate.
[0085] In this embodiment, both the first diode D2 and the tantalum capacitor are components of the filter circuit 400. They work together on the voltage signal to ensure that the comparator circuit 230 can accurately monitor the voltage level. The first diode D2 has unidirectional conductivity, which can effectively prevent the influence of reverse current on the circuit, while the first tantalum capacitor C8 utilizes its excellent high-frequency filtering performance to further improve signal stability. Through this design, even in environments with interference, the comparator circuit 230 can accurately determine whether the voltage is within a safe range, thereby providing reliable voltage monitoring for the entire two-bus communication circuit.
[0086] Optionally, refer to Figure 4 Another embodiment of this utility model provides a two-bus communication circuit, based on the above... Figures 1 to 3 as well as Figure 5 In any of the embodiments shown, the two-bus communication circuit further includes a filter circuit 400, wherein:
[0087] The filter circuit 400 is connected in series between the bus input terminal 100 and the signal optimization circuit 200. The filter circuit 400 is used to filter out current noise from the power supply or control signal.
[0088] In this embodiment, the design of the filter circuit 400 is crucial, as it effectively reduces noise and interference during signal transmission, thereby improving the accuracy and reliability of communication. The filter circuit 400 typically consists of inductors and capacitors, forming a low-pass or band-pass filter to allow signals within a specific frequency range to pass through while suppressing interference signals at other frequencies.
[0089] Furthermore, the layout design of the filter circuit 400 requires special attention to reduce the impact of electromagnetic interference on circuit performance. During circuit board design, the connection length between components in the filter circuit 400 should be minimized to avoid unnecessary parasitic inductance and capacitance, thereby ensuring signal purity and stability. Simultaneously, the grounding of the filter circuit 400 is also crucial; proper grounding can effectively reduce noise levels and improve the circuit's anti-interference capability.
[0090] In practical applications, the filter circuit 400 may need to be adjusted and optimized according to the specific working environment and requirements. For example, in industrial environments with severe electromagnetic interference, additional filtering measures may be required, such as using shielded cables or increasing the number of filter stages, to improve the signal's anti-interference capability. Through these measures, it can be ensured that the two-bus communication circuit can operate stably and reliably in various complex working environments, meeting the high standards required for industrial communication.
[0091] Optionally, refer to Figure 5 In another embodiment, this utility model provides a two-bus communication circuit based on the above. Figure 4 In the embodiment shown, the filter circuit 400 includes a first inductor L1, wherein:
[0092] The first end of the first inductor L1 is electrically connected to the bus input terminal 100, and the second end of the first inductor L1 is connected to the input terminal of the signal optimization circuit 200.
[0093] In this embodiment, the first inductor L1 serves as the core component of the filter circuit 400, and its main function is to suppress current noise using its inductive characteristics. Inductors exhibit high impedance in AC circuits, effectively blocking high-frequency noise signals and thus protecting subsequent circuits from interference. During design, the inductance of the first inductor L1 needs to be selected based on the circuit's operating frequency and the required noise frequency range to ensure effective filtering.
[0094] To improve the filtering effect, the filter circuit 400 can also include multiple combinations of inductors and capacitors to form a multi-stage filter network. For example, a capacitor can be connected in series after the first inductor L1 to form a low-pass filter to filter out higher frequency noise. In addition, ferrite beads can be added to the circuit to suppress high-frequency noise by utilizing their nonlinear impedance characteristics.
[0095] In practical applications, the design of the filter circuit 400 requires comprehensive consideration of factors such as circuit board layout, component selection, and grounding method to ensure that the circuit achieves the expected filtering effect under various operating conditions. For example, during circuit board design, inductors and capacitors should be kept away from high-speed signal lines to avoid unnecessary coupling interference. Simultaneously, the grounding of the filter circuit 400 should be as direct and short-circuited as possible to reduce the impedance of the grounding loop, thereby improving the filtering effect.
[0096] This invention also proposes an electronic device, which includes a two-bus communication circuit as described in the above embodiments.
[0097] It is worth noting that since the electronic device of this utility model is based on the above-mentioned two-bus communication circuit, the embodiments of the electronic device of this utility model include all the technical solutions of all the embodiments of the above-mentioned two-bus communication circuit, and the technical effects achieved are exactly the same, so they will not be repeated here.
[0098] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.
[0099] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0100] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this utility model, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods of the various embodiments of this utility model.
[0101] The above are merely preferred embodiments of this utility model and do not limit the patent scope of this utility model. Any equivalent structural or procedural transformations made based on the description and drawings of this utility model, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this utility model.
Claims
1. A two-bus communication circuit, characterized in that, The dual-bus communication circuit includes: A bus input terminal, used to transmit power or control signals; A signal optimization circuit, wherein the input terminal of the signal optimization circuit is electrically connected to the bus input terminal, the signal optimization circuit is used to stabilize the voltage of the control signal and filter out noise in the waveform of the control signal; The signal output terminal is connected to the output terminal of the signal optimization circuit, and the signal output terminal is used to output control signals to the main controller.
2. The two-bus communication circuit as described in claim 1, characterized in that, The signal optimization circuit includes: A voltage divider circuit, wherein the input terminal of the voltage divider circuit is electrically connected to the bus input terminal, and the voltage divider circuit is used to control the voltage of the signal to a predetermined level range; A voltage regulator circuit, wherein the input terminal of the voltage regulator circuit is connected to the output terminal of the voltage divider circuit, and the voltage regulator circuit is used to reduce the voltage of the power supply to a predetermined level range; A comparator circuit, the input of which is connected to the output of the voltage divider circuit, is used to compare the voltage of the control signal with a predetermined level range.
3. The two-bus communication circuit as described in claim 2, characterized in that, The voltage divider circuit includes: A first resistor, the first end of which is electrically connected to the bus input terminal, and the second end of which is used to connect to the first serial port terminal of the main controller; The second resistor has its first end connected to the second end of the first resistor, and its second end is used to connect to the second serial port of the main controller.
4. The two-bus communication circuit as described in claim 2, characterized in that, The voltage regulator circuit includes: A protection circuit, wherein the input terminal of the protection circuit is connected to the output terminal of the voltage divider circuit; A linear voltage regulator circuit is provided, the input terminal of which is connected to the output terminal of the protection circuit, and the output terminal of the linear voltage regulator circuit outputs a preset voltage to the power input terminal of the main controller.
5. The two-bus communication circuit as described in claim 4, characterized in that, The protection circuit includes: The third resistor, the first end of which is connected to the output terminal of the voltage divider circuit; A fuse, wherein the first end of the fuse is connected to the second end of the third resistor, and a clamping diode is connected in series between the second end of the fuse and ground.
6. The two-bus communication circuit as described in claim 5, characterized in that, The linear voltage regulator circuit includes: A linear voltage regulator chip, wherein the power input terminal of the linear voltage regulator chip is connected to the second terminal of the fuse, a fourth resistor is connected in series between the enable terminal of the linear voltage regulator chip and the second terminal of the fuse, and at least one capacitor is connected in series or parallel between the output terminal of the linear voltage regulator chip and ground.
7. The two-bus communication circuit as described in claim 2, characterized in that, The comparison circuit includes: The fifth resistor has its first end connected to the output terminal of the voltage divider circuit, and a sixth resistor is connected in series between the second end of the fifth resistor and ground. A first diode, with a seventh resistor connected in series between the positive terminal of the first diode and the common node of the fifth and sixth resistors, and a first tantalum capacitor connected between the negative terminal of the first diode and ground, the negative terminal of the first diode being used to connect to a reference voltage.
8. The dual-bus communication circuit as described in any one of claims 1 to 7, characterized in that, The dual-bus communication circuit also includes: A filtering circuit is connected in series between the bus input terminal and the signal optimization circuit. The filtering circuit is used to filter out current noise from the power supply or control signal.
9. The two-bus communication circuit as described in claim 8, characterized in that, The filtering circuit includes: A first inductor, with its first end electrically connected to the bus input terminal and its second end connected to the input terminal of the signal optimization circuit.
10. An electronic device, characterized in that, The electronic device includes a two-bus communication circuit as described in any one of claims 1 to 9.