Signal conditioning circuit for adjusting menu by using motor encoder and menu control circuit
By adjusting the signal conditioning circuit of the motor encoder menu, the control parameters of the intelligent vehicle can be quickly adjusted using the output signal conditioning circuit of the motor encoder. This solves the problem of inconvenient button operation, reduces circuit complexity and cost, and provides a flexible adjustment method.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- GUANGDONG UNIV OF TECH
- Filing Date
- 2025-04-17
- Publication Date
- 2026-04-21
AI Technical Summary
The current intelligent vehicle control parameters require continuous button clicks for adjustment, which is particularly inconvenient when making large adjustments.
The signal conditioning circuit for adjusting the menu is based on a motor encoder. It uses the A-phase and B-phase matrix pulse signals output by the motor encoder for conditioning, and utilizes a D touchpad, dual 4-bit binary counter chip and 4-2 input AND gate chip to adjust the menu function, thus avoiding button operation.
It enables rapid and significant adjustment of control parameters without the need for buttons, reducing circuit complexity and cost, making operation more convenient, and offering adjustable sensitivity. It is suitable for various car and rotary encoder products.
Smart Images

Figure CN224152871U_ABST
Abstract
Description
Technical Field
[0001] This utility model belongs to the field of intelligent vehicle control, specifically relating to a signal conditioning circuit that uses a motor encoder to adjust the menu. Background Technology
[0002] In controlling the smart car, most of the control parameters are input via buttons, and different control parameters can be adjusted by clicking the buttons; however, when a large adjustment of the control parameters is required, it is necessary to click the buttons continuously, which is particularly inconvenient.
[0003] Therefore, in order to solve the above problems, it is necessary to design a signal conditioning circuit that can quickly adjust the control parameters of the intelligent vehicle. Utility Model Content
[0004] To overcome the shortcomings of existing technologies, this invention provides a signal conditioning circuit that uses a motor encoder to adjust the menu. This signal conditioning circuit can quickly and significantly adjust control parameters without the need for buttons, making operation more convenient.
[0005] The second objective of this invention is to provide a menu control circuit employing the aforementioned signal conditioning circuit.
[0006] The technical solution of this utility model to solve the above-mentioned technical problems is:
[0007] A signal conditioning circuit for adjusting menus using a motor encoder includes a D flip-flop U1, a dual 4-bit binary counter chip U2, and a 4-2 input AND gate chip U3, wherein...
[0008] Pin 1 of the first interface H1, which is used to connect to the first motor encoder, is connected to pin 1CLK of the D flip-flop U1, and pin 2 is connected to pin 1D of the D flip-flop U1 and pin CLOCKA of the dual 4-bit binary counter chip U2, respectively.
[0009] Pin 1 of the second interface H2, which is used to connect to the second motor encoder, is connected to pin 2CLK of the D flip-flop U1, and pin 2 is connected to pin 2D of the D flip-flop U1 and pin CLOCKB of the dual 4-bit binary counter chip U2, respectively.
[0010] Pin 1Q of the dual 4-bit binary counter chip U2 is connected to pin 1A of the 4-2 input AND gate chip U3, pin 1Q# is connected to pin 2A of the 4-2 input AND gate chip U3, pin 2Q is connected to pin 3A of the 4-2 input AND gate chip U3, and pin 2Q# is connected to pin 4A of the 4-2 input AND gate chip U3.
[0011] Pin 1Y of the 4-2 input AND gate chip U3 is connected to pin 1 of the output interface H3, pin 2Y is connected to pin 2 of the output interface H3, pin 3Y is connected to pin 3 of the output interface H3, and pin 4Y is connected to pin 4 of the output interface H3.
[0012] Preferably, it further includes a first sensitivity selection module J1 and a second sensitivity selection module J2, wherein,
[0013] Pins 1, 3, 5, and 7 of the first sensitivity selection module J1 are connected to pins Q1A, Q2A, Q3A, and Q4A of the dual 4-bit binary counter chip U2, respectively; pins 2, 4, 6, and 8 of the first sensitivity selection module J1 are connected and connected to pins 1B and 2B of the 4-2 input AND gate chip U3, respectively.
[0014] Pins 1, 3, 5, and 7 of the second sensitivity selection module J2 are connected to pins Q1B, Q2B, Q3B, and Q4B of the dual 4-bit binary counter chip U2, respectively; pins 2, 4, 6, and 8 of the second sensitivity selection module J2 are connected and connected to pins 3B and 4B of the 4-2 input AND gate chip U3, respectively.
[0015] Preferably, pin 1 of the first interface H1 is used to receive the A-phase matrix pulse signal from the first motor encoder, and pin 2 is used to receive the B-phase matrix pulse signal from the first motor encoder; the phase difference between the A-phase matrix pulse signal and the B-phase matrix pulse signal is 90 degrees.
[0016] Preferably, pin 1 of the second interface H2 is used to receive the A-phase matrix pulse signal from the second motor encoder, and pin 2 is used to receive the B-phase matrix pulse signal from the second motor encoder; the phase difference between the A-phase matrix pulse signal and the B-phase matrix pulse signal is 90 degrees.
[0017] Preferably, pins 1CLR#, 1PRE#, VCC, 2CLR#, and 2PRE# of the D flip-flop U1 are connected to the +5V power supply; pin GND is grounded.
[0018] Preferably, the pins ENABLEA, ENABLEB, and RESETB of the dual 4-bit binary counter chip U2 are all connected to a +5V power supply; while pins RESETA and VSS are grounded.
[0019] Preferably, in the 4-2 input AND gate chip U3, pin VCC is connected to a +5V power supply, and pin GND is grounded.
[0020] Preferably, the D flip-flop U1 is of model SN74HC74; the dual 4-bit binary counter chip U2 is of model CD4520; and the 4-2 input AND gate chip U3 is of model 74HC08.
[0021] A menu control circuit includes a first motor encoder, a second motor encoder, a controller, and a display, wherein the first motor encoder and the second motor encoder are connected to the controller via the signal conditioning circuit; and the display is connected to the controller.
[0022] Preferably, the controller is a microcontroller; the display is an OLED display.
[0023] Compared with the prior art, this utility model has the following advantages and beneficial effects:
[0024] 1. The signal conditioning circuit of this utility model that uses a motor encoder to adjust the menu realizes the adjustment of menu functions through the motor encoder on the left and right wheels, without the need for button operation; this can reduce the complexity of the circuit and greatly save costs.
[0025] 2. The signal conditioning circuit of this utility model that uses a motor encoder to adjust the menu has a huge advantage over the traditional button menu in terms of adjusting menu parameter values in a large range and quickly, and the operation is more convenient and faster.
[0026] 3. The menu control circuit of this utility model has adjustable sensitivity, which is easy for different users to adapt to, and the actual test results are good.
[0027] 4. The menu control circuit of this utility model can be widely applied to various small-sized trolleys with motor encoders or other products with rotary encoders.
[0028] 5. The signal conditioning circuit of this utility model that uses a motor encoder to adjust the menu directly uses the motor encoder on the intelligent car to replace the traditional menu buttons. At the same time, the sensitivity is adjustable, and the parameters can be adjusted quickly and significantly. The adjustment performance is excellent, and it has strong convenience and practicality. Attached Figure Description
[0029] Figure 1 This is a circuit diagram of the signal conditioning circuit for adjusting menus using a motor encoder, as described in this utility model.
[0030] Figure 2 This is a waveform diagram of the A-phase matrix pulse signal and the B-phase matrix pulse signal output by the motor encoder when the wheel is rotating in the forward direction.
[0031] Figure 3 This is a waveform diagram of the A-phase matrix pulse signal and the B-phase matrix pulse signal output by the motor encoder when the wheel rotates in the opposite direction.
[0032] Figure 4 This is the actual circuit diagram of the signal conditioning circuit for adjusting the menu using a motor encoder, as described in this utility model.
[0033] Figure 5 This is a structural block diagram of the menu control signal of this utility model. Detailed Implementation
[0034] The present invention will be further described in detail below with reference to the embodiments and accompanying drawings, but the implementation of the present invention is not limited thereto.
[0035] Example 1
[0036] like Figures 1-3 As shown, when the wheel rotates, the motor encoder outputs A-phase matrix pulse signals and B-phase matrix pulse signals. By conditioning the A-phase matrix pulse signals and B-phase matrix pulse signals, the rotation direction and angular displacement of the motor encoder can be obtained. The number of output pulses is linearly related to the angular displacement. In addition, the conditioning circuit for the A-phase matrix pulse signals and B-phase matrix pulse signals only requires three simple and commonly used digital integrated chips, which is more convenient to operate than using two rotary potentiometers and less expensive than using a single rotary potentiometer.
[0037] like Figures 1-3 As shown, the phase angles of the A-phase matrix pulse signal and the B-phase matrix pulse signal differ by 90 degrees.
[0038] When the wheel rotates in the forward direction, the A-phase matrix pulse signal of the motor encoder leads the B-phase matrix pulse signal by 90 degrees. The 1Q pin of the trigger U1A outputs a high level, while the ~1Q pin outputs a low level.
[0039] When the wheel rotates in the opposite direction, the A-phase matrix pulse signal of the motor encoder lags behind the B-phase matrix pulse signal by 90 degrees. The 1Q pin of the trigger U1A outputs a low level, and the ~1Q pin outputs a high level.
[0040] Therefore, the high level output from pin 1Q and pin ~1Q of trigger U1A can be used to indicate the forward and reverse rotation of the motor encoder, respectively.
[0041] Because the frequency of the pulse signal output by the motor encoder is relatively high, in order to avoid the motor encoder adjustment being too sensitive, the B-phase matrix pulse signal is sent to a 4-bit binary counter. Then, the four counting outputs of the 4-bit binary counter are sent to the selection circuit (double row of pins + jumper cap). The jumper cap is used to select one of the counting outputs as the adjustment pulse output, which is sent to the dual-input AND gates U2A and U2B. In this way, by flexibly selecting the jumper cap to connect one of the counting outputs, different users can meet different sensitivity requirements.
[0042] The other input of the dual-input AND gates U2A and U2B is the indication signal for forward and reverse rotation, which is the output signal of pin 1Q and pin ~1Q of the trigger U1A. When the motor encoder rotates forward, output 1 outputs an adjustment pulse and output 2 outputs a low level. When the motor encoder rotates in reverse, output 1 outputs a low level and output 2 outputs an adjustment pulse. This makes it easy to enter or exit the menu and move the cursor up or down.
[0043] The signal conditioning circuits of the two motor encoders are the same, and users can choose to use the left or right motor encoder to achieve different menu adjustment functions according to their needs.
[0044] Based on the above principles, the specific circuit structure in this embodiment will be described below:
[0045] See Figure 4 The signal conditioning circuit for adjusting the menu using a motor encoder of this utility model includes a D flip-flop U1, a dual 4-bit binary counter chip U2, and a 4-2 input AND gate chip U3, wherein...
[0046] Pin 1 of the first interface H1, which is used to connect to the first motor encoder, is connected to pin 1CLK of the D flip-flop U1, and pin 2 is connected to pin 1D of the D flip-flop U1 and pin CLOCKA of the dual 4-bit binary counter chip U2, respectively.
[0047] Pin 1 of the second interface H2, which is used to connect to the second motor encoder, is connected to pin 2CLK of the D flip-flop U1, and pin 2 is connected to pin 2D of the D flip-flop U1 and pin CLOCKB of the dual 4-bit binary counter chip U2, respectively.
[0048] Pin 1Q of the dual 4-bit binary counter chip U2 is connected to pin 1A of the 4-2 input AND gate chip U3, pin 1Q# is connected to pin 2A of the 4-2 input AND gate chip U3, pin 2Q is connected to pin 3A of the 4-2 input AND gate chip U3, and pin 2Q# is connected to pin 4A of the 4-2 input AND gate chip U3.
[0049] Pin 1Y of the 4-2 input AND gate chip U3 is connected to pin 1 of the output interface H3, pin 2Y is connected to pin 2 of the output interface H3, pin 3Y is connected to pin 3 of the output interface H3, and pin 4Y is connected to pin 4 of the output interface H3.
[0050] Preferably, it further includes a first sensitivity selection module J1 and a second sensitivity selection module J2, wherein,
[0051] Pins 1, 3, 5, and 7 of the first sensitivity selection module J1 are connected to pins Q1A, Q2A, Q3A, and Q4A of the dual 4-bit binary counter chip U2, respectively; pins 2, 4, 6, and 8 of the first sensitivity selection module J1 are connected and connected to pins 1B and 2B of the 4-2 input AND gate chip U3, respectively.
[0052] Pins 1, 3, 5, and 7 of the second sensitivity selection module J2 are connected to pins Q1B, Q2B, Q3B, and Q4B of the dual 4-bit binary counter chip U2, respectively; pins 2, 4, 6, and 8 of the second sensitivity selection module J2 are connected and connected to pins 3B and 4B of the 4-2 input AND gate chip U3, respectively.
[0053] In this embodiment, the first sensitivity selection module J1 and the second sensitivity selection module J2 are selected by jumper, and different channels are selected by using jumper caps.
[0054] See Figure 4 Pin 1 of the first interface H1 is used to receive the A-phase matrix pulse signal from the first motor encoder, and pin 2 is used to receive the B-phase matrix pulse signal from the first motor encoder; the phase difference between the A-phase matrix pulse signal and the B-phase matrix pulse signal is 90 degrees.
[0055] See Figure 4 Pin 1 of the second interface H2 is used to receive the A-phase matrix pulse signal from the second motor encoder, and pin 2 is used to receive the B-phase matrix pulse signal from the second motor encoder; the phase difference between the A-phase matrix pulse signal and the B-phase matrix pulse signal is 90 degrees.
[0056] See Figure 4 In the D flip-flop U1, pins 1CLR#, 1PRE#, VCC, 2CLR#, and 2PRE# are connected to the +5V power supply; pin GND is grounded.
[0057] See Figure 4In the dual 4-bit binary counter chip U2, pins ENABLEA, ENABLEB, and RESETB are all connected to a +5V power supply; pins RESETA and VSS are grounded respectively.
[0058] See Figure 4 In the 4-2 input AND gate chip U3, pin VCC is connected to a +5V power supply, and pin GND is grounded.
[0059] See Figure 4 The D flip-flop U1 is model number SN74HC74; the dual 4-bit binary counter chip U2 is model number CD4520; and the 4-2 input AND gate chip U3 is model number 74HC08.
[0060] In this embodiment, the output terminals Y1 and Y2 of the output interface H3 (corresponding to motor encoder 1) are used to control the switching of menus at each level and the entry of the "adjust parameters" mode; the output terminals Y3 and Y4 of the output interface H3 (corresponding to motor encoder 2) are used to control the up and down movement of the menu cursor (actually corresponding to the switching of different menu items / parameters) and the adjustment of parameter values.
[0061] Example 2
[0062] See Figure 5 The menu control circuit in this embodiment includes a first motor encoder, a second motor encoder, a controller, and a display. The first motor encoder and the second motor encoder are connected to the controller through the signal conditioning circuit; the display is connected to the controller.
[0063] In this embodiment, the controller is a microcontroller; the display is an OLED display screen.
[0064] The above are preferred embodiments of the present utility model, but the embodiments of the present utility model are not limited to the above content. Any changes, modifications, substitutions, combinations, or simplifications made without departing from the spirit and principle of the present utility model shall be considered equivalent substitutions and shall be included within the protection scope of the present utility model.
Claims
1. A signal conditioning circuit for regulating a menu with a motor encoder, characterized by, This includes a D flip-flop U1, a dual 4-bit binary counter chip U2, and a 4-2 input AND gate chip U3, among which... Pin 1 of the first interface H1, which is used to connect to the first motor encoder, is connected to pin 1CLK of the D flip-flop U1, and pin 2 is connected to pin 1D of the D flip-flop U1 and pin CLOCKA of the dual 4-bit binary counter chip U2, respectively. Pin 1 of the second interface H2, which is used to connect to the second motor encoder, is connected to pin 2CLK of the D flip-flop U1, and pin 2 is connected to pin 2D of the D flip-flop U1 and pin CLOCKB of the dual 4-bit binary counter chip U2, respectively. Pin 1Q of the dual 4-bit binary counter chip U2 is connected to pin 1A of the 4-2 input AND gate chip U3, pin 1Q# is connected to pin 2A of the 4-2 input AND gate chip U3, pin 2Q is connected to pin 3A of the 4-2 input AND gate chip U3, and pin 2Q# is connected to pin 4A of the 4-2 input AND gate chip U3. Pin 1Y of the 4-2 input AND gate chip U3 is connected to pin 1 of the output interface H3, pin 2Y is connected to pin 2 of the output interface H3, pin 3Y is connected to pin 3 of the output interface H3, and pin 4Y is connected to pin 4 of the output interface H3.
2. The signal conditioning circuit for adjusting a menu with an electric motor encoder according to claim 1, characterized in that, It also includes a first sensitivity selection module J1 and a second sensitivity selection module J2, wherein, Pins 1, 3, 5, and 7 of the first sensitivity selection module J1 are connected to pins Q1A, Q2A, Q3A, and Q4A of the dual 4-bit binary counter chip U2, respectively; pins 2, 4, 6, and 8 of the first sensitivity selection module J1 are connected and connected to pins 1B and 2B of the 4-2 input AND gate chip U3, respectively. Pins 1, 3, 5, and 7 of the second sensitivity selection module J2 are connected to pins Q1B, Q2B, Q3B, and Q4B of the dual 4-bit binary counter chip U2, respectively; pins 2, 4, 6, and 8 of the second sensitivity selection module J2 are connected and connected to pins 3B and 4B of the 4-2 input AND gate chip U3, respectively.
3. The signal conditioning circuit for adjusting a menu with an encoder of an electric motor according to claim 1, characterized in that, Pin 1 of the first interface H1 is used to receive the A-phase matrix pulse signal from the first motor encoder, and pin 2 is used to receive the B-phase matrix pulse signal from the first motor encoder. The phase difference between the A-phase matrix pulse signal and the B-phase matrix pulse signal is 90 degrees.
4. The signal conditioning circuit for adjusting a menu with an encoder of an electric motor according to claim 1, characterized in that, Pin 1 of the second interface H2 is used to receive the A-phase matrix pulse signal from the second motor encoder, and pin 2 is used to receive the B-phase matrix pulse signal from the second motor encoder. The phase difference between the A-phase matrix pulse signal and the B-phase matrix pulse signal is 90 degrees.
5. The signal conditioning circuit for adjusting a menu with motor encoder according to claim 1, wherein, Pins 1CLR#, 1PRE#, VCC, 2CLR#, and 2PRE# of the D flip-flop U1 are connected to the +5V power supply; pin GND is grounded.
6. The signal conditioning circuit for adjusting a menu with motor encoder according to claim 1, wherein, The dual 4-bit binary counter chip U2 has pins ENABLEA, ENABLEB, and RESETB connected to a +5V power supply; pins RESETA and VSS are grounded.
7. The signal conditioning circuit for adjusting a menu with motor encoder according to claim 1, wherein, In the 4-2 input AND gate chip U3, pin VCC is connected to a +5V power supply, and pin GND is grounded.
8. The signal conditioning circuit for adjusting a menu with motor encoder according to claim 1, wherein, The D flip-flop U1 is model number SN74HC74; the dual 4-bit binary counter chip U2 is model number CD4520; and the 4-2 input AND gate chip U3 is model number 74HC08.
9. A menu control circuit employing the signal conditioning circuit for adjusting the menu using a motor encoder as described in any one of claims 1-8, characterized in that, It includes a first motor encoder, a second motor encoder, a controller, and a display, wherein the first motor encoder and the second motor encoder are connected to the controller via the signal conditioning circuit; and the display is connected to the controller.
10. The menu control circuit according to claim 9, characterized by The controller is a microcontroller; the display is an OLED screen.