Water pump parameter reading device based on PWM communication
Through the water pump parameter reading device based on PWM communication, the problem of untimely transmission of water pump data is solved, timely and effective data acquisition and analysis is achieved, and troubleshooting efficiency is improved.
Patent Information
- Application Number
- CN202323665799.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Priority Date
- 2023-03-07
- Filing Date
- 2023-12-28
- Publication Date
- 2025-07-25
- Estimated Expiration
- 2033-12-28
AI Technical Summary
In the prior art, water pump data transmission is not timely, which affects data analysis and troubleshooting.
The water pump parameter reading device based on PWM communication is adopted, including a parameter processing unit, a transmission unit and an interface unit. The acquisition instructions are sent and the water pump data are received through PWM communication, and the data is processed in a time-series manner by the processor to ensure timeliness.
It realizes timely and efficient transmission of water pump data, and supports data analysis and troubleshooting.
Smart Images

Figure CN223152242U_ABST
Abstract
Description
[0001] This application claims the priority of a Chinese patent application with the application number CN202320462041.7 filed on March 7, 2023, and the entire content of this application is incorporated herein by reference. Technical Field
[0002] The utility model relates to the technical field of water pumps, and in particular to a water pump parameter reading device based on PWM communication. Background Art
[0003] In the prior art, a module for communicating with the outside can be provided in a water pump (such as a canned motor pump), for example, a communication module based on PWM signals, and data is transmitted with an external signal receiving device by using twisted pair wires. However, in the actual use process, a large amount of complex data may be involved in the transmission, such as software and hardware versions, voltage, power, rotation speed, etc. Once timely transmission cannot be achieved, it will be disadvantageous for data analysis and fault troubleshooting of the water pump. Therefore, a parameter reading device that can ensure timely and effective transmission of water pump data is needed. Summary of the Utility Model
[0004] The utility model provides a water pump parameter reading device based on PWM communication, aiming to ensure the timeliness of the water pump.
[0005] An embodiment of the utility model provides a water pump parameter reading device based on PWM communication, including:
[0006] A parameter processing unit, including a processor;
[0007] A parameter transmission unit, electrically connected to the processor, for obtaining acquisition instructions from the processor and / or sending acquisition data to the processor in the manner of PWM communication;
[0008] An interface unit, electrically connected to the parameter transmission unit, for electrically connecting to the water pump to be measured.
[0009] Optionally, the parameter processing unit further includes a power supply module and a clock-programming interface that are respectively electrically connected to the processor.
[0010] Optionally, the power supply module includes a first power supply sub-module and a second power supply sub-module;
[0011] Wherein the first power supply sub-module includes a first capacitor and a second capacitor connected in parallel. One end of the first capacitor and the second capacitor is electrically connected to the power supply and the first power supply pin of the processor, and the other end is electrically connected to the ground wire;
[0012] The second electron-donating module includes a third capacitor, a fourth capacitor, and a first inductor. The third capacitor and the fourth capacitor are connected in parallel. One end of the third capacitor and the fourth capacitor is electrically connected to one end of the first inductor and the second power pin of the processor, and the other end is electrically connected to the ground wire.
[0013] The other end of the first inductor is electrically connected to the power supply.
[0014] Optionally, the clock-programming interface includes a clock interface and a programming interface.
[0015] One end of the programming interface is electrically connected to one end of a first resistor and one end of a fifth capacitor. The other end of the first resistor is electrically connected to the IO terminal of the processor. One end of the clock interface is electrically connected to one end of a second resistor and one end of a sixth capacitor. The other end of the second resistor is electrically connected to the clock terminal of the processor. The other end of the fifth capacitor and the other end of the sixth capacitor are electrically connected to the ground wire.
[0016] Optionally, the parameter transmission unit includes a PWM sending module.
[0017] Among them, the PWM sending module includes a third resistor, a fourth resistor, a seventh capacitor, an eighth capacitor, and a first optocoupler.
[0018] One end of the third resistor is electrically connected to one end of the seventh capacitor and the output port of the interface unit. The other end of the third resistor is electrically connected to the first pin of the first optocoupler. The other end of the seventh capacitor is electrically connected to the second pin of the first optocoupler and the analog ground wire.
[0019] One end of the fourth resistor is electrically connected to one end of the eighth capacitor and the signal output pin of the processor. The other end of the fourth resistor is electrically connected to the third pin of the first optocoupler.
[0020] The other end of the eighth capacitor is electrically connected to the ground wire and the fourth pin of the first optocoupler.
[0021] Optionally, the parameter transmission unit includes a PWM receiving module. The PWM receiving module includes a second optocoupler, a fifth resistor, a sixth resistor, a seventh resistor, an eighth resistor, a ninth capacitor, a tenth capacitor, an eleventh capacitor, a first triode, and a second triode.
[0022] One end of the sixth resistor and one end of the seventh resistor are electrically connected to the input port of the interface unit and the first end of the second optocoupler. The other end of the sixth resistor is electrically connected to the collector of the first triode and the base of the second triode respectively. The other end of the seventh resistor is electrically connected to the collector of the second triode and the second end of the second optocoupler respectively.
[0023] The fifth resistor is electrically connected in parallel with the ninth capacitor. One end of the fifth resistor is electrically connected to the emitter of the first triode and the analog ground wire, and the other end of the fifth resistor is electrically connected to the base of the first triode and the emitter of the second triode;
[0024] The sixth terminal of the second optocoupler is electrically connected to the power supply, one end of the tenth capacitor, and one end of the eighth resistor. The fifth terminal of the second optocoupler is electrically connected to the other end of the tenth capacitor and the ground wire. The fourth terminal of the second optocoupler is electrically connected to the other end of the eighth resistor, one end of the eleventh capacitor, and the signal input pin of the processor.
[0025] Optionally, the parameter processing unit further includes a digital display module and a storage module interface;
[0026] The pins of the digital display module are correspondingly connected to the digital display pins of the processor;
[0027] The pins of the storage module interface are correspondingly connected to the storage pins of the processor.
[0028] A water pump parameter reading device based on PWM communication provided by an embodiment of the present invention uses a processor to send a collection instruction to a water pump to be measured in a PWM communication manner through an interface unit, and receives the water pump data fed back by the water pump to be measured. Through the timing of the processor data processing, the timeliness of obtaining the water pump data is ensured. Description of the Drawings
[0029] Figure 1 It is a schematic structural diagram of a water pump parameter reading device based on PWM communication provided by an embodiment of the present invention;
[0030] Figure 2 It is a circuit schematic diagram of a parameter processing unit in a water pump parameter reading device based on PWM communication provided by an embodiment of the present invention;
[0031] Figure 3 It is a circuit schematic diagram of a parameter transmission unit in a water pump parameter reading device based on PWM communication provided by an embodiment of the present invention. Detailed Embodiment
[0032] The present invention will be further described in detail below with reference to the drawings and embodiments. It can be understood that the specific embodiments described herein are only used to explain the present invention, rather than limiting the present invention. Additionally, it should be noted that for the sake of description, only parts related to the present invention are shown in the drawings, rather than all structures.
[0033] At present, during the actual use of a water pump, a large amount of complex data may be involved in the transmission, such as software and hardware versions, voltage, power, rotational speed, etc. Once timely transmission cannot be achieved, it will be unfavorable for data analysis and troubleshooting of the water pump. Therefore, a parameter reading device that can ensure timely and effective transmission of water pump data is needed.
[0034] Embodiment 1
[0035] In view of the above deficiencies, the present utility model proposes a water pump parameter reading device based on PWM communication, as Figure 1 shown, including:
[0036] A parameter processing unit, including a processor; preferably a single-chip microcomputer is used, and the single-chip microcomputer externally connects a crystal oscillator and other timing devices through the clock interface in the clock-programming interface, and performs sending and / or obtaining operations according to the timing. Specifically, the parameter processing unit further includes a peripheral circuit;
[0037] The peripheral circuit includes a power supply module and the aforementioned clock-programming interface that are respectively electrically connected to the processor. In addition, a digital display module and a storage module interface are also included. The pins of the digital display module are correspondingly connected to the digital display pins of the processor; the pins of the storage module interface are correspondingly connected to the storage pins of the processor. Among them, the power supply module is used to supply power to external timing devices. Usually, the power supply uses a 3.3V voltage for power supply.
[0038] A parameter transmission unit, electrically connected to the processor, is used to obtain acquisition instructions from the processor and / or send acquisition data to the processor in the manner of PWM communication; the above parameter transmission unit includes a PWM sending module for the processor to transmit acquisition instructions to the water pump and a PWM receiving module for transmitting the corresponding acquisition data of the water pump back to the processor. Adopting dual-channel data transmission is beneficial to the real-time performance of communication.
[0039] An interface unit, electrically connected to the parameter transmission unit, is used to electrically connect to the water pump to be measured. The above interface unit externally connects a twisted pair to be communicatively electrically connected to the water pump, so as to complete the transmission of the above acquisition instructions and acquisition data.
[0040] A water pump parameter reading device based on PWM communication provided by the embodiment of the present utility model uses the processor to send acquisition instructions to the water pump to be measured in the manner of PWM communication through the interface unit, and receives the water pump data fed back by the water pump to be measured. Through the timing of the processor data processing, the timeliness of water pump data acquisition is ensured.
[0041] Embodiment 2
[0042] This embodiment is further refined on the basis of the above technical solution, as Figure 2 and Figure 3As shown, the power supply module includes a first power supply sub-module and a second power supply sub-module;
[0043] The first power supply sub-module includes a first capacitor C1 and a second capacitor C2 connected in parallel. One end of the first capacitor C1 and the second capacitor C2 is electrically connected to the power supply V1 and the first power supply pin VDD of the processor, and the other end is electrically connected to the ground wire GND; The model of the processor can be APM32F030K6T6, and the power supply V1 is powered by a 3.3V DC voltage.
[0044] The second power supply sub-module includes a third capacitor C3, a fourth capacitor C4, and a first inductor L1. The third capacitor C3 and the fourth capacitor C4 are connected in parallel. One end of the third capacitor C3 and the fourth capacitor C4 is electrically connected to one end of the first inductor L1 and the second power supply pin VDDA of the processor, and the other end is electrically connected to the ground wire GND;
[0045] The other end of the first inductor L1 is electrically connected to the first capacitor C1. It should be added here that the processor is provided with a reset terminal NRST, which is electrically connected to a thirteenth capacitor C13 and then electrically connected to the ground wire GND.
[0046] The clock-programming interface includes a clock interface and a programming interface;
[0047] The programming IO interface is electrically connected to one end of a first resistor R1 and one end of a fifth capacitor C5. The other end of the first resistor R1 is electrically connected to the IO port of the processor. The clock interface CLK is electrically connected to one end of a second resistor R2 and one end of a sixth capacitor C6. The other end of the second resistor R2 is electrically connected to the clock interface CLK of the processor; The other end of the fifth capacitor C5 and the other end of the sixth capacitor C6 are electrically connected to the ground wire GND. The function of the programming IO interface is to burn a program into the processor.
[0048] The parameter transmission unit includes a PWM sending module;
[0049] Among them, the PWM sending module includes a third resistor R3, a fourth resistor R4, a seventh capacitor C7, an eighth capacitor C8, and a first optocoupler U1;
[0050] Among them, one end of the third resistor R3 is electrically connected to one end of the seventh capacitor C7 and the output port OUT of the interface unit. The other end of the third resistor R3 is electrically connected to the first pin of the first optocoupler U1. The other end of the seventh capacitor C7 is electrically connected to the second pin of the first optocoupler U1 and the analog ground wire AGND;
[0051] One end of the fourth resistor R4 is electrically connected to one end of the eighth capacitor C8 and the signal output pin of the processor; The other end of the fourth resistor R4 is electrically connected to the third pin of the first optocoupler U1;
[0052] The other end of the eighth capacitor C8 is electrically connected to the ground wire GND, the fourth pin of the first optocoupler U1, and the PWM OUT pin of the processor.
[0053] The parameter transmission unit includes a PWM receiving module. The PWM receiving module includes a second optocoupler U2, a fifth resistor R5, a sixth resistor R6, a seventh resistor R7, an eighth resistor R8, a ninth capacitor C9, a tenth capacitor C10, an eleventh capacitor C11, a first triode Q1, and a second triode Q2;
[0054] One end of the sixth resistor R6 and one end of the seventh resistor R7 are electrically connected to the input port IN of the interface unit and the first end of the second optocoupler U2. The other end of the sixth resistor R6 is electrically connected to the collector of the first triode Q1 and the base of the second triode Q2 respectively. The other end of the seventh resistor R7 is electrically connected to the collector of the second triode Q2 and the second end of the second optocoupler U2 respectively. The first optocoupler U1 and the second optocoupler U2 both play an isolation role.
[0055] The fifth resistor R5 is connected in parallel with the ninth capacitor C9. One end of the fifth resistor R5 is electrically connected to the emitter of the first triode Q1 and the analog ground wire AGND. The other end of the fifth resistor R5 is electrically connected to the base of the first triode Q1 and the emitter of the second triode Q2.
[0056] The fourth end of the second optocoupler U2 is electrically connected to the power supply, one end of the tenth capacitor C10, and one end of the eighth resistor R8. The fifth end of the second optocoupler U2 is electrically connected to the other end of the tenth capacitor C10 and the ground wire GND. The sixth end of the second optocoupler U2 is electrically connected to the other end of the eighth resistor R8, one end of the eleventh capacitor C11, and the signal input pin PWM IN of the processor.
[0057] It should be added here that the above-mentioned peripheral circuit further includes a key input module, including a key KEY electrically connected to the corresponding pin of the processor and a ninth resistor R9. The other end of the ninth resistor R9 is electrically connected to the power supply V1. The other end of the key is connected to the ground wire GND, and its purpose is to adjust the power of the water pump to be measured. At the same time, the above-mentioned processor also has a relay control pin RELAY terminal, which is electrically connected to the positive electrode of the first diode D1 and the negative electrode of the second diode D2 respectively. The negative electrode of the first diode D1 is electrically connected to the ground wire GND, and the second diode D2 is electrically connected to the power supply V1.
[0058] In addition, the processor is also provided with a third power supply module, including a twelfth capacitor C12. One end of the twelfth capacitor C12 is electrically connected to the ground wire GND, and the other end is electrically connected to the VDD of the processor and the power supply V1.
[0059] During the specific usage process, the processor sends a collection instruction to the water pump to be tested through the PWM sending module and the interface unit. The water pump to be tested checks whether it receives this collection instruction when powered on. If it fails to detect this instruction, it will feedback the operating status of the interface unit. If it detects this collection instruction, it will send the water pump parameters to the processor through the interface unit. And the processor can display the water pump parameters through the digital display module. For example, the digital display module is provided with pins LED1-LED5, which are electrically connected to the corresponding digital display pins of the processor.
[0060] Meanwhile, the processor can store the water pump parameters in the peripheral storage device through the storage module interface, that is, by electrically connecting the corresponding pins IO1-IO3 of the storage module to the corresponding storage pins of the processor. The above storage module includes but is not limited to an external USB flash drive.
[0061] The solution provided by the embodiment of the present utility model adopts the water pump parameter reading device provided by the foregoing embodiment, uses the same technical means, and achieves the same technical effects, which will not be elaborated here.
[0062] Some orientation words are defined in the present utility model. Without contrary explanations, the orientation words such as "upper", "lower", "left", "right", "inner", and "outer" are used for convenience of understanding, and thus do not constitute a limitation to the protection scope of the present utility model.
[0063] In the present utility model, unless otherwise clearly specified and defined, the first feature being "on" or "under" the second feature may include the direct contact between the first and second features, or may include the situation where the first and second features are not in direct contact but in contact through other features between them. Moreover, the first feature being "above", "over" and "on top of" the second feature includes the first feature being directly above and obliquely above the second feature, or simply indicating that the horizontal height of the first feature is higher than that of the second feature. The first feature being "under", "below" and "beneath" the second feature includes the first feature being directly below and obliquely below the second feature, or simply indicating that the horizontal height of the first feature is lower than that of the second feature.
[0064] In the description of the present utility model, unless otherwise clearly specified and defined, the terms "connected", "connected to", and "fixed" shall be understood in a broad sense. For example, it may be a fixed connection, a detachable connection, or integrated; it may be a mechanical connection or an electrical connection; it may be directly connected or indirectly connected through an intermediate medium, and it may be the internal connection of two components or the interaction relationship between two components. For those of ordinary skill in the art, the specific meanings of the above terms in the present utility model can be understood according to specific situations.
Claims
1. A water pump parameter reading device based on PWM communication, characterized in that, Comprising: A parameter processing unit, including a processor; A parameter transmission unit, electrically connected to the processor, for obtaining acquisition instructions from the processor and / or sending acquisition data to the processor in the manner of PWM communication; An interface unit, electrically connected to the parameter transmission unit, for electrically connecting to the water pump to be tested; The parameter transmission unit includes a PWM sending module; Wherein, the PWM sending module includes a third resistor, a fourth resistor, a seventh capacitor, an eighth capacitor and a first optocoupler; Wherein, one end of the third resistor is electrically connected to one end of the seventh capacitor and the output port of the interface unit, the other end of the third resistor is electrically connected to the first pin of the first optocoupler, and the other end of the seventh capacitor is electrically connected to the second pin of the first optocoupler and the analog ground wire; One end of the fourth resistor is electrically connected to one end of the eighth capacitor and the signal output pin of the processor; the other end of the fourth resistor is electrically connected to the third pin of the first optocoupler; The other end of the eighth capacitor is electrically connected to the ground wire and the fourth pin of the first optocoupler; The parameter transmission unit includes a PWM receiving module, and the PWM receiving module includes a second optocoupler, a fifth resistor, a sixth resistor, a seventh resistor, an eighth resistor, a ninth capacitor, a tenth capacitor, an eleventh capacitor, a first triode and a second triode; Wherein, one end of the sixth resistor and one end of the seventh resistor are electrically connected to the input port of the interface unit and the first end of the second optocoupler, and the other end of the sixth resistor is electrically connected to the collector of the first triode and the base of the second triode respectively, and the other end of the seventh resistor is electrically connected to the collector of the second triode and the second end of the second optocoupler respectively; The fifth resistor is connected in parallel with the ninth capacitor, wherein one end of the fifth resistor is electrically connected to the emitter of the first triode and the analog ground wire, and the other end of the fifth resistor is electrically connected to the base of the first triode and the emitter of the second triode; The sixth end of the second optocoupler is electrically connected to the power supply, one end of the tenth capacitor and one end of the eighth resistor, the fifth end of the second optocoupler is electrically connected to the other end of the tenth capacitor and the ground wire, and the fourth end of the second optocoupler is electrically connected to the other end of the eighth resistor, one end of the eleventh capacitor and the signal input pin of the processor.
2. The water pump parameter reading device based on PWM communication according to claim 1, characterized in that, The parameter processing unit further includes a power supply module and a clock-programming interface which are respectively electrically connected to the processor; 3. The water pump parameter reading device based on PWM communication according to claim 2, characterized in that The power supply module includes a first power supply sub-module and a second power supply sub-module; Wherein, the first power supply sub-module includes a first capacitor and a second capacitor connected in parallel, one end of the first capacitor and the second capacitor is electrically connected to the power supply and the first power supply pin of the processor, and the other end is electrically connected to the ground wire; The second electron-donating module includes a third capacitor, a fourth capacitor, and a first inductor, wherein the third capacitor and the fourth capacitor are connected in parallel, one end of the third capacitor and the fourth capacitor is electrically connected to one end of the first inductor and the second power supply pin of the processor, and the other end is electrically connected to the ground wire; The other end of the first inductor is electrically connected to the power supply.
4. The water pump parameter reading device based on PWM communication according to claim 2, wherein, The clock-programming interface includes a clock interface and a programming interface; One end of the programming interface is electrically connected to one end of a first resistor and one end of a fifth capacitor. The other end of the first resistor is electrically connected to the IO terminal of the processor. One end of the clock interface is electrically connected to one end of a second resistor and one end of a sixth capacitor. The other end of the second resistor is electrically connected to the clock terminal of the processor. The other end of the fifth capacitor and the other end of the sixth capacitor are electrically connected to the ground wire.
5. The water pump parameter reading device based on PWM communication according to claim 2, characterized in that, The parameter processing unit further includes a digital display module and a storage module interface; The pins of the digital display module are correspondingly connected to the digital display pins of the processor; The pins of the storage module interface are correspondingly connected to the storage pins of the processor.