Discriminating device for multi-channel sampling signals, fan rotating speed diagnosis device and fan cluster
By establishing the correspondence between the address input and the selection input in a single-ended multi-channel switch, and using a comparator to determine the signal, the problem of adding additional control circuits when gated multiple signals in the prior art is solved, and the effect of simplifying the circuit and reducing the complexity of the system is achieved.
Patent Information
- Application Number
- CN202421893173.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-06
- Publication Date
- 2025-06-03
- Estimated Expiration
- 2034-08-06
AI Technical Summary
The prior art requires additional control circuits when gated multiple signals with different priorities, resulting in increased circuit board area and increased system complexity.
By establishing the correspondence between N address inputs and 2N selection inputs in the single-ended multiplex switch, the comparator is used to determine the size of the sampled signal and reference signal output by the single-ended multiplex switch, and automatic discrimination and gate of priority are achieved, avoiding additional priority control circuits.
The discrimination circuit of multi-channel sampling signals is simplified, the circuit board area and system complexity are reduced, and efficient priority automatic discrimination and gate are achieved.
Smart Images

Figure CN222940802U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of electronic circuits, and particularly relates to a discriminant device for multi-channel sampling signals, a fan speed diagnosis device and a fan cluster. Background Art
[0002] When discriminating multi-channel sampling signals, a single-ended multi-channel switch is commonly used to select the sampling signals of multiple selection input terminals, so that the multi-channel input is converted into a single-channel output, thereby reducing the number of subsequent processing chips, further reducing the circuit board area and reducing the system complexity.
[0003] However, according to the prior art, when selecting multi-channel signals with different priorities, other control circuits need to be added to achieve the priority selection of higher-priority multi-channel signals, which increases the circuit board area and wastes system resources. Summary of the Utility Model
[0004] The purpose of the embodiment of the utility model is to provide a device, which can simplify the discriminant circuit of multi-channel sampling signals, and can further reduce the circuit board area and reduce the overall system complexity.
[0005] To achieve the above purpose, the embodiment of the utility model provides a discriminant device for multi-channel sampling signals, which is used to discriminate N-channel sampling signals with N priorities from low to high, and includes: a single-ended multi-channel switch and a comparator.
[0006] Wherein, the first selection input terminal of the single-ended multi-channel switch is grounded, the (2 i-1 +1)-th selection input terminal to the 2 i -th selection input terminal are connected to the sampling signal of the i-th priority, the i-th address input terminal of the single-ended multi-channel switch is connected to the selection signal of the sampling signal of the i-th priority, and i is an integer between 1 and N; one input terminal of the comparator is connected to the output of the single-ended multi-channel switch, and the other input terminal of the comparator is connected to a reference signal.
[0007] The single-ended multi-channel switch is used to access multi-channel sampling signals and select and output the highest-priority sampling signal selected by the selection signal; the comparator is used to discriminate the magnitude of the sampling signal output by the single-ended multi-channel switch and the reference signal, and output a discrimination result.
[0008] Optionally, the single-ended multi-channel switch is a digitally controlled analog electronic switch.
[0009] Optionally, the multi-channel sampling signals are all analog signals of the same type and with the same expected value.
[0010] Optionally, the discriminant device for multi-channel sampling signals further includes: a low-pass filter circuit, wherein the low-pass filter circuit is connected to the sampling signal output by the single-ended multi-channel switch, and after integrating the sampling signal, it is connected to the comparator.
[0011] Further, the low-pass filter circuit is an RC filter circuit, and the RC filter circuit includes a first resistor R1 and a first capacitor C1.
[0012] On the other hand, an embodiment of the present invention provides a fan speed diagnosis device, including the discrimination device for multiplexed sampling signals of the present application, wherein the multiplexed sampling signals are speed feedback signals of N fans, and the reference signal is determined according to the current expected operating condition of the fan corresponding to the speed feedback signal selected and output by the single-ended multiplexer switch.
[0013] Optionally, the multiplexed sampling signals are speed feedback signals of 3 fans, and the single-ended multiplexer switch selects and outputs the speed feedback signal of one of the 3 fans according to the selection signal at the address input terminal.
[0014] Optionally, the single-ended multiplexer switch is a CD4051 chip, and whether to stop selecting and outputting the multiplexed sampling signals is controlled through the inhibit terminal of the CD4051 chip.
[0015] Optionally, the comparator is used to determine whether there is a fault in the fan corresponding to the sampled signal selected and output by the single-ended multiplexer switch by determining whether the sampled signal selected and output by the single-ended multiplexer switch is less than the reference signal.
[0016] On the other hand, an embodiment of the present invention provides a distributed fan cluster, including the fan speed diagnosis device of the present application, and the fan speed diagnosis device is used to diagnose fan speed faults.
[0017] Through the above technical solution, in the discrimination device for multiplexed sampling signals of the embodiment of the present invention, the second i-1 +1 selection input terminal to the second i selection input terminal of the single-ended multiplexer switch are connected to the sampling signals of the i-th priority level, and the i-th address input terminal of the single-ended multiplexer switch is connected to the selection signal of the sampling signals of the i-th priority level, establishing a corresponding relationship between the N address input terminals and the 2 N selection input terminals of the single-ended multiplexer switch, so that the address input terminals correspond to the sampling signals of the corresponding priority levels in sequence. Furthermore, the sampling signals selected and output by the low-order address input terminals can be interrupted by controlling the selection signals of the high-order address input terminals. Finally, the comparator determines the magnitude relationship between the sampled signal selected and output by the single-ended multiplexer switch and the reference signal, and outputs the discrimination result. No additional priority control circuit is required, which simplifies the discrimination circuit and can further reduce the overall complexity of the system.
[0018] Other features and advantages of the embodiments of the present invention will be described in detail in the subsequent specific implementation part. Description of the Drawings
[0019] The accompanying drawings are used to provide a further understanding of the embodiments of the present utility model, and constitute a part of the specification. Together with the following specific embodiments, they are used to explain the embodiments of the present utility model, but do not constitute a limitation to the embodiments of the present utility model. Obviously, the accompanying drawings in the following description are only some embodiments of the present utility model. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings. In the accompanying drawings:
[0020] Figure 1 It is a schematic diagram of a discriminator for multi-channel sampling signals provided in an embodiment of the present utility model.
[0021] Figure 2 It is a circuit diagram of a fan speed diagnosis device provided in an embodiment of the present utility model.
[0022] Figure 3 is Figure 2 An example of a fan speed feedback signal in the embodiment.
[0023] Explanation of reference numerals
[0024] 1 - Single-ended multi-channel switch;
[0025] 2 - Comparator;
[0026] 3 - Low-pass filter circuit. Specific embodiments
[0027] The following will detail the specific embodiments of the embodiments of the present utility model in conjunction with the accompanying drawings. It should be understood that the specific embodiments described herein are only used to illustrate and explain the embodiments of the present utility model, and are not used to limit the embodiments of the present utility model.
[0028] The term "and / or" in this article only describes an association relationship, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the term "at least one" in this article means any one of multiple or any combination of at least two of multiple. For example, including at least one of A, B, and C can represent including any one or more elements selected from the set composed of A, B, and C.
[0029] In the description of this specification, terms such as "including", "comprising", "having", and "containing" are all open-ended terms, meaning including but not limited to. The description with reference to terms such as "one embodiment", "a specific embodiment", "some embodiments", "for example", etc. means that the specific features, structures, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of this application. In this specification, the schematic expressions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, or characteristics described can be combined in a suitable manner in any one or more embodiments or examples. The order of steps involved in each embodiment is used to schematically illustrate the implementation of this application, and the order of steps is not limited and can be adjusted appropriately as needed.
[0030] Figure 1 It is a schematic diagram of a discriminator for multi-channel sampling signals provided in an embodiment of the present utility model. As Figure 1 shown, the discriminator for multi-channel sampling signals is used to discriminate N-channel sampling signals with N priority levels from low to high, and includes: a single-ended multi-channel switch 1 and a comparator 2.
[0031] Among them, the first selection input terminal of the single-ended multi-channel switch 1 is grounded, and the (2 i-1 +1)-th selection input terminal to the 2 i -th selection input terminal are connected to the sampling signal of the i-th priority level, the i-th address input terminal of the single-ended multi-channel switch is connected to the selection signal of the sampling signal of the i-th priority level, where i is an integer between 1 and N (i = 1, 2,..., N), and N is an integer greater than 2; one input terminal of the comparator 2 is connected to the output of the single-ended multi-channel switch, and the other input terminal of the comparator 2 is connected to a reference signal;
[0032] The single-ended multi-channel switch 1 is used to connect multi-channel sampling signals and select and output the sampling signal of the highest priority level selected by the selection signal; the comparator 2 is used to discriminate the magnitude of the sampling signal output by the single-ended multi-channel switch from the reference signal and output a discrimination result.
[0033] It should be noted that the single-ended multi-channel switch 1 in this embodiment can be as Figure 2The multiplexer switches such as the 8-channel analog switch CD4051, ADG5408, the 16-channel analog switch CD4067, DG406, the 32×32 matrix switch ISL59532, etc., and the multiplexer switches obtained by parallel expansion of multiple multiplexer switches or expansion through microcomputer control. For example, by paralleling two 8-channel switches, a 16-channel multiplexer switch can be expanded. This method is applicable to situations where the number of channels needs to be increased but the budget or space is limited. In this embodiment, the number of address input terminals of the single-ended multiplexer switch 1 is equal to N, that is, the number of multiplexed sampling signals. At the same time, the multi-channel selection input terminals of the single-ended multiplexer switch 1 are divided into N groups of channels. Among them, each group in the N groups is 1, 2, 4... 2 N-1 channel channels.
[0034] It should also be noted that in this embodiment, the comparator 2 can be a voltage comparator or a voltage-frequency conversion circuit as Figure 2 shown. Those skilled in the art can determine the type selection of the comparator 2 according to the type of the input multiplexed sampling signal and the type of the reference signal. For example, it can be that when the sampling signal selected by the single-ended multiplexer switch 1 is greater than the reference signal, a high level is output, indicating that the sampling signal exceeds the expectation or the device corresponding to the sampling signal operates normally; when the sampling signal selected by the single-ended multiplexer switch 1 is less than the reference signal, a low level is output, indicating that the sampling signal is lower than the expectation or the device corresponding to the sampling signal operates abnormally.
[0035] In one embodiment, the multiplexed sampling signals are all analog signals of the same type and having the same expected value. For example, 3 motor speed feedback signals, or 4 analog signals collected by sensors of the same model or type.
[0036] In one embodiment, the discrimination device for the multiplexed sampling signals further includes: a low-pass filter circuit. Among them, the low-pass filter circuit is connected to the sampling signal output by the single-ended multiplexer switch 1, and after integrating the sampling signal, it is connected to the comparator 2.
[0037] Furthermore, the low-pass filter circuit is an RC filter circuit, and the RC filter circuit includes a first resistor R1 and a first capacitor C1.
[0038] Compared with the prior art, the technical advantages of this embodiment are as follows:
[0039] (1) By dividing the 2 N selection input terminals of the single-ended multiplexer switch into N groups, and establishing the corresponding relationship between the N address input terminals of the single-ended multiplexer switch and the 2 N selection input terminals, so that the address input terminals sequentially correspond to the sampling signals of the corresponding priority levels, and then the sampling signal selected and output by the low-order address input terminal can be interrupted by controlling the selection signal of the high-order address input terminal;
[0040] (2) The comparator discriminates the magnitude of the sampled signal selected and output by the single-ended multiplexer switch from the reference signal, and outputs the discrimination result. No additional priority control circuit is required, simplifying the discrimination circuit and further reducing the overall system complexity.
[0041] Figure 2 This is the circuit diagram of the fan speed diagnosis device provided in the embodiment of the present invention.
[0042] In one embodiment, refer to Figure 2 , the single-ended multiplexer switch 1 is an 8-channel analog switch CD4051, which is used to select and output one of the three fan speed feedback signals according to the selection signal of the A, B, and C address input terminals (i.e., the 11-9 input terminals shown in Figure 2 ).
[0043] It should be noted that the set fan speed is variable within the range of 0 to 100% of the rated speed, and is output to the 0 to 5V conversion circuit in analog quantity mode, and then a DC chopping signal with a duty cycle of 0 to 100% is obtained. Refer to the 4# signal shown in Figure 3 ; after the fan rotates normally, it will feedback an actual speed signal, which is also a DC chopping signal with a duty cycle of 0 to 100%, indicating that the actual speed is 0 to 100% of the rated speed. Refer to the 1# signal shown in Figure 3 .
[0044] In this embodiment, the A, B, and C address input terminals respectively correspond to the selection signals of the 1# fan, 2# fan, and 3# fan, and the fan speed feedback signals of the "1" channel, "2 / 3" channel, and "4 / 5 / 6 / 7" channel, and the priority increases in turn. The principle analysis is as follows: According to the following CD4051 truth table 1, when the C address input terminal is at a high level, regardless of whether the AB address is at a high level or a low level, the fan speed feedback signal of the "4 / 5 / 6 / 7" channel should be selected; when the C address input terminal is at a low level and the B address input terminal is at a high level, regardless of whether the A address is at a high level or a low level, the fan speed feedback signal of the "2 / 3" channel should be selected. That is, the high priority can interrupt the low priority signal.
[0045] Table 1
[0046]
[0047]
[0048] Therefore, in this embodiment, by controlling the selection signals of the A, B, and C address input terminals, the feedback signal with the higher priority among the three fan speed feedback signals is selected.
[0049] In this embodiment, the comparator 2 is a voltage-to-frequency conversion circuit, which realizes the judgment and identification of the selected fan feedback signal. The AD7704 chip is adopted, and the PWM chopping signal of the fan feedback speed is used as the clock source and connected to CLKIN and CLKOUT; the analog quantity of the fan set speed is used as the input signal, and Vout outputs a digital quantity signal with a variable duty cycle, which is the basis for subsequent fan fault judgment.
[0050] It should be noted that the fan feedback signal selected by the single-ended multiplexer 1 is a pulse signal, and different duty cycles represent the difference between the fan set speed and the actual speed. Since the frequency of this signal is relatively high, the traditional method uses the MCU pulse capture method for data acquisition, which occupies a large amount of chip resources and CPU processing time. In this embodiment, a low-pass filter circuit 3 is constructed through the first resistor R1 and the first capacitor C1. After integrating the selected fan feedback signal, an analog quantity value is obtained. The Figure 2 shown AD7704 chip is used to construct a voltage-to-frequency conversion circuit to realize the judgment and identification of the selected fan feedback signal.
[0051] Specifically, the PWM chopping signal of the fan feedback speed is used as the clock source and connected to CLKIN and CLKOUT; the analog quantity of the fan set speed is used as the reference signal and input to one input terminal of the comparator 2, and the analog quantity value obtained after integrating the fan feedback signal is input to the other input terminal of the comparator 2. The signals at the two input terminals are compared. If the analog quantity value obtained after integrating the fan feedback signal is larger, it means that the deviation between the fan set speed and the actual speed is large, and the fan is not running normally, and a high level is output; if the analog quantity of the fan set speed is larger, it means that the fan is running normally, and a low level is output. In addition, when A, B, and C are all at low level, the 0-speed signal is selected as the reference signal.
[0052] Specifically, the R1 resistor in the low-pass filter circuit 3 is a 5.1 kΩ resistor. In this embodiment, R1 adopts an integrated resistor, which reduces the drift of the resistor value caused by temperature and ensures the stability and low variation of current sampling in this embodiment.
[0053] In one embodiment, for the change of the amplification factor caused by the comprehensive zero drift and temperature change of resistors, etc., R1 adopts a variable resistor for manual calibration, and wax dripping is used for fixing and encapsulation.
[0054] In one embodiment, the enable terminal of the CD4051 chip is used to control whether to stop selecting and outputting the multiplexed sampling signal.
[0055] Compared with the prior art, the technical advantage of this embodiment is that it simply realizes the priority grading of multiple fans, and the fan speed feedback signal with a high priority can interrupt the fan speed feedback signal with a low priority, reducing the overall complexity of the fan speed diagnosis device.
[0056] An embodiment of the present utility model further provides a distributed fan cluster, including the fan speed diagnosis device of the present application, and the fan speed diagnosis device is used to diagnose fan speed faults.
[0057] It should also be noted that the term "including", "comprising" or any other variation thereof is intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or also includes elements inherent to such process, method, commodity or device. Without further limitation, an element defined by the statement "including one..." does not exclude the existence of another identical element in the process, method, commodity or device including the element.
[0058] The above are only embodiments of the present application and are not used to limit the present application. For those skilled in the art, various changes and modifications can be made to the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included within the scope of the claims of the present application.
Claims
1. A device for distinguishing multi-channel sampling signals, characterized in that: The device for distinguishing N sampling signals with N priority levels from low to high includes: a single-ended multi-way switch and a comparator, The first selection input terminal of the single-ended multi-way switch is grounded, and the second selection input terminal of the single-ended multi-way switch is grounded. i-1 +1 Select input to 2nd i The selection input terminal is connected to the sampling signal of the i-th priority, the i-th address input terminal of the single-ended multiplexer is connected to the selection signal of the sampling signal of the i-th priority, i is an integer between 1 and N; one input terminal of the comparator is connected to the output of the single-ended multiplexer, and the other input terminal of the comparator is connected to the reference signal; The single-ended multi-way switch is used to access the multi-way sampling signals and select and output the sampling signal with the highest priority level selected by the selection signal; the comparator is used to distinguish the size of the sampling signal output by the single-ended multi-way switch and the reference signal, and output the distinction result.
2. The device for distinguishing multi-channel sampling signals according to claim 1, characterized in that: The single-ended multi-way switch is a digitally controlled analog electronic switch.
3. The device for distinguishing multi-channel sampling signals according to claim 2, characterized in that: The multiple sampling signals are all analog signals of the same type and have the same expected value.
4. The device for distinguishing multi-channel sampling signals according to claim 2, characterized in that: Also includes: A low-pass filter circuit, wherein the low-pass filter circuit is connected to the sampling signal output by the single-ended multi-way switch, and the sampling signal is integrated and then connected to the comparator.
5. The device for distinguishing multi-channel sampling signals according to claim 4, characterized in that: The low-pass filter circuit is an RC filter circuit, and the RC filter circuit includes a first resistor R1 and a first capacitor C1.
6. A fan speed diagnostic device, characterized in that: A device for distinguishing multi-channel sampling signals comprising any one of claims 1 to 5, The multi-channel sampling signals are speed feedback signals of N fans, and the reference signal is determined according to the currently expected working condition of the fan corresponding to the speed feedback signal output by the single-ended multi-channel switch.
7. The fan speed diagnostic device according to claim 6, characterized in that: The multi-channel sampling signal is the speed feedback signal of the three fans. The single-ended multi-channel switch selects and outputs the speed feedback signal of one of the three fans according to the selection signal of the address input terminal.
8. The fan speed diagnostic device according to claim 6, characterized in that: The single-ended multi-way switch is a CD4051 chip, and whether to stop outputting the multi-way sampling signals is controlled by the inhibiting end of the CD4051 chip.
9. The fan speed diagnostic device according to claim 6, characterized in that: The comparator is used to determine whether the fan corresponding to the sampled signal output by the single-ended multi-way switch is faulty by judging whether the sampled signal output by the single-ended multi-way switch is smaller than the reference signal.
10. A distributed wind turbine cluster, characterized in that: It comprises a fan speed diagnostic device as described in any one of claims 6 to 9, wherein the fan speed diagnostic device is used to diagnose fan speed faults.