Driving circuit for simulation motor and water meter detection system
By introducing an analog motor driving circuit into the valve-controlled water meter, the problems of low detection efficiency and many by-products in the prior art are solved, and more efficient motor driving capability detection is achieved.
Patent Information
- Application Number
- CN202420656689.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-01
- Publication Date
- 2025-02-18
- Estimated Expiration
- 2034-04-01
AI Technical Summary
The existing valve-controlled water meter motor driving capability detection methods have problems such as low efficiency and many by-products.
A driving circuit for simulating a motor is provided, including an analog motor forward rotation detection circuit, an analog motor inversion detection circuit and a controller, which simulates the motor function through a hardware circuit, receives and processes the motor driving signals to determine the driving capability of the water meter motor.
Improve detection efficiency, reduce by-products during the detection process, and improve the detection method of motor driving capabilities.
Smart Images

Figure CN222506511U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of water meter detection, in particular to a driving circuit for simulating a motor and a water meter detection system. Background Art
[0002] In the process of motor control detection of valve-controlled water meters, the existing technology often uses physical motor testing. And due to various requirements and design reasons, there are often certain restrictions on the valve control current, so it usually takes a long time to perform the switch valve detection, which will affect the detection efficiency to a certain extent. The motor in the detection state will generate heat, and the operating noise of the valve-controlled water meter during the switch valve operation will also cause certain harm to the tester.
[0003] In general, the existing detection methods of the motor driving capability of valve-controlled water meters have the problems of low efficiency and many by-products. Utility Model Content
[0004] The purpose of the utility model is to provide a driving circuit and a water meter detection system for simulating a motor so as to alleviate the technical problems of low efficiency and large number of by-products in the existing detection method of the motor driving ability of the valve-controlled water meter, thereby improving the detection efficiency and reducing the by-products in the detection process.
[0005] In the first aspect, an embodiment of the utility model provides a driving circuit for an analog motor, comprising: an analog motor forward rotation detection circuit, an analog motor reverse rotation detection circuit and a controller; the controller is respectively connected to the analog motor forward rotation detection circuit and the analog motor reverse rotation detection circuit; the analog motor forward rotation detection circuit is connected to the motor forward rotation driving end of the external valve-controlled water meter to be tested; the analog motor reverse rotation detection circuit is connected to the motor reverse rotation driving end of the valve-controlled water meter to be tested; the analog motor forward rotation detection circuit is used to receive a first driving signal from the motor forward rotation driving end, and output a first voltage signal which is in a first preset ratio with the first driving signal; the analog motor reverse rotation detection circuit is used to receive a second driving signal from the motor reverse rotation driving end, and output a second voltage signal which is in a second preset ratio with the second driving signal; the controller is used to determine the motor driving capacity of the valve-controlled water meter to be tested based on the first voltage signal and the second voltage signal.
[0006] In a preferred embodiment of the utility model, the analog motor forward detection circuit includes: a first PMOS tube, a first resistor and a second resistor connected in sequence; a first voltage sampling point is arranged between the first resistor and the second resistor; the first voltage sampling point is used to output the first voltage signal; the analog motor reverse detection circuit includes: a second PMOS tube, a third resistor and a fourth resistor connected in sequence; a second voltage sampling point is arranged between the third resistor and the fourth resistor; the second voltage sampling point is used to output the second voltage signal; the gate of the first PMOS tube and the gate of the second PMOS tube are both connected to the ground; the source of the first PMOS tube is connected to the fifth resistor; the source of the second PMOS tube is connected to the sixth resistor; the fifth resistor and the sixth resistor are connected to the ground.
[0007] In a preferred embodiment of the present invention, the above-mentioned simulated motor forward detection circuit includes: a first light-emitting diode connected to the above-mentioned second resistor; the above-mentioned simulated motor reverse detection circuit includes: a second light-emitting diode connected to the above-mentioned fourth resistor.
[0008] In a preferred embodiment of the present utility model, the above-mentioned simulated motor forward rotation detection circuit also includes: a seventh resistor and a third PMOS tube connected in parallel with the above-mentioned first resistor and the above-mentioned second resistor; the gate of the above-mentioned third PMOS tube is connected to the above-mentioned controller; the gate of the above-mentioned third PMOS tube is set to a high level state by the above-mentioned controller; the above-mentioned controller is also used to, after receiving the first drive signal from the above-mentioned motor forward rotation drive end, when a preset time is reached, convert the high level of the gate of the above-mentioned third PMOS tube into a low level signal, the above-mentioned third PMOS tube is turned on, and the above-mentioned first voltage sampling point outputs a third voltage signal; the above-mentioned controller is also used to determine whether there is a driving abnormality in the motor drive chip of the above-mentioned valve-controlled water meter to be tested based on the above-mentioned first voltage signal and the above-mentioned third voltage signal.
[0009] In a preferred embodiment of the utility model, the above-mentioned analog motor reversal detection circuit also includes: an eighth resistor and a fourth PMOS tube connected in parallel with the above-mentioned third resistor and the above-mentioned fourth resistor; the gate of the above-mentioned fourth PMOS tube is connected to the above-mentioned controller; the gate of the above-mentioned fourth PMOS tube is set to a high level state by the above-mentioned controller; the above-mentioned controller is also used to, after receiving the second drive signal of the above-mentioned motor reversal drive end, when a preset time is reached, convert the high level of the gate of the above-mentioned fourth PMOS tube into a low level signal, the above-mentioned fourth PMOS tube is turned on, and the above-mentioned second voltage sampling point outputs a fourth voltage signal; the above-mentioned controller is also used to determine whether there is a driving abnormality in the motor drive chip of the above-mentioned valve-controlled water meter to be tested based on the above-mentioned second voltage signal and the above-mentioned fourth voltage signal.
[0010] In a preferred embodiment of the utility model, it also includes a switch in place detection circuit connected to the above-mentioned controller; the above-mentioned switch in place detection circuit is connected to the above-mentioned valve-controlled water meter to be tested; the above-mentioned controller is also used to control the above-mentioned switch in place detection circuit to output a detection completion signal to feed back to the above-mentioned valve-controlled water meter to be tested if it is determined that there is no abnormality in the motor driving capacity of the above-mentioned valve-controlled water meter to be tested.
[0011] In a preferred embodiment of the present utility model, the above-mentioned switch in place detection circuit includes: a forward switch in place detection circuit; the above-mentioned forward switch in place detection circuit includes: a connected ninth resistor and a fifth PMOS tube; the above-mentioned ninth resistor is connected to the above-mentioned controller; the source of the above-mentioned fifth PMOS tube is connected to the above-mentioned valve-controlled water meter to be tested; the drain of the above-mentioned fifth PMOS tube is grounded to the above-mentioned ninth resistor; the gate of the above-mentioned fifth PMOS tube is set to a high level state by the above-mentioned controller; the above-mentioned controller is also used to control the gate of the above-mentioned fifth PMOS tube to be converted from a high level to a low level if it is determined that there is no abnormality in the motor driving ability of the above-mentioned valve-controlled water meter to be tested, and the above-mentioned fifth PMOS tube is turned on, so that the above-mentioned valve-controlled water meter to be tested detects that the drain of the above-mentioned fifth PMOS tube is grounded.
[0012] In a preferred embodiment of the present utility model, the above-mentioned switch in place detection circuit includes: a reverse switch in place detection circuit; the above-mentioned reverse switch in place detection circuit includes: a connected tenth resistor and a sixth PMOS tube; the above-mentioned tenth resistor is connected to the above-mentioned controller; the source of the above-mentioned sixth PMOS tube is connected to the above-mentioned valve-controlled water meter to be tested; the drain of the above-mentioned sixth PMOS tube is grounded to the above-mentioned tenth resistor; the gate of the above-mentioned sixth PMOS tube is set to a high level state by the above-mentioned controller; if the above-mentioned controller determines that there is no abnormality in the motor driving ability of the above-mentioned valve-controlled water meter to be tested, the gate of the above-mentioned sixth PMOS tube is controlled to be converted from a high level to a low level, and the above-mentioned sixth PMOS tube is turned on, so that the above-mentioned valve-controlled water meter to be tested detects that the drain of the above-mentioned sixth PMOS tube is grounded.
[0013] In a preferred embodiment of the utility model, the above-mentioned driving circuit also includes: a five-core wire connector; the above-mentioned valve-controlled water meter to be tested is connected to the above-mentioned analog motor forward detection circuit and the above-mentioned analog motor reverse detection circuit through the above-mentioned five-core wire connector.
[0014] In a second aspect, an embodiment of the utility model provides a water meter detection system, the system comprising: the above-mentioned drive circuit for simulating a motor, and also comprising a valve-controlled water meter to be tested connected to the above-mentioned drive circuit.
[0015] The embodiments of the present invention have the following beneficial technical effects:
[0016] The embodiment of the utility model provides a driving circuit for simulating a motor and a water meter detection system, including: a forward detection circuit for simulating a motor, a reverse detection circuit for simulating a motor, and a controller; the controller is connected to the forward detection circuit for simulating a motor and the reverse detection circuit for simulating a motor respectively; the forward detection circuit for simulating a motor is connected to the forward driving end of the motor of the valve-controlled water meter to be tested of the external device; the reverse detection circuit for simulating a motor is connected to the reverse driving end of the motor of the valve-controlled water meter to be tested; the forward detection circuit for simulating a motor is used to receive a first driving signal of the forward driving end of the motor, and output a first voltage signal which is in a first preset ratio with the first driving signal; the reverse detection circuit for simulating a motor is used to receive a second driving signal of the reverse driving end of the motor, and output a second voltage signal which is in a second preset ratio with the second driving signal; the controller is used to determine the motor driving capacity of the valve-controlled water meter to be tested according to the first voltage signal and the second voltage signal. The driving circuit for simulating a motor simulates the motor function through a hardware circuit, alleviates the technical problems of low efficiency and more by-products in the detection method of the motor driving capacity of the existing valve-controlled water meter, can improve the detection efficiency, and reduce the by-products in the detection process.
[0017] Other features and advantages disclosed in this embodiment will be described in the subsequent description, or some features and advantages can be inferred or determined without doubt from the description, or can be learned by implementing the above-mentioned technology of the present disclosure.
[0018] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the specific implementation methods of the utility model or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the utility model. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0020] Figure 1 A schematic diagram of a drive circuit for simulating a motor provided by an embodiment of the utility model;
[0021] Figure 2 A schematic diagram of another drive circuit for simulating a motor provided by an embodiment of the utility model;
[0022] Figure 3 A schematic diagram of a forward switch in-position detection circuit provided by an embodiment of the utility model;
[0023] Figure 4 A schematic diagram of a reverse switch in-position detection circuit provided by an embodiment of the utility model;
[0024] Figure 5 A schematic diagram of the connection relationship of a five-core wire connector provided in an embodiment of the utility model;
[0025] Figure 6 A schematic structural diagram of a water meter detection system provided in an embodiment of the utility model.
[0026] Icons: 11-simulated motor forward detection circuit; 12-simulated motor reverse detection circuit; 13-controller; 14-fifth resistor; 15-sixth resistor; 110-first PMOS tube; 111-first resistor; 112-second resistor; 113-first voltage sampling point; 114-first light-emitting diode; 115-seventh resistor; 116-third PMOS tube; 120-second PMOS tube; 121-third resistor; 122-fourth resistor; 123-second voltage sampling point; 124-second light-emitting diode; 125-eighth resistor; 126-fourth PMOS tube; 32-ninth resistor; 33-fifth PMOS tube; 42-tenth resistor; 43-sixth PMOS tube; 61-driving circuit for simulating motor; 62-valve-controlled water meter to be tested. DETAILED DESCRIPTION
[0027] In order to make the purpose, technical scheme and advantages of the embodiments of the utility model clearer, the technical scheme in the embodiments of the utility model will be clearly and completely described below in conjunction with the drawings in the embodiments of the utility model. Obviously, the described embodiments are part of the embodiments of the utility model, not all of the embodiments. Generally, the components of the embodiments of the utility model described and shown in the drawings here can be arranged and designed in various different configurations.
[0028] The existing detection method of the motor driving ability of the valve-controlled water meter has the problems of low efficiency and many by-products.
[0029] Based on this, the embodiment of the utility model provides a driving circuit for simulating a motor and a water meter detection system. The driving circuit for simulating a motor simulates the motor function through a hardware circuit, which alleviates the technical problems of low efficiency and more by-products in the detection method of the motor driving ability of the existing valve-controlled water meter, and can improve the detection efficiency and reduce the by-products in the detection process. To facilitate the understanding of the embodiment of the utility model, firstly, a driving circuit for simulating a motor disclosed in the embodiment of the utility model is introduced in detail.
[0030] Example 1
[0031] Figure 1A schematic structural diagram of a drive circuit for simulating a motor provided in an embodiment of the utility model.
[0032] Depend on Figure 1 As can be seen, the drive circuit includes: an analog motor forward detection circuit 11, an analog motor reverse detection circuit 12 and a controller 13; the controller 13 is connected to the analog motor forward detection circuit 11 and the analog motor reverse detection circuit 12 respectively; the analog motor forward detection circuit 11 is connected to the motor forward drive end of the external valve-controlled water meter to be tested; the analog motor reverse detection circuit is connected to the motor reverse drive end of the valve-controlled water meter to be tested; the analog motor forward detection circuit 11 is used to receive a first drive signal from the motor forward drive end, and output a first voltage signal which is in a first preset ratio with the first drive signal; the analog motor reverse detection circuit 12 is used to receive a second drive signal from the motor reverse drive end, and output a second voltage signal which is in a second preset ratio with the second drive signal; the controller 13 is used to determine the motor drive capacity of the valve-controlled water meter to be tested according to the first voltage signal and the second voltage signal.
[0033] For ease of understanding, Figure 2 A schematic structural diagram of another driving circuit for simulating a motor provided in an embodiment of the utility model.
[0034] Depend on Figure 2 As can be seen, the analog motor forward detection circuit 11 includes: a first PMOS tube 110, a first resistor 111 and a second resistor 112 connected in sequence; a first voltage sampling point 113 is arranged between the first resistor 111 and the second resistor 112; the first voltage sampling point 113 is used to output the first voltage signal; the analog motor reverse detection circuit 12 includes: a second PMOS tube 120, a third resistor 121 and a fourth resistor 122 connected in sequence; a second voltage sampling point 123 is arranged between the third resistor 121 and the fourth resistor 122; the second voltage sampling point 123 is used to output the second voltage signal; the gate of the first PMOS tube 110 and the gate of the second PMOS tube 120 are both connected to the ground; the source of the first PMOS tube 110 is connected to the fifth resistor 14; the source of the second PMOS tube 120 is connected to the sixth resistor 15; the fifth resistor 14 and the sixth resistor 15 are connected to the ground.
[0035] Furthermore, the simulated motor forward detection circuit 11 includes: a first light emitting diode 114 connected to the second resistor 112 ; the simulated motor reverse detection circuit 12 includes: a second light emitting diode 124 connected to the fourth resistor 122 .
[0036] Furthermore, the above-mentioned simulated motor forward rotation detection circuit 11 also includes: a seventh resistor 115 and a third PMOS tube 116 connected in parallel with the above-mentioned first resistor 111 and the above-mentioned second resistor 112; the gate of the above-mentioned third PMOS tube 116 is connected to the above-mentioned controller 13; the gate of the above-mentioned third PMOS tube 116 is set to a high level state by the above-mentioned controller 13; the above-mentioned controller 13 is also used to, after receiving the above-mentioned first drive signal from the above-mentioned motor forward rotation drive end, when a preset time is reached, convert the high level of the gate of the above-mentioned third PMOS tube 116 into a low level signal, the above-mentioned third PMOS tube 116 is turned on, and the above-mentioned first voltage sampling point 113 outputs a third voltage signal; the above-mentioned controller 13 is also used to determine whether there is a driving abnormality in the motor drive chip of the above-mentioned valve-controlled water meter to be tested based on the above-mentioned first voltage signal and the above-mentioned third voltage signal.
[0037] Furthermore, the above-mentioned analog motor reversal detection circuit 12 also includes: an eighth resistor 125 and a fourth PMOS tube 126 connected in parallel with the above-mentioned third resistor 121 and the above-mentioned fourth resistor 122; the gate of the above-mentioned fourth PMOS tube 126 is connected to the above-mentioned controller 13; the gate of the above-mentioned fourth PMOS tube 126 is set to a high level state by the above-mentioned controller 13; the above-mentioned controller 13 is also used to convert the high level of the gate of the above-mentioned fourth PMOS tube into a low level signal when a preset time is reached after receiving the second drive signal of the above-mentioned motor reversal drive end, the above-mentioned fourth PMOS tube 126 is turned on, and the above-mentioned second voltage sampling point 123 outputs a fourth voltage signal; the above-mentioned controller 13 is also used to determine whether there is a driving abnormality in the motor drive chip of the above-mentioned valve-controlled water meter to be tested based on the above-mentioned second voltage signal and the above-mentioned fourth voltage signal.
[0038] Furthermore, it also includes a switch in place detection circuit connected to the above-mentioned controller 13; the above-mentioned switch in place detection circuit is connected to the above-mentioned valve-controlled water meter to be tested; the above-mentioned controller 13 is also used to control the above-mentioned switch in place detection circuit to output a detection completion signal to feed back to the above-mentioned valve-controlled water meter to be tested if it is determined that there is no abnormality in the motor driving capacity of the above-mentioned valve-controlled water meter to be tested.
[0039] For ease of understanding, Figure 3 A schematic structural diagram of a forward switch in-position detection circuit provided in an embodiment of the utility model.
[0040] Depend on Figure 3As can be seen, the above-mentioned switch in place detection circuit includes: a forward switch in place detection circuit; the above-mentioned forward switch in place detection circuit includes: a connected ninth resistor 32 and a fifth PMOS tube 33; the above-mentioned ninth resistor 32 is connected to the above-mentioned controller 13; the source of the above-mentioned fifth PMOS tube 33 is connected to the above-mentioned valve-controlled water meter to be tested; the drain of the above-mentioned fifth PMOS tube 33 and the above-mentioned ninth resistor 32 are grounded; the gate of the above-mentioned fifth PMOS tube 33 is set to a high level state by the above-mentioned controller 13; the above-mentioned controller 13 is also used for controlling the gate of the above-mentioned fifth PMOS tube 33 to be converted from a high level to a low level if it is determined that the motor driving ability of the above-mentioned valve-controlled water meter to be tested is normal, and the above-mentioned fifth PMOS tube 33 is turned on, so that the above-mentioned valve-controlled water meter to be tested detects that the drain of the above-mentioned fifth PMOS tube 33 is grounded.
[0041] Furthermore, Figure 4 A schematic structural diagram of a reversing switch in-position detection circuit provided in an embodiment of the utility model.
[0042] Depend on Figure 4 As can be seen, the above-mentioned switch in place detection circuit includes: a reverse switch in place detection circuit; the above-mentioned reverse switch in place detection circuit includes: a connected tenth resistor 42 and a sixth PMOS tube 43; the above-mentioned tenth resistor 42 is connected to the above-mentioned controller 13; the source of the above-mentioned sixth PMOS tube 43 is connected to the above-mentioned valve-controlled water meter to be tested; the drain of the above-mentioned sixth PMOS tube 43 and the tenth resistor 42 are grounded; the gate of the above-mentioned sixth PMOS tube 43 is set to a high level state through the above-mentioned controller 13; the above-mentioned controller 13 also controls the gate of the above-mentioned sixth PMOS tube 43 to be converted from a high level to a low level if it is determined that the motor driving ability of the above-mentioned valve-controlled water meter to be tested is normal, and the above-mentioned sixth PMOS tube 43 is turned on, so that the above-mentioned valve-controlled water meter to be tested detects that the drain of the above-mentioned sixth PMOS tube 43 is grounded.
[0043] In actual operation, when the valve-controlled water meter to be tested detects that the drain of the sixth PMOS tube 43 is grounded, it proves that there is no abnormality in the motor driving ability of the valve-controlled water meter to be tested, and controls the switch in place detection circuit to output a detection completion signal to feed back to the valve-controlled water meter to be tested, so that the valve-controlled water meter to be tested displays the detection completion information and stops outputting the first drive signal and the second drive signal.
[0044] Furthermore, the driving circuit also includes: a five-core wire connector; the valve-controlled water meter to be tested is connected to the analog motor forward detection circuit and the analog motor reverse detection circuit via the five-core wire connector.
[0045] For ease of understanding, Figure 5A schematic diagram of the connection relationship of a five-core wire connector provided by an embodiment of the utility model. Among them, TEST1 and TEST2 in the figure are connected to the controller 13. When TEST1 detects that the valve-controlled water meter to be tested outputs the first drive signal, the controller 13 is controlled to collect the first voltage signal; when TEST2 detects that the valve-controlled water meter to be tested outputs the second drive signal, the controller 13 is controlled to collect the second voltage signal.
[0046] The embodiment of the utility model provides a driving circuit for simulating a motor, including: a forward rotation detection circuit of a simulated motor, a reverse rotation detection circuit of a simulated motor, and a controller; the controller is connected to the forward rotation detection circuit of the simulated motor and the reverse rotation detection circuit of the simulated motor respectively; the forward rotation detection circuit of the simulated motor is connected to the forward rotation driving end of the motor of the valve-controlled water meter to be tested of the external device; the reverse rotation detection circuit of the simulated motor is connected to the reverse rotation driving end of the motor of the valve-controlled water meter to be tested; the forward rotation detection circuit of the simulated motor is used to receive a first driving signal of the forward rotation driving end of the motor, and output a first voltage signal which is in a first preset ratio with the first driving signal; the reverse rotation detection circuit of the simulated motor is used to receive a second driving signal of the reverse rotation driving end of the motor, and output a second voltage signal which is in a second preset ratio with the second driving signal; the controller is used to determine the motor driving capacity of the valve-controlled water meter to be tested according to the first voltage signal and the second voltage signal. The driving circuit for simulating a motor simulates the function of the motor through a hardware circuit, alleviates the technical problems of low efficiency and more by-products in the detection method of the motor driving capacity of the existing valve-controlled water meter, can improve the detection efficiency, and reduce the by-products in the detection process.
[0047] Example 2
[0048] In this embodiment, Figure 6 A schematic structural diagram of a water meter detection system provided in an embodiment of the utility model.
[0049] Depend on Figure 6 As can be seen, the water meter detection system includes: the above-mentioned drive circuit 61 for simulating the motor, and also includes a valve-controlled water meter 62 to be tested connected to the above-mentioned drive circuit.
[0050] The water meter detection system provided in this embodiment has the same technical features as the driving circuit for simulating a motor provided in the above-mentioned embodiment 1, so it can also solve the same technical problems and achieve the same technical effects. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the touch screen described above can refer to the corresponding structure of the driving circuit for simulating a motor in the above-mentioned embodiment 1, and will not be repeated here.
[0051] In the description of the present utility model, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inside", "outside", etc. indicate the orientation or position relationship based on the orientation or position relationship shown in the accompanying drawings, or the orientation or position relationship in which the utility model product is usually placed when in use, which is only for the convenience of describing the utility model and simplifying the description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present utility model. In addition, the terms "first", "second", "third", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.
[0052] In the description of the present utility model, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "set", "install", "connected", and "connected" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal connection of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present utility model can be understood according to specific circumstances. Finally, it should be explained that the above embodiments are only used to illustrate the technical solution of the present utility model, not to limit it; although the present utility model is described in detail with reference to the aforementioned embodiments, ordinary technicians in this field should understand that it is still possible to modify the technical solutions recorded in the aforementioned embodiments, or to replace some or all of the technical features therein with equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present utility model.
Claims
1. A driving circuit for simulating a motor, characterized in that: include: Analog motor forward detection circuit, analog motor reverse detection circuit and controller; The controller is respectively connected to the simulated motor forward detection circuit and the simulated motor reverse detection circuit; The simulated motor forward detection circuit is connected to the motor forward drive end of the external valve-controlled water meter to be tested; the simulated motor reverse detection circuit is connected to the motor reverse drive end of the valve-controlled water meter to be tested; The simulated motor forward rotation detection circuit is used to receive a first drive signal from the motor forward rotation drive end, and output a first voltage signal in a first preset ratio to the first drive signal; The analog motor reversal detection circuit is used to receive the second drive signal of the motor reversal drive end and output a second voltage signal in a second preset ratio with the second drive signal; The controller is used to determine the motor driving capacity of the valve-controlled water meter to be tested according to the first voltage signal and the second voltage signal.
2. The driving circuit for simulating a motor according to claim 1, characterized in that: The analog motor forward rotation detection circuit comprises: a first PMOS tube, a first resistor and a second resistor connected in sequence; a first voltage sampling point is arranged between the first resistor and the second resistor; the first voltage sampling point is used to output the first voltage signal; The analog motor reversal detection circuit comprises: a second PMOS tube, a third resistor and a fourth resistor connected in sequence; a second voltage sampling point is arranged between the third resistor and the fourth resistor; the second voltage sampling point is used to output the second voltage signal; The gate of the first PMOS tube and the gate of the second PMOS tube are both connected to the ground; the source of the first PMOS tube is connected to the fifth resistor; the source of the second PMOS tube is connected to the sixth resistor; the fifth resistor and the sixth resistor are connected to the ground.
3. The driving circuit for simulating a motor according to claim 2, characterized in that: The simulated motor forward rotation detection circuit includes: a first light emitting diode connected to the second resistor; the simulated motor reverse rotation detection circuit includes: a second light emitting diode connected to the fourth resistor.
4. The driving circuit for simulating a motor according to claim 2, characterized in that: The simulated motor forward rotation detection circuit further includes: a seventh resistor and a third PMOS tube connected in parallel with the first resistor and the second resistor; the gate of the third PMOS tube is connected to the controller; the gate of the third PMOS tube is set to a high level state by the controller; The controller is further configured to, after receiving the first drive signal from the forward drive end of the motor, convert the high level of the gate of the third PMOS tube into a low level signal when a preset time is reached, so that the third PMOS tube is turned on and the first voltage sampling point outputs a third voltage signal; The controller is also used to determine whether there is a driving abnormality in the motor driving chip of the valve-controlled water meter to be tested according to the first voltage signal and the third voltage signal.
5. The driving circuit for simulating a motor according to claim 4, characterized in that: The analog motor reversal detection circuit further includes: an eighth resistor and a fourth PMOS tube connected in parallel with the third resistor and the fourth resistor; the gate of the fourth PMOS tube is connected to the controller; the gate of the fourth PMOS tube is set to a high level state by the controller; The controller is further configured to, after receiving the second driving signal from the motor reverse driving end, convert the high level of the gate of the fourth PMOS tube into a low level signal when a preset time is reached, so that the fourth PMOS tube is turned on and the second voltage sampling point outputs a fourth voltage signal; The controller is further used to determine whether there is a driving abnormality in the motor driving chip of the valve-controlled water meter to be tested according to the second voltage signal and the fourth voltage signal.
6. The driving circuit for simulating a motor according to claim 5, characterized in that: It also includes a switch in place detection circuit connected to the controller; the switch in place detection circuit is connected to the valve-controlled water meter to be tested; The controller is also used to control the switch in place detection circuit to output a detection completion signal to feed back to the valve-controlled water meter to be tested if it is determined that there is no abnormality in the motor driving ability of the valve-controlled water meter to be tested.
7. The driving circuit for simulating a motor according to claim 6, characterized in that: The switch in place detection circuit comprises: a forward switch in place detection circuit; the forward switch in place detection circuit comprises: a ninth resistor and a fifth PMOS tube connected to each other; the ninth resistor is connected to the controller; the source of the fifth PMOS tube is connected to the valve-controlled water meter to be tested; the drain of the fifth PMOS tube and the ninth resistor are grounded; the gate of the fifth PMOS tube is set to a high level state by the controller; The controller is also used to control the gate of the fifth PMOS tube to be converted from a high level to a low level if it is determined that there is no abnormality in the motor driving ability of the valve-controlled water meter to be tested, and the fifth PMOS tube is turned on, so that the valve-controlled water meter to be tested detects that the drain of the fifth PMOS tube is grounded.
8. The driving circuit for simulating a motor according to claim 7, characterized in that: The switch in place detection circuit comprises: a reverse switch in place detection circuit; the reverse switch in place detection circuit comprises: a tenth resistor and a sixth PMOS tube connected to each other; the tenth resistor is connected to the controller; the source of the sixth PMOS tube is connected to the valve-controlled water meter to be tested; the drain of the sixth PMOS tube and the tenth resistor are grounded; the gate of the sixth PMOS tube is set to a high level state by the controller; If it is determined that there is no abnormality in the motor driving capability of the valve-controlled water meter to be tested, the controller controls the gate of the sixth PMOS tube to be converted from a high level to a low level, and the sixth PMOS tube is turned on, so that the valve-controlled water meter to be tested detects that the drain of the sixth PMOS tube is grounded.
9. The driving circuit for simulating a motor according to claim 1, characterized in that: The driving circuit also includes: a five-core wire connector; the valve-controlled water meter to be tested is connected to the analog motor forward detection circuit and the analog motor reverse detection circuit via the five-core wire connector.
10. A water meter detection system, characterized in that: The system comprises: a driving circuit for simulating a motor as claimed in any one of claims 1 to 9, and also comprises a valve-controlled water meter to be tested connected to the driving circuit.