Integrated ultrasonic water meter display circuit structure
By designing the circuit structure of the integrated ultrasonic water meter display, using the MSP430F4152 microcontroller and the low-power 485 circuit, the problem in the existing technology of being unable to switch the water meter parameter interface through buttons has been solved, and the functions of low power consumption and automatic interface switching have been achieved, simplifying development process.
Patent Information
- Application Number
- CN202323519473.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-22
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2033-12-22
AI Technical Summary
The existing integrated ultrasonic water meter lacks buttons to switch or configure the water meter parameter interface, resulting in the inability to switch and configure the interface through buttons during testing and operation and maintenance.
The integrated ultrasonic water meter display circuit structure is designed, including the main control unit circuit, power supply circuit, communication circuit, display circuit and key circuit. The MSP430F4152 microcontroller and the low-power 485 circuit are used to realize key detection and the sending and receiving of interface operation instructions. Hall switch controls power supply and supports automatic switching of interface display.
It realizes the interface of switching and configuring water meter parameters through buttons, which saves the development cycle, has low power consumption, supports multiple communication protocols, the power supply method is common and easy to purchase, and the power consumption is less than 5uA when the device is turned off.
Smart Images

Figure CN221840497U_ABST
Abstract
Description
Technical Field
[0001] The utility model belongs to the technical field of water meter control equipment, and in particular relates to an integrated ultrasonic water meter display circuit structure. Background Art
[0002] Screen display is an indispensable part of embedded devices. It can intuitively display the current status of the device and the data information of the device, and can also modify the parameters of the device through the screen. The integrated ultrasonic water meter for metering and remote transmission protection is a product developed using ultrasonic time difference measurement technology with low cost, high measurement accuracy, low power consumption, and stable and reliable operation. The existing integrated ultrasonic water meter does not have a liquid crystal display function, so the existing equipment lacks the function of switching or configuring the water meter parameter interface through buttons during water meter testing and operation and maintenance, and the function of displaying the data information in the integrated ultrasonic water meter on the screen. Summary of the invention
[0003] Aiming at the problem that the existing integrated ultrasonic water meter lacks the ability to test the water meter and switch or configure the water meter parameter interface by pressing buttons during operation and maintenance, the utility model provides an integrated ultrasonic water meter display circuit structure.
[0004] In order to achieve the above technical purpose, the technical solution adopted by the utility model is as follows:
[0005] The integrated ultrasonic water meter display circuit structure includes a main control unit circuit, a power supply circuit, a communication circuit, a display circuit and a key circuit;
[0006] The main control unit circuit is used to send corresponding interface operation instructions and receive interface display information returned by the water meter to control the drive screen display;
[0007] The power supply circuit is used to control whether to supply power to the entire display circuit structure by relying on the lock Hall switch;
[0008] The communication circuit is connected to the main control unit circuit for long-distance signal output and automatic conversion of receiving and sending signals;
[0009] The display circuit is connected to the main control unit circuit and is used to display the water meter reading;
[0010] The key circuit is connected to the main control unit circuit and is used to detect the key pressing instruction. After the key is pressed, the main control unit circuit sends the corresponding interface operation instruction through the display circuit. After receiving the instruction, the segment code to be displayed is sent to the main control unit circuit through the display circuit, and then the microcontroller controls the segment code to display the corresponding interface.
[0011] Furthermore, the main control unit circuit includes a main control MCU, a program download port, a reset button and a crystal oscillator; the main control MCU adopts an MSP430F4152 single-chip microcomputer; the program download port is connected to the single-chip microcomputer pin, and the program is burned into the single-chip microcomputer through a programmer; the reset button is connected to the reset pin of the single-chip microcomputer to realize the function of power-on reset or button reset; the crystal oscillator is connected to the single-chip microcomputer pin to provide a clock for the single-chip microcomputer.
[0012] Furthermore, when the N pole of the magnet is brought close to the Hall switch, a low level is output, which is connected to the power pins of the microcontroller and the display circuit; the microcontroller and other devices are powered, and the equipment operation indicator light flashes once every 10 seconds, indicating that the equipment is working normally.
[0013] When the S pole of the magnet is brought close to the Hall switch, a high level is output. At this time, the current will not flow to the back end, the high level is turned on, and the equipment operation indicator light turns on until the power is consumed and then goes out.
[0014] Furthermore, the signal line receiving pin of the communication circuit is connected to the sending pin of the MSP430F4152 single-chip microcomputer, and the signal line sending pin of the communication circuit is connected to the receiving pin of the MSP430F4152 single-chip microcomputer.
[0015] Furthermore, the display circuit includes a screen display LCM144 and a screen driver chip MCP144; the clock pin SCL and the data pin SDA of the screen driver chip MCP144 are both connected to the MSP430F4152 microcontroller; the microcontroller communicates with the screen driver chip MCP144 through the IIC protocol, sends the displayed content to MCP144, and then MCP144 controls the corresponding pin output, and the screen LCM144 displays the corresponding interface.
[0016] Compared with the prior art, the utility model has the following beneficial effects:
[0017] The main control uses the MSP430 series F4152 microcontroller, which has low power consumption, supports multiple communication protocols and is easy to program.
[0018] The power supply is two No. 5 dry batteries, which is a popular power supply method. The batteries are common and easy to buy on the market.
[0019] The device is turned on or off by a micro-power self-locking Hall switch, and the power consumption of the device is less than 5uA when it is turned off.
[0020] By sending interface operation instructions and receiving information from the echo interface through the low-power 485 circuit, automatic switching between sending and receiving can be achieved. The interface display does not require the development of an interactive interface for the device, which greatly saves the development cycle.
[0021] The water meter parameter interface can be switched or configured by pressing buttons during testing and maintenance of the water meter. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 This is a schematic diagram of a main control unit circuit in an embodiment of the present invention;
[0023] Figure 2 Schematic diagram of Hall switch control and power supply circuit in an embodiment of the present invention;
[0024] Figure 3 This is a schematic diagram of a low power consumption RS485 circuit in an embodiment of the present invention;
[0025] Figure 4 A schematic diagram of a screen driving and displaying circuit in an embodiment of the present invention;
[0026] Figure 5 Schematic diagram of a key circuit in an embodiment of the present invention. DETAILED DESCRIPTION
[0027] In order to facilitate the understanding of those skilled in the art, the present invention is further described below in conjunction with embodiments and drawings. The contents mentioned in the implementation modes are not intended to limit the present invention.
[0028] like Figure 1 As shown, the integrated ultrasonic water meter display circuit structure includes a main control unit circuit, a power supply circuit, a communication circuit, a display circuit and a key circuit;
[0029] The main control unit circuit is used to send corresponding interface operation instructions and receive interface display information returned by the water meter to control the drive screen display;
[0030] The power supply circuit is used to control whether to supply power to the entire display circuit structure by relying on the lock Hall switch;
[0031] The communication circuit is connected to the main control unit circuit for long-distance signal output and automatic conversion of receiving and sending signals;
[0032] The display circuit is connected to the main control unit circuit and is used to display the water meter reading;
[0033] The key circuit is connected to the main control unit circuit and is used to detect the key pressing instruction. After the key is pressed, the main control unit circuit sends the corresponding interface operation instruction through the display circuit. After receiving the instruction, the segment code to be displayed is sent to the main control unit circuit through the display circuit, and then the microcontroller controls the segment code to display the corresponding interface.
[0034] like Figure 5As shown, the 5 buttons are connected to the 16-20 pins of the microcontroller respectively. When the button is not pressed, the corresponding microcontroller pin inputs a high level. When the button is pressed, a low level is input to the corresponding pin of the microcontroller, so that the microcontroller can detect that the button is pressed. After the button is pressed, the microcontroller sends the corresponding interface operation instruction through 485. After receiving the instruction, the integrated ultrasonic water meter sends the segment code to be displayed to the microcontroller through 485, and then the microcontroller controls the MCP144 low-power 144-segment driver to drive the segment code screen to display the corresponding interface.
[0035] The main control unit circuit includes the main control MCU, program download port, reset button and crystal oscillator; the main control MCU adopts MSP430F4152 microcontroller; the program download port is connected to the microcontroller pin, and the program is burned into the microcontroller through the programmer; the reset button is connected to the reset pin of the microcontroller to realize the function of power-on reset or button reset; the crystal oscillator is connected to the microcontroller pin to provide clock for the microcontroller. Figure 1 , J1 in the upper left part is the program download port of the MCU, which is connected to the 54-59 pins of the MCU, and the program is burned into the MCU through the programmer, S1 is the reset button, which is connected to the reset pin of the MCU to achieve the function of power-on reset or button reset, Y1 is the crystal oscillator, which is connected to the 8th and 9th pins of the MCU, and provides the clock for the MCU. The MCU is usually in low power mode, and the low power mode is exited by pressing the button and the corresponding interface operation instructions are sent and the interface display information returned by the water meter is received to control the drive screen display.
[0036] like Figure 2 As shown, the power supply part mainly relies on the self-locking Hall switch to control whether to supply power to the back end. When the N pole of the magnet is close to the Hall switch, the output is low level, which is connected to the power pins of the microcontroller and the display circuit; the microcontroller and other devices are powered, and the equipment operation indicator flashes once every 10 seconds, and the equipment is working normally;
[0037] When the S pole of the magnet is brought close to the Hall switch, a high level is output. At this time, the current will not flow to the back end, the high level is turned on, and the equipment operation indicator light turns on until the power is consumed and then goes out.
[0038] When the N pole of a magnet is brought close to the Hall switch, the Vout of pin 2 of the Q3 Hall switch outputs a low level. At this time, the gate G of the Q4PMOS is low and the PMOS is turned on. The current passes through the boost chip and the LDO voltage regulator chip and outputs 3.3V. It is connected to the 7th and 64th pins of the microcontroller and is also connected to the power pins of the 485 and screen driver chips to power the microcontroller and other devices. The equipment operation indicator flashes once every 10s. At this time, the equipment works normally. When the S pole of a magnet is brought close to the Hall switch, the Vout of pin 2 of the Q3 Hall switch outputs a high level, the gate G of the Q4 PMOS is high and the PMOS is turned off. At this time, the current will not flow to the back end, and the gate G of the Q5NMOS is high and turned on. The equipment operation indicator lights up until the power is consumed and then goes out.
[0039] like Figure 3 As shown, the signal line receiving pin of the communication circuit is connected to the sending pin of the MSP430F4152 single-chip microcomputer, and the signal line sending pin of the communication circuit is connected to the receiving pin of the MSP430F4152 single-chip microcomputer. The communication circuit adopts a low-power 485 automatic transceiver circuit. The receiving pin and the sending pin of the 485 signal line are respectively connected to the No. 5 sending pin RXD0 and the No. 6 receiving pin RXD0 of the single-chip microcomputer to realize mutual communication between the single-chip microcomputer and the 485 chip. This circuit can realize long-distance 485 signal output, and the receiving and sending are automatically converted. The oscilloscope test shows that the 115200 baud rate has no pull-up waveform deformation, and the output waveform has a uniform duty cycle. This circuit has been widely used in our company's product design, and the communication performance is stable and reliable.
[0040] like Figure 4 As shown, the display circuit includes a screen display LCM144 and a screen driver chip MCP144; the clock pin SCL and the data pin SDA of the screen driver chip MCP144 are connected to the MSP430F4152 microcontroller; the microcontroller communicates with the screen driver chip MCP144 through the IIC protocol, sends the displayed content to MCP144, and then MCP144 controls the corresponding pin output, and the screen LCM144 displays the corresponding interface. The clock pin SCL and the data pin SDA of MCP144 are respectively connected to the 14th and 15th pins of the microcontroller, and the microcontroller communicates with the screen driver chip MCP144 through the IIC protocol, sends the content to be displayed to MCP144, and then MCP144 controls the corresponding pin output, so that the screen LCM144 can display the corresponding interface.
[0041] Compared with the prior art, the utility model has the following beneficial effects:
[0042] The main control uses the MSP430 series F4152 microcontroller, which has low power consumption, supports multiple communication protocols and is easy to program.
[0043] The power supply is two No. 5 dry batteries, which is a popular power supply method. The batteries are common and easy to buy on the market.
[0044] The device is turned on or off by a micro-power self-locking Hall switch, and the power consumption of the device is less than 5uA when it is turned off.
[0045] By sending interface operation instructions and receiving information from the echo interface through the low-power 485 circuit, automatic switching between sending and receiving can be achieved. The interface display does not require the development of an interactive interface for the device, which greatly saves the development cycle.
[0046] The water meter parameter interface can be switched or configured by pressing buttons during testing and maintenance of the water meter.
[0047] The above is a detailed introduction to the integrated ultrasonic water meter display circuit structure provided by the present application. The description of the specific embodiment is only used to help understand the structure and design scheme of the present application. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the claims of the present application.
Claims
1. The integrated ultrasonic water meter display circuit structure is characterized by: Including main control unit circuit, power supply circuit, communication circuit, display circuit and key circuit; The main control unit circuit is used to send corresponding interface operation instructions and receive interface display information returned by the water meter to control the drive screen display; The power supply circuit is used to control whether to supply power to the entire display circuit structure by relying on the lock Hall switch; The communication circuit is connected to the main control unit circuit for long-distance signal output and automatic conversion of receiving and sending signals; The display circuit is connected to the main control unit circuit and is used to display the water meter reading; The key circuit is connected to the main control unit circuit and is used to detect the key pressing instruction. After the key is pressed, the main control unit circuit sends the corresponding interface operation instruction through the display circuit. After receiving the instruction, the segment code to be displayed is sent to the main control unit circuit through the display circuit, and then the microcontroller controls the segment code to display the corresponding interface.
2. The integrated ultrasonic water meter display circuit structure according to claim 1, characterized in that: The main control unit circuit includes a main control MCU, a program download port, a reset button and a crystal oscillator; the main control MCU adopts an MSP430F4152 microcontroller; the program download port is connected to the microcontroller pin, and the program is burned into the microcontroller through a programmer; the reset button is connected to the reset pin of the microcontroller to realize the function of power-on reset or button reset; the crystal oscillator is connected to the microcontroller pin to provide a clock for the microcontroller.
3. The integrated ultrasonic water meter display circuit structure according to claim 2 is characterized in that: When the N pole of a magnet is brought close to the Hall switch, it outputs a low level and is connected to the power pins of the microcontroller and display circuit; the microcontroller and other devices are powered, and the equipment operation indicator flashes once every 10 seconds, indicating that the equipment is working normally. When the S pole of the magnet is brought close to the Hall switch, a high level is output. At this time, the current will not flow to the back end, the high level is turned on, and the equipment operation indicator light turns on until the power is consumed and then goes out.
4. The integrated ultrasonic water meter display circuit structure according to claim 3 is characterized in that: The signal line receiving pin of the communication circuit is connected to the sending pin of the MSP430F4152 single-chip microcomputer, and the signal line sending pin of the communication circuit is connected to the receiving pin of the MSP430F4152 single-chip microcomputer.
5. The integrated ultrasonic water meter display circuit structure according to claim 4, characterized in that: The display circuit includes a screen display LCM144 and a screen driver chip MCP144; the clock pin SCL and the data pin SDA of the screen driver chip MCP144 are connected to the MSP430F4152 microcontroller; the microcontroller communicates with the screen driver chip MCP144 through the IIC protocol, sends the displayed content to MCP144, and then MCP144 controls the corresponding pin output, and the screen LCM144 displays the corresponding interface.
