A signal communication circuit, electronic device, and power signal detection method

By using signal output and detection circuits in the signal communication circuit, and by utilizing various circuit components to output electrical signals with different attribute parameters, the problem of redefining PIN pins is solved, achieving the effect of adding functionality and improving fault tolerance without increasing the circuit output.

CN119557252BActive Publication Date: 2026-04-24INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
INSPUR SUZHOU INTELLIGENT TECH CO LTD
Filing Date
2024-11-28
Publication Date
2026-04-24

AI Technical Summary

Technical Problem

With limited pin definitions, if new functions are needed, existing technologies require redefining and replanning all pins within the power supply, resulting in limited applicability.

Method used

A signal communication circuit is provided, including a signal output circuit and a signal detection circuit. It outputs at least two electrical signals with different attribute parameters and determines a high-level or low-level signal based on the attribute parameters of the electrical signals. The high-level or low-level signal is determined by using components such as a digital signal processor, a shaping and isolation circuit, a filtering circuit, a driving and amplifying circuit, and a high-voltage and low-voltage comparison circuit.

Benefits of technology

A multifunctional circuit design was achieved without increasing the circuit output, improving fault tolerance and reducing the error rate in high-frequency environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119557252B_ABST
    Figure CN119557252B_ABST
Patent Text Reader

Abstract

The application provides a signal communication circuit, an electronic device and a power signal detection method, and is applied to the technical field of electronic devices.The application comprises a signal output circuit and a signal detection circuit; the signal output circuit is used for outputting at least two electric signals with different attribute parameters according to current output requirements; the input end of the signal detection circuit is connected with the output end of the signal output circuit, and is used for determining the attribute parameters of the currently received electric signal, and determining an output high level signal or a low level signal based on the attribute parameters corresponding to the electric signal. That is to say, the same circuit output channel outputs two signals in the application, and the attribute parameters are set as carriers to carry the high and low level judgments of the two signals, the function of the circuit is increased without increasing the output end of the circuit, and the attribute parameters of the signals are used as carriers to judge the high and low levels of different signals in the application, so that the fault tolerance is higher, and the error rate is lower in the high frequency environment of the electronic device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of electronic equipment technology, and in particular to a signal communication circuit, electronic equipment, and a power signal detection method. Background Technology

[0002] As electronic devices evolve, their power supply functions become increasingly powerful, requiring them to communicate with power modules on a wider range of topics.

[0003] In this design, all the pins within the power supply of the electronic device are already defined. Enabling these pins primarily involves using I / O ports (Input / Output) to directly enable high and low levels, thus achieving the inherent communication function. In this case, only one pin can be defined per I / O port. With a limited number of pins defined, adding new functions requires redefining and replanning all the pins within the power supply; that is, the new function must replace or remove existing functions. This method is overly cumbersome, and redefining all the pins requires selecting which functions they will implement, which to some extent limits its usability.

[0004] It is evident that figuring out how to implement multiple functions using a single pin is a problem that needs to be solved by those skilled in the art. Summary of the Invention

[0005] The purpose of this invention is to provide a signal communication circuit, electronic device, and power signal detection method, which can solve the problem in the prior art that, under the limited definition of PIN pins, if new functions are to be added, all PIN pins in the power supply need to be redefined and planned, which to some extent limits the scope of use.

[0006] To address the aforementioned technical problems, in one aspect, embodiments of the present invention provide a signal communication circuit, comprising: a signal output circuit and a signal detection circuit.

[0007] A signal output circuit is used to output at least two electrical signals with different attribute parameters according to the current output requirements.

[0008] The input terminal of the signal detection circuit is connected to the output terminal of the signal output circuit. It is used to determine the attribute parameters of the currently received electrical signal and to determine whether to output a high-level signal or a low-level signal based on the attribute parameters of the electrical signal.

[0009] In some embodiments, the signal output circuit includes: a digital signal processor and a shaping isolation circuit;

[0010] The digital signal processor has its input terminal connected to the signal terminal, and is used to acquire at least two initial electrical signals in the signal terminal, and adjust the attribute parameters of the initial electrical signals according to the output requirements to obtain at least two initial electrical signals with different attribute parameters.

[0011] The input terminal of the shaping isolation circuit is connected to the output terminal of the digital signal processor. The output terminal of the shaping isolation circuit is connected to the input terminal of the signal output circuit as the output terminal of the signal detection circuit. It is used to acquire initial electrical signals with different attribute parameters and to perform waveform conversion on the initial electrical signals according to the output requirements to obtain at least two electrical signals with different attribute parameters.

[0012] In some embodiments, the signal output circuit further includes: a filter circuit and a drive amplifier circuit;

[0013] The input terminal of the filter circuit is connected to the output terminal of the shaping and isolation circuit; it is used to filter at least two electrical signals with different attribute parameters.

[0014] The input terminal of the drive amplifier circuit is connected to the output terminal of the filter circuit, and is used to amplify the filtered electrical signal.

[0015] In some embodiments, there are two types of electrical signals, and the attribute parameters include amplitude parameters and frequency parameters. The signal detection circuit includes a signal processing chip, a high-voltage comparison circuit, and a low-voltage comparison circuit.

[0016] The input terminal of the high-voltage comparator circuit is connected to the output terminal of the signal output circuit as the input terminal of the signal detection circuit. The output terminal of the high-voltage comparator circuit is connected to the first input terminal of the signal processing chip, and is used to output the first comparison signal according to the attribute parameters corresponding to the electrical signal.

[0017] The input terminal of the low-voltage comparator circuit is connected to the input terminal of the signal detection circuit and the output terminal of the signal output circuit. The output terminal of the low-voltage comparator circuit is connected to the second input terminal of the signal processing chip, which is used to output a second comparison signal according to the attribute parameters corresponding to the electrical signal.

[0018] The signal processing chip is used to determine whether to output a high-level signal or a low-level signal based on the first comparison signal and the second comparison signal.

[0019] In some embodiments, the high-voltage comparator circuit is a first comparator;

[0020] The first input terminal of the first comparator is connected to the output terminal of the signal output circuit as the input terminal of the high voltage comparator circuit.

[0021] The second input terminal of the first comparator is connected to the first preset comparison voltage source;

[0022] The first pin of the first comparator is connected to a preset reference voltage source;

[0023] The output of the first comparator is connected to the first input of the signal processing chip as the output of the high-voltage comparator circuit.

[0024] In some embodiments, the low-voltage comparator circuit includes: a second comparator, a voltage follower, a MOSFET, a first resistor, a Zener diode, and a first capacitor;

[0025] The first input terminal of the second comparator is connected to the output terminal of the signal output circuit as the input terminal of the low-voltage comparator circuit.

[0026] The second input terminal of the second comparator is connected to the second preset comparison voltage source;

[0027] The first pin of the second comparator is connected to a preset reference voltage source;

[0028] The output of the second comparator is connected to the first input of the voltage follower and the first terminal of the Zener diode.

[0029] The second terminal of the Zener diode is grounded;

[0030] The second input terminal of the voltage follower is connected to the first terminal of the first resistor;

[0031] The output terminal of the voltage follower is connected to the second terminal of the first resistor, the gate of the MOSFET, and the first terminal of the first capacitor;

[0032] The source of the MOSFET is grounded;

[0033] The drain of the MOSFET is connected to the second terminal of the signal processing chip as the output terminal of the low-voltage comparator circuit.

[0034] The second terminal of the first capacitor is grounded.

[0035] On the other hand, the present invention also provides an electronic device including the signal communication circuit described above.

[0036] On the other hand, the present invention also provides a power signal detection method, applied to the above-mentioned signal communication circuit, comprising:

[0037] The signal output circuit acquires at least two electrical signals with different attribute parameters according to the current output requirements.

[0038] Determine the attribute parameters of the currently received electrical signal, and determine whether to output a high-level signal or a low-level signal based on the corresponding attribute parameters of the electrical signal.

[0039] In some embodiments, there are two types of electrical signals, and the attribute parameters include amplitude parameters and frequency parameters. Determining whether to output a high-level signal or a low-level signal based on the attribute parameters corresponding to the electrical signal includes:

[0040] If the amplitude parameter indicates that the amplitude of the current electrical signal is within the first amplitude range, then the electrical signal is a low-level signal.

[0041] If the frequency parameter represents the frequency of the current electrical signal within the first frequency range, then the electrical signal is a low-level signal.

[0042] In some embodiments, determining whether to output a high-level signal or a low-level signal based on the attribute parameters corresponding to the electrical signal further includes:

[0043] If the amplitude parameter indicates that the amplitude of the current electrical signal is within the second amplitude range, then the electrical signal is a high-level signal;

[0044] If the frequency parameter represents the frequency of the current electrical signal, which falls within the second frequency range, then the electrical signal is a low-level signal.

[0045] On the other hand, the present invention also provides a power signal detection device, comprising:

[0046] Memory, used to store computer programs;

[0047] A processor is used to execute the computer program to implement the steps of the power signal detection method described above.

[0048] On the other hand, the present invention also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the power signal detection method described above.

[0049] On the other hand, the present invention also provides a computer program product, including a computer program / instruction that, when executed by a processor, implements the steps of the power signal detection method described above.

[0050] As can be seen from the above technical solution, the present invention provides a signal communication circuit, including: a signal output circuit and a signal detection circuit; wherein, the signal output circuit is used to output at least two electrical signals with different attribute parameters according to the current output requirements; the input terminal of the signal detection circuit is connected to the output terminal of the signal output circuit, and is used to determine the attribute parameters of the currently received electrical signal, and determine whether to output a high-level signal or a low-level signal based on the attribute parameters corresponding to the electrical signal. In other words, the present invention outputs two signals through the same circuit output channel, using its attribute parameters as a carrier to carry the high / low level judgment of the two signals. This increases the functionality of the circuit without increasing the number of output terminals. Furthermore, the present invention uses the signal attribute parameters as a carrier to judge the high / low level of different signals, resulting in a higher fault tolerance rate and a lower error rate in high-frequency environments of electronic devices. Attached Figure Description

[0051] To more clearly illustrate the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0052] Figure 1 A circuit diagram of a signal communication circuit provided in an embodiment of the present invention;

[0053] Figure 2 A structural diagram of the signal output circuit provided in an embodiment of the present invention;

[0054] Figure 3 A circuit diagram of a signal detection circuit provided in an embodiment of the present invention;

[0055] Figure 4 This is a first schematic diagram of the high and low levels of an electrical signal provided in an embodiment of the present invention;

[0056] Figure 5 This is a second schematic diagram of the high and low levels of electrical signals provided in an embodiment of the present invention;

[0057] Figure 6 This is a structural diagram of a power signal detection device provided in an embodiment of the present invention. Detailed Implementation

[0058] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the protection scope of the present invention.

[0059] The terms "comprising" and "having," and any variations thereof, in the specification and accompanying drawings of this invention are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the steps or units listed, but may include steps or units not listed.

[0060] To enable those skilled in the art to better understand the present invention, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0061] Next, a signal communication circuit provided by an embodiment of the present invention will be described in detail. Figure 1 A circuit diagram of a signal communication circuit provided in an embodiment of the present invention is shown below. Figure 1 As shown, the signal communication circuit includes a signal output circuit 1 and a signal detection circuit 2. The specific connection relationship of the internal circuitry is as follows: the input terminal of the signal detection circuit 2 is connected to the output terminal of the signal output circuit 1. The principle of the circuit is as follows:

[0062] In a specific embodiment, the signal output circuit 1 is mainly used to output at least two electrical signals with different attribute parameters according to the current output requirements; wherein, the current output requirements can be configured by the operator at any time, or in other words, the current output requirements are preset by the operator. The signal detection circuit 2 is used to determine the attribute parameters of the currently received electrical signals, and based on the corresponding attribute parameters, determine whether to output a high-level signal or a low-level signal. That is, the signal detection circuit 2 acquires multiple electrical signals, judges the attribute parameters of different electrical signals, and, in conjunction with the output requirements, determines whether each signal is a high-level signal.

[0063] It should be noted that when the signal detection circuit 2 determines the high or low level of the electrical signal, the specific steps are divided into three cases:

[0064] In the first scenario, the signal detection circuit 2 first sets the judgment of different attribute parameters. When the electrical signal flows through the signal detection circuit 2, the attribute parameters are judged in turn. In the process of judgment, it is determined whether different electrical signals are high-level signals.

[0065] In the second scenario, the signal detection circuit 2 acquires all electrical signals, sequentially judges the attribute parameters of each electrical signal, and then sequentially determines whether each electrical signal is a high-level signal.

[0066] The third scenario: Signal detection circuit 2 first acquires the first electrical signal, then judges its attribute parameters. After determining whether the first electrical signal is a high-level signal, it acquires the second electrical signal and judges it, until the last electrical signal is acquired.

[0067] Taking two signals as examples: The current output requirements are: Electrical signal 1 is a sinusoidal signal with a frequency of 5Hz, indicating that electrical signal 1 is currently in a high-level state, and a frequency of 10Hz, indicating that electrical signal 1 is currently in a low-level state; Electrical signal 2 is also a sinusoidal signal with an amplitude of 3V, indicating that electrical signal 2 is currently in a high-level state, and an amplitude of 1V, indicating that electrical signal 2 is currently in a low-level state.

[0068] In one scenario: Signal detection circuit 2 first sets the judgment of different attribute parameters, that is, it sets amplitude judgment and frequency judgment in sequence; if the amplitude of the electrical signal is detected to be 3V in amplitude judgment, it means that one of the electrical signals is a high-level signal. Since the current output requirement configuration determines that the signal amplitude is 3V, which indicates that signal 2 is currently in a high-level state, the amplitude judgment determines that electrical signal 2 is in a high-level state; when the frequency of the electrical signal is detected to be 5Hz in frequency judgment, it means that one of the electrical signals is a high-level signal. Since the current output requirement configuration determines that the signal frequency is 5Hz, which indicates that electrical signal 1 is currently in a high-level state, the frequency judgment determines that electrical signal 1 is in a high-level state.

[0069] In the second case: Signal detection circuit 2 acquires electrical signal 1 and electrical signal 2. First, it judges the attribute parameters of electrical signal 1. If the signal frequency in the attribute parameters of electrical signal 1 is 5Hz, it means that electrical signal 1 is currently in a high-level state. Then, it judges the attribute parameters of electrical signal 2. If the signal amplitude in the attribute parameters of electrical signal 2 is 3V, it means that electrical signal 2 is currently in a high-level state.

[0070] In the third case: Signal detection circuit 2 first acquires electrical signal 1 and judges the attribute parameters of electrical signal 1. If the signal frequency in the attribute parameters of electrical signal 1 is 5Hz, it means that electrical signal 1 is currently in a high-level state. Then, it acquires electrical signal 2 and judges the attribute parameters of electrical signal 2. If the signal amplitude in the attribute parameters of electrical signal 2 is 3V, it means that electrical signal 2 is currently in a high-level state.

[0071] It should be noted that the situations and examples provided in this invention are only one possible implementation method, but are not limited to this only implementation method. Users can set it themselves according to their needs.

[0072] As can be seen from the above technical solution, the present invention provides a signal communication circuit, including: a signal output circuit and a signal detection circuit; wherein, the signal output circuit is used to output at least two electrical signals with different attribute parameters according to the current output requirements; the input terminal of the signal detection circuit is connected to the output terminal of the signal output circuit, and is used to determine the attribute parameters of the currently received electrical signal, and determine whether to output a high-level signal or a low-level signal based on the attribute parameters corresponding to the electrical signal. In other words, the present invention outputs two signals through the same circuit output channel, using its attribute parameters as a carrier to carry the high / low level judgment of the two signals. This increases the functionality of the circuit without increasing the number of output terminals. Furthermore, the present invention uses the signal attribute parameters as a carrier to judge the high / low level of different signals, resulting in a higher fault tolerance rate and a lower error rate in high-frequency environments of electronic devices.

[0073] In some embodiments, such as Figure 2 As shown, the signal output circuit 1 includes a digital signal processor 11, a shaping and isolation circuit 12, a filter circuit 13, and a drive amplifier circuit 14. Their connections are as follows: the input terminal of the digital signal processor 11 is connected to the signal terminal; the input terminal of the shaping and isolation circuit 12 is connected to the output terminal of the digital signal processor 11; the input terminal of the filter circuit 13 is connected to the output terminal of the shaping and isolation circuit 12; and the input terminal of the drive amplifier circuit 14 is connected to the output terminal of the filter circuit.

[0074] In a specific embodiment, the signal output circuit 1 is used to output at least two electrical signals with different attribute parameters according to the current output requirements. Therefore, the signal output circuit 1 specifically includes four circuits, namely a digital signal processor 11, a shaping and isolation circuit 12, a filtering circuit 13, and a driving amplifier circuit 14.

[0075] The input terminal of the digital signal processor 11 is connected to the signal terminal, and the output terminal of the digital signal processor 11 is connected to the input terminal of the shaping and isolation circuit 12. It is used to acquire at least two initial electrical signals from the signal terminal, and adjust the attribute parameters of the initial electrical signals according to output requirements to obtain at least two initial electrical signals with different attribute parameters, and then send these at least two initial electrical signals with different attribute parameters to the shaping and isolation circuit 12. The initial electrical signal acquired by the input terminal of the digital signal processor 11 from the signal terminal 3 is a square wave signal.

[0076] The input of the shaping and isolation circuit 12 is connected to the output of the digital signal processor 11, and the output of the shaping and isolation circuit 12 is connected to the input of the filter circuit 13. This circuit is used to acquire initial electrical signals with different attribute parameters, and to perform waveform conversion on the initial electrical signals according to output requirements, so as to obtain at least two electrical signals with different attribute parameters. Then, the resulting electrical signals are sent to the filter circuit 13. In other words, the initial electrical signal (square wave signal) is converted into a waveform (sine wave signal). It should be noted that the output requirements, in addition to modifying the attribute parameters of the electrical signal, also modify the waveform.

[0077] The input terminal of the filter circuit 13 is connected to the output terminal of the shaping and isolation circuit 12, and the output terminal of the filter circuit 13 is connected to the input terminal of the amplifier circuit 14. This circuit is used to filter at least two electrical signals with different attribute parameters to avoid interference from filtering during transmission.

[0078] The input terminal of the driving amplifier circuit 14 is connected to the output terminal of the filter circuit 13, and the output terminal of the driving amplifier circuit 14 is connected to the input terminal of the signal detection circuit 2. It is used to perform gain amplification processing on the filtered electrical signal to ensure that the electrical signal enters the signal detection circuit 2 in a stable state so that the signal detection circuit can detect the electrical signal.

[0079] It should be noted that the embodiments provided by the present invention are only one possible implementation method, but are not limited to this only implementation method. Users can set their own implementation methods according to their needs.

[0080] It should also be noted that the present invention does not limit the specific structure and model of the digital signal processor, shaping isolation circuit, filtering circuit and driving amplifier circuit, and can be set according to the user's needs.

[0081] This invention provides a specific structure for a signal output circuit. This structure converts a square wave signal into a sinusoidal signal, giving the electrical signal a higher fault tolerance and a lower error rate in high-frequency server environments. Furthermore, this structure ensures that the electrical signal is not affected by other filtering interference during transmission, resulting in greater stability.

[0082] In some embodiments, such as Figure 3As shown, there are two types of electrical signals, with attribute parameters including amplitude and frequency. Therefore, the signal detection circuit 2 includes a signal processing chip 3, a high-voltage comparator circuit 4, and a low-voltage comparator circuit 5. The circuit connections are as follows: the input terminal of the high-voltage comparator circuit 4 serves as the input terminal of the signal detection circuit 2 and is connected to the output terminal of the signal output circuit 1; the output terminal of the high-voltage comparator circuit 4 is connected to the first input terminal of the signal processing chip 3. Similarly, the input terminal of the low-voltage comparator circuit 5 serves as the input terminal of the signal detection circuit 2 and is connected to the output terminal of the signal output circuit 1; the output terminal of the low-voltage comparator circuit 5 is connected to the second input terminal of the signal processing chip 3.

[0083] In a specific embodiment, when there are two types of electrical signals, and the attribute parameters include amplitude and frequency parameters, one of the electrical signals can be determined by comparison, and then the frequency parameter can be detected by methods such as chip detection to determine the other electrical signal. Therefore, the signal detection circuit 2 includes: a signal processing chip 3, a high-voltage comparison circuit 4, and a low-voltage comparison circuit 5. The high-voltage comparison circuit 4 and the low-voltage comparison circuit 5 are used to determine the amplitude parameter of the electrical signal, while the signal processing chip 3 is used to determine the frequency parameter of the electrical signal.

[0084] The input terminal of the high-voltage comparator circuit 4 is connected to the output terminal of the signal output circuit 1, serving as the input terminal of the signal detection circuit 2. The output terminal of the high-voltage comparator circuit 4 is connected to the first input terminal of the signal processing chip 3, and is used to output a first comparison signal based on the attribute parameters corresponding to the electrical signal. The input terminal of the low-voltage comparator circuit 5 is connected to the output terminal of the signal output circuit 1, serving as the input terminal of the signal detection circuit 2. The output terminal of the low-voltage comparator circuit 5 is connected to the second input terminal of the signal processing chip 3, and is used to output a second comparison signal based on the attribute parameters corresponding to the electrical signal. The signal processing chip 3 is then used to determine whether to output a high-level signal or a low-level signal based on the first comparison signal and the second comparison signal.

[0085] The high-voltage comparator circuit 4 is the first comparator U1. The first input terminal of the first comparator U1 is connected to the output terminal of the signal output circuit 1 as the input terminal of the high-voltage comparator circuit 4; the second input terminal of the first comparator U1 is connected to the first preset comparison voltage source (e.g., comparison voltage 2V); the first pin terminal of the first comparator U1 is connected to the preset reference voltage source (e.g., reference voltage 5V); and the output terminal of the first comparator U1 is connected to the first input terminal of the signal processing chip 3 as the output terminal of the high-voltage comparator circuit 4.

[0086] The working principle of its high voltage comparator circuit 4 is as follows: the input terminal of the high voltage comparator circuit 4 acquires an electrical signal. If the amplitude parameter corresponding to the electrical signal is greater than the first preset comparison voltage source (e.g., comparison voltage 2V), the high voltage comparator outputs the corresponding first comparison signal. If the amplitude parameter corresponding to the electrical signal is not greater than the first preset comparison voltage source (e.g., comparison voltage 2V), the high voltage comparator does not output a signal.

[0087] Similarly, as Figure 3 As shown, its low-voltage comparator circuit 5 includes: a second comparator U2, a voltage follower U3, a MOSFET Q1, a first resistor R1, a Zener diode D1, and a first capacitor C1. The connections are as follows: the first input terminal of the second comparator U2 is connected to the output terminal of the signal output circuit 1, serving as the input terminal of the low-voltage comparator circuit 5; the second input terminal of the second comparator U2 is connected to a second preset comparison voltage source (comparison voltage 2V); the first pin of the second comparator U2 is connected to a preset reference voltage source (reference voltage 5V); the output terminal of the second comparator U2 is connected to the first input terminal of the voltage follower U3 and the first terminal of the Zener diode D1; the second terminal of the Zener diode D1 is grounded; the second input terminal of the voltage follower U3 is connected to the first terminal of the first resistor R1; the output terminal of the voltage follower U3 is connected to the second terminal of the first resistor R1, the gate of the MOSFET Q1, and the first terminal of the first capacitor C1; the source of the MOSFET Q1 is grounded; the drain of the MOSFET Q1 is connected to the second terminal of the signal processing chip 3, serving as the output terminal of the low-voltage comparator circuit 5; and the second terminal of the first capacitor C1 is grounded.

[0088] The working principle of its low-voltage comparator circuit 5 is as follows: The first input terminal of the second comparator U2 receives an electrical signal. The electrical signal is filtered out by the Zener diode D1 to remove high-voltage interference signals caused by startup or high-frequency interference. The filtered electrical signal is compared with the second preset comparison voltage source (comparison voltage 2V) in the second comparator U2, and the corresponding output signal is generated. This signal is driven by the voltage follower U3 and the first capacitor C1 to increase the driving capability, drive the MOS transistor Q1 at the back end to generate a PWM signal with a certain regular frequency, and then send it to the signal processing chip 3 for processing.

[0089] The signal detection circuit 2 provided by this invention enables the determination of high and low levels of multiple electrical signals. Compared with the traditional determination of high and low levels of a single signal, it has a stronger ability to resist high-frequency interference through sinusoidal signal transmission. The main implementation method is that on the output side of the low-voltage comparator circuit 5, the final output voltage follower U3 is used to optimize and enhance the output electrical signal and increase the driving capability of the electrical signal. Through the MOS transistor Q1 at the back end of the follower, the signal processing chip 3 obtains the standard high and low level PWM waveform signal.

[0090] It also uses two signals as examples: electrical signal 1 is a sinusoidal signal with a frequency of 5Hz, indicating that electrical signal 1 is currently in a high-level state, and a frequency of 10Hz, indicating that electrical signal 1 is currently in a low-level state; electrical signal 2 is also a sinusoidal signal with an amplitude of 3V, indicating that electrical signal 2 is currently in a high-level state, and an amplitude of 1V, indicating that electrical signal 2 is currently in a low-level state.

[0091] Combined with the signal detection circuit 2 provided by the present invention, its overall detection process is as follows: the electrical signal (sine wave) output at the output terminal of the signal output circuit 1 needs to pass through a high-pass and low-pass comparator. If the amplitude parameter of the incoming electrical signal (sine wave) is at most 1V, the output of the high voltage comparator circuit 4 is 0, and there is no signal at the first input port of the signal processing chip 3. It can be determined that one of the two electrical signals is a low-level signal. If the amplitude parameter of the transmitted electrical signal (sine wave) is greater than 2V, both the high voltage comparator circuit 4 and the low voltage comparator circuit 5 will output signals. Then, one of the electrical signals can be determined to be a high-level signal. Because regardless of the amplitude parameters, an electrical signal (sine wave) always has its own frequency. The low-voltage comparator circuit 5 shown in this invention compares the input electrical signal (sine wave) with the low-voltage comparator output, and then outputs a PWM signal through the comparator output. This PWM signal is then transmitted to the second input terminal (AD port) of the signal processing chip 3 via the voltage follower U3, which drives the MOSFET Q1. The signal processing chip 3 then processes the signal at this port to determine the frequency of the electrical signal and thus the high or low level of the second electrical signal.

[0092] In summary, the signal communication circuit provided by this invention uses the PWM signal of the IO port of the power DSP main control chip as the output. By frequency modulation and amplitude modulation, the output frequency and amplitude of the electrical signal (sine wave signal) can be varied, realizing the transmission of multiple signals in one channel. The frequency and amplitude of the electrical signal can respectively carry the transmission of the high and low levels of a signal.

[0093] The current setting for transmitting electrical signal 1 is a sinusoidal signal. When the frequency of the sinusoidal signal is 5Hz, it is a traditional high-level signal; when the frequency of the sinusoidal signal is 10Hz, it is a traditional low-level signal. When signal 1 needs to output a high-level signal, the frequency of the output sinusoidal signal is adjusted to 5Hz, and vice versa, it outputs a 10Hz frequency. Figure 4 As shown, Series 1 represents a 5Hz frequency, and Series 2 represents a 10Hz frequency, which respectively represent high-level and low-level outputs. One of the two can be selected for output to realize the high-level and low-level judgment of signal 1.

[0094] The current setting for signal 2 is a sinusoidal signal. When the amplitude of the sinusoidal signal is 3V, it is a traditional high-level signal; when the amplitude of the sinusoidal signal is 1V, it is a traditional low-level signal. When signal 2 needs to output a high-level signal, it is modulated to make the amplitude of the output sinusoidal signal 3V, and vice versa. Figure 5 As shown, output series 1 is the low-level output of signal 2, and output series 2 is the high-level output of signal 2. Only one of the two can be selected for output to realize the high and low level judgment of signal 2.

[0095] The amplitude and frequency output settings of the two signals are independent of each other and will not cause interference. Thus, the high and low levels of the two signals can be output through these two different parameter quantities.

[0096] It should be noted that the present invention uses two electrical signals in the examples, and the frequency and amplitude can respectively carry the transmission of the high and low levels of a signal. However, this is only one possible way to implement it, and it is not limited to this only implementation method. Users can set it themselves according to their needs.

[0097] In addition, its signal communication circuit may also include a selection modulation circuit, which is connected to the signal output circuit. The main function of the modulation circuit is to pre-store the attribute parameters and output requirements corresponding to different numbers of electrical signals. The main reason for this is that when there are two types of electrical signals, the output level (high or low) can be determined by adjusting the specific values ​​of the frequency and amplitude. However, when there are more than two types of electrical signals, it is easy for the parameters of the two electrical signals to be exactly the same, or the judgment results to be exactly the same, during the process of determining whether the output level is high or low by adjusting the specific values ​​of the frequency and amplitude. Therefore, the attribute parameters and output requirements corresponding to different numbers of electrical signals can be pre-stored in the selection modulation circuit. In this way, no matter how many types of electrical signals are output, the corresponding output requirements can be automatically determined by simply inputting the digital values ​​into the selection modulation circuit, thereby controlling the signal output circuit to adjust the initial electrical signal.

[0098] Therefore, it can be seen that the same circuit output channel outputs two signals in this invention. By setting its attribute parameters as carriers, the high and low level judgment of the two signals is carried out. This increases the function of the circuit without increasing the circuit output terminal. Furthermore, the invention uses the signal attribute parameters as carriers to judge the high and low levels of different signals, which has a higher fault tolerance rate and a lower error rate in high-frequency environments of electronic devices.

[0099] On the other hand, the present invention provides an electronic device including the above-described signal communication circuit, which has the same beneficial effects.

[0100] Since the embodiments of the electronic devices provided by this invention are the same as the embodiments of the signal communication circuits described above, this invention will not be described in detail here.

[0101] On the other hand, the present invention also provides a power signal detection method, applied to the above-mentioned signal communication circuit, comprising:

[0102] The signal output circuit acquires at least two electrical signals with different attribute parameters according to the current output requirements.

[0103] Determine the attribute parameters of the currently received electrical signal, and determine whether to output a high-level signal or a low-level signal based on the corresponding attribute parameters of the electrical signal.

[0104] When there are two types of electrical signals, and the attribute parameters include amplitude and frequency parameters, the output high-level signal or low-level signal is determined based on the corresponding attribute parameters of the electrical signal, including:

[0105] If the amplitude parameter indicates that the amplitude of the current electrical signal is within the first amplitude range, then the electrical signal is a low-level signal.

[0106] If the frequency parameter represents the frequency of the current electrical signal within the first frequency range, then the electrical signal is a low-level signal;

[0107] If the amplitude parameter indicates that the amplitude of the current electrical signal is within the second amplitude range, then the electrical signal is a high-level signal;

[0108] If the frequency parameter represents the frequency of the current electrical signal within the second frequency range, then the electrical signal is a low-level signal.

[0109] The power signal detection method provided by this invention is applied to the aforementioned signal communication circuit. Its signal output circuit is used to output at least two electrical signals with different attribute parameters according to current output requirements. The signal detection circuit is used to determine the attribute parameters of the currently received electrical signal and, based on the corresponding attribute parameters, determine whether to output a high-level signal or a low-level signal. When there are two types of electrical signals, and the attribute parameters include amplitude parameters and frequency parameters, the judgment criteria are as follows: if the amplitude parameter indicates that the amplitude of the current electrical signal is within a first amplitude range, then the electrical signal is a low-level signal; if the frequency parameter indicates that the frequency of the current electrical signal is within a first frequency range, then the electrical signal is a low-level signal; if the amplitude parameter indicates that the amplitude of the current electrical signal is within a second amplitude range, then the electrical signal is a high-level signal; if the frequency parameter indicates that the frequency of the current electrical signal is within a second frequency range, then the electrical signal is a low-level signal. In other words, the same circuit output channel outputs two signals. By setting its attribute parameters as a carrier, the high and low level judgment of the two signals is carried out. Without increasing the circuit output, and by using the attribute parameters of the signals as a carrier to judge the high and low levels of different signals, the present invention has a higher fault tolerance rate and a lower error rate in the high-frequency environment of electronic equipment.

[0110] Figure 6 This is a structural diagram of a power signal detection device provided in an embodiment of the present invention, as shown below. Figure 6 As shown, the power signal detection device includes: a memory 60 for storing computer programs;

[0111] The processor 61 is used to implement the steps of the power signal detection method as described in the above embodiment when executing a computer program.

[0112] The power signal detection device provided in this embodiment may include, but is not limited to, smartphones, tablets, laptops, or desktop computers.

[0113] The processor 61 may include one or more processing cores, such as a quad-core processor or an octa-core processor. The processor 61 may be implemented using at least one hardware form selected from Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 61 may also include a main processor and a coprocessor. The main processor, also known as the Central Processing Unit (CPU), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, the processor 61 may integrate a Graphics Processing Unit (GPU), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, the processor 61 may also include an Artificial Intelligence (AI) processor, which handles computational operations related to machine learning.

[0114] The memory 60 may include one or more computer-readable storage media, which may be non-transitory. The memory 60 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In this embodiment, the memory 60 is used to store at least the following computer program 601, which, after being loaded and executed by the processor 61, is capable of implementing the relevant steps of the power signal detection method disclosed in any of the foregoing embodiments. In addition, the resources stored in the memory 60 may also include an operating system 602 and data 603, etc., and the storage method may be temporary storage or permanent storage. The operating system 602 may include Windows, Unix, Linux, etc.

[0115] In some embodiments, the power signal detection device may further include a display screen 62, an input / output interface 63, a communication interface 64, a power supply 65, and a communication bus 66.

[0116] Those skilled in the art will understand that Figure 6 The structure shown does not constitute a limitation on the power signal detection device and may include more or fewer components than shown.

[0117] It is understood that if the power signal detection method in the above embodiments is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the current technology, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and executes all or part of the steps of the methods in the various embodiments of the present invention. The aforementioned storage medium includes: USB flash drive, mobile hard drive, read-only memory (ROM), random access memory (RAM), electrically erasable programmable ROM, register, hard disk, removable disk, CD-ROM, magnetic disk, or optical disk, and other media capable of storing program code.

[0118] Based on this, embodiments of the present invention also provide a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the power signal detection device method described above.

[0119] The power signal detection device provided by the embodiments of the present invention has been described in detail above. The various embodiments in the specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the device disclosed in the embodiments, since it corresponds to the method disclosed in the embodiments, the description is relatively simple; relevant parts can be referred to the method section.

[0120] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.

[0121] The foregoing has provided a detailed description of the signal communication circuit, electronic device, and power signal detection method provided by the present invention. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The descriptions of the above embodiments are merely for the purpose of helping to understand the method and core ideas of the present invention. It should be noted that those skilled in the art can make various improvements and modifications to the present invention without departing from its principles, and these improvements and modifications also fall within the protection scope of the claims of the present invention.

Claims

1. A signal communication circuit, characterized in that, include: Signal output circuit and signal detection circuit; The signal output circuit includes a digital signal processor and a shaping and isolation circuit; the signal detection circuit includes a signal processing chip, a high-voltage comparator circuit, and a low-voltage comparator circuit. The digital signal processor has its input terminal connected to the signal terminal, and is used to acquire two initial square wave electrical signals in the signal terminal, and adjust the attribute parameters of the initial square wave electrical signals according to the output requirements to obtain two initial square wave electrical signals with different attribute parameters; the attribute parameters include amplitude parameters and frequency parameters. The input terminal of the shaping isolation circuit is connected to the output terminal of the digital signal processor. The output terminal of the shaping isolation circuit is connected to the input terminal of the high voltage comparator circuit and the input terminal of the low voltage comparator circuit, which are the input terminals of the signal detection circuit, to acquire two initial square wave electrical signals with different attribute parameters, and to perform waveform conversion on each initial square wave electrical signal according to the output requirements to obtain two sinusoidal electrical signals with different attribute parameters. The output terminal of the high voltage comparator circuit is connected to the first input terminal of the signal processing chip, and is used to output a first comparison signal according to the amplitude parameter corresponding to each of the sinusoidal electrical signals. The output terminal of the low-voltage comparator circuit is connected to the second input terminal of the signal processing chip, and is used to output a second comparison signal according to the amplitude parameter and the frequency parameter corresponding to each of the sinusoidal electrical signals. The signal processing chip is used to determine whether to output a high-level signal or a low-level signal based on the first comparison signal and the second comparison signal.

2. The signal communication circuit according to claim 1, characterized in that, The signal output circuit also includes: a filter circuit and a drive amplifier circuit; The input terminal of the filter circuit is connected to the output terminal of the shaping and isolation circuit; it is used to filter two sinusoidal electrical signals with different attribute parameters. The input terminal of the driving amplifier circuit is connected to the output terminal of the filtering circuit, and is used to perform gain amplification processing on the filtered sinusoidal electrical signal.

3. The signal communication circuit according to claim 1, characterized in that, The high-voltage comparator circuit is a first comparator; Wherein, the first input terminal of the first comparator is connected to the output terminal of the signal output circuit as the input terminal of the high voltage comparator circuit; The second input terminal of the first comparator is connected to the first preset comparison voltage source; The first pin of the first comparator is connected to a preset reference voltage source; The output terminal of the first comparator is connected to the first input terminal of the signal processing chip as the output terminal of the high voltage comparator circuit.

4. The signal communication circuit according to claim 1, characterized in that, The low-voltage comparator circuit includes: a second comparator, a voltage follower, a MOSFET, a first resistor, a Zener diode, and a first capacitor; The first input terminal of the second comparator is connected to the output terminal of the signal output circuit as the input terminal of the low-voltage comparator circuit. The second input terminal of the second comparator is connected to the second preset comparison voltage source; The first pin of the second comparator is connected to a preset reference voltage source; The output of the second comparator is connected to the first input of the voltage follower and the first terminal of the Zener diode; The second end of the Zener diode is grounded; The second input terminal of the voltage follower is connected to the first terminal of the first resistor; The output terminal of the voltage follower is connected to the second terminal of the first resistor, the gate of the MOS transistor, and the first terminal of the first capacitor. The source of the MOS transistor is grounded; The drain of the MOS transistor is connected to the second terminal of the signal processing chip as the output terminal of the low-voltage comparator circuit. The second terminal of the first capacitor is grounded.

5. An electronic device, characterized in that, Includes the signal communication circuit as described in any one of claims 1-4.

6. A power signal detection method, characterized in that, The signal communication circuit according to claim 1 includes: The signal output circuit acquires two sinusoidal electrical signals with different attribute parameters according to the current output requirements. The corresponding first comparison signal is determined based on the amplitude parameter in the attribute parameters; The corresponding second comparison signal is determined based on the amplitude parameter and frequency parameter in the attribute parameters; The output high-level signal or low-level signal is determined based on the first comparison signal and the second comparison signal.

7. The power signal detection method according to claim 6, characterized in that, Determining whether to output the high-level signal or the low-level signal based on the attribute parameters corresponding to the sinusoidal electrical signal includes: If the amplitude parameter indicates that the amplitude of the current sinusoidal electrical signal is within the first amplitude range, then the sinusoidal electrical signal is the low-level signal; If the frequency parameter indicates that the frequency of the current sinusoidal electrical signal is within a first frequency range, then the sinusoidal electrical signal is the low-level signal.

8. The power signal detection method according to claim 6, characterized in that, Determining whether to output the high-level signal or the low-level signal based on the attribute parameters corresponding to the sinusoidal electrical signal further includes: If the amplitude parameter indicates that the amplitude of the current sinusoidal electrical signal is within the second amplitude range, then the sinusoidal electrical signal is the high-level signal; If the frequency parameter indicates that the frequency of the current sinusoidal electrical signal is within the second frequency range, then the sinusoidal electrical signal is the high-level signal.

Citation Information

Patent Citations

  • Signal parameter detection device and method

    CN111398645A

  • Microwave / millimeter wave integrated circuit chip internal detection device

    CN112415361A