A motorcycle handle switch based on optocoupler

By using a non-contact motorcycle handlebar switch based on optocouplers, the rotation direction is determined by a rolling light-blocking mechanism and a photosensitive element, and an electrical signal is output. This solves the problems of poor waterproof performance and limited lifespan of contact motorcycle switches, and achieves higher reliability and anti-interference.

CN224596477UActive Publication Date: 2026-08-04WUHAN ZHONGSHENG AUTOMOBILE ELECTRIC APPLIANCE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
WUHAN ZHONGSHENG AUTOMOBILE ELECTRIC APPLIANCE CO LTD
Filing Date
2025-08-25
Publication Date
2026-08-04

AI Technical Summary

Technical Problem

Existing motorcycle roller switches are contact-type structures, which have poor waterproof performance, are prone to contact wear, and have a limited service life.

Method used

A non-contact motorcycle handlebar switch based on optocoupler is adopted. The light transmission is periodically blocked or allowed by a rolling light-blocking mechanism. The rotation direction is determined by a photosensitive element and an MCU control circuit, and different electrical signals are output.

Benefits of technology

It improves the reliability and anti-interference ability of the switch, avoids mechanical wear, and extends its service life.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224596477U_ABST
    Figure CN224596477U_ABST
Patent Text Reader

Abstract

The application provides a motorcycle handle switch based on an optocoupler, comprising: an optocoupler working circuit, comprising a light source and a plurality of adjacent photoelectric elements, the photoelectric elements generating an electric signal when receiving light from the light source; a rolling light shielding mechanism, used for switching between a light shielding state and a non-light shielding state when a user controls the rotation thereof, the light shielding state being that the rolling light shielding mechanism shields the light transmitted from the light source to the photoelectric elements, and the non-light shielding state being that the rolling light shielding mechanism does not shield the light transmitted from the light source to the photoelectric elements; and an MCU control circuit, receiving the electric signals of the plurality of photoelectric elements, comparing the phase difference of the output waveforms of the photoelectric elements, determining the rotation direction of the rolling light shielding mechanism, and outputting different electric signals according to the different rotation directions of the rolling light shielding mechanism.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of switch control, and in particular relates to a motorcycle handlebar switch based on optocoupler implementation. Background Technology

[0002] Most existing motorcycle roller switches are contact-type structures, where a transmission rod or cam triggers the contact of a micro switch. This method has poor waterproof performance; embedding the circuit board in a waterproof rubber cover only protects against splashes, not immersion. The contact lifespan is limited, and the contacts are prone to wear.

[0003] Therefore, it is necessary to provide a new type of rolling switch for motorcycles. Utility Model Content

[0004] In view of this, this application provides a motorcycle handlebar switch based on optocoupler, which can turn on or off in a contactless manner, thereby improving the reliability of the switch.

[0005] This application provides a motorcycle handlebar switch based on an optocoupler, comprising: The optocoupler circuit includes a light source and multiple adjacent photosensitive elements. The photosensitive elements generate electrical signals when they receive light from the light source. A rolling light-blocking mechanism is used to switch between a light-blocking state and a non-light-blocking state when the user controls its rotation. In the light-blocking state, the rolling light-blocking structure blocks the light transmitted from the light source to the photosensitive element, and in the non-light-blocking state, the rolling light-blocking mechanism does not block the light transmitted from the light source to the photosensitive element. The MCU control circuit receives electrical signals from multiple photosensitive elements and compares the phase difference of the output waveforms of the photosensitive elements to determine the rotation direction of the rolling light-blocking structure. Different electrical signals are output according to the different rotation directions of the rolling light-blocking structure.

[0006] Optionally, the rolling shading mechanism includes: Gear drive components, used for rotation under user control; The light-shielding plate is connected to the gear transmission component.

[0007] Optionally, the gear transmission component includes: Main gear, drive gear, and driven gear; The main gear rotates under user control, and the transmission gear is used to drive the main gear and the driven gear to rotate.

[0008] Optionally, the tooth ratio of the main gear to the transmission gear is 4:5, and the tooth ratio of the driven gear to the transmission gear is 2:5.

[0009] Optionally, the edge of the light-shielding sheet is formed with a plurality of equally spaced protrusions; each of the protrusions has a recess between it, and the protrusions and the recesses are of equal size.

[0010] Optionally, the photosensitive element includes a phototransistor.

[0011] Optionally, the MCU control circuit includes a phase difference determination unit and a signal output circuit; The phase difference determination unit is used to determine the phase difference of the signals output by multiple photosensitive units in order to determine the rotation direction, thereby generating an up-flip signal or a down-flip signal; The signal output circuit activates different branches based on the up or down signal, thereby outputting different resistance values.

[0012] Optionally, the phase difference determination unit includes an HC32L110C6PA chip.

[0013] Optionally, the signal output circuit includes: First input terminal, second input terminal, and output terminal; A first transistor and multiple resistors are sequentially arranged between the first input terminal and the output terminal; A second transistor and one or more resistors are sequentially arranged between the second input terminal and the output terminal; The number of resistors between the first transistor and the output terminal is greater than the number of resistors between the second transistor and the output terminal.

[0014] Optionally, it also includes a power supply circuit for powering the optocoupler operating circuit and the MCU control circuit.

[0015] The beneficial effects of the technical solution provided in this application include: This invention proposes a motorcycle handlebar switch based on optocouplers, employing a non-contact conduction strategy. As the roller rotates, a rolling light-blocking mechanism periodically blocks or allows light to pass through, and the optocoupler outputs a pulse signal. This design offers advantages such as strong anti-interference capabilities, no mechanical wear, and long lifespan. Attached Figure Description

[0016] To more clearly illustrate the technical solutions in this utility model or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this utility model. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0017] Figure 1 This is a structural block diagram of a motorcycle handlebar switch based on an optocoupler, provided as an embodiment of this application.

[0018] Figure 2 This is a schematic diagram of the structure of an optocoupler working circuit provided in an embodiment of this application; Figure 3 This is a schematic diagram of the structure of a rolling light-shielding mechanism provided in an embodiment of this application; Figure 4 This is a schematic diagram of the structure of a rolling light-shielding mechanism provided in an embodiment of this application; Figure 5 This is a schematic diagram of the structure of a light-shielding sheet provided in an embodiment of this application; Figure 6 This is a schematic diagram of the structure of a phase difference determination unit provided in an embodiment of this application; Figure 7 This is a schematic diagram of the structure of a signal output circuit provided in an embodiment of this application; Figure 8 This is a schematic diagram of the power supply circuit provided in an embodiment of this application.

[0019] The attached figures are labeled as follows: 10: Optocoupler working circuit; 11: Light source; 12: Photosensitive element; 20: Rolling light-blocking mechanism; 21: Fixed base; 22: Gear transmission component; 221: Main gear; 222: Transmission gear; 223: Driven gear; 23: Light-blocking plate; 231: Protrusion; 232: Recess; 30: MCU control circuit; 31: Phase difference determination unit; 32: Signal output circuit. Detailed Implementation

[0020] To make the objectives, technical solutions, and advantages of this utility model clearer, the technical solutions of this utility model will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this utility model, not all embodiments. Based on the embodiments of this utility model, all other embodiments obtained by those skilled in the art without creative effort are within the protection scope of this utility model.

[0021] Figure 1 This is a structural block diagram of a motorcycle handlebar switch based on an optocoupler, provided as an embodiment of this application. See also... Figure 1 ,include: The optocoupler circuit 10 includes a light source 11 and a plurality of adjacently arranged photosensitive elements 12. The photosensitive elements 12 generate electrical signals when they receive light from the light source 11. The rolling light-blocking mechanism 20 is used to switch between a light-blocking state and a non-light-blocking state when the user controls its rotation. In the light-blocking state, the rolling light-blocking structure blocks the light transmitted from the light source 11 to the photosensitive element 12, and in the non-light-blocking state, the rolling light-blocking mechanism 20 does not block the light transmitted from the light source to the photosensitive element 12. The MCU control circuit 30 receives electrical signals from multiple photosensitive elements 12 and compares the phase difference of the output waveforms of the photosensitive elements 12 to determine the rotation direction of the rolling light-blocking structure 20. Different electrical signals are output according to the different rotation directions of the rolling light-blocking structure 20.

[0022] In one example, the light source 11 includes a light-emitting diode, and the photosensitive element 12 includes a phototransistor.

[0023] See Figure 2 In one example, the optocoupler circuit 10 consists of a resistor, a capacitor, and an optocoupler. The light-emitting diode on the left side of the optocoupler emits light to the two receiving areas on the right side, corresponding to the two outputs of the optocoupler. If the light-shielding plate does not block the light, the phototransistor of the optocoupler will conduct and output a high level; if the light-shielding plate blocks the light, the phototransistor will turn off and not output.

[0024] See Figure 3 and Figure 4 In one example, the rolling shading mechanism 20 includes: Fixture 21; Gear drive component 22, used for rotation under user control; The light-shielding plate 23 is connected to the gear transmission component.

[0025] In one example, the gear transmission element 22 includes: Roller 221, main gear 222, transmission gear 223 and driven gear 224; When the user controls the roller 221 to rotate, the main gear 222 rotates accordingly, the transmission gear 223 is used to transmit power between the main gear and the driven gear, and the driven gear 224 is used to drive the light shield 23 to rotate.

[0026] In one example, the tooth ratio of the main gear 222 to the transmission gear 223 is 4:5, and the tooth ratio of the driven gear 224 to the transmission gear 223 is 2:5.

[0027] See Figure 5 In one example, the edge of the light-shielding sheet 23 is formed with a plurality of equally spaced protrusions 231; each of the protrusions 231 has a recess 232 between it, and the protrusions 231 and the recesses 232 are of the same size.

[0028] The roller 221 is connected to the main gear 222, the transmission gear 223 and the driven gear 224. Each rotation of the roller 221 is 30°. The light-shielding plate is precisely controlled to rotate 60° through the gear with a transmission ratio of 1:2. The light-shielding plate is composed of six blades evenly distributed around the circumference. The interval angle between the light-shielding plates is also 60°. That is, each rotation of the roller can make the light-shielding plate go from blocking to not blocking and then to blocking the light path of the optical coupler.

[0029] return Figure 1 In one example, the MCU control circuit includes a phase difference determination unit and a signal output circuit; The phase difference determination unit 31 is used to determine the phase difference of the signals output by multiple photosensitive units in order to determine the rotation direction, thereby generating an upward or downward signal; The signal output circuit 32 activates different branches according to the up or down signal, thereby outputting different resistance values.

[0030] See Figure 6 In one example, the phase difference determination unit 31 includes an HC32L110C6PA chip (i.e., Figure 5 (U1 in the middle).

[0031] The phase difference determination unit 31 acquires the two outputs (OUTPUT1 and OUTPUT2) of the optocoupler. By comparing the phase difference between the two output waveforms, it determines which path is blocked first. If the left path is blocked first, it indicates clockwise rotation, and if the right path is blocked first, it indicates counterclockwise rotation. At the same time, the phase difference determination unit 31 acquires the number of cycles of the waveform. Since each rotation of the roller generates a square wave of one cycle, the number of cycles of the waveform is the number of rotations of the roller.

[0032] See Figure 7 In one example, the signal output circuit 32 includes: The first input terminal (receives the up-scroll signal), the second input terminal (receives the down-scroll signal), and the output terminal (i.e., output 4). A first transistor Q2 and multiple resistors are sequentially arranged between the first input terminal and the output terminal; A second transistor Q1 and one or more resistors are sequentially arranged between the second input terminal and the output terminal; The number of resistors between the first transistor Q2 and the output terminal is greater than the number of resistors between the second transistor and the output terminal.

[0033] The phase difference determination unit 31 collects the output of the optocoupler and determines the roller's movement, i.e., how many times it flips up or down. It then uses different I / O ports to output a high level to turn on either the first transistor Q2 or the second transistor Q1. For example, flipping up will turn on Q2, outputting the resistance value of R8+R9+R10; flipping down will turn on Q1, outputting the resistance value of R10. The vehicle end uses the output resistance value to determine the current function, such as turning lights on or off based on the resistance value.

[0034] See Figure 8It also includes a power supply circuit to power the optocoupler circuit 10 and the MCU control circuit 20. The power supply circuit consists of diodes, capacitors, current-limiting resistors, TVS diodes, and a linear regulator. The diodes prevent the circuit from being connected to the power supply in reverse, the capacitors filter and suppress interference, the TVS diodes provide overvoltage clamping protection, and the linear regulator converts the vehicle's 12V to a stable 5V.

[0035] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this utility model, and not to limit it. Although this utility model has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this utility model.

Claims

1. A motorcycle handlebar switch based on optocoupler implementation, characterized in that, include: The optocoupler circuit includes a light source and multiple adjacent photosensitive elements. The photosensitive elements generate electrical signals when they receive light from the light source. A rolling light-blocking mechanism is used to switch between a light-blocking state and a non-light-blocking state when the user controls its rotation. In the light-blocking state, the rolling light-blocking structure blocks the light transmitted from the light source to the photosensitive element, and in the non-light-blocking state, the rolling light-blocking mechanism does not block the light transmitted from the light source to the photosensitive element. The MCU control circuit receives electrical signals from multiple photosensitive elements and compares the phase difference of the output waveforms of the photosensitive elements to determine the rotation direction of the rolling light-blocking structure. Different electrical signals are output according to the different rotation directions of the rolling light-blocking structure.

2. The motorcycle handlebar switch based on optocoupler as described in claim 1, characterized in that, The rolling shading mechanism includes: Gear drive components, used for rotation under user control; The light-shielding plate is connected to the gear transmission component.

3. The motorcycle handlebar switch based on optocoupler according to claim 2, characterized in that, The gear transmission component includes: Main gear, drive gear, and driven gear; The main gear rotates under user control, and the transmission gear is used to drive the main gear and the driven gear to rotate.

4. The motorcycle handlebar switch based on optocoupler according to claim 3, characterized in that, The tooth ratio of the main gear to the transmission gear is 4:5, and the tooth ratio of the driven gear to the transmission gear is 2:

5.

5. The motorcycle handlebar switch based on optocoupler according to claim 2, characterized in that, The edge of the light-shielding sheet has a plurality of equally spaced protrusions; each of the protrusions has a recess between it, and the protrusions and the recesses are of equal size.

6. The motorcycle handlebar switch based on optocoupler according to claim 1, characterized in that, The photosensitive element includes a phototransistor.

7. The motorcycle handlebar switch based on optocoupler according to claim 1, characterized in that, The MCU control circuit includes a phase difference determination unit and a signal output circuit; The phase difference determination unit is used to determine the phase difference of the signals output by multiple photosensitive units in order to determine the rotation direction, thereby generating an up-flip signal or a down-flip signal; The signal output circuit activates different branches based on the up or down signal, thereby outputting different resistance values.

8. The motorcycle handlebar switch based on optocoupler according to claim 7, characterized in that, The phase difference determination unit includes an HC32L110C6PA chip.

9. The motorcycle handlebar switch based on optocoupler according to claim 7, characterized in that, The signal output circuit includes: First input terminal, second input terminal, and output terminal; A first transistor and multiple resistors are sequentially arranged between the first input terminal and the output terminal; A second transistor and one or more resistors are sequentially arranged between the second input terminal and the output terminal; The number of resistors between the first transistor and the output terminal is greater than the number of resistors between the second transistor and the output terminal.

10. The motorcycle handlebar switch based on optocoupler according to claim 1, characterized in that, It also includes a power supply circuit to power the optocoupler operating circuit and the MCU control circuit.