Single pulse processing device for adjusting signal pulse width
By designing a single pulse processing device for Z-phase signal generation, and using a single pulse processing chip and a signal processing unit, the problems of limited response speed and poor consistency of Z-phase signals in the existing technology are solved, and the narrowing and stabilization of the signal are achieved. Improved performance to meet high-precision requirements.
Patent Information
- Application Number
- CN202323615197.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-28
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2033-12-28
AI Technical Summary
The existing Z-phase signal generation circuit cannot be effectively used in high-precision applications due to limited response speed and poor signal consistency. Moreover, the circuit structure is complex and parameter adjustment is difficult.
Design a single pulse processing device including an encoder, Z pulse generation circuit, single pulse processing chip and signal processing unit. The processed Z pulse signal is output through the single pulse processing chip, and the push-pull driving method and I2C protocol are used to realize the signal Narrowing and consistency improvements.
The Z-phase pulse width is narrowed to meet industry standard requirements, the circuit structure is simplified, signal stability and consistency are improved, and costs are reduced.
Smart Images

Figure CN221633718U
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of pulse processing, in particular to a single pulse processing device for adjusting signal pulse width. Background Art
[0002] The encoder Z-phase signal is often used for pulse count reset and position calibration. In the conventional Z-phase signal generation scheme, Hall elements are used in combination with magnets to achieve the generation of Z-phase signals. Due to the hysteresis effect of the magnetic sensor, the response speed is limited. At the same time, the phase consistency between the Z-phase signal and the A-phase signal and the B-phase signal is poor. The generation position of the Z-phase signal is different when the motor rotates forward and reverse, so it cannot be used in high-precision occasions.
[0003] In the prior art, a Chinese patent with publication number CN111224679A discloses a Z-phase signal generating circuit and an encoder, wherein the Z-phase signal generating circuit includes a pulse width adjustment circuit, and the pulse width adjustment circuit includes a direction determination subcircuit, a level conversion subcircuit, and an output control subcircuit. The Z-phase signal generating circuit uses a digital logic circuit to process the intermediate Z-phase signal after shaping, and can process the intermediate Z-phase signal whose original pulse width is equal to multiple incremental signal cycles into a 360° Z-phase signal whose pulse width is equal to one incremental signal cycle. However, it requires a combination of multiple components to work together to generate narrow pulses, and the circuit structure is complex, the types are many, the parameter adjustment is difficult, and the consistency is poor. Utility Model Content
[0004] The purpose of the utility model is to provide a single pulse processing device for adjusting the signal pulse width to solve the above technical problems;
[0005] A single pulse processing device for adjusting a signal pulse width, comprising:
[0006] Encoder, outputs square wave signal;
[0007] A Z pulse generating circuit outputs a Z pulse signal;
[0008] A single pulse processing chip is connected to the encoder and the Z pulse generating circuit, and the single pulse processing chip outputs a processed Z pulse signal;
[0009] A signal processing unit is connected to the single pulse processing chip.
[0010] Preferably, the single pulse processing chip comprises:
[0011] A power pin, wherein the power pin is connected to a working voltage;
[0012] a fifth input pin, the fifth input pin being connected to the Z pulse signal;
[0013] A third output pin, the third output pin being connected to the processed Z pulse signal;
[0014] A ground pin, wherein the ground pin is grounded;
[0015] A sixth input pin, the sixth input pin being connected to the first input square wave signal;
[0016] A fourth input pin, wherein the fourth input pin is connected to the second input square wave signal.
[0017] Preferably, the single pulse processing chip further includes:
[0018] A first input / output pin, wherein the first input / output pin is connected to a clock line via a first resistor in series;
[0019] The second input / output pin is connected to a data line via a second resistor in series.
[0020] Preferably, the operating voltage is 3.3V to 5V.
[0021] Preferably, the single pulse processing chip is square in shape, and the size of the single pulse processing chip is less than or equal to 5 mm×5 mm.
[0022] Preferably, a marking point is provided at the upper left corner of the first surface of the single pulse processing chip, and the shape of the marking point includes circle, square and triangle.
[0023] Preferably, a plurality of chip pins are embedded at both ends of a second surface opposite to the first surface, and a first pin, a second pin, a third pin and a fourth pin are sequentially arranged at one end of the second surface along a first direction;
[0024] The other end of the second surface is provided with a fifth pin, a sixth pin, a seventh pin and an eighth pin in sequence along a second direction opposite to the first direction.
[0025] Preferably, the first pin is located on the second surface corresponding to the position of the marking point.
[0026] The beneficial effects of the utility model are as follows: due to the adoption of the above technical solution, the Z-phase pulse width can be narrowed to meet the requirements of industry standards, the structure is simple, and the signal stability and consistency are improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 It is a connection block diagram of a single pulse processing device for adjusting signal pulse width of the utility model;
[0028] Figure 2 It is a circuit connection diagram of the single pulse processing chip of the utility model;
[0029] Figure 3 This is a first side packaging diagram of the single pulse processing chip of the utility model;
[0030] Figure 4 This is a side package diagram of the single pulse processing chip of the utility model;
[0031] Figure 5 This is a second side packaging diagram of the single pulse processing chip of the utility model;
[0032] Figure 6 It is a schematic diagram of the input signal and output signal of the single pulse processing chip of the utility model. DETAILED DESCRIPTION
[0033] The following will be combined with the drawings in the embodiments of the utility model to clearly and completely describe the technical solutions in the embodiments of the utility model. Obviously, the described embodiments are only part of the embodiments of the utility model, not all of the embodiments. Based on the embodiments of the utility model, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the utility model.
[0034] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments can be combined with each other.
[0035] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments, but they are not intended to limit the present invention.
[0036] A single pulse processing device for adjusting the signal pulse width, such as Figure 1 As shown, including,
[0037] Encoder 1, outputs square wave signal;
[0038] Z pulse generating circuit 2, outputting Z pulse signal Z_in;
[0039] The single pulse processing chip U is connected to the encoder 1 and the Z pulse generating circuit 2, and the single pulse processing chip U outputs the processed Z pulse signal Z_out;
[0040] The signal processing unit 3 is connected to the single pulse processing chip U.
[0041] Specifically, the utility model provides a single pulse processing device for adjusting the signal pulse width, which is mainly used for pulse processing, can narrow the Z-phase pulse width, has a simple structure, and improves signal stability and consistency.
[0042] In a preferred embodiment, Figure 2 As shown, the single pulse processing chip U includes:
[0043] Power supply pin VDD, power supply pin VDD is connected to working voltage V1;
[0044] The fifth input pin GPIO_4 is connected to the Z pulse signal Z_in;
[0045] A third output pin GPIO_2, the third output pin GPIO_2 is connected to the processed Z pulse signal Z_out;
[0046] The ground pin GND is connected to ground;
[0047] A sixth input pin GPI_0, the sixth input pin GPI_0 is connected to the first input square wave signal A_in; a fourth input pin GPIO_3, the fourth input pin GPIO_3 is connected to the second input square wave signal B_in;
[0048] The single pulse processing chip U also includes:
[0049] A first input / output pin GPIO_0, the first input / output pin GPIO_0 is connected to a clock line SCL via a first resistor R1 in series;
[0050] A second input-output pin GPIO_1, the second input-output pin GPIO_1 is connected to a data line SDA via a second resistor R2 in series;
[0051] The operating voltage V1 is 3.3V~5V. Within this voltage range, the circuit works more stably. The lower voltage can reduce noise and interference in the circuit and improve signal quality and data transmission reliability.
[0052] Specifically, refer to Figure 6 The first input square wave signal A_in and the second input square wave signal B_in are two orthogonal digital signals, providing high-precision and high-resolution incremental pulses. The second input square wave signal B_in is sampled with the rising edge of the first input square wave signal A_in to obtain Dir. When Dir=1, it is defined as forward, and when Dir=0, it is defined as reverse. The pulse width of the Z pulse signal Z_in is very long, including several signal cycles of the first input square wave signal A_in or the second input square wave signal B_in. The single pulse processing chip U is required to output the processed Z pulse signal Z_out, using a push-pull drive method with a drive current of mA level.
[0053] Specifically, the generated logic of the processed Z pulse signal Z_out is: in the positive direction, the processed Z pulse signal Z_out is the first first input square wave signal A_in completely contained in the first Z pulse signal Z_in. Specifically, it can be generated as follows: the Z pulse signal Z_in is sampled with the first input square wave signal A_in to obtain the synchronized Z_in', and then the first pulse of "Z_in'AND A_in" is taken.
[0054] In the reverse direction, the logic of Z_in' is the same, but the processed Z pulse signal Z_out is the Nth pulse of Z_in'AND A_in, where N is a preset integer and is set through I2C (serial communication protocol) before patching.
[0055] In addition, a Z_out_Narrow is generated, Z_out_Narrow = Z_out AND A_in AND B_in. The count value can be arbitrarily adapted to different A-phase cycle numbers under the original wide Z pulse, ensuring that the narrow Z pulses in the positive and negative directions are at the same physical position, and the anti-interference ability is strong, thereby improving signal stability and consistency and reducing costs.
[0056] In a preferred embodiment, the shape of the single pulse processing chip U is square, and the size of the single pulse processing chip U is less than or equal to 5 mm×5 mm.
[0057] Specifically, the single pulse processing chip U is small in size, saving circuit board space, and can narrow the Z phase pulse width, supporting 90°e, 180°e, 360°e or other electrical angles. The rising edge is also aligned with the first input square wave signal A_in, achieving signal standardization and chip miniaturization.
[0058] In a preferred embodiment, Figure 3 As shown, a marking point 4 is provided at the upper left corner of the first surface of the single pulse processing chip U, and the shapes of the marking point 4 include circle, square and triangle.
[0059] Specifically, the identification point 4 can be used as a marking point to determine the position and direction of the single pulse processing chip U. The identification point 4 can be used to align the single pulse processing chip U with other components or devices to ensure their correct installation and connection.
[0060] In a preferred embodiment, Figure 4 , Figure 5 As shown, a plurality of chip pins 5 are embedded at both ends of the second surface opposite to the first surface, and a first pin PIN1, a second pin PIN2, a third pin PIN3 and a fourth pin PIN4 are arranged in sequence at one end of the second surface in the first direction;
[0061] A fifth pin PIN5 , a sixth pin PIN6 , a seventh pin PIN7 and an eighth pin PIN8 are sequentially disposed at the other end of the second surface along a second direction opposite to the first direction.
[0062] Specifically, the connection capability and flexibility of the chip are increased, more circuit connections and signal transmissions are achieved, and the applicability and reliability of the chip are improved.
[0063] In a preferred embodiment, the first pin PIN1 is located on the second surface corresponding to the position of the identification point 4.
[0064] Specifically, circuit design and layout are facilitated to ensure the correct installation and connection of the single pulse processing chip U.
[0065] In the first embodiment, the spacing between the chip pins 5 is 0.5 mm, the length of the chip pins 5 is 0.2 mm to 0.4 mm, the width of the chip pins 5 is 0.2 mm to 0.3 mm, and the thickness of the chip pins 5 is 0.203 mm. Since the spacing between the pins is small, the capacitance effect is small, which can reduce the transmission delay and distortion of the signal. In addition, the smaller spacing can also reduce the inductance effect and improve the transmission rate and stability of the signal. The size of the pins also plays an important role in the transmission of narrow pulse signals. A shorter pin length can reduce the transmission time of the signal, increase the response speed of the signal, reduce the resistance and inductance, and improve the transmission quality and stability of the signal.
[0066] In summary, the present application provides a single pulse processing device for adjusting the signal pulse width, which is used for pulse processing and can narrow the Z-phase pulse width. It has a simple structure and realizes chip miniaturization. The pulse width can be arbitrarily adapted to ensure that the narrow Z pulses in the positive and negative directions are in the same physical position. It has strong anti-interference ability and low cost, and ensures the stability and consistency of the signal.
[0067] The above description is only a preferred embodiment of the present invention, and does not limit the implementation mode and protection scope of the present invention. For those skilled in the art, it should be aware that all solutions obtained by equivalent substitutions and obvious changes made using the description and illustrations of the present invention should be included in the protection scope of the present invention.
Claims
1. A single pulse processing device for adjusting the signal pulse width, It is characterized in that include, Encoder (1), outputting a square wave signal; A Z pulse generating circuit (2) outputs a Z pulse signal (Z_in); A single pulse processing chip (U) is connected to the encoder (1) and the Z pulse generating circuit (2), and the single pulse processing chip (U) outputs a processed Z pulse signal (Z_out); A signal processing unit (3) is connected to the single pulse processing chip (U).
2. The single pulse processing device for adjusting the signal pulse width according to claim 1, It is characterized in that The single pulse processing chip (U) comprises: A power pin (VDD), wherein the power pin (VDD) is connected to an operating voltage (V1); A fifth input pin (GPIO_4), wherein the fifth input pin (GPIO_4) is connected to the Z pulse signal (Z_in); A third output pin (GPIO_2), wherein the third output pin (GPIO_2) is connected to the processed Z pulse signal (Z_out); A ground pin (GND), wherein the ground pin (GND) is grounded; A sixth input pin (GPI_0), wherein the sixth input pin (GPI_0) is connected to the first input square wave signal (A_in); A fourth input pin (GPIO_3), wherein the fourth input pin (GPIO_3) is connected to a second input square wave signal (B_in).
3. The single pulse processing device for adjusting the signal pulse width according to claim 2, It is characterized in that The single pulse processing chip (U) further comprises: A first input / output pin (GPIO_0), wherein the first input / output pin (GPIO_0) is connected to a clock line (SCL) via a first resistor (R1) in series; A second input-output pin (GPIO_1), wherein the second input-output pin (GPIO_1) is connected to a data line (SDA) via a second resistor (R2) in series.
4. The single pulse processing device for adjusting the signal pulse width according to claim 2, It is characterized in that The working voltage (V1) is 3.3V to 5V.
5. The single pulse processing device for adjusting the signal pulse width according to claim 1, It is characterized in that The single pulse processing chip (U) is in a square shape, and the size of the single pulse processing chip (U) is less than or equal to 5 mm×5 mm.
6. The single pulse processing device for adjusting the signal pulse width according to claim 5, It is characterized in that A marking point (4) is provided at the upper left corner of the first surface of the single pulse processing chip (U), and the shape of the marking point (4) includes a circle, a square and a triangle.
7. The single pulse processing device for adjusting the signal pulse width according to claim 6, It is characterized in that A plurality of chip pins (5) are embedded at both ends of a second surface opposite to the first surface, and a first pin (PIN1), a second pin (PIN2), a third pin (PIN3) and a fourth pin (PIN4) are sequentially arranged at one end of the second surface in a first direction; The other end of the second surface is provided with a fifth pin (PIN5), a sixth pin (PIN6), a seventh pin (PIN7) and an eighth pin (PIN8) in sequence along a second direction opposite to the first direction.
8. The single pulse processing device for adjusting the signal pulse width according to claim 7, It is characterized in that The first pin (PIN1) is located on the second surface corresponding to the position of the identification point (4).
