[go: up one dir, main page]

CN102795297B - Moped with adjustable magnetic block position sensor on motor casing - Google Patents

Moped with adjustable magnetic block position sensor on motor casing Download PDF

Info

Publication number
CN102795297B
CN102795297B CN201210263463.8A CN201210263463A CN102795297B CN 102795297 B CN102795297 B CN 102795297B CN 201210263463 A CN201210263463 A CN 201210263463A CN 102795297 B CN102795297 B CN 102795297B
Authority
CN
China
Prior art keywords
power
assisted
signal
hall
pin
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201210263463.8A
Other languages
Chinese (zh)
Other versions
CN102795297A (en
Inventor
黄强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Gaohang Intellectual Property Operation Co ltd
QINZHOU INDUSTRY RESEARCH INSTITUTE
Original Assignee
Chengdu Kind Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Kind Technology Co Ltd filed Critical Chengdu Kind Technology Co Ltd
Priority to CN201210263463.8A priority Critical patent/CN102795297B/en
Publication of CN102795297A publication Critical patent/CN102795297A/en
Application granted granted Critical
Publication of CN102795297B publication Critical patent/CN102795297B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Control Of Electric Motors In General (AREA)

Abstract

The invention discloses a power-assisted bicycle with an adjustable magnetic block position sensor arranged on a motor shell, and relates to an electric power-assisted bicycle for providing power-assisted signals through multi-point magnetic induction. The sensor comprises a sensing element, a power-assisted model processor, a digital-to-analog converter and an operational amplifier which are connected in sequence, a plurality of permanent magnets with opposite adjacent magnetic polarities are fixedly arranged on a motor shell serving as the sensing element, the distance between the permanent magnets can be adjusted, a Hall of the sensing element is arranged on a vehicle frame close to the permanent magnets, and a motor controller of the operational amplifier is connected. The advantages are that: the Hall can obtain rectangular wave signals, the sensor can conveniently output an artificially set power-assisted model through digital processing, and the power-assisted model can be adjusted to be reasonable in power-assisted starting point, finishing point and force, so that a human machine can be optimally matched and electricity is saved.

Description

电机壳上设可调节磁块位置传感器的助力自行车Power-assisted bicycle with adjustable magnetic block position sensor on motor casing

技术领域 technical field

本发明属于助力自行车的技术领域,特别是涉及在一个转动部件上进行多点位磁感应提供助力信号的电动助力自行车。 The invention belongs to the technical field of power-assisted bicycles, in particular to an electric power-assisted bicycle that performs multi-point magnetic induction on a rotating part to provide power-assisted signals.

背景技术 Background technique

野宝车料工业(昆山)有限公司申请的中国专利201020295192.0《勾爪式力矩传感装置》公开了一种助力自行车用传感装置,传感装置包括磁性件和弹性件配合,感受力矩的传感装置。使用时间长后,弹性件的弹性系数变化就会导致传感信号与被控电机的控制效果发生变化,助力效果变得与人的助力需要不配合。而且用弹性件的设计结构复杂,制造成本高。 The Chinese patent 201020295192.0 "Claw Type Torque Sensing Device" applied by Yebao Vehicle Material Industry (Kunshan) Co., Ltd. discloses a sensing device for power-assisted bicycles. The sensing device includes a magnetic part and an elastic part to sense the torque. sensing device. After a long time of use, the change of the elastic coefficient of the elastic member will lead to changes in the sensing signal and the control effect of the controlled motor, and the power-assisted effect will not match the power-assisted needs of people. Moreover, the design structure of the elastic member is complex and the manufacturing cost is high.

北京科技大学申请的中国专利01201843.0《电动助力自行车自动检测装置》公开了一种电动助力自行车自动检测装置,无接触检测蹬力、速度和转向,该装置在相对运动的内、外轮盘上分别设磁片,内轮盘上有弹簧,内、外轮盘之间用弹簧复位,用支架上的两个霍尔测内、外轮盘上相对运动的磁片产生的电信号表示蹬力、速度和转向。 The Chinese patent 01201843.0 "Automatic Detection Device for Electric Power-assisted Bicycles" applied by Beijing University of Science and Technology discloses an automatic detection device for electric power-assisted bicycles, which detects pedaling force, speed and steering without contact. There is a spring on the inner disc, and the inner and outer discs are reset by a spring, and the two Halls on the bracket are used to measure the electrical signals generated by the relative moving magnetic discs on the inner and outer discs to indicate pedaling force, speed and steering. .

缺点(1)用弹性件不耐久:使用时间长后,弹性件的弹性系数变化就会导致传感信号与被控电机的控制效果发生变化,助力效果变得与人的助力需要不配合,结构复杂,成本高。 Disadvantages (1) The use of elastic parts is not durable: after a long time of use, the change of the elastic coefficient of the elastic parts will lead to changes in the sensing signal and the control effect of the controlled motor, and the power-assisted effect will not match the human power-assisted needs. Complicated and costly.

缺点(2)各磁片组相同且磁极设置方式都相同,而不能表示不同磁片组的各自位置,不能表达不同位置特殊的助力需求:从01201843.0专利的图3、4、5、6和说明书第2页第2段的记载说明,每一个磁片组(包括一个磁片4、一个磁片5、一个磁片6)的磁极设置方式都相同,即仅是在内轮的不同位置简单从复设置了完全相同的磁片组,不能表示不同磁片组的各自位置,不能表示特定位置的运动状态,而人骑自行车时,踏板和与踏板相对应的各位置在运动状态,都有自己特殊的助力需求,但该专利这种各磁片组相同的结构,不能表达出踏板上各个不同位置特殊的助力需求。 Disadvantage (2) Each disk group is the same and the magnetic poles are set in the same way, but it cannot express the respective positions of different disk groups, and cannot express the special power-assisted requirements of different positions: from Figure 3, 4, 5, 6 of the 01201843.0 patent and the instruction manual The record in the second paragraph of page 2 shows that the magnetic pole setting method of each magnetic sheet group (including a magnetic sheet 4, a magnetic sheet 5, and a magnetic sheet 6) is the same, that is, only the different positions of the inner wheel are simply changed from If the same set of disks is set repeatedly, the respective positions of different sets of disks cannot be represented, and the motion state of a specific position cannot be represented. When a person rides a bicycle, the pedals and the positions corresponding to the pedals are in motion and have their own Special boosting requirements, but the same structure of each magnetic sheet group in this patent cannot express the special boosting requirements of different positions on the pedal.

缺点(3)各位点信号无差异使人机不配合:每一个磁片组都一样,则每一个磁片组不能表示该磁片组在内轮上的位置,霍尔所输出的信号不能表示脚踏板和其它磁片组的位置,即霍尔输出的信号不能表示不同脚踏位置对助力的需求,造成对助力的需求和提供助力的时间不配合,即人机配合不理想。 Disadvantage (3) There is no difference in the signals of each point, so that the man-machine does not cooperate: every disk group is the same, so each disk group cannot indicate the position of the disk group on the inner wheel, and the signal output by Hall cannot express The positions of the pedals and other magnetic disc groups, that is, the signal output by the Hall cannot indicate the demand for power assistance at different pedal positions, resulting in a mismatch between the demand for power assistance and the time for providing power assistance, that is, the unsatisfactory man-machine cooperation.

缺点(4)输出正弦波使磁片组边缘距离不能小于4厘米,一般以5厘米为佳,而使可设磁片组数太少,人机配合不理想:各磁片组相同,则霍尔输出的是正弦波作为控制信号,作为控制信号正弦波必需有一定峰谷差值,由于该专利的磁片组需要一定长度表示正反向运动,在直径为20厘米的转动盘圆形轨迹上最多设8个磁片组,一般以5个为佳,霍尔才能有控制功能的正弦波信号。也就是说,01201843.0专利的这种技术方案,用于助力自行车,磁片组数量受限止在8个以内,控制信号太少,人机配合不理想。但如果多于8个磁片组,在人踏车较快时,霍尔输出的信号图形接近为一条水平线,该信号没有控制功能,不能控制电动机,使其特别需要助力时,失去助力功能。 Disadvantage (4) The output of sine wave makes the edge distance of the disk group not less than 4 cm, generally 5 cm is better, and the number of disk groups that can be set is too small, and the man-machine cooperation is not ideal: if the disk groups are the same, the Huo What I output is a sine wave as the control signal. As the control signal, the sine wave must have a certain peak-to-valley difference. Since the patented disk set needs a certain length to indicate forward and reverse motion, the circular trajectory of the rotating disc with a diameter of 20 cm There are at most 8 disk groups on the board, generally 5 is better, the Hall can have the sine wave signal of the control function. That is to say, the technical solution of the 01201843.0 patent is used for power-assisted bicycles, the number of magnetic disc groups is limited to less than 8, the control signals are too few, and the man-machine cooperation is not ideal. However, if there are more than 8 magnetic disc groups, when a person pedals faster, the signal pattern output by Hall is close to a horizontal line. This signal has no control function, and cannot control the motor, so that it loses the power assist function when it is particularly needed.

缺点(5)信号盲区达45度角,启动时需要助力的时候确得不到助力:众所周知,人踩自行车脚踏板在顶点力矩最小,从离开顶点10-45度角是最需要助力的区域,但该专利各磁片组之间的夹角为45度,在脚踏板离开顶点10-45度角区域没有一个磁片组,也就没有一个控制信号,其结果是最需要助力的时候,但助力自行车的电机确不能助力。 Disadvantage (5) The blind area of the signal is up to 45 degrees, and you can't get it when you need it when you start it: As we all know, the torque of the bicycle pedal is the smallest at the apex, and the 10-45 degrees away from the apex is the area that needs the most assistance. , but the included angle between the magnetic sheet groups in this patent is 45 degrees, and there is no magnetic sheet group in the area where the pedal is 10-45 degrees away from the apex, and there is no control signal. The result is when the power is most needed , but the motor of the power-assisted bicycle does not assist.

总之,除用弹性件不耐久又结构复杂外,因霍尔与磁片组的配合结构特点,转盘大小直径为20厘米以内,限止了磁片组数量为8组,磁片组数不能随意增加,使人机配合不理想,而且启动时得不到助力,助力需求与提供助力不匹配,骑车人的舒适性差;如强行增加磁片组数量,其传感信号又失去助力控制功能。 In short, in addition to the use of elastic parts that are not durable and have a complex structure, due to the structural characteristics of the Hall and the disk group, the size and diameter of the turntable are within 20 cm, which limits the number of disk groups to 8 groups, and the number of disk groups cannot be increased arbitrarily. , so that the human-machine cooperation is not ideal, and there is no assistance when starting, the assistance demand does not match the assistance provided, and the rider's comfort is poor; if the number of magnetic disk groups is forcibly increased, the sensor signal loses the assistance control function.

 王乃康申请的中国专利03264387.X《时间型电动助力自行车传感器》公开了不用弹性件,只用动、定两个转盘,动盘上面镶嵌两个磁磁钢,定盘上面镶嵌三个霍尔元件,自行车踏板转一周,每个霍尔产生两个脉冲,则三个霍尔元件产生六个脉冲。分折可得三个特点,四个缺点如下: Wang Naikang's Chinese patent 03264387.X "Time-Type Electric Power-assisted Bicycle Sensor" discloses that no elastic parts are used, only two moving and fixed turntables are used, and two magnetic steels are embedded on the moving disk, and three Hall elements are embedded on the fixed disk. , the bicycle pedal turns one circle, each Hall generates two pulses, and three Hall elements generate six pulses. There are three characteristics and four disadvantages as follows:

特点(1)为获得六个脉冲信号,只能是各永磁磁钢相同磁极在一面:每个霍尔要产生两个脉冲,则只能是两个磁磁钢的相同磁极设在动盘的同一面,即在动盘的某一面,两个磁磁钢都是北极或都是南极。假如在动盘的同一面,一个永磁磁钢为北极,另一个为南极,则踏板转一周,每个霍尔就只能产生一个脉冲,三个霍尔就只有三个脉冲,这就不合乎该专利说明书记载了。为了增加脉冲数,提高控制效果,只能是各永磁磁钢相同磁极在一面。 Features (1) In order to obtain six pulse signals, the same magnetic poles of the permanent magnets can only be on one side: each Hall needs to generate two pulses, and the same magnetic poles of the two magnetic steels can only be set on the moving plate The same side of the disk, that is, on a certain side of the moving plate, both magnetic steels are all north poles or all are south poles. If on the same side of the moving plate, one permanent magnet is the North Pole and the other is the South Pole, then each Hall can only generate one pulse when the pedal rotates once, and three Halls have only three pulses, which is not Conform to the description of this patent specification. In order to increase the number of pulses and improve the control effect, the same magnetic poles of the permanent magnets can only be on one side.

特点(2)永磁磁钢用于表示踏板固定位置,三个霍尔表示踏板运动位置:由于踏板与动盘是同步转动,所以在与两个踏板对应的动盘上两个位置分别固定一个永磁磁钢,某一个踏板转在什么位置,则对应的永磁磁钢也转在什么位置;但只有转在有霍尔的位置,才能通过霍尔发出控制信号,指挥助力自行车的电机产生需要的助力转动。 Features (2) The permanent magnetic steel is used to indicate the fixed position of the pedal, and the three Halls indicate the moving position of the pedal: since the pedal and the moving plate rotate synchronously, one of the two positions on the moving plate corresponding to the two pedals is respectively fixed. Permanent magnetic steel, where a certain pedal is turned, the corresponding permanent magnetic steel is also turned at that position; but only when it is turned at a position with a Hall, can a control signal be sent through the Hall to direct the motor of the power-assisted bicycle to generate Assisted rotation required.

特点(3)因为一个霍尔不能表示转一周中不同时段踏板运动的位置,则就不能只用一个霍尔:踏板在转一周中的不同时段,对助力需求是有很大差别的,要体现这种助力需求的变化,该专利用三个霍尔分别设在180度角以内的三个位置,两个磁磁钢分别设在两个踏板位置,踏板转在有霍尔的位置,该霍尔就输出信号表示踏板到达了该霍元的位置。但用多个霍尔又存在下面的缺点。 Features (3) Because one Hall cannot represent the position of the pedal movement in different periods of a revolution, it is not possible to use only one Hall: the pedal has a very different demand for power assistance during different periods of a revolution, and it must be reflected For this change in power-assisted demand, the patent uses three Halls to be set at three positions within an angle of 180 degrees, two magnetic steels are respectively set at two pedal positions, and the pedal is turned at the position where the Hall is located. Hall just outputs a signal and represents that the pedal has arrived at the position of the Huo Yuan. However, the use of multiple Halls has the following disadvantages.

作为助力自行车传感器的这些特点会有三个缺点: These features as a power-assisted bicycle sensor have three disadvantages:

缺点(1)用两个没有差异性的永磁磁钢分别表示两个踏板的固定位置,就只能用多个霍尔来表示踏板的转动位置:两个磁磁钢没有差异性,优点是可以不分左右脚的分别表示两个踏板的固定位置,使其左右脚发生助力需求,可产生相同的电机助力效果;但缺点是永磁磁钢本身就不能表示踏板的转动位置,而只能用多个霍尔设在不同的转角位置来表示踏板的转动位置,所以不能只用一个霍尔,而必需用多个霍尔。 Disadvantages (1) Using two permanent magnetic steels with no difference to represent the fixed positions of the two pedals, only multiple Halls can be used to represent the rotational positions of the pedals: the two magnetic steels have no difference, and the advantages are The fixed position of the two pedals can be indicated regardless of the left and right feet, so that the left and right feet can generate power assistance requirements, which can produce the same motor power assistance effect; but the disadvantage is that the permanent magnet itself cannot indicate the rotation position of the pedals, but can only Multiple Halls are set at different corner positions to indicate the rotational position of the pedal, so one Hall cannot be used, but multiple Halls must be used.

缺点(2)不能只用一个霍尔,而三个霍尔必然造成三个控制信号有原始分段误差,使助力需求模型失真,自然产生助力输出与助力需求不一致:助力自行车不论是一个或两个电机,其控制电机的传感信号只能用一个传感信号输入电机控制器才能达到控制电机的目的;而该专利用三个霍尔控制电机,则必需把三个霍尔的三个控制信号合并为一个合并控制信号后才能输入电机控制器。三个霍尔的传感参数不可能一样,特别是由于环境温度变化、使用时间长后,三个霍尔的传感参数可能差异很大,其结果造成相同的助力需求时,不同霍尔的输出的是不同电压,导致电机产生不同的助力输出,助力输出与助力需求不一致;同理相同的助力需求时,不同霍尔的输出的又可能是相同电压,导致电机产生同一种助力输出,也产生助力输出与助力需求不一致的问题。 Disadvantage (2) You can’t use only one Hall, but three Halls will inevitably cause the original segmentation error of the three control signals, which will distort the power-assisted demand model, and naturally produce power-assisted output inconsistent with the power-assisted demand: whether the power-assisted bicycle is one or two For a motor, the sensing signal for controlling the motor can only be achieved by inputting a sensing signal into the motor controller to achieve the purpose of controlling the motor; while the patent uses three Halls to control the motor, it is necessary to use the three Halls of the three Halls to control the motor. The signals are combined into one combined control signal before being input to the motor controller. The sensing parameters of the three Halls cannot be the same, especially due to changes in ambient temperature and long-term use, the sensing parameters of the three Halls may vary greatly. The output voltages are different, resulting in different power output of the motor, and the power output is inconsistent with the power demand; similarly, when the power demand is the same, the outputs of different Halls may be the same voltage, resulting in the same power output of the motor, and also There is a problem that the power output is inconsistent with the power demand.

缺点(3)合并控制信号易产生信号漂移,使合并控制信号与电机控制器不匹配,助力需求模型失真:由于环境温度变化、使用时间长后,三个霍尔的传感参数可能差异很大,三个霍尔的三个控制信号连接点必然变化,则相同的助力需求产生的合并控制信号就会产生分段性的信号漂移,合并控制信号作为一整体产生信号失真,即助力需求模型失真,造成电机控制器选用三个控制信号的任何一个作为基准都会产生助力输出与助力需求不一致的问题。 Disadvantage (3) The combined control signal is prone to signal drift, which makes the combined control signal not match the motor controller, and the power-assisted demand model is distorted: due to changes in ambient temperature and long-term use, the sensing parameters of the three Halls may vary greatly , the connection points of the three control signals of the three Halls must change, then the combined control signals generated by the same boost demand will produce segmental signal drift, and the combined control signals will produce signal distortion as a whole, that is, the power boost demand model distortion , causing the motor controller to choose any one of the three control signals as a reference will cause the problem that the power output is inconsistent with the power demand.

缺点(4)传感位点不能随意增加,传感位点太少,电机运行就不平稳,使骑车的人感觉很不舒服:由于有缺点(1)和缺点(2)都最因为霍尔数量大于一个造成的,很明显霍尔数量越量越多,缺点(1)和缺点(2)表现越严重。所以,该专利提供的助力自行车只能是使骑车的人感觉舒适性很不好的助力自行车。 Disadvantage (4) The sensing points cannot be increased arbitrarily. If there are too few sensing points, the motor will not run smoothly, making the rider feel very uncomfortable: due to the disadvantages (1) and (2) are the most important The number of halls is greater than one. Obviously, the more the number of halls, the more serious the shortcomings (1) and (2) are. Therefore, the power-assisted bicycle provided by this patent can only be a very bad power-assisted bicycle that makes the rider feel comfortable.

缺点(5)信号盲区达42度角,启动时需要助力的时候确得不到助力:众所周知,人踩自行车脚踏板在顶点力矩最小,从离开顶点10-45度角是最需要助力的区域,但该专利各霍尔之间的夹角为42.5-43.5度,在脚踏板离开顶点10-42度角区域没有一个霍尔,也就没有一个控制信号,其结果是最需要助力的时候,但助力自行车的电机确不能助力。 Disadvantage (5) The blind area of the signal is up to 42 degrees, and you can't get it when you need it when you start it: As we all know, the torque of the bicycle pedal is the smallest at the apex, and the 10-45 degrees away from the apex is the area that needs the most assistance. , but the included angle between the Halls in this patent is 42.5-43.5 degrees. There is no Hall in the area where the pedal is 10-42 degrees away from the apex, and there is no control signal. The result is when the power is most needed , but the motor of the power-assisted bicycle does not assist.

总之,该专利是用多个霍尔控制助力模式的技术方案,因为只能用多个霍尔来表示踏板的转动位置,多个霍尔的多个控制信号必然有原始误差,其合并控制信号又易产生信号漂移,都可造成助力需求模型失真,即不同时间的相同助力需求,但获得不同的助力效果;霍尔数量越量越多,助力需求模型失真越严重,限止了霍尔了数量,霍尔少数量了又产生电机运行就不平稳,使骑车的人感觉很不舒服,而且启动时得不到助力。使其要助力需求模型不失真,和要电机运行平稳这两个问题上总是顾此失彼,不可兼得。 In short, this patent is a technical solution for using multiple Halls to control the booster mode, because only multiple Halls can be used to represent the rotation position of the pedal, and the multiple control signals of multiple Halls must have original errors, and the combined control signals It is also easy to produce signal drift, which can cause distortion of the assist demand model, that is, the same assist demand at different times, but different assist effects; the more the number of Halls, the more serious the distortion of the assist demand model, limiting the number of Halls , a small amount of Hall will cause the motor to run unsteadily, which makes the rider feel very uncomfortable, and cannot get assistance when starting. To make it undistorted to help the demand model, and to ensure the smooth operation of the motor, there is always a trade-off between these two issues, and it is impossible to have both.

发明内容 Contents of the invention

本发明的目的是提供只用一个霍尔和电机外壳上各个永磁块之间距离不相等获得自行车脚踏板的速度和位置信号、并对信号进行数字化处理成为有最佳助力模型信号传感器的助力自行车;是一种在霍尔可感应区域内,能尽量增加永磁块数量,最大限度利用自行车位移信息,可调节输出信号模型,传感器输出信息多又精确定位的助力自行车;骑车人的助力需求与电机提供的助力匹配良好,电机运行平稳的助力自行车。 The purpose of the present invention is to provide only one Hall and the unequal distance between the permanent magnet blocks on the motor casing to obtain the speed and position signals of the bicycle pedals, and digitally process the signals to become a sensor with the best power-assisted model signal Power-assisted bicycle; it is a kind of power-assisted bicycle that can increase the number of permanent magnets as much as possible in the sensing area of Hall, maximize the use of bicycle displacement information, adjust the output signal model, and have more sensor output information and precise positioning; the rider's The assisting demand matches well with the assisting power provided by the motor, and the motor runs smoothly for a power-assisted bicycle.

本发明的构思是:在一个霍尔可感受范围内,一个电机外壳上用多个永磁块进行不同的变化方式设置,使其一个霍尔可感受全部永磁块的运动信号。多个永磁块的变化方式主要是磁极性变化、错位变化、位置可由用户调节,目的使霍尔可获得有特定位置更精确、更适合个性化需求、控制功能更强、数量更多的永磁块运动信号。 The concept of the present invention is: within the perceivable range of one Hall, a plurality of permanent magnet blocks are set in different changing modes on one motor casing, so that one Hall can sense the motion signals of all the permanent magnet blocks. The change methods of multiple permanent magnet blocks are mainly magnetic polarity change, dislocation change, and the position can be adjusted by the user. The purpose is to enable Hall to obtain permanent Magnetic block movement signal.

多个永磁块磁极性用南极北极交替变化,使霍尔产生的信号为矩形波,控制功能更强、数量更多; The magnetic polarity of multiple permanent magnet blocks is alternately changed by the south pole and the north pole, so that the signal generated by Hall is a rectangular wave, with stronger control function and more quantity;

多个永磁块错位变化使霍尔产生的信号有不同的波间距离,能表达永磁块的运动位置更精确,从而可以表达特定位置的运动状态,对于助力自行车,表达脚踏板的特定位置是在什么运动状态非常重要,因为脚踏板的运动状态直接表示了人对车的助力需求状态; The dislocation changes of multiple permanent magnet blocks make the signals generated by Hall have different inter-wave distances, which can express the motion position of the permanent magnet blocks more accurately, so that the motion state of a specific position can be expressed. For power-assisted bicycles, the specific position of the pedals can be expressed The motion state of the position is very important, because the motion state of the pedal directly expresses the state of the person's power assistance demand for the car;

永磁块位置可由用户调节,使霍尔产生的信号可用户调节,用户就可以通过户调节控制信号来调节控制方式和控制内容,具有按个性化方式进行控制的功能。 The position of the permanent magnet block can be adjusted by the user, so that the signal generated by Hall can be adjusted by the user, and the user can adjust the control mode and control content through the user adjustment control signal, and has the function of controlling in a personalized way.

本发明下述的电机外壳与转动盘为相同意义。 The following motor housing and rotating disc of the present invention have the same meaning.

本发明的结构如下: The structure of the present invention is as follows:

电机壳上设可调节磁块位置传感器的助力自行车,包括电动自行车和传感器,电动自行车的车轮上有电机30,电机30有电机外壳1,电动自行车有车架53,电动自行车上电池55连接电机控制器29,电机控制器29连接车轮上的电机30;其特征在于: The power-assisted bicycle with adjustable magnetic block position sensor is arranged on the motor casing, including electric bicycle and sensor, motor 30 is arranged on the wheel of electric bicycle, motor 30 has motor casing 1, electric bicycle has vehicle frame 53, and battery 55 is connected on the electric bicycle Motor controller 29, motor controller 29 connects the motor 30 on the wheel; It is characterized in that:

传感器的结构和部件的连接关系如下: The structure of the sensor and the connection relationship of the components are as follows:

传感器包括依次连接的传感元件、助力模型处理器21、数模转换器27和运算放大器28; The sensor includes a sensing element connected in sequence, a boost model processor 21, a digital-to-analog converter 27 and an operational amplifier 28;

[1]传感元件是把电机外壳1的转动运动变为矩形波信号输出的元件; [1] The sensing element is an element that converts the rotational movement of the motor housing 1 into a rectangular wave signal output;

传感元件包括一块电机外壳1和多枚永磁块2,电机外壳1上固定设置有多枚永磁块2,该多枚永磁块2分布在一个圆环形6范围内,圆环形6的圆形轨迹线5-1与外圆形轨迹线5-2之间至少有一条圆形轨迹线贯穿全部永磁块2;内圆形轨迹线5-1和外圆形轨迹线5-2为同心圆,至少有两枚永磁块2成错位分布;错位分布是半径错位分布方式或间距错位分布方式的某一种;或即有半径错位分布方式,又有间距错位分布的组合方式; The sensing element includes a motor casing 1 and a plurality of permanent magnet blocks 2, and the motor casing 1 is fixed with a plurality of permanent magnet blocks 2, and the plurality of permanent magnet blocks 2 are distributed within a circular ring 6, and the circular ring There is at least one circular trajectory line running through all the permanent magnet blocks 2 between the circular trajectory line 5-1 and the outer circular trajectory line 5-2 of 6; the inner circular trajectory line 5-1 and the outer circular trajectory line 5-2 2 is a concentric circle, and at least two permanent magnet blocks 2 are distributed in dislocation; the dislocation distribution is one of the dislocation distribution of radius or the dislocation of spacing; or the combination of dislocation distribution of radius and dislocation of spacing ;

半径错位分布方式是:至少有两个磁块2到内圆形轨迹线5-1所在圆中心的距离不相同; Radius dislocation distribution mode is: at least two magnetic blocks 2 have different distances from the center of the circle where the inner circular trajectory line 5-1 is located;

间距错位分布方式是:相邻两个磁块2之间的距离为永磁块间距7;至少有两条永磁块间距7的长短不相同; The spacing dislocation distribution method is: the distance between two adjacent magnetic blocks 2 is the permanent magnet block spacing 7; at least two permanent magnet block spacing 7 have different lengths;

在内圆形轨迹线5-1与外圆形轨迹线5-2之间至少有一个条形孔8,条形孔8中设有永磁块2,永磁块2能固定在条形孔8中的任何位置; There is at least one bar-shaped hole 8 between the inner circular trajectory line 5-1 and the outer circular trajectory line 5-2, and a permanent magnet block 2 is arranged in the bar-shaped hole 8, and the permanent magnet block 2 can be fixed in the bar-shaped hole anywhere in 8;

在电机外壳1的某一面,相邻两枚永磁块2的磁极性相反,即电机外壳1的某一面上全部永磁块2的磁极性分布方式是N极、S极、 N极、S极、 N极、S极……; On one side of the motor casing 1, the magnetic polarities of two adjacent permanent magnet blocks 2 are opposite, that is, the magnetic polarity distribution mode of all the permanent magnet blocks 2 on one side of the motor casing 1 is N pole, S pole, N pole, S pole. Pole, N pole, S pole...;

还包括一个霍尔3,霍尔3位于电机外壳1的某一面,霍尔3设在接近永磁块2并能感受永磁块2磁通量的位置,霍尔3与永磁块2之间有间距;霍尔3是对相反磁极性产生矩形波输出信号的霍尔; It also includes a Hall 3, Hall 3 is located on a certain side of the motor casing 1, Hall 3 is located close to the permanent magnet block 2 and can feel the magnetic flux of the permanent magnet block 2, there is a gap between the Hall 3 and the permanent magnet block 2 spacing; Hall 3 is a Hall that generates a rectangular wave output signal for the opposite magnetic polarity;

[2]助力模型处理器21是把电机外壳1转动的数字信号变为助力模型数字信号的信号形式转换器; [2] The booster model processor 21 is a signal form converter that converts the digital signal rotated by the motor casing 1 into a digital signal of the booster model;

助力模型处理器21包括模数转换和波宽识别器22、助力起点选择器23、磁块转速计算器24、助力模型存储器25和助力模型计算器26; The booster model processor 21 includes an analog-to-digital conversion and wave width identifier 22, a booster starting point selector 23, a magnet speed calculator 24, a booster model memory 25 and a booster model calculator 26;

模数转换和波宽识别器22与传感元件连接,模数转换和波宽识别器22把传感元件中霍尔3输入的矩形波信号进行识别各个矩形波的宽度,将各个矩形波信号变为不同的数字信号,对每个矩形波进行标注,模数转换和波宽识别器22输出标注有磁块位置秩序的磁块运动数字信号; The analog-to-digital conversion and wave width recognizer 22 is connected to the sensing element, and the analog-to-digital conversion and wave width recognizer 22 recognizes the width of each rectangular wave from the rectangular wave signal input by Hall 3 in the sensing element, and converts each rectangular wave signal Change into different digital signals, mark each rectangular wave, and the analog-to-digital conversion and wave width recognizer 22 outputs the magnetic block motion digital signal marked with the position order of the magnetic block;

模数转换和波宽识别器22分别与助力起点选择器23和磁块转速计算器24连接,助力起点选择器23与磁块转速计算器24连接;磁块转速计算器24用模数转换和波宽识别器22输入的标注有磁块位置秩序的磁块运动数字信号计算出电机外壳1的转速,并把电机外壳1的转速数字信号传给助力起点选择器23,助力起点选择器23用标注有磁块位置秩序的磁块运动数字信号,和电机外壳1的转速数字信号这两个信号确定在某种转速条件下的助力起点对应的某一个矩形波,即确定助力起点磁块; Analog-to-digital conversion and wave width recognizer 22 are respectively connected with power-assisted starting point selector 23 and magnetic block speed calculator 24, and power-assisted starting point selector 23 is connected with magnetic block speed calculator 24; Magnetic block speed calculator 24 uses analog-to-digital conversion and The wave width recognizer 22 inputs the magnetic block movement digital signal marked with the position order of the magnetic block to calculate the rotational speed of the motor housing 1, and transmits the rotational speed digital signal of the motor housing 1 to the power-assisted starting point selector 23, which is used for the power-assisted starting point selector 23. The magnetic block motion digital signal marked with the position order of the magnetic block and the digital signal of the speed of the motor casing 1 determine a certain rectangular wave corresponding to the starting point of the power assist under a certain speed condition, that is, determine the magnetic block of the starting point of the power assist;

助力起点选择器23和磁块转速计算器24分别都与助力模型计算器26连接,助力模型存储器25也与助力模型计算器26连接;助力模型计算器26用助力起点选择器23的助力起点磁块,和用磁块转速计算器24的电机外壳1转速这两个条件选择助力模型存储器25中的某一种助力模型函数,并将助力起点磁块和电机外壳1转速这两个条件代入助力模型函数,计算出适合这两个条件的助力模型数字信号,即助力模型计算器26输出助力模型数字信号; The power-assisted starting point selector 23 and the magnetic block rotating speed calculator 24 are all connected with the power-assisted model calculator 26 respectively, and the power-assisted model memory 25 is also connected with the power-assisted model calculator 26; block, and use the two conditions of the motor housing 1 speed of the magnetic block speed calculator 24 to select a certain power-assisted model function in the power-assisted model memory 25, and substitute the two conditions of the power-assisted starting point magnetic block and the motor housing 1 speed into the power-assisted The model function calculates the booster model digital signal suitable for these two conditions, that is, the booster model calculator 26 outputs the booster model digital signal;

[3]数模转换器27是把助力模型数字信号转换成助力模型的模拟信号; [3] The digital-to-analog converter 27 converts the digital signal of the booster model into an analog signal of the booster model;

助力模型计算器26与数模转换器27连接,数模转换器27把助力模型计算器26的助力模型数字信号转换成助力模型模拟信号; The booster model calculator 26 is connected to the digital-to-analog converter 27, and the digital-to-analog converter 27 converts the booster model digital signal of the booster model calculator 26 into a booster model analog signal;

[4]运算放大器28是把数模转换器27的助力模型模拟信号转换成额定电压范围的助力模型模拟信号; [4] The operational amplifier 28 converts the booster model analog signal of the digital-to-analog converter 27 into a booster model analog signal of a rated voltage range;

传感器与电动自行车的连接关系是:霍尔3固定在接近永磁块2的车架53上能感受永磁块2磁通量的位置,传感器中运算放大器28的信号输出导线与电动自行车的电机控制器29的信号输入端连接。 The connection relationship between the sensor and the electric bicycle is: Hall 3 is fixed on the vehicle frame 53 close to the permanent magnet block 2 and can feel the position of the magnetic flux of the permanent magnet block 2, the signal output wire of the operational amplifier 28 in the sensor is connected with the motor controller of the electric bicycle 29 signal input terminal connection.

一、对传感器工作原理的说明:以工作原理把传感器分为信号获取和信号处理,以便说明传感器的各个部件的结构关系和作用。信号获取由传感元件的电机外壳1、永磁块2和霍尔3进行合理设置而执行获取信号功能;信号处理由助力模型处理器21、数模转换器27和运算放大器28依次连接把霍尔3输出的信号处理成电动自行车的电机控制器29能使用的助力模型模拟信号。 1. Explanation of the working principle of the sensor: the sensor is divided into signal acquisition and signal processing according to the working principle, so as to explain the structural relationship and function of each component of the sensor. The signal acquisition is carried out by the motor casing 1 of the sensing element, the permanent magnet block 2 and the Hall 3, and the function of acquiring the signal is performed; The signal output by Er 3 is processed into a power-assisted model analog signal that can be used by the motor controller 29 of the electric bicycle.

[一]对传感元件的说明: [1] Description of the sensing element:

使用传感元件时,电机外壳1要转动,所以电机外壳1又称转动盘,转动的中心就是多个永磁块2成圆环形分布所在圆的中心。 When using the sensing element, the motor casing 1 will rotate, so the motor casing 1 is also called a rotating disk, and the center of rotation is the center of the circle where the plurality of permanent magnet blocks 2 are distributed in a circular shape.

多个永磁块2在圆环形6范围内,成圆环形分布的目的在于可以只用一个霍尔3感受转动盘上全部永磁块2的运动状态,即感受转动盘上全部永磁块2的运动位置和速度,以及速度的变化,或称加速度,这一个霍尔3就能把永磁块2的运动状态用一个连续的电信号来表达,又因为全部永磁块2是分别固定在转动盘即电机外壳1上的,则霍尔3产生的连续电信号就能表达转动盘的运动状态。如果把这个连续电信号用于控制其它物体,这个连续电信号就是控制信号。如果用于控制助力自行车的电机,还需要用单片机或其它电子元件作为传感信号处理器,把控制信号中的位置、速度、加速度要素转换成需要助力多少的助力信号,换算的函数就是助力需求模型,或称助力模型。 A plurality of permanent magnet blocks 2 are distributed in a circular shape within the range of the circular ring 6. The purpose of the distribution is that only one Hall 3 can be used to feel the motion state of all the permanent magnet blocks 2 on the rotating disk, that is, to feel all the permanent magnets on the rotating disk. The movement position and speed of block 2, and the change of speed, or acceleration, this Hall 3 can express the motion state of permanent magnet block 2 with a continuous electrical signal, and because all permanent magnet blocks 2 are respectively If it is fixed on the rotating disk, that is, the motor casing 1, the continuous electrical signal generated by Hall 3 can express the motion state of the rotating disk. If this continuous electrical signal is used to control other objects, this continuous electrical signal is a control signal. If it is used to control the motor of a power-assisted bicycle, it is also necessary to use a single-chip microcomputer or other electronic components as a sensor signal processor to convert the position, speed, and acceleration elements in the control signal into the power-assisted signal of how much power is needed. The conversion function is the power-assisted demand model, or booster model.

多个永磁块2成错位分布的意义是:使霍尔3产生的电信号中不是完全一样的脉冲信号,而是脉冲宽度不同的脉冲信号,用有区别的脉冲信号来区别永磁块2的不同位置,从而可以获得不同位置永磁块2的运动状态。达到可精确表达转动盘某个位置,或每个有永磁块2的运动状态。如用于助力自行车,可精确表达脚踏在不同位置对助力的需求,使助力需求的表达更精确,则车与人的配合就更一致。 The meaning of dislocation distribution of multiple permanent magnet blocks 2 is: the electrical signal generated by Hall 3 is not exactly the same pulse signal, but a pulse signal with different pulse width, and the permanent magnet block 2 is distinguished by a different pulse signal. different positions, so that the motion state of the permanent magnet block 2 at different positions can be obtained. A certain position of the rotating disk can be accurately expressed, or the motion state of each permanent magnet block 2 can be achieved. If it is used for power-assisted bicycles, it can accurately express the needs of the pedals for power assistance at different positions, so that the expression of power-assisted needs can be more precise, and the cooperation between the car and the person will be more consistent.

永磁块2半径错位分布方式是:有的永磁块2离转动盘的转动中心近,有的永磁块2离转动盘的转动中心远。但不论远近,永磁块2必需在霍尔3所能感受、能产生电信号的范围内。能产生电信号的范围就是内圆形轨迹线5-1与外圆形轨迹线5-2之间的范围。为保证霍尔3能产生电信号,结构上要求内圆形轨迹线5-1与外圆形轨迹线5-2之间至少有一条圆形轨迹线贯穿全部永磁块2。至少有两个磁块2到内圆形轨迹线5-1所在圆中心的距离不相同,当然可以每个永磁块2到圆中心的距离不相同,即每个永磁块2的半径不相同,以使霍尔3电信号的每个脉冲都可以表示特定的永磁块2,使每个脉冲都可以表示一个转动盘位置。 The radial dislocation distribution mode of the permanent magnet blocks 2 is: some permanent magnet blocks 2 are close to the rotation center of the rotating disk, and some permanent magnet blocks 2 are far away from the rotation center of the rotating disk. But regardless of the distance, the permanent magnet block 2 must be within the range that the Hall 3 can sense and generate electrical signals. The range where electric signals can be generated is the range between the inner circular trajectory line 5-1 and the outer circular trajectory line 5-2. In order to ensure that the Hall 3 can generate electrical signals, it is structurally required that at least one circular trajectory line runs through all the permanent magnet blocks 2 between the inner circular trajectory line 5-1 and the outer circular trajectory line 5-2. At least two magnetic blocks 2 have different distances from the center of the circle where the inner circular locus line 5-1 is located, and of course the distances from each permanent magnet block 2 to the center of the circle are different, that is, the radius of each permanent magnet block 2 is different. The same, so that each pulse of the Hall 3 electric signal can represent a specific permanent magnet block 2, so that each pulse can represent a rotating disk position.

永磁块2间距错位分布方式是:以永磁块2的外边缘作为测定间距的基础,至少有两条永磁块间距7的长短不相同,当然可以每条永磁块间距7的长短不相同,以使霍尔3电信号的每个脉冲都可以表示特定的永磁块2,使每个脉冲都可以表示一个转动盘位置。 The dislocation distribution mode of the permanent magnet block 2 spacing is: with the outer edge of the permanent magnet block 2 as the basis for measuring the spacing, there are at least two permanent magnet block spacings 7 of different lengths, and of course the length of each permanent magnet block spacing 7 is different. The same, so that each pulse of the Hall 3 electric signal can represent a specific permanent magnet block 2, so that each pulse can represent a rotating disk position.

获得永磁块2成错位分布有两种方法,第一种是把永磁块2固定在电机外壳1上时,就至少有两枚永磁块2成错位分布。第二种是利用条形孔8中有多个位置都可以设有永磁块2,在电机外壳1上至少用一个条形孔8,把一个或多个永磁块2设在条形孔8中,随时可按人的需要改变永磁块2的位置,也就是调节永磁块2所在条形孔8中的位置,调节后将其固定,所以,有条形孔8就能随时调节永磁块2错位分布方式,可用同一个永磁块2使霍尔3产生不同的输出信号,产生不同的控制效果。如用于助力自行车,可使车给与人不同的助力效果。 There are two ways to obtain the dislocation distribution of the permanent magnet blocks 2 . The first method is when the permanent magnet blocks 2 are fixed on the motor casing 1 , there are at least two permanent magnet blocks 2 in a dislocation distribution. The second is to utilize a plurality of positions in the strip hole 8 to be provided with a permanent magnet block 2, use at least one strip hole 8 on the motor housing 1, and set one or more permanent magnet blocks 2 in the strip hole 8, the position of the permanent magnet block 2 can be changed at any time according to people's needs, that is, the position in the strip hole 8 of the permanent magnet block 2 is adjusted, and it is fixed after adjustment, so the strip hole 8 can be adjusted at any time. The dislocation distribution of the permanent magnet block 2 can use the same permanent magnet block 2 to make the Hall 3 generate different output signals and produce different control effects. If used for assisting bicycles, the bicycle can be given different assisting effects for different people.

霍尔3设在接近永磁块2并能感受永磁块2磁通量的位置,目的在于用霍尔3感受永磁块2的运动状态,从而感受电机外壳1的运动状态,即运动位置、速度、加速度。 Hall 3 is located close to the permanent magnet block 2 and can feel the magnetic flux of the permanent magnet block 2. The purpose is to use the Hall 3 to feel the motion state of the permanent magnet block 2, so as to feel the motion state of the motor casing 1, that is, the motion position and speed , acceleration.

相邻两个磁块2的磁极性相反是很重要的技术特征,全部永磁块2的磁极性分布方式是N极、S极、 N极、S极、 N极、S极……,使霍尔3输出高、低相间的矩形波信号,因为作为大小受限止的转动盘,转动一周要获得尽量多的精确变化信号,当然应是选用矩形波。矩形波信号的峰谷值变化的时间短,可在一定的时间内,产生尽量多的有控制意义的信号。相邻两个磁块2的磁极性相反的结构产生矩形波,而相邻两个磁块2的磁极性相同的结构产生正弦波,特别是用于助力自行车时,作为传感部件的转动盘一般限止在直径为10-15厘米,在这种限范围要获得有控制功能的信号,转动一周,产生矩形波比产生正弦波可提供的脉冲个数多7-9倍。自然,相邻两个磁块2的磁极性相反的结构对助力自行车的控制效果更的,人与车配合更好,乘骑人感觉更舒服。 The opposite magnetic polarity of two adjacent magnetic blocks 2 is a very important technical feature, and the magnetic polarity distribution mode of all permanent magnet blocks 2 is N pole, S pole, N pole, S pole, N pole, S pole..., so that Hall 3 outputs high and low alternating rectangular wave signals, because as a rotating disc with a limited size, it is necessary to obtain as many accurate change signals as possible after one rotation, of course, rectangular waves should be used. The change time of the peak-to-valley value of the rectangular wave signal is short, which can generate as many control-significant signals as possible within a certain period of time. A structure with opposite magnetic polarities of two adjacent magnetic blocks 2 produces a rectangular wave, while a structure with the same magnetic polarity of two adjacent magnetic blocks 2 produces a sine wave, especially when used for power-assisted bicycles, as a rotating disk of a sensing component It is generally limited to a diameter of 10-15 cm. In this limited range, a signal with a control function must be obtained. After one revolution, the number of pulses generated by a rectangular wave is 7-9 times greater than that of a sine wave. Naturally, the opposite structure of the magnetic polarities of the two adjacent magnetic blocks 2 has a better control effect on the power-assisted bicycle, the cooperation between the human and the vehicle is better, and the rider feels more comfortable.

[二]助力模型处理器21的说明:助力模型处理器21是把电机外壳1转动的数字信号变为助力模型数字信号的信号形式转换器; [2] Description of the booster model processor 21: the booster model processor 21 is a signal format converter that converts the digital signal of the motor housing 1 rotation into a digital signal of the booster model;

助力模型处理器21包括模数转换和波宽识别器22、助力起点选择器23、磁块转速计算器24、助力模型存储器25和助力模型计算器26;这些部件对信号的处理思路是:把传感元件中霍尔3的矩形波信号分解出表示磁块2位置的位置数字信号,和表示电机外壳1转速的速度数字信号,由于位置和速度都是数字信号,就可以对位置和速度用助力数学模型处理,可以按人的最佳感觉进行设计助力数学模型,使其助力模型处理器21输出的助力模型数字信号即具有最佳助力数学模型,又有该助力数学模型的启动点和终止点,因为有磁块2的位置数字信号,所以启动点和终止可准确到与人的助力需求完全同步。解决了现有技术没有磁块2位置信号而导致人的助力需求与助力模型不匹配,和助力模型的运行延迟于助力需求的问题,解决了现有技术要力不给力,要大力只给小力,要小力又给大力,不要力又给力等人机不配合的问题。助力模型处理器21中各部件的连接关系和功能如下: The booster model processor 21 includes an analog-to-digital conversion and wave width identifier 22, a booster starting point selector 23, a magnetic block rotational speed calculator 24, a booster model memory 25 and a booster model calculator 26; the processing ideas of these components to signals are: The rectangular wave signal of Hall 3 in the sensor element is decomposed into a position digital signal representing the position of the magnetic block 2 and a speed digital signal representing the rotation speed of the motor casing 1. Since the position and speed are both digital signals, the position and speed can be used The boost mathematical model processing can be designed according to the best feeling of people, so that the boost model digital signal output by the boost model processor 21 has the best boost mathematical model, and the start point and termination of the boost mathematical model point, because there is a digital signal of the position of the magnetic block 2, so the starting point and the ending point can be accurate enough to be fully synchronized with the power-assisted demand of the person. It solves the problem that there is no position signal of the magnetic block 2 in the existing technology, which leads to the mismatch between the power-assist demand of people and the power-assisted model, and the operation of the power-assisted model is delayed compared with the power-assisted demand. Force, small force and strong force, no force and strong force, etc. The problem of man-machine mismatch. The connection relationship and the function of each part in the booster model processor 21 are as follows:

模数转换和波宽识别器22与传感元件连接,模数转换和波宽识别器22把传感元件中霍尔3输入的矩形波信号进行识别各个矩形波的宽度,将各个矩形波信号变为不同的数字信号,对每个矩形波进行标注,模数转换和波宽识别器22输出标注有磁块位置秩序的矩形波信号。这样,把波形有长度区别的矩形波信号变为用数据标注的矩形波信号,方便在后面的数字化处理过程中,把矩形波长度变为矩形波位置数据进行运算处理。所以,模数转换和波宽识别器22是把矩形波长度表示磁块位置的信号,变为用数据标注磁块位置的数字信号的处理器。这是本发明区别于现有助力自行车的重要发明点,有了用数据标注磁块位置的数字信号,本发明就能在循环圆周运动的电机外壳1上找到某一个或每个磁块位置,为电机30启动产生助力、增加助力、减少助力、停止助力等电机30工作找到了起点和终点,使人的助力需求与电机30助力行为能相匹配,避免了现有助力自行车难以实现人机配合,出现需要助力时电机30不转动,不需要助力时电机30还保持运动不能停下来,甚至造成冲撞事故的问题。 The analog-to-digital conversion and wave width recognizer 22 is connected to the sensing element, and the analog-to-digital conversion and wave width recognizer 22 recognizes the width of each rectangular wave from the rectangular wave signal input by Hall 3 in the sensing element, and converts each rectangular wave signal Change into different digital signals, mark each rectangular wave, and the analog-to-digital conversion and wave width identifier 22 outputs a rectangular wave signal marked with the position order of the magnetic block. In this way, the rectangular wave signal with different waveform lengths is changed into a rectangular wave signal marked with data, which is convenient for converting the length of the rectangular wave into rectangular wave position data for calculation and processing in the subsequent digitization process. Therefore, the analog-to-digital conversion and wave width identifier 22 is a processor that converts the signal whose rectangular wave length represents the position of the magnetic block into a digital signal that marks the position of the magnetic block with data. This is an important invention point that the present invention is different from existing power-assisted bicycles. With the digital signal marking the position of the magnetic block with data, the present invention can find a certain or each magnetic block position on the motor housing 1 that moves in a circular motion. The motor 30 has found a starting point and an end point for the motor 30 to generate power, increase power, reduce power, stop power, etc., so that people's power needs can be matched with the power behavior of the motor 30, avoiding the difficulty of man-machine cooperation in existing power-assisted bicycles , motor 30 does not rotate when needing booster, and motor 30 also keeps moving and cannot stop when not needing booster, even causes the problem of collision accident.

模数转换和波宽识别器22分别与助力起点选择器23和磁块转速计算器24连接,助力起点选择器23与磁块转速计算器24连接;磁块转速计算器24用模数转换和波宽识别器22输入的标注有磁块位置秩序的磁块运动数字信号计算出电机外壳1的转速,并把电机外壳1的转速数字信号传给助力起点选择器23,助力起点选择器23用标注有磁块位置秩序的磁块运动数字信号,和电机外壳1的转速数字信号这两个信号确定在某种转速条件下的助力起点对应的某一个矩形波,即确定助力起点磁块。由于,确定的助力起点磁块是有数据标注的矩形波,则助力起点磁块有唯一对应的磁块2位置,这样,助力起点选择器23完成了找出助力起始点的磁块2位置,也就可以确定某个磁块2在什么位置时,启动或结束电机进行某种助力模型运动。这就达到人控制电机外壳1的特定磁块2同步运动,特定磁块2控制电机30进行特定的同步转动,实现人同步控制电机的目的,不会出现控制的起点和终点不准确,不会出现控制的起点和终点延迟的问题。但现有助力自行车在启止助力时,都找不到与人同步的启止位置,所以都会产生控制的起点和终点延迟的问题。 Analog-to-digital conversion and wave width recognizer 22 are respectively connected with power-assisted starting point selector 23 and magnetic block speed calculator 24, and power-assisted starting point selector 23 is connected with magnetic block speed calculator 24; Magnetic block speed calculator 24 uses analog-to-digital conversion and The wave width recognizer 22 inputs the magnetic block movement digital signal marked with the position order of the magnetic block to calculate the rotational speed of the motor housing 1, and transmits the rotational speed digital signal of the motor housing 1 to the power-assisted starting point selector 23, which is used for the power-assisted starting point selector 23. The magnetic block motion digital signal marked with the position order of the magnetic block and the digital signal of the speed of the motor casing 1 determine a certain rectangular wave corresponding to the starting point of the power assist under a certain speed condition, that is, determine the magnetic block of the starting point of the power boosting. Because the determined boost starting point magnetic block is a rectangular wave marked with data, then the boost starting point magnetic block has a unique corresponding magnetic block 2 position, so that the boost starting point selector 23 has completed finding the magnetic block 2 position of the boost starting point, It is also possible to determine the position of a certain magnetic block 2 to start or end the motor to perform some kind of power-assisted model motion. This just achieves the synchronous movement of the specific magnetic block 2 of the motor housing 1 controlled by the human, and the specific magnetic block 2 controls the motor 30 to perform specific synchronous rotation, so as to realize the purpose of synchronous control of the motor by humans, and the starting point and end point of the control will not be inaccurate. There is a problem of delay in the start and end of the control. However, the existing power-assisted bicycles cannot find the starting and stopping positions synchronized with people when starting and stopping the booster, so the starting and ending points of the control are delayed.

助力起点选择器23和磁块转速计算器24分别都与助力模型计算器26连接,助力模型存储器25也与助力模型计算器26连接;助力模型计算器26用助力起点选择器23的助力起点磁块,和用磁块转速计算器24的电机外壳1转速这两个条件选择助力模型存储器25中的某一种助力模型函数,并将助力起点磁块和电机外壳1转速这两个条件代入助力模型函数,计算出适合这两个条件的助力模型数字信号,即助力模型计算器26就能输出助力模型数字信号。 The power-assisted starting point selector 23 and the magnetic block rotating speed calculator 24 are all connected with the power-assisted model calculator 26 respectively, and the power-assisted model memory 25 is also connected with the power-assisted model calculator 26; block, and use the two conditions of the motor housing 1 speed of the magnetic block speed calculator 24 to select a certain power-assisted model function in the power-assisted model memory 25, and substitute the two conditions of the power-assisted starting point magnetic block and the motor housing 1 speed into the power-assisted The model function calculates the digital signal of the booster model that meets the two conditions, that is, the booster model calculator 26 can output the digital signal of the booster model.

[三]对数模转换器27的说明:数模转换器27是把助力模型数字信号转换成助力模型的模拟信号。 [3] Explanation of the digital-to-analog converter 27: the digital-to-analog converter 27 converts the digital signal of the booster model into an analog signal of the booster model.

助力模型计算器26与数模转换器27连接,数模转换器27把助力模型计算器26的助力模型数字信号转换成助力模型模拟信号。以便向只能处理模拟信号的电机控制器29输出助力模型的模拟信号。 The booster model calculator 26 is connected to a digital-to-analog converter 27, and the digital-to-analog converter 27 converts the booster model digital signal of the booster model calculator 26 into a booster model analog signal. In order to output the analog signal of the booster model to the motor controller 29 which can only process analog signals.

[四]对运算放大器28的说明:运算放大器28是把数模转换器27的助力模型模拟信号转换成额定电压范围的助力模型模拟信号。 [4] Description of the operational amplifier 28: the operational amplifier 28 converts the analog signal of the booster model from the digital-to-analog converter 27 into an analog signal of the booster model in the rated voltage range.

数模转换器27与运算放大器28连接,数模转换器27的助力模型模拟信号虽然解决了助力模型问题,但助力模型信号的电压还不能满足电机控制器29的需要,所以还要用运算放大器28把助力模型模拟信号转换成额定电压范围需要的助力模型模拟信号,才能传输给电机控制器29。 The digital-to-analog converter 27 is connected with the operational amplifier 28. Although the booster model analog signal of the digital-to-analog converter 27 solves the problem of the booster model, the voltage of the booster model signal can not meet the needs of the motor controller 29, so an operational amplifier is also used 28 converts the analog signal of the booster model into the analog signal of the booster model required by the rated voltage range, and then transmits it to the motor controller 29 .

二、对传感器与电动自行车连接组成助力自行车的说明: 2. Description of the connection between the sensor and the electric bicycle to form a power-assisted bicycle:

为说明实物安装,从实物方面传感器分为机械部件和传感部件,以说明传感器的各个实物与电动自行车各有关实物的结构关系。传感部件包括霍尔3、助力模型处理器21、数模转换器27和运算放大器28,把霍尔3固定在接近永磁块2的车架53位置,使霍尔3能感受到电机外壳1上永磁块2的转动信号。也可以把传感部件的霍尔3、助力模型处理器21、数模转换器27和运算放大器28固定在一个装置上。但因为霍尔3要固定在能感受永磁块2磁通量的特有位置,则可以把霍尔3与助力模型处理器21、数模转换器27和运算放大器28这三个部件分离开,只把助力模型处理器21、数模转换器27和运算放大器28这三个部件固定在一个装置上。把全部传感部件或传感部件中的助力模型处理器21、数模转换器27和运算放大器28这三个部件固定在一个装置上,有利于一个有形的装置承载传感部件,用承载物把传感部件固定在电动自行车的车架53上。 In order to illustrate the physical installation, the sensor is divided into mechanical parts and sensing parts from the physical aspect, so as to illustrate the structural relationship between each object of the sensor and each related object of the electric bicycle. Sensing components include Hall 3, booster model processor 21, digital-to-analog converter 27 and operational amplifier 28, and Hall 3 is fixed at the position of vehicle frame 53 close to permanent magnet block 2, so that Hall 3 can feel the motor shell Rotation signal of permanent magnet block 2 on 1. It is also possible to fix the Hall 3 of the sensing component, the booster model processor 21, the digital-to-analog converter 27 and the operational amplifier 28 on one device. But because the Hall 3 will be fixed at a unique position that can feel the magnetic flux of the permanent magnet block 2, the Hall 3 can be separated from these three parts of the booster model processor 21, the digital-to-analog converter 27 and the operational amplifier 28, and only the The three components of the booster model processor 21, the digital-to-analog converter 27 and the operational amplifier 28 are fixed on one device. Fixing these three parts of all the sensing parts or the booster model processor 21, the digital-to-analog converter 27 and the operational amplifier 28 in the sensing parts on one device will help a tangible device to carry the sensing parts, and use the carrier The sensing part is fixed on the vehicle frame 53 of the electric bicycle.

霍尔3能用一个固定位置感受全部永磁块2的转动位置,从而可以把骑自行车人对助力需求的机械动作全部变为电信号,再通过传感部件助力模型处理器21、数模转换器27和运算放大器28,把霍尔3的助力需求电信号变为人机匹配的助力模型电信号,运算放大器28把人机匹配的助力模型电信号传给电机控制器29,电机控制器29控制电机30按人机匹配的方式转动,最终实现助力自行车按人的最佳需求方式运动,即实现人机匹配的效果。 Hall 3 can use a fixed position to feel the rotation position of all permanent magnets 2, so that all the mechanical actions of the cyclist for power assistance can be converted into electrical signals, and then the model processor 21 and digital-to-analog conversion can be assisted by sensing components. The device 27 and the operational amplifier 28 change the power-assist demand electric signal of the Hall 3 into a power-assisted model electric signal matched with the man-machine, and the operational amplifier 28 transmits the power-assisted model electric signal matched with the man-machine to the motor controller 29, and the motor controller 29 controls The motor 30 rotates according to the man-machine matching mode, and finally realizes that the power-assisted bicycle moves according to the best demand mode of the person, that is, realizes the effect of man-machine matching.

本发明传感器中各信号处理部件输出的信号为: The signal output by each signal processing component in the sensor of the present invention is:

霍尔3输出矩形波信号; Hall 3 outputs a rectangular wave signal;

助力模型处理器21输出助力模型数字信号; The booster model processor 21 outputs a digital signal of the booster model;

模数转换和波宽识别器22输出标注有磁块位置秩序的磁块运动数字信号; The analog-to-digital conversion and wave width identifier 22 outputs a magnetic block movement digital signal marked with the position order of the magnetic block;

助力起点选择器23输出确定的助力起点磁块的起点位置信号; The power-assisted starting point selector 23 outputs the determined starting point position signal of the power-assisted starting point magnetic block;

磁块转速计算器24计算并输出电机外壳1的转速数字信号; The magnetic block speed calculator 24 calculates and outputs the digital signal of the speed of the motor casing 1;

助力模型存储器25存有多种助力模型函数备用,输出已选定的助力模型函数的数字信号; The booster model memory 25 stores a variety of booster model functions for backup, and outputs the digital signal of the selected booster model function;

助力模型计算器26计算并输出将用于控制功能的助力模型数字信号; The booster model calculator 26 calculates and outputs the booster model digital signal to be used for the control function;

数模转换器27输出把助力模型数字信号转换成的助力模型模拟信号; The digital-to-analog converter 27 outputs the analog signal of the booster model converted from the digital signal of the booster model;

运算放大器28输出把助力模型模拟信号转换成额定电压范围的助力模型模拟信号; The operational amplifier 28 outputs the analog signal of the booster model into a rated voltage range of the booster model analog signal;

热敏电阻R6保证运算放大器28输出的是额定电压范围的助力模型模拟信号,即标准助力模型模拟信号。 The thermistor R6 ensures that the output of the operational amplifier 28 is the analog signal of the booster model in the rated voltage range, that is, the analog signal of the standard booster model.

为解决助力模型模拟信号漂移问题设有热敏电阻R6,热敏电阻R6连接在运算放大器28的输入端和输出端之间。 In order to solve the drift problem of the analog signal of the booster model, a thermistor R6 is provided, and the thermistor R6 is connected between the input terminal and the output terminal of the operational amplifier 28 .

霍尔3、数模转换器27和运算放大器28都是半导体器件,又有处理模拟信号功能,很易随温度变化而使信号参数产生漂移,特别是夏天和冬天,助力自行车又都在室外,温度变化产生信号参数漂移的效果明显,所以,最好对运算放大器28输出的信号进行信号漂移修正,获得不受温度变化影响的标准助力模型模拟信号,将标准助力模型模拟信号通过电机控制器29控制电机30运行,骑助力自行车的人就不会感到夏天和冬天助力效果不同的问题。 Hall 3, digital-to-analog converter 27 and operational amplifier 28 are all semiconductor devices, and have the function of processing analog signals, so it is easy to cause signal parameters to drift with temperature changes, especially in summer and winter, and power-assisted bicycles are all outdoors. The effect of signal parameter drift caused by temperature changes is obvious. Therefore, it is best to correct the signal drift of the signal output by the operational amplifier 28 to obtain a standard booster model analog signal that is not affected by temperature changes, and pass the standard booster model analog signal through the motor controller 29. By controlling the operation of the motor 30, the person riding a power-assisted bicycle will not feel the problem that the power-assisted effect is different in summer and winter.

助力模型处理器21是单片机31,单片机31上连接有时钟电路32。用单片机31完成模数转换和波宽识别器22、助力起点选择器23、磁块转速计算器24、助力模型存储器25和助力模型计算器26的功能。时钟电路32的时钟信号是用于对霍尔3输入的矩形波信号进行区分的作用,优选每个时钟信号的长度为0.001秒。 The booster model processor 21 is a single-chip microcomputer 31 , and a clock circuit 32 is connected to the single-chip microcomputer 31 . A single-chip microcomputer 31 is used to complete the analog-to-digital conversion and the functions of the wave width identifier 22 , the power-assisted starting point selector 23 , the magnetic block rotational speed calculator 24 , the power-assisted model memory 25 and the power-assisted model calculator 26 . The clock signal of the clock circuit 32 is used to distinguish the rectangular wave signal input by the Hall 3 , and preferably the length of each clock signal is 0.001 second.

传感器的机械部件与传感部件结构关系:传感器的机械部件包括电机外壳1,传感器的传感部件包括多个永磁块2、霍尔3、单片机31、数模转换器27和运算放大器28;传感部件中依次相连的霍尔3、单片机31、数模转换器27和运算放大器28四个电子元件设在一块电路板59上;电路板59设在车架52上的位置能使霍尔3感受永磁块2的磁通量,并且电路板59的位置使霍尔3能根据永磁块2的运动输出电信号。 The structural relationship between the mechanical parts of the sensor and the sensing parts: the mechanical parts of the sensor include the motor housing 1, and the sensing parts of the sensor include a plurality of permanent magnet blocks 2, Hall 3, single-chip microcomputer 31, digital-to-analog converter 27 and operational amplifier 28; Hall 3, single-chip microcomputer 31, digital-to-analog converter 27 and operational amplifier 28 four electronic elements connected successively in the sensing part are arranged on a circuit board 59; 3 senses the magnetic flux of the permanent magnet block 2, and the position of the circuit board 59 enables the Hall 3 to output electric signals according to the movement of the permanent magnet block 2.

本发明的传感器各部件的优选型号和具体连接方式为:霍尔3是UGN3075,助力模型处理器21是AT89S52单片机31,数模转换器27是ADC-C8E;运算放大器28是OF-17F,OF-17F运算放大器28的输入端2脚与输出端6脚之间连接有热敏电阻R6;各部件连接关系如下: The preferred model of each part of the sensor of the present invention and the specific connection mode are: Hall 3 is UGN3075, the power-assisted model processor 21 is AT89S52 single-chip microcomputer 31, and digital-to-analog converter 27 is ADC-C8E; Operational amplifier 28 is OF-17F, OF The thermistor R6 is connected between the input terminal 2 pin and the output terminal 6 pin of the -17F operational amplifier 28; the connection relationship of each part is as follows:

霍尔3的信号输出端3脚连接单片机31的12脚INTO[P32]; Connect pin 3 of signal output end of Hall 3 to pin 12 of MCU 31 INTO [P32];

单片机31的39脚P00连接数模转换器27的12脚B8; The 39 pins P00 of the single-chip microcomputer 31 connect the 12 pins B8 of the digital-to-analog converter 27;

单片机31的38脚P01连接数模转换器27的11脚B7; The 38-pin P01 of the single-chip microcomputer 31 is connected to the 11-pin B7 of the digital-to-analog converter 27;

单片机31的37脚P02连接数模转换器27的10脚B6; The 37 pins P02 of the single-chip microcomputer 31 are connected to the 10 pins B6 of the digital-to-analog converter 27;

单片机31的36脚P03连接数模转换器27的9脚B5; The 36-pin P03 of the single-chip microcomputer 31 is connected to the 9-pin B5 of the digital-to-analog converter 27;

单片机31的35脚P04连接数模转换器27的8脚B4; The 35 pins P04 of the single-chip microcomputer 31 connect the 8 pins B4 of the digital-to-analog converter 27;

单片机31的34脚P05连接数模转换器27的7脚B3; The 34-pin P05 of the single-chip microcomputer 31 is connected to the 7-pin B3 of the digital-to-analog converter 27;

单片机31的33脚P06连接数模转换器27的6脚B2; The 33 pins P06 of the single-chip microcomputer 31 are connected to the 6 pins B2 of the digital-to-analog converter 27;

单片机31的32脚P07连接数模转换器27的5脚B1; The 32 pins P07 of the microcontroller 31 are connected to the 5 pins B1 of the digital-to-analog converter 27;

数模转换器27的4脚连接运算放大器28的2脚; The 4 pins of the digital-to-analog converter 27 are connected to the 2 pins of the operational amplifier 28;

数模转换器27的2脚连接运算放大器28的3脚; The 2 pins of the digital-to-analog converter 27 are connected to the 3 pins of the operational amplifier 28;

运算放大器28的6脚为模拟信号输出端。 Pin 6 of the operational amplifier 28 is an analog signal output terminal.

OF-17F运算放大器28的输入端2脚与输出端6脚之间连接有热敏电阻R6,而且热敏电阻R6两端还并联有电容C6。优选热敏电阻R6为5K,电容C6为8P,数模转换器27的4脚与运算放大器28的2脚之间用1.25k的R5接地。使其可用热敏电阻R6调节运算放大器286脚输出的模拟信号电压范围稳定在0.8--4.2V之间。 A thermistor R6 is connected between the input terminal 2 pin and the output terminal 6 pin of the OF-17F operational amplifier 28, and a capacitor C6 is connected in parallel at both ends of the thermistor R6. Preferably, the thermistor R6 is 5K, the capacitor C6 is 8P, and the 1.25k R5 is grounded between pin 4 of the digital-to-analog converter 27 and pin 2 of the operational amplifier 28 . The thermistor R6 can be used to adjust the voltage range of the analog signal output by the 286 pin of the operational amplifier to be stable between 0.8--4.2V.

条形孔8是弧形的结构,条形孔8的弧形所在圆与内圆形轨迹线5-1为同心圆。这种结构使霍尔3产生的输出信号可改变波峰或波谷的长度。可以用于一、改变了的波峰或波谷长度作为启动信号,使被控制物启用另一套工作程序。如果用于助力自行车,改变永磁块2在条形孔8中的位置,可改变助力模型,如可以选用小人用助力模型、女人用助力模型、青年用助力模型、运动用助力模型、休闲用助力模型等。可以用于二、改变了的波峰或波谷长度只用于改变这一个波峰或波谷的控制效果,如果用于助力自行车,只改变该永磁块2所在位置的助力效果。 The strip-shaped hole 8 is an arc-shaped structure, and the arc-shaped circle of the strip-shaped hole 8 is concentric with the inner circular trajectory line 5-1. This structure enables the output signal generated by Hall 3 to change the length of the peak or trough. It can be used for 1. The changed peak or trough length is used as a start signal to make the controlled object start another set of working procedures. If it is used for power-assisted bicycles, the position of the permanent magnet block 2 in the strip hole 8 can be changed to change the power-assisted model, such as the power-assisted model for villains, the power-assisted model for women, the power-assisted model for young people, the power-assisted model for sports, and the leisure power model for use. Use booster models, etc. It can be used for 2. The changed peak or trough length is only used to change the control effect of this peak or trough. If it is used for assisting bicycles, only the boosting effect of the position of the permanent magnet block 2 is changed.

条形孔8还可以是斜向的结构,即条形孔8两端分别与内圆形轨迹线5-1所在的圆心的距离不相等。但条形孔8应在内圆形轨迹线5-1与外圆形轨迹线5-2之间的范围内,以便霍尔3可感受到条形孔8中永磁块2的信号。斜向条形孔8与上述的弧形条形孔8作用和效果相同。 The strip-shaped hole 8 can also be an oblique structure, that is, the distances between the two ends of the strip-shaped hole 8 and the center of the circle where the inner circular trajectory line 5-1 is located are not equal. But the strip hole 8 should be in the range between the inner circular trajectory line 5-1 and the outer circular trajectory line 5-2, so that the Hall 3 can feel the signal of the permanent magnet block 2 in the strip hole 8. The function and effect of the oblique strip-shaped hole 8 and the above-mentioned arc-shaped strip-shaped hole 8 are the same.

至少有一个永磁块间距7的长度不等于其它任何一个永磁块间距7。条形孔8是用于把永磁块2调节固定在不同位置的结构。通过调节永磁块2位置,可实现至少有一个永磁块间距7的长度不等于其它任何一个永磁块间距7。不等于其它长度,即特殊长度的永磁块间距7可用于表示自行车脚踏板的位置。最好是至少有两个永磁块间距7的长度不等于其它任何一个永磁块间距7,这两个特殊长度的永磁块间距7分别对应于两个脚踏板,用于表示自行车两个脚踏板的位置。因为自行车脚踏板的圆周运动,判定脚踏板位置对于获得本次圆周运动的速度,确定下一次圆周运动的助力模型非常重要。 The length of at least one pitch 7 of permanent magnet blocks is not equal to any other pitch 7 of permanent magnet blocks. The strip-shaped hole 8 is a structure for adjusting and fixing the permanent magnet block 2 at different positions. By adjusting the position of the permanent magnet block 2 , it can be realized that the length of at least one permanent magnet block interval 7 is not equal to any other permanent magnet block interval 7 . Not equal to other lengths, that is, the permanent magnet block spacing 7 of a special length can be used to indicate the position of the bicycle pedal. Preferably, the length of at least two permanent magnet block spacing 7 is not equal to any other permanent magnet block spacing 7, and the permanent magnet block spacing 7 of these two special lengths corresponds to two pedals respectively, which is used to represent the two pedals of the bicycle. position of the pedals. Because of the circular motion of the bicycle pedals, it is very important to determine the position of the pedals to obtain the speed of this circular motion and determine the assist model for the next circular motion.

条形孔8的某一条内边缘设有两个或多个齿形凸9。为了把永磁块2固定在条形孔8中多个位置中的某一个位置,防止在电机外壳1转动时,永磁块2自行变位置,所以用条形孔8中的齿形凸9卡稳永磁块2在某一固定位置。 A certain inner edge of the strip-shaped hole 8 is provided with two or more tooth-shaped protrusions 9 . In order to fix the permanent magnet block 2 on one of the multiple positions in the bar-shaped hole 8, and prevent the permanent magnet block 2 from changing its position when the motor housing 1 rotates, the tooth-shaped protrusion 9 in the bar-shaped hole 8 is used to prevent the permanent magnet block 2 from changing its position automatically. Hold the permanent magnet block 2 in a certain fixed position.

霍尔3设在内圆形轨迹线5-1与外圆形轨迹线5-2之间。因为霍尔3是能有间距感受永磁块2磁通量而输出电信号的部件,又为了尽量减小永磁块2的体积,使其在电机外壳1上尽量多的设置永磁块2,使尽量减小的永磁块2都能被霍尔3感应;霍尔3应设在内圆形轨迹线5-1与外圆形轨迹线5-2之间,而且最好设在接近能贯穿全部永磁块2的圆形轨迹线的位置。 Hall 3 is set between the inner circular trajectory line 5-1 and the outer circular trajectory line 5-2. Because the Hall 3 is a component that can sense the magnetic flux of the permanent magnet block 2 with a distance and output an electric signal, and in order to minimize the volume of the permanent magnet block 2, as many permanent magnet blocks 2 as possible are arranged on the motor casing 1, so that The smallest possible permanent magnet block 2 can be induced by Hall 3; Hall 3 should be set between the inner circular trajectory line 5-1 and the outer circular trajectory line 5-2, and it is best to be located close to the circular trajectory line 5-2. The positions of the circular trajectory lines of all permanent magnet blocks 2.

电机外壳1上设有可视标记。可视标记为颜色标记、物体形状标记或转动角度标记的某一种或者其结合。 Visible marks are provided on the motor casing 1 . The visible mark is one of color mark, object shape mark or rotation angle mark or a combination thereof.

乘骑本发明的助力自行车用时,使脚踏自行车的脚踏板与传感器指挥电动机能配合的方法:在有电机外壳1和永磁块2的车轮上作一个或多个定位用的标记,标记可以是实物或颜色,标记也可以设在电机外壳1上。用标记与自行车的车架某一位置关系、或标记与自行车的轮胎上的护泥板某一位置关系、或标记与水平夹角位置关系等位置参照物,确定电机外壳1上各个永磁块2与自行车的脚踏板的位置关系,也就是说,脚踏板在某个位置时,表示脚踏板位置的永磁块2也在某一位置。实现特定某一永磁块2表示脚踏板位置的目的。如果骑人认为助力自行车电动机的助力时间与自己的要求不相配合,如助力时间启动太快或太慢,可以改变标记与车架的位置,即改变表示脚踏板位置的永磁块2与脚踏板的相对夹角位置关系,就可以调节助力时间启动快慢,使人的助力需求时间与电机提供助力的时间相配合。但控制电机的助力模型不变。 When riding the power-assisted bicycle of the present invention, the method for making the pedal of the pedal bicycle and the sensor direct the motor can cooperate: make one or more marks for positioning on the wheel with the motor housing 1 and the permanent magnet block 2, mark It can be a real object or a color, and the mark can also be set on the motor casing 1 . Determine each permanent magnet block on the motor housing 1 by using positional reference objects such as a certain positional relationship between the mark and the frame of the bicycle, or a certain positional relationship between the mark and the fender on the tire of the bicycle, or the positional relationship between the mark and the horizontal angle. 2 and the positional relationship of the pedals of the bicycle, that is to say, when the pedals are at a certain position, the permanent magnet block 2 representing the position of the pedals is also at a certain position. Realize the purpose that a certain permanent magnet block 2 represents the pedal position. If the rider thinks that the power-assisted time of the power-assisted bicycle motor does not match his own requirements, such as the power-assisted time starts too fast or too slow, he can change the position of the mark and the vehicle frame, that is, change the permanent magnet block 2 and the pedal position. The relative angle position relationship of the pedals can adjust the start-up speed of the power-assist time, so that the power-assist demand time of the person is matched with the power-assisted time provided by the motor. However, the power assist model for controlling the motor remains unchanged.

本发明的优点:结构简单、成本低、永磁块环上的永磁块数量不受限止、输出标准的脉冲信号、没有信号盲区、只用一个霍尔的一组输出信号就能完全表示动盘的全部运动状态、输出信号不会失真不漂移、用永磁块位置变化和调节永磁块位之间置表示永磁块所在固定位置、输出信号中可以有每个永磁块的运动位置,输出信息模型可调节,用于助力自行车,使助力输出与助力需求能高度配合而使骑车人感觉很舒服,不仅可自动化助力,而且具有按个性化进行助力的功能。 The present invention has the advantages of simple structure, low cost, unlimited number of permanent magnet blocks on the permanent magnet block ring, standard pulse signal output, no signal blind area, and only one set of Hall output signals can fully express All motion states of the moving disk, the output signal will not be distorted or drifted, the position of the permanent magnet block can be changed and adjusted between the positions of the permanent magnet block to indicate the fixed position of the permanent magnet block, and the output signal can include the movement of each permanent magnet block The position and output information model can be adjusted, and it is used to assist bicycles, so that the output of the assist can be highly matched with the demand for assist, so that the rider feels very comfortable. It can not only automatically assist, but also has the function of assisting according to individuality.

(1)结构简单,不用弹性件,无机械故障:用霍尔感受多个永磁块转动输出信号,用中国专利01201843.0提供的速度可推算力矩的原理,可用多种数学模型推算助力自行车的力矩参数,用于控制助力自行车的电机,实现助力。不用弹性件、结构简单、成本低于用弹性件和机械受力的传感器。避免了长时间使用后,各机械部件变形、无机械故障、配合不佳的问题。 (1) Simple structure, no elastic parts, no mechanical failure: use the Hall to sense the rotation output signals of multiple permanent magnets, use the principle of the speed to calculate the torque provided by Chinese patent 01201843.0, and use a variety of mathematical models to calculate the torque of the power-assisted bicycle Parameters, used to control the motor of the assist bicycle to achieve assist. No elastic parts are needed, the structure is simple, and the cost is lower than that of sensors using elastic parts and mechanical force. It avoids the problems of deformation of various mechanical parts, no mechanical failure, and poor coordination after long-term use.

(2)磁极性相反,输出矩形波信号,具有精确控制功能:由于相邻两枚永磁块的磁极性相反,并且霍尔选用对相反磁极性产生矩形波输出信号的霍尔,则相邻两枚永磁块无论间距多少,即使相邻两枚永磁块之间没有间隙,霍尔也同样能输出矩形波信号。如用于助力自行车,用矩形波的输出信号来控制助力自行车的电机优于用正弦波,因为矩形波能作到信号在任何时间点,表示运动位置和速度的信号含义精确,从而可精确表示助力自行车踏板的运动位置和速度,以便用踏板精确的位置和速度推算出该运动状态正确的助力需求。 (2) The magnetic polarity is opposite, outputting a rectangular wave signal, with precise control function: Since the magnetic polarity of two adjacent permanent magnet blocks is opposite, and the Hall uses the Hall that generates a rectangular wave output signal for the opposite magnetic polarity, the adjacent Regardless of the distance between two permanent magnet blocks, even if there is no gap between two adjacent permanent magnet blocks, Hall can also output a rectangular wave signal. If it is used for power-assisted bicycles, using a rectangular wave output signal to control the motor of a power-assisted bicycle is better than using a sine wave, because the rectangular wave can make the signal at any point in time, and the meaning of the signal indicating the motion position and speed is accurate, so it can be accurately expressed The motion position and speed of the bicycle pedal are assisted, so that the correct power assist demand of the motion state can be calculated from the precise position and speed of the pedal.

(3)相邻永磁块的磁极性相反,永磁块数量不受限止,可尽量增加传感点位:由于磁极性相反,输出矩形波信号,相邻永磁块即使无间隙,其输出的信号仍然是有个数、可区分的矩形波信号,仍然具有控制功能,也就是说不会输出没有控制功能的无变化直线形信号。如用于助力自行车,由于与踏板联动的转动盘直径大小受限止,就可在规定大小的转动盘上,尽量增加永磁块数量、尽量增加传感点位、用尽量多的传感信号表示自行车踏板运动位置和速度,精确表示运动状态。 (3) The magnetic polarity of adjacent permanent magnet blocks is opposite, the number of permanent magnet blocks is not limited, and the sensing points can be increased as much as possible: due to the opposite magnetic polarity, a rectangular wave signal is output, even if there is no gap between adjacent permanent magnet blocks, the The output signal is still a numerical and distinguishable rectangular wave signal, and still has a control function, that is to say, it will not output an unchanged linear signal without a control function. If it is used for power-assisted bicycles, since the diameter of the rotating disk linked with the pedal is limited, it is possible to increase the number of permanent magnet blocks, increase the sensing points as much as possible, and use as many sensing signals as possible on the rotating disk of the specified size. Indicates the position and speed of bicycle pedal movement, and accurately represents the state of movement.

(4)相邻永磁块的磁极性相反,可设置永磁块多、传感点位多,对转动盘的运动状态表示精确:对用于助力自行车,固定永磁块的转动盘大小受到严格限止,一般转动盘直径只能在10-15厘米以内,为了使霍尔在有间距的条件下获得永磁块的磁极信号,其永磁块的直径至少为Ф0.6-0.8厘米,则直径10-15厘米的转动盘的周边无间隙的可设置35-73个永磁块[(10-1)*3.14/0.8=35;(15-1)*3.14/0.6=73],即脚踏板转一周,霍尔可获得35-73个信号用于控制助力自行车的电机。但如果是相邻永磁块磁极性相同的现有技术,相邻永磁块按5厘米间距,则在直径10-15厘米转动盘上,最多只能设置5-8个永磁块[(10-1)*3.14/5.8=5;(15-1)*3.14/5.6=8]。可见,本专利技术比现有技术可以多设置永磁块7-9倍[35/5=6;73/8=9],多设置30-65个永磁块[35-5=30;73-8=65]。所以,转动盘转一周,本专利技术比现有技术增加了7-9倍的转动盘转动位点信号。对助力自行车的电机控制精确度自然提高了7-9倍,使骑车人对助力需求精确度也提高了7-9倍,车与人的配合程度大大提高,骑车人的舒适感大大增加,不再是现有技术的助力车那种一快一慢不舒服的感觉。本发明请人根据实际的体验,当转动盘上大致均匀的设置15个永磁块时,基本消除了现有技术只设5-8个永磁块使助力车那种一快一慢不舒服的感觉;当转动盘上大致均匀的设置20个永磁块时,车与人的配合己能满足人的需要,乘骑助力车的感觉已很舒服。 (4) The magnetic polarity of the adjacent permanent magnet blocks is opposite, and there are more permanent magnet blocks and more sensing points, which can accurately express the motion state of the rotating disk: for bicycles, the size of the rotating disk with fixed permanent magnet blocks is affected by Strictly limited, the diameter of the general rotating disk can only be within 10-15 cm. In order for Hall to obtain the magnetic pole signal of the permanent magnet block under the condition of a distance, the diameter of the permanent magnet block should be at least Ф0.6-0.8 cm, then 35-73 permanent magnet blocks [(10-1)*3.14/0.8=35; (15-1)*3.14/0.6=73] can be set without gaps around the rotating disk with a diameter of 10-15 cm, that is, the feet When the pedal makes one revolution, Hall can obtain 35-73 signals for controlling the motor of the power-assisted bicycle. But if it is the prior art with the same magnetic polarity of adjacent permanent magnet blocks, if the adjacent permanent magnet blocks are separated by 5 centimeters, then only 5-8 permanent magnet blocks can be set at most on the rotating disk with a diameter of 10-15 cm [( 10-1)*3.14/5.8=5; (15-1)*3.14/5.6=8]. It can be seen that this patented technology can set 7-9 times more permanent magnet blocks [35/5=6; 73/8=9] than the prior art, and set 30-65 more permanent magnet blocks [35-5=30; 73 -8=65]. Therefore, when the rotating disk rotates once, the patented technology increases the rotation point signal of the rotating disk by 7-9 times compared with the prior art. The motor control accuracy of the power-assisted bicycle is naturally increased by 7-9 times, and the accuracy of the rider's demand for power assistance is also increased by 7-9 times. The degree of cooperation between the car and the person is greatly improved, and the comfort of the rider is greatly increased. , It is no longer the uncomfortable feeling of one speed and one slow speed of the moped in the prior art. According to the actual experience, the present invention asks that when 15 permanent magnet blocks are arranged roughly evenly on the rotating disk, the uncomfortable feeling of one fast and one slow in the prior art is basically eliminated by only setting 5-8 permanent magnet blocks. Feeling; when 20 permanent magnet blocks are roughly evenly arranged on the rotating disk, the cooperation between the car and the person can meet the needs of the person, and the feeling of riding the moped is very comfortable.

(5)没有信号盲区,任何时候的助力需求都会获得相匹配的助力:本专利在直径10-15厘米的转动盘周边最多可设置35-73个永磁块,各永磁块之间平均夹角为5-10度。用于助力自行车,在启动或运行时,脚踏板从离开顶点10-45度角的35度区域内,有4-7个永磁块(在离开顶点10度角的位置就有一个信号了),则霍尔可输出4-7个控制信号反应助力需求,能实现任何位置、任何时间有助力就能获得相应助力的优良技术效果,使车与人的配合良好,骑车人感到省力又舒适。 (5) There is no signal blind area, and matching power assistance will be obtained at any time: This patent can set up to 35-73 permanent magnet blocks around the rotating disk with a diameter of 10-15 cm, and the average clamp between the permanent magnet blocks The angle is 5-10 degrees. For power-assisted bicycles, when starting or running, there are 4-7 permanent magnet blocks in the 35-degree area of the pedal from 10-45 degrees away from the apex (there is a signal at a position 10 degrees away from the apex ), the Hall can output 4-7 control signals to respond to the need for power assistance, which can achieve the excellent technical effect of obtaining corresponding power assistance at any position and at any time, so that the cooperation between the car and the person is good, and the rider feels labor-saving and comfortable. comfortable.

(6)只用一个霍尔,一个控制信号表示转动盘的全部运动状态,控制信号与转动盘的运动状态完全一致,控制信号与人的需求完全一致:多个永磁块是固定在转动盘上的,永磁块与转动盘同步转动,用一个霍尔感受全部的永磁块运动信号,则霍尔输出的控制信号与转动盘的运动状态完全一致,与人的需求也就完全一致,控制信号不会有原始分段误差和信号漂移问题。即使霍尔传感参数发生变化,也是整个控制信号平行移动,只要接收霍尔控制信号的电机控制器的接收范围较宽,变化了的霍尔控制信号的控制效果成系统性改变。如用于助力自行车,助力需求模型不会失真,助力输出与助力需求仍然保持原来模型的匹配关系,骑车人很容易掌握这种助力性能的系统性改变。 (6) Only one Hall is used, and one control signal indicates the entire motion state of the rotating disk. The control signal is completely consistent with the motion state of the rotating disk, and the control signal is completely consistent with human needs: multiple permanent magnets are fixed on the rotating disk. On the above, the permanent magnet block and the rotating disk rotate synchronously, and use a Hall to sense all the motion signals of the permanent magnet block, then the control signal output by the Hall is completely consistent with the motion state of the rotating disk, and it is completely consistent with the needs of people. The control signal will not have the original segmentation error and signal drift problem. Even if the Hall sensing parameters change, the entire control signal moves in parallel. As long as the receiving range of the motor controller receiving the Hall control signal is wide, the control effect of the changed Hall control signal will change systematically. If it is used for power-assisted bicycles, the power-assisted demand model will not be distorted, and the matching relationship between the power-assisted output and the power-assisted demand still maintains the original model. Riders can easily grasp this systematic change in power-assisted performance.

(7)永磁块之间有错位,错位永磁块可表示特定位点的运动状态:因为永磁块在半径方向错位、或圆弧线间距错位,错位永磁块使霍尔输出特有波形的控制信号,则特有波形的控制信号就可以直接表示转动盘的某一固定永磁块位点的运动状态;如每个永磁块都有自己的特定错位位点,可达到有多少个永磁块,就可获得多少个特定位点的运动状态信号。如用于助力自行车,转动盘直径在10-15厘米以内,转动盘转一周,霍尔可获得35-73个不同位点运动状态的控制信号,自然知道35-73个位点的助力需求。很明显,转动盘转一周,现有技术最多只能有5-8个助力需求,远远不如本专利最多可用35-73个助力需求信号更能真实地反应骑车人的助力需求。也就是说,助力自行车用本专利技术,车更能与人需求相配合一致,骑车人感受到脚踏板在任何转动位置,自己都完全可控制车速,舒适性好。而现有技术的助力自行车只能在最多5-8个转动位置才能可控制车速。  (7) There is a dislocation between the permanent magnet blocks, and the dislocation permanent magnet block can indicate the motion state of a specific point: because the permanent magnet block is misaligned in the radial direction, or the distance between the arc lines is misaligned, the dislocation permanent magnet block makes Hall output a unique waveform The control signal of the unique waveform can directly indicate the motion state of a certain fixed permanent magnet point of the rotating disk; if each permanent magnet has its own specific dislocation point, how many permanent magnets can be reached? How many specific positions of motion status signals can be obtained by using a magnetic block. For example, if it is used for power-assisted bicycles, the diameter of the rotating disc is within 10-15 cm. When the rotating disc rotates once, Hall can obtain the control signals of the motion status of 35-73 different points, and naturally knows the assisting needs of 35-73 points. It is obvious that the prior art can only have a maximum of 5-8 power-assist demands when the rotating disk rotates once, which is far less than the maximum 35-73 power-assist demand signals available in this patent, which can more truly reflect the power-assisted demand of the cyclist. That is to say, the power-assisted bicycle uses this patented technology, and the bicycle can be more consistent with people's needs. The rider feels that the pedal can completely control the speed of the bicycle at any rotational position, and the comfort is good. And the power-assisted bicycle of prior art can only just can control the speed of a vehicle at most 5-8 rotational positions. the

(8)可调节永磁块位置,就可按需要调节控制信号的模型,实现个性化控制:在转动盘上全部永磁块中,如调节部分永磁块之间的间距,霍尔输出的信号中,调节过间距的永磁块的波形就会发生波间距变化,即信号模型发生变化,就可以选择不同的信号模型控制被控制物体,实现个性化控制。如用于助力自行车,可根据不同人的力气,或用力的习惯选择适合的信号模型,即根据不同的人调节助力模型,使助力自行车不仅可自动化助力,而且具有按个性化进行助力的功能。 (8) The position of the permanent magnet can be adjusted, and the model of the control signal can be adjusted according to the needs to realize personalized control: among all the permanent magnets on the rotating disk, if the distance between some permanent magnets is adjusted, the Hall output In the signal, the waveform of the permanent magnet block whose spacing has been adjusted will change the wave spacing, that is, the signal model changes, and different signal models can be selected to control the controlled object and realize personalized control. If it is used for power-assisted bicycles, a suitable signal model can be selected according to different people's strength or habits of exertion, that is, the power-assisted model can be adjusted according to different people, so that the power-assisted bicycle can not only automatically assist, but also have the function of assisting according to individuality.

(9)可以对霍尔信号进行数字化处理,使控制信号中加入人机最佳配合的控制模型:把具有磁块位置和磁块转速的矩形波信号变为该两要素的数字信号,用设定的、适合人机配合良好的数学助力模型把该两要素的数字信号转换成助力模型数字信号,再把助力模型数字信号转换成助力模型模拟信号,最后把助力模型模拟信号变为稳定电压范围的、具有额定功率的电机控制器可用的控制信号。总之,就是把磁块转动的信号进行数字化处理,在数字化处理处理过程中,加入数学的助力模型,使传感器最后输出的控制信号中,含有加入的助力模型。因为数学的助力模型是人为设定的,所以,总可以把数学的助力模型设定成最适合人机配合的模型,则本发明的传感器可输出能实现最佳人机配合的控制信号。而现有助力自行车传感器的磁块相同磁极在同一面,霍尔不能获得矩形波信号,也就无法对霍尔信号进行数字化处理,其控制模型只能是对霍尔信号进行局部修改,所以不能实现输出人机最佳配合的控制信号。 (9) The hall signal can be digitally processed, so that the control model of the best cooperation between man and machine can be added to the control signal: the rectangular wave signal with the position of the magnetic block and the rotational speed of the magnetic block can be changed into a digital signal of the two elements, and the The digital signal of the two elements is converted into the digital signal of the booster model by a mathematical booster model suitable for man-machine cooperation, and then the digital signal of the booster model is converted into an analog signal of the booster model, and finally the analog signal of the booster model is converted into a stable voltage range A control signal available to a motor controller with rated power. In short, it is to digitally process the signal of the magnetic block rotation. During the digital processing process, a mathematical power-assisted model is added, so that the control signal output by the sensor finally contains the added power-assisted model. Because the mathematical power-assisted model is artificially set, the mathematical power-assisted model can always be set as the model most suitable for man-machine cooperation, then the sensor of the present invention can output a control signal that can realize the best man-machine cooperation. However, the magnetic blocks of the existing power-assisted bicycle sensors have the same magnetic poles on the same side, Hall cannot obtain a rectangular wave signal, and cannot digitally process the Hall signal, and its control model can only partially modify the Hall signal, so it cannot Realize the control signal outputting the best cooperation between man and machine.

(10)最后输出的控制信号不会有信号漂移:用热敏电阻R6对运算放大器的输出信号进行反馈调节,可以解决霍尔、数模转换器和运算放大器等半导体器件使助力模型模拟信号漂移的问题,使传感器最后输出的是不受环境温度变化的标准助力模型模拟信号。 (10) The final output control signal will not have signal drift: use the thermistor R6 to feedback and adjust the output signal of the operational amplifier, which can solve the analog signal drift of the booster model caused by semiconductor devices such as Hall, digital-to-analog converter and operational amplifier. The problem is that the final output of the sensor is the standard booster model analog signal that is not subject to ambient temperature changes.

(11)能实现人机最佳配合的电机工作方式:模数转换和波宽识别器将各个矩形波信号变为不同的数字信号,助力模型计算器就可用助力起点选择器在助力模型存储器中选定的与助力需求最佳配合的助力数学模型,并把磁块转速计算器提供的速度参数代入助力数学模型,助力模型计算器就能计算出脚踏板在某个位置情况下的助力模型数字信号。该助力模型数字信号就是能使人与电动自行车能最佳配合的、用于控制电机用的控制信号。助力模型计算器是数字处理器,它能接受任何数字化的数学模型,则助力模型存储器就可以向助力模型计算器提供任何人为设定的数学模型,有了人任意设定数学模型这个条件,人就可以设定能使人与电动自行车能最佳配合的数学模型。助力模型存储器有人设定的,能使人与电动自行车能最佳配合的数学模型,则就能实现人与电动自行车最佳配合的电机工作方式;人设定数学模型还可以使电机有最合理的启动和运转模型、最省电的工作方式。所以,本发明的助力自行车是人与电动自行车最佳配合的省电助力自行车。 (11) The working mode of the motor that can realize the best cooperation between man and machine: the analog-to-digital conversion and the wave width recognizer convert each rectangular wave signal into a different digital signal, and the booster model calculator can be used in the booster model memory with the booster starting point selector Select the power-assisted mathematical model that best matches the power-assisted demand, and substitute the speed parameters provided by the magnetic block speed calculator into the power-assisted mathematical model, and the power-assisted model calculator can calculate the power-assisted model of the pedal at a certain position Digital signal. The digital signal of the booster model is a control signal for controlling the motor that enables the best cooperation between the person and the electric bicycle. The booster model calculator is a digital processor, which can accept any digital mathematical model, and the booster model memory can provide any artificially set mathematical model to the booster model calculator. Just can set up the mathematical model that can make people and electric bicycle can cooperate optimally. The power-assisted model memory is set by someone, and the mathematical model that can make the best cooperation between the human and the electric bicycle can realize the motor working mode of the best cooperation between the human and the electric bicycle; the mathematical model set by the human can also make the motor have the most reasonable The start-up and operation model, the most power-saving working mode. Therefore, the power-assisted bicycle of the present invention is an energy-saving power-assisted bicycle for optimal cooperation between people and electric bicycles.

但现有助力自行车脚踏板的一个转动周期内,霍尔只能输出不到10个正弦波信号,正弦波信号不能变为数字信号,不能人为加入最佳助力模型控制电动自行车的电机,这种助力自行车的助力模型即不能实现人机最佳配合,也不能使电机有最合理、省电的工作方式。 However, within one rotation cycle of the pedals of the existing power-assisted bicycles, Hall can only output less than 10 sine wave signals, and the sine wave signals cannot be converted into digital signals, and the best power-assisted model cannot be artificially added to control the motor of the electric bicycle. The power-assisted model of this kind of power-assisted bicycle can neither realize the best cooperation between man and machine, nor can the motor have the most reasonable and power-saving working mode.

(12)省电效果和意义:用本发明的助力自行车与市上购买的有8个永磁块同面为相同磁极作为传感部件的助力自行车进行省电比较,用同一个电动自行车换用不同传感器的方式,相同的骑车人在相同路段乘骑测实,结果是:用本发明的助力自行车乘骑110公里后,电池还余有少量的电;但用该市上购买的助力自行车乘骑45公里后,电池已没有余电。该省电的意义在于:充满电的本发明的助力自行车能满足全天乘骑不充电,解决了人在途中而车已不能助力这个现有助力自行车的大难题。     (12) Power-saving effect and significance: use the power-assisted bicycle of the present invention to compare power-saving with a power-assisted bicycle purchased on the market with 8 permanent magnets on the same surface as the same magnetic pole as the sensor component, and replace it with the same electric bicycle In the mode of different sensors, the same cyclist rides and measures on the same road section, and the result is: after riding 110 kilometers with the power-assisted bicycle of the present invention, the battery still has a small amount of electricity; After riding 45 kilometers, the battery has no power left. The significance of this power saving is that the fully charged power-assisted bicycle of the present invention can be used for riding all day without charging, which solves the big problem of existing power-assisted bicycles that people are on the way and the car can no longer assist. 

附图说明 Description of drawings

图1是电机外壳上不均匀分布多个N-S交替永磁块,且有永磁块位置可调节的传感元件结构示意图; Figure 1 is a structural schematic diagram of a sensing element with a plurality of N-S alternating permanent magnets unevenly distributed on the motor casing and with adjustable permanent magnet positions;

图2是电机外壳上高密度不均匀分布多个N-S交替永磁块,且有永磁块位置可调节的传感器结构示意图; Figure 2 is a structural schematic diagram of a sensor with high-density and uneven distribution of multiple N-S alternating permanent magnet blocks on the motor casing, and the position of the permanent magnet block can be adjusted;

图3是自行车的电机和车架与作传感器转动盘的电机外壳和霍尔的结构示意图; Fig. 3 is the structural representation of the motor and vehicle frame of the bicycle and the motor casing and Hall used as the sensor rotating disc;

图4是霍尔、助力模型处理器、数模转换器、运算放大器的信号流向方框图; Fig. 4 is a block diagram of signal flow of Hall, booster model processor, digital-to-analog converter, and operational amplifier;

图5是霍尔、单片机、数模转换器、运算放大器的电路图; Fig. 5 is the circuit diagram of Hall, single-chip microcomputer, digital-to-analog converter, operational amplifier;

图6是传感器设在电动自行车电机外壳和车架上组成本发明助力自行车的连接关系示意图。 Fig. 6 is a schematic diagram of the connection relation of the sensor arranged on the electric bicycle motor casing and the vehicle frame to form the power-assisted bicycle of the present invention.

图中1是电机外壳、2是永磁块、3是霍尔、5-1是内圆形轨迹线、5-2是外圆形轨迹线、6是圆环形、7是永磁块间距、8是条形孔、9是齿形凸、21是助力模型处理器、22是模数转换和波宽识别器、23是助力起点选择器、24是磁块转速计算器、25是助力模型存储器、26是助力模型计算器、27是数模转换器、28是运算放大器、29是电机控制器、30是电机、31是单片机、32是时钟电路、53是车架、55是电池、59是电路板。 In the figure, 1 is the motor casing, 2 is the permanent magnet block, 3 is the Hall, 5-1 is the inner circular trajectory line, 5-2 is the outer circular trajectory line, 6 is the circular ring, and 7 is the distance between the permanent magnet blocks , 8 is a strip hole, 9 is a tooth-shaped convex, 21 is a power-assisted model processor, 22 is an analog-to-digital conversion and wave width identifier, 23 is a power-assisted starting point selector, 24 is a magnet speed calculator, 25 is a power-assisted model Memory, 26 is a booster model calculator, 27 is a digital-to-analog converter, 28 is an operational amplifier, 29 is a motor controller, 30 is a motor, 31 is a single-chip microcomputer, 32 is a clock circuit, 53 is a frame, 55 is a battery, 59 is the circuit board.

具体实施方式 Detailed ways

实施例1、电机壳上设可调节磁块位置传感器的助力自行车 Embodiment 1. A power-assisted bicycle with an adjustable magnetic block position sensor on the motor housing

如图1、3、4、6, As shown in Figures 1, 3, 4, and 6,

一、与安装传感器有关的电动自行车部件和结构:包括电动自行车和传感器,电动自行车的车轮上有电机30,电机30有电机外壳1,电动自行车有车架53,电动自行车上电池55连接电机控制器29,电机控制器29连接车轮上的电机30; 1. The components and structure of the electric bicycle related to the installation of the sensor: including the electric bicycle and the sensor, the electric bicycle has a motor 30 on the wheel, the motor 30 has a motor casing 1, the electric bicycle has a frame 53, and the battery 55 on the electric bicycle is connected to the motor control Device 29, motor controller 29 connects the motor 30 on the wheel;

二、传感器的结构和部件的连接关系如下: 2. The structure of the sensor and the connection relationship of the components are as follows:

传感器包括依次连接的传感元件、助力模型处理器21、数模转换器27和运算放大器28; The sensor includes a sensing element connected in sequence, a boost model processor 21, a digital-to-analog converter 27 and an operational amplifier 28;

[1]传感元件是把电机外壳1的转动运动变为矩形波信号输出的元件; [1] The sensing element is an element that converts the rotational movement of the motor housing 1 into a rectangular wave signal output;

传感元件是用电机外壳1的一个面设置直径0.8厘米的20个永磁块2,磁通量为146---279(B·H)max/KJ·m-3中的某一个值。电机外壳1、永磁块2、霍尔3的结构如下: The sensing elements are 20 permanent magnet blocks 2 with a diameter of 0.8 cm arranged on one surface of the motor casing 1, and the magnetic flux is a certain value in 146---279 (B·H)max/KJ·m -3 . The structure of motor housing 1, permanent magnet block 2, and Hall 3 is as follows:

每个永磁块2固定在直径8.0厘米内圆形轨迹线5-1—9.5厘米外圆形轨迹线5-2之间的圆环形6范围内,有多个永磁块2成半径错位分布,有多个永磁块2成间距错位分布。  Each permanent magnet block 2 is fixed in the circular ring 6 range between the circular trajectory line 5-1-9.5 cm outer circular trajectory line 5-2 with a diameter of 8.0 cm, and there are a plurality of permanent magnet blocks 2 that are radially dislocated Distributed, there are a plurality of permanent magnet blocks 2 in dislocation distribution. the

半径错位分布方式是:该多个永磁块2分布在一个圆环形6范围内,在圆环形6的内圆形轨迹线5-1与外圆形轨迹线5-2之间至少有一条圆形轨迹线贯穿全部永磁块2;内圆形轨迹线5-1和外圆形轨迹线5-2为同心圆,至少有两个永磁块2到内圆形轨迹线5-1所在圆中心的距离不相同; Radius dislocation distribution mode is: the plurality of permanent magnet blocks 2 are distributed within the scope of a circular ring 6, and there is at least a A circular trajectory line runs through all the permanent magnet blocks 2; the inner circular trajectory line 5-1 and the outer circular trajectory line 5-2 are concentric circles, and there are at least two permanent magnet blocks 2 to the inner circular trajectory line 5-1 The distance from the center of the circle is not the same;

间距错位分布方式是:相邻永磁块2之间的距离为永磁块间距7;至少有两条永磁块间距7的长短不相同。 The spacing dislocation distribution method is as follows: the distance between adjacent permanent magnet blocks 2 is the permanent magnet block pitch 7; at least two permanent magnet block pitches 7 have different lengths.

有两个永磁块间距7的长度不等于其它任何一个永磁块间距7的长度,而且这两个永磁块间距7的长度也不相等。该两个永磁块间距7所在的有两个永磁块2的位置正好在电机外壳1一条直径的两端,这两个永磁块2用于在助力自行车上表示两个脚踏板的运动位置。 The lengths of the two permanent magnet block intervals 7 are not equal to the lengths of any other permanent magnet block intervals 7, and the lengths of the two permanent magnet block intervals 7 are also not equal. There are two permanent magnets 2 where the two permanent magnets have a distance of 7, just at the two ends of a diameter of the motor housing 1, and these two permanent magnets 2 are used to represent the positions of the two pedals on the power-assisted bicycle. exercise position.

在内圆形轨迹线5-1与外圆形轨迹线5-2之间有两个弧形的条形孔8,条形孔8中设有永磁块2,该永磁块2能固定在条形孔8中的任何位置;该永磁块2与条形孔8是可撤卸的固定连接结构,即可在条形孔8中的永磁块2撤卸后换到条形孔8中的其它位置再固定连接,调节该永磁块2与相临永磁块2之间的永磁块间距7。条形孔8的内边缘设有两个或多个齿形凸9。一个永磁块2卡在一个齿形凸9之中。条形孔8是斜向的结构,即条形孔8两端分别与内圆形轨迹线5-1所在的圆心的距离不相等。使条形孔8的两个多个永磁块2成半径错位方式分布。 There are two arc-shaped strip holes 8 between the inner circular trajectory line 5-1 and the outer circular trajectory line 5-2, and the permanent magnet block 2 is arranged in the strip hole 8, and the permanent magnet block 2 can be fixed Any position in the strip hole 8; the permanent magnet block 2 and the strip hole 8 are removable fixed connection structures, which can be changed to the strip hole after the permanent magnet block 2 in the strip hole 8 is removed. Other positions in 8 are fixedly connected again, and the permanent magnet block spacing 7 between this permanent magnet block 2 and the adjacent permanent magnet block 2 is adjusted. The inner edge of the strip hole 8 is provided with two or more tooth-shaped protrusions 9 . A permanent magnet block 2 is stuck in a tooth-shaped protrusion 9 . The strip-shaped hole 8 has an oblique structure, that is, the distances between the two ends of the strip-shaped hole 8 and the center of the circle where the inner circular trajectory line 5-1 is located are not equal. Two or more permanent magnet blocks 2 of the strip-shaped holes 8 are distributed in a radial dislocation manner.

在电机外壳1一个面设置的全部永磁块2成相邻永磁块2的磁极性相反的方式排列,即电机外壳1一个面上全部永磁块2的磁极性分布方式是N极、S极、 N极、S极、 N极、S极……。 All the permanent magnet blocks 2 arranged on one side of the motor casing 1 are arranged in such a way that the magnetic polarities of the adjacent permanent magnet blocks 2 are opposite, that is, the magnetic polarity distribution mode of all the permanent magnet blocks 2 on one side of the motor casing 1 is N pole, S Pole, N pole, S pole, N pole, S pole....

用一个霍尔3设在电机外壳1有永磁块2的那一面,霍尔3设在接近永磁块2的位置,即霍尔3设在每个永磁块2在的圆形轨迹线5-1与外圆形轨迹线5-2之间的圆环形6范围内,霍尔3与转动状态的每个永磁块2保持0.3厘米的间隔距离,使转动的每个永磁块2在经过霍尔3时,霍尔3能产生一个对应的矩形波电信号输出。 Use a Hall 3 to set on the side of the motor housing 1 with the permanent magnet block 2, and the Hall 3 is set at a position close to the permanent magnet block 2, that is, the Hall 3 is set on the circular trajectory of each permanent magnet block 2 5-1 and the outer circular locus line 5-2 within the circular ring 6 range, Hall 3 and each permanent magnet block 2 in the rotating state keep a distance of 0.3 centimeters, so that each permanent magnet block in rotation 2 When passing through Hall 3, Hall 3 can generate a corresponding rectangular wave electrical signal output.

[2]助力模型处理器21是把电机外壳1转动的数字信号变为助力模型数字信号的信号形式的转换器; [2] The booster model processor 21 is a converter that converts the digital signal rotated by the motor casing 1 into a signal form of a booster model digital signal;

助力模型处理器21包括模数转换和波宽识别器22、助力起点选择器23、磁块转速计算器24、助力模型存储器25和助力模型计算器26; The booster model processor 21 includes an analog-to-digital conversion and wave width identifier 22, a booster starting point selector 23, a magnet speed calculator 24, a booster model memory 25 and a booster model calculator 26;

模数转换和波宽识别器22与传感元件连接,模数转换和波宽识别器22把传感元件中霍尔3输入的矩形波信号进行识别各个矩形波的宽度,将各个矩形波信号变为不同的数字信号,对每个矩形波进行标注,模数转换和波宽识别器22输出标注有磁块位置秩序的磁块运动数字信号; The analog-to-digital conversion and wave width recognizer 22 is connected to the sensing element, and the analog-to-digital conversion and wave width recognizer 22 recognizes the width of each rectangular wave from the rectangular wave signal input by Hall 3 in the sensing element, and converts each rectangular wave signal Change into different digital signals, mark each rectangular wave, and the analog-to-digital conversion and wave width recognizer 22 outputs the magnetic block motion digital signal marked with the position order of the magnetic block;

模数转换和波宽识别器22分别与助力起点选择器23和磁块转速计算器24连接,助力起点选择器23与磁块转速计算器24连接;磁块转速计算器24用模数转换和波宽识别器22输入的磁块运动数字信号计算出电机外壳1的转速,并把电机外壳1的转速数字信号传给助力起点选择器23,助力起点选择器23用标注有磁块位置秩序的磁块运动数字信号,和电机外壳1的转速数字信号这两个信号确定在某种转速条件下的助力起点对应的某一个矩形波,即确定助力起点磁块;助力起点选择器23完成了找出助力的起始点磁块,也就是确定从某个矩形波开始实施助力,准确说就是在电机外壳1处于某种转速条件下,从某个磁块在某个位置开始进行助力,或是从某个磁块在某个位置开始,将原来的助力模型改变为下一步选择的助力模型进行助力。 Analog-to-digital conversion and wave width recognizer 22 are respectively connected with power-assisted starting point selector 23 and magnetic block speed calculator 24, and power-assisted starting point selector 23 is connected with magnetic block speed calculator 24; Magnetic block speed calculator 24 uses analog-to-digital conversion and The magnetic block motion digital signal input by the wave width identifier 22 calculates the rotational speed of the motor housing 1, and transmits the rotational speed digital signal of the motor housing 1 to the power-assisted starting point selector 23, and the power-assisted starting point selector 23 is marked with the position order of the magnetic block. The digital signal of the magnetic block movement and the digital signal of the speed of the motor casing 1 determine a certain rectangular wave corresponding to the starting point of the power assist under a certain speed condition, that is, determine the magnetic block of the starting point of the power boosting; The starting point of the magnetic block for assisting, that is, it is determined to start assisting from a certain rectangular wave. To be precise, when the motor casing 1 is at a certain speed, the assisting is performed from a certain magnetic block at a certain position, or from a certain position. A certain magnetic block starts at a certain position, and changes the original booster model to the booster model selected in the next step for boosting.

助力起点选择器23和磁块转速计算器24分别都与助力模型计算器26连接,助力模型存储器25也与助力模型计算器26连接;助力模型计算器26用助力起点选择器23的助力起点磁块,和用磁块转速计算器24的电机外壳1转速这两个条件选择助力模型存储器25中的某一种助力模型函数,并将助力起点磁块和电机外壳1转速这两个条件代入助力模型函数,计算出适合这两个条件的助力模型数字信号,即助力模型计算器26输出助力模型数字信号; The power-assisted starting point selector 23 and the magnetic block rotating speed calculator 24 are all connected with the power-assisted model calculator 26 respectively, and the power-assisted model memory 25 is also connected with the power-assisted model calculator 26; block, and use the two conditions of the motor housing 1 speed of the magnetic block speed calculator 24 to select a certain power-assisted model function in the power-assisted model memory 25, and substitute the two conditions of the power-assisted starting point magnetic block and the motor housing 1 speed into the power-assisted The model function calculates the booster model digital signal suitable for these two conditions, that is, the booster model calculator 26 outputs the booster model digital signal;

[3]数模转换器27是把助力模型数字信号转换成助力模型的模拟信号。 [3] The digital-to-analog converter 27 converts the assist model digital signal into an assist model analog signal.

助力模型计算器26与数模转换器27连接,数模转换器27把助力模型计算器26的助力模型数字信号转换成助力模型模拟信号。以便向只能处理模拟信号的电机控制器29输出助力模型的模拟信。 The booster model calculator 26 is connected to a digital-to-analog converter 27, and the digital-to-analog converter 27 converts the booster model digital signal of the booster model calculator 26 into a booster model analog signal. In order to output the analog signal of the booster model to the motor controller 29 which can only process analog signals.

[4]运算放大器28是把数模转换器27的助力模型模拟信号转换成额定电压范围的助力模型模拟信号。 [4] The operational amplifier 28 converts the booster model analog signal from the digital-to-analog converter 27 into a booster model analog signal in the rated voltage range.

数模转换器27与运算放大器28连接,数模转换器27的助力模型模拟信号虽然解决了助力模型问题,但助力模型信号的电压还不能满足电机控制器29的需要,所以还要用运算放大器28把助力模型模拟信号转换成额定电压范围需要的助力模型模拟信号,才能传输给电机控制器29,达到电机控制器29控制电机30进行助力为目的的运行。 The digital-to-analog converter 27 is connected with the operational amplifier 28. Although the booster model analog signal of the digital-to-analog converter 27 solves the problem of the booster model, the voltage of the booster model signal can not meet the needs of the motor controller 29, so an operational amplifier is also used 28 converts the booster model analog signal into the booster model analog signal required by the rated voltage range, and then transmits it to the motor controller 29, so that the motor controller 29 can control the motor 30 to perform power boosting.

电机外壳1上设有可视标记。可视标记为颜色标记、物体形状标记或转动角度标记的某一种或者其结合。 Visible marks are provided on the motor casing 1 . The visible mark is one of color mark, object shape mark or rotation angle mark or a combination thereof.

三、传感器与电动自行车的连接成助力自行车:传感器的霍尔3固定在接近永磁块2的车架53上能感受永磁块2磁通量的位置;信号处理元件的助力模型处理器21、数模转换器27和运算放大器28依次相连后,霍尔3与助力模型处理器21相连,运算放大器28与电动自行车的电机控制器29相连。实现了传感器用电信号控制电动自行车的目的,即用运算放大器28的助力模型模拟信号,或称标准助力模型模拟信号控制电动自行车,得到助力自行车。 Three, the connection of the sensor and the electric bicycle becomes a power-assisted bicycle: the Hall 3 of the sensor is fixed on the vehicle frame 53 close to the permanent magnet block 2 and can feel the position of the magnetic flux of the permanent magnet block 2; After the analog-to-analog converter 27 is connected to the operational amplifier 28 in sequence, the Hall 3 is connected to the booster model processor 21, and the operational amplifier 28 is connected to the motor controller 29 of the electric bicycle. Realize the purpose of the sensor to control the electric bicycle with the electric signal, namely control the electric bicycle with the power-assisted model analog signal of the operational amplifier 28, or the standard power-assisted model analog signal, and obtain the power-assisted bicycle.

实施例2、高密度电机壳上设可调节磁块位置传感器的助力自行车 Embodiment 2, a power-assisted bicycle with an adjustable magnetic block position sensor on the high-density motor casing

如图2、3、4、6,直径10.0厘米的电机外壳1的一个面设置直径0.6厘米的40个永磁块2。永磁块2的磁通量为146---279(B·H)max/KJ·m-3中的某一个值,霍尔3与转动状态的每个永磁块2保持0.2厘米的间隔距离,使转动的每个永磁块2在经过霍尔3时,霍尔3能产生一个对应的矩形波信号输出。其它结构同于实施例1。 As shown in Figures 2, 3, 4, and 6, 40 permanent magnet blocks 2 with a diameter of 0.6 cm are arranged on one surface of a motor housing 1 with a diameter of 10.0 cm. The magnetic flux of the permanent magnet block 2 is a certain value in 146---279 (B·H)max/KJ·m -3 , and the Hall 3 maintains a distance of 0.2 cm from each permanent magnet block 2 in the rotating state. When each rotating permanent magnet block 2 passes through the Hall 3, the Hall 3 can generate a corresponding rectangular wave signal output. Other structures are the same as in Embodiment 1.

实施例3、有具体电路的电机壳上设可调节磁块位置传感器的助力自行车 Embodiment 3, a power-assisted bicycle with an adjustable magnetic block position sensor on the motor casing with a specific circuit

如图1、3、5、6,如实施例1,传感器包括依次连接的传感元件、助力模型处理器21、数模转换器27和运算放大器28; As shown in Figures 1, 3, 5, and 6, as in Embodiment 1, the sensor includes a sensor element connected in sequence, a booster model processor 21, a digital-to-analog converter 27, and an operational amplifier 28;

[1]传感元件中的霍尔3选用UGN3075;传感元件中其它的元件和元件的结构同于实施例1; [1] The Hall 3 in the sensing element is UGN3075; the structure of other elements and elements in the sensing element is the same as that in Embodiment 1;

[2]助力模型处理器21选用单片机31完成全部功能,单片机31选用AT89S52。即AT89S52单片机31完成模数转换和波宽识别器22、助力起点选择器23、磁块转速计算器24、助力模型存储器25和助力模型计算器26的全部功能。 [2] The auxiliary model processor 21 selects the single-chip microcomputer 31 to complete all functions, and the single-chip microcomputer 31 selects AT89S52. That is, the AT89S52 single-chip microcomputer 31 completes all functions of the analog-to-digital conversion and the wave width identifier 22 , the power-assisted starting point selector 23 , the magnet speed calculator 24 , the power-assisted model memory 25 and the power-assisted model calculator 26 .

[3]数模转换器27选用ADC-C8E。 [3] The digital-to-analog converter 27 selects ADC-C8E.

[4]运算放大器28选用OF-17F,OF-17F运算放大器28的输入端2脚与输出端6脚之间连接有5k的热敏电阻R6;而且热敏电阻R6两端还并联有8P电容C6。数模转换器27的4脚与运算放大器28的2脚之间用1.25k的R5接地。使其可用热敏电阻R6调节运算放大器286脚输出的模拟信号电压范围稳定在0.8--4.2V之间。 [4] OF-17F is selected as the operational amplifier 28, and a 5k thermistor R6 is connected between the input terminal 2 pin and the output terminal 6 pin of the OF-17F operational amplifier 28; and an 8P capacitor is connected in parallel at both ends of the thermistor R6 C6. The 1.25k R5 is grounded between the 4 pins of the digital-to-analog converter 27 and the 2 pins of the operational amplifier 28. The thermistor R6 can be used to adjust the voltage range of the analog signal output by the 286 pin of the operational amplifier to be stable between 0.8--4.2V.

各电子部件连接关系如下: The connection relationship of each electronic component is as follows:

霍尔3的信号输出端3脚连接单片机31的12脚INTO[P32]; Connect pin 3 of signal output end of Hall 3 to pin 12 of MCU 31 INTO [P32];

单片机31的39脚P00连接数模转换器27的12脚B8; The 39 pins P00 of the single-chip microcomputer 31 connect the 12 pins B8 of the digital-to-analog converter 27;

单片机31的38脚P01连接数模转换器27的11脚B7; The 38-pin P01 of the single-chip microcomputer 31 is connected to the 11-pin B7 of the digital-to-analog converter 27;

单片机31的37脚P02连接数模转换器27的10脚B6; The 37 pins P02 of the single-chip microcomputer 31 are connected to the 10 pins B6 of the digital-to-analog converter 27;

单片机31的36脚P03连接数模转换器27的9脚B5; The 36-pin P03 of the single-chip microcomputer 31 is connected to the 9-pin B5 of the digital-to-analog converter 27;

单片机31的35脚P04连接数模转换器27的8脚B4; The 35 pins P04 of the single-chip microcomputer 31 connect the 8 pins B4 of the digital-to-analog converter 27;

单片机31的34脚P05连接数模转换器27的7脚B3; The 34-pin P05 of the single-chip microcomputer 31 is connected to the 7-pin B3 of the digital-to-analog converter 27;

单片机31的33脚P06连接数模转换器27的6脚B2; The 33 pins P06 of the single-chip microcomputer 31 are connected to the 6 pins B2 of the digital-to-analog converter 27;

单片机31的32脚P07连接数模转换器27的5脚B1; The 32 pins P07 of the microcontroller 31 are connected to the 5 pins B1 of the digital-to-analog converter 27;

数模转换器27的4脚连接运算放大器28的2脚; The 4 pins of the digital-to-analog converter 27 are connected to the 2 pins of the operational amplifier 28;

数模转换器27的2脚连接运算放大器28的3脚; The 2 pins of the digital-to-analog converter 27 are connected to the 3 pins of the operational amplifier 28;

运算放大器28的6脚为模拟信号输出端。 Pin 6 of the operational amplifier 28 is an analog signal output terminal.

[5]传感器的机械部件与传感部件结构关系:传感器的机械部件包括电机外壳1,传感器的传感部件包括多个永磁块2、霍尔3、单片机31、数模转换器27和运算放大器28;传感部件中依次相连的霍尔3、单片机31、数模转换器27和运算放大器28四个电子元件设在一块电路板59上;电路板59上的霍尔3设在能感受永磁块2的磁通量,并且霍尔3能根据磁通量变化输出变化电信号的位置。把依次相连的霍尔3、单片机31、数模转换器27和运算放大器28四个电子元件设在一块电路板59上,有利于这四个电子元件集成化、模块化、小型化,方便把这四个电子元件整体统一固定在车架53上。 [5] The structural relationship between the mechanical parts of the sensor and the sensing parts: the mechanical parts of the sensor include the motor casing 1, and the sensing parts of the sensor include a plurality of permanent magnet blocks 2, Hall 3, single-chip microcomputer 31, digital-to-analog converter 27 and computing Amplifier 28; Hall 3, single-chip microcomputer 31, digital-to-analog converter 27 and operational amplifier 28 four electronic components connected successively in the sensing part are arranged on a circuit board 59; The magnetic flux of the permanent magnet block 2, and the Hall 3 can output and change the position of the electric signal according to the change of the magnetic flux. The Hall 3, the single-chip microcomputer 31, the digital-to-analog converter 27 and the operational amplifier 28 four electronic components that are connected in sequence are arranged on a circuit board 59, which is conducive to the integration, modularization, and miniaturization of these four electronic components. These four electronic components are integrally fixed on the vehicle frame 53 .

Claims (10)

1. on motor casing, establish the morpet of adjustable magnetic patch position transduser, comprise Electrical Bicycle and sensor, on the wheel of Electrical Bicycle, there is motor (30), motor (30) has motor housing (1), Electrical Bicycle has vehicle frame (53), battery on Electrical Bicycle (55) connects electric machine controller (29), and electric machine controller (29) connects the motor (30) on wheel; It is characterized in that:
The structure of sensor and the annexation of parts are as follows:
Sensor comprises sensitive member, power-assisted model treater (21), D and A converter (27) and the op amp (28) connecting successively;
[ 1 ] sensitive member is the rotational motion of motor housing (1) to be become to the element of square-wave signal output;
Sensitive member comprises a motor housing (1) and many pieces of permanent magnets (2), on motor housing (1), be fixedly installed many pieces of permanent magnets (2), these many pieces of permanent magnets (2) are distributed in an annular arrangement (6) scope, between the circular rail trace (5-1) of annular arrangement (6) and outer ring trajectory (5-2), have at least a circular rail trace to run through whole permanent magnets (2); Interior circular trajectory (5-1) and outer ring trajectory (5-2) are concentric circles, have at least two pieces of permanent magnets (2) to become to be dislocatedly distributed; Being dislocatedly distributed is radius mode or spacing a certain of mode that be dislocatedly distributed that be dislocatedly distributed; Or there are the radius mode that is dislocatedly distributed, an array mode that has again spacing to be dislocatedly distributed;
The radius mode of being dislocatedly distributed is: have at least two magnetic patch (2) not identical to the distance at circle center, interior circular trajectory (5-1) place;
The spacing mode of being dislocatedly distributed is: the distance between adjacent two magnetic patch (2) is permanent magnets spacing (7); Have at least the length of two permanent magnets spacing (7) not identical;
Between interior circular trajectory (5-1) and outer ring trajectory (5-2), have a bar hole (8) at least, be provided with permanent magnets (2) in bar hole (8), permanent magnets (2) can be fixed on any position in bar hole (8);
In certain one side of motor housing (1), the magnetic polarity of adjacent two pieces of permanent magnets (2) is contrary, and simultaneously to go up the magnetic polarity distribution mode of whole permanent magnets (2) be the N utmost point, the S utmost point, the N utmost point, the S utmost point, the N utmost point, the S utmost point for certain of motor housing (1)
Also comprise a Hall (3), Hall (3) is positioned at certain one side of motor housing (1), and Hall (3) is located at the position that approaches permanent magnets (2) and can experience permanent magnets (2) magnetic flow, between Hall (3) and permanent magnets (2), has spacing; Hall (3) is opposite magnetic polarities to be produced to the Hall of square wave output signal;
[ 2 ] power-assisted model treater (21) is the digital signal of motor housing (1) rotation to be become to the signal form conv of power-assisted model digital signal;
Power-assisted model treater (21) comprises analogue to digital conversion and the wide recognizer of ripple (22), power-assisted starting point finder (23), magnetic patch rotating speed calculator (24), power-assisted model memory device (25) and power-assisted model calculator (26);
Analogue to digital conversion is connected with sensitive member with the wide recognizer of ripple (22), the width of each square wave identified the square-wave signal of Hall in sensitive member (3) input by the wide recognizer of analogue to digital conversion and ripple (22), each square-wave signal is become to different digital signals, each square wave is marked, and the wide recognizer of analogue to digital conversion and ripple (22) output mark has the magnetic patch motion digital signal of magnetic patch position order;
Analogue to digital conversion is connected with magnetic patch rotating speed calculator (24) with power-assisted starting point finder (23) respectively with the wide recognizer of ripple (22), and power-assisted starting point finder (23) is connected with magnetic patch rotating speed calculator (24); Magnetic patch rotating speed calculator (24) has the magnetic patch motion digital signal of magnetic patch position order to calculate the rotating speed of motor housing (1) with the mark of analogue to digital conversion and the wide recognizer of ripple (22) input, and the rotating speed digital signal of motor housing (1) is passed to power-assisted starting point finder (23), power-assisted starting point finder (23) has the magnetic patch motion digital signal of magnetic patch position order with mark, with these two signals of the rotating speed digital signal of motor housing (1) determine some squares wave corresponding to power-assisted starting point under certain speed conditions, determine power-assisted starting point magnetic patch;
Power-assisted starting point finder (23) is all connected with power-assisted model calculator (26) respectively with magnetic patch rotating speed calculator (24), and power-assisted model memory device (25) is also connected with power-assisted model calculator (26); The power-assisted starting point magnetic patch of power-assisted starting point finder (23) for power-assisted model calculator (26), select a certain power-assisted pattern function in power-assisted model memory device (25) with these two conditions of motor housing (1) rotating speed with magnetic patch rotating speed calculator (24), and by power-assisted starting point magnetic patch and these two condition substitution power-assisted pattern functions of motor housing (1) rotating speed, calculate the power-assisted model digital signal that is applicable to these two conditions, i.e. power-assisted model calculator (26) output power-assisted model digital signal;
[ 3 ] D and A converter (27) is power-assisted model digital signal to be converted to the analog signal of power-assisted model;
Power-assisted model calculator (26) is connected with D and A converter (27), and D and A converter (27) converts power-assisted model simulation signal to the power-assisted model digital signal of power-assisted model calculator (26);
[ 4 ] op amp (28) is the power-assisted model simulation signal of D and A converter (27) to be converted to the power-assisted model simulation signal of the range of nominal tension;
The annexation of sensor and Electrical Bicycle is: Hall (3) is fixed on the position that can experience permanent magnets (2) magnetic flow on the vehicle frame (53) that approaches permanent magnets (2), and the signal output lead of op amp in sensor (28) is connected with the signal input part of the electric machine controller (29) of Electrical Bicycle.
2. on motor casing according to claim 1, establish the morpet of adjustable magnetic patch position transduser, it is characterized in that: also comprise thermally dependent resistor R6, thermally dependent resistor R6 is connected between the input end and mouth of op amp (28).
3. on motor casing according to claim 2, establish the morpet of adjustable magnetic patch position transduser, it is characterized in that: power-assisted model treater (21) is micro controller system (31), is connected with clock circuit (32) on micro controller system (31);
The mechanical part of sensor and sensing element structural relation: the mechanical part of sensor comprises motor housing (1), the sensing element of sensor comprises a plurality of permanent magnets (2), Hall (3), micro controller system (31), D and A converter (27) and op amp (28); In sensing element, connected Hall (3), micro controller system (31), D and A converter (27) and (28) four electronic components of op amp are located on a circuit card (59) successively; The position that circuit card (59) is located on vehicle frame (52) can make Hall (3) experience the magnetic flow of permanent magnets (2), and the position of circuit card (59) makes the Hall (3) can be according to the movement output electric signal of permanent magnets (2).
4. on motor casing according to claim 3, establish the morpet of adjustable magnetic patch position transduser, it is characterized in that: Hall (3) is UGN3075, power-assisted model treater (21) is AT89S52 micro controller system (31), and D and A converter (27) is ADC-C8E; Op amp (28) is OF-17F, between input end 2 pin of OF-17F op amp (28) and mouth 6 pin, is connected with thermally dependent resistor R6; Each parts annexation is as follows:
Signal output part 3 pin of Hall (3) connect 12 pin INTO [ P32 ] of micro controller system (31);
12 pin B8 of 39 pin P00 linking number weighted-voltage D/A converters (27) of micro controller system (31);
11 pin B7 of 38 pin P01 linking number weighted-voltage D/A converters (27) of micro controller system (31);
10 pin B6 of 37 pin P02 linking number weighted-voltage D/A converters (27) of micro controller system (31);
9 pin B5 of 36 pin P03 linking number weighted-voltage D/A converters (27) of micro controller system (31);
8 pin B4 of 35 pin P04 linking number weighted-voltage D/A converters (27) of micro controller system (31);
7 pin B3 of 34 pin P05 linking number weighted-voltage D/A converters (27) of micro controller system (31);
6 pin B2 of 33 pin P06 linking number weighted-voltage D/A converters (27) of micro controller system (31);
5 pin B1 of 32 pin P07 linking number weighted-voltage D/A converters (27) of micro controller system (31);
2 pin of 4 pin concatenation operation amplifiers (28) of D and A converter (27);
3 pin of 2 pin concatenation operation amplifiers (28) of D and A converter (27);
6 pin of op amp (28) are analog signal output.
5. according to claim 1-4, on the motor casing described in any one, establish the morpet of adjustable magnetic patch position transduser, it is characterized in that: bar hole (8) is the structure of arc, the arc place circle of bar hole (8) is concentric circles with interior circular trajectory (5-1).
6. according to claim 1-4, on the motor casing described in any one, establish the morpet of adjustable magnetic patch position transduser, it is characterized in that: bar hole (8) is oblique structure, bar hole (8) two ends are unequal with the distance in the center of circle at interior circular trajectory (5-1) place respectively.
7. on motor casing according to claim 6, establish the morpet of adjustable magnetic patch position transduser, it is characterized in that: have at least the length of a permanent magnets spacing (7) to be not equal to other any one permanent magnets spacing (7).
8. on motor casing according to claim 7, establish the morpet of adjustable magnetic patch position transduser, it is characterized in that: a certain inward flange of bar hole (8) is provided with two or more profiles of tooth protruding (9).
9. on motor casing according to claim 7, establish the morpet of adjustable magnetic patch position transduser, it is characterized in that: Hall (3) is located between interior circular trajectory (5-1) and outer ring trajectory (5-2).
10. on motor casing according to claim 7, establish the morpet of adjustable magnetic patch position transduser, it is characterized in that: motor housing (1) is provided with visable indicia.
CN201210263463.8A 2012-07-28 2012-07-28 Moped with adjustable magnetic block position sensor on motor casing Expired - Fee Related CN102795297B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210263463.8A CN102795297B (en) 2012-07-28 2012-07-28 Moped with adjustable magnetic block position sensor on motor casing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210263463.8A CN102795297B (en) 2012-07-28 2012-07-28 Moped with adjustable magnetic block position sensor on motor casing

Publications (2)

Publication Number Publication Date
CN102795297A CN102795297A (en) 2012-11-28
CN102795297B true CN102795297B (en) 2014-02-05

Family

ID=47194660

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210263463.8A Expired - Fee Related CN102795297B (en) 2012-07-28 2012-07-28 Moped with adjustable magnetic block position sensor on motor casing

Country Status (1)

Country Link
CN (1) CN102795297B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN87216697U (en) * 1987-12-19 1988-11-02 国营青岛纺织机械厂 Rotating speed hall sensor
JP2002154473A (en) * 2000-11-20 2002-05-28 Honda Motor Co Ltd Magnetic detection type sensor
CN101398290A (en) * 2007-09-25 2009-04-01 杰克陈 Angle measurement device
CN201273819Y (en) * 2008-08-07 2009-07-15 深圳万讯自控股份有限公司 Hall potentiometer used for execution mechanism
CN101776464A (en) * 2010-03-10 2010-07-14 株洲易力达机电有限公司 Self-carried absolute position detecting device carried of motor and detecting method
CN202783629U (en) * 2012-07-28 2013-03-13 成都宽和科技有限责任公司 Power-assisted bicycle with adjustable magnetic block position sensor on motor casing

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06109750A (en) * 1992-09-29 1994-04-22 Mazda Motor Corp Rotary sensor

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN87216697U (en) * 1987-12-19 1988-11-02 国营青岛纺织机械厂 Rotating speed hall sensor
JP2002154473A (en) * 2000-11-20 2002-05-28 Honda Motor Co Ltd Magnetic detection type sensor
CN101398290A (en) * 2007-09-25 2009-04-01 杰克陈 Angle measurement device
CN201273819Y (en) * 2008-08-07 2009-07-15 深圳万讯自控股份有限公司 Hall potentiometer used for execution mechanism
CN101776464A (en) * 2010-03-10 2010-07-14 株洲易力达机电有限公司 Self-carried absolute position detecting device carried of motor and detecting method
CN202783629U (en) * 2012-07-28 2013-03-13 成都宽和科技有限责任公司 Power-assisted bicycle with adjustable magnetic block position sensor on motor casing

Also Published As

Publication number Publication date
CN102795297A (en) 2012-11-28

Similar Documents

Publication Publication Date Title
CN202783677U (en) Power-assisted bicycle with unevenly distributed sensors of multiple magnetic blocks in the housing
CN102826162B (en) Moped with sensor with unevenly distributed positions of magnetic blocks on chain wheel
CN202783658U (en) A power-assisted bicycle with sensors distributed unevenly by multiple magnetic blocks in the housing
CN102798407B (en) Position adjustable sensor with multiple magnets in the housing
CN202783629U (en) Power-assisted bicycle with adjustable magnetic block position sensor on motor casing
CN202783673U (en) Power-assisted bicycle with adjustable sensor for magnetic block position and magnetic flux on motor casing
CN202783654U (en) Power-assisted bicycle with sensor for uneven distribution of magnetic block position on motor housing
CN202783672U (en) Power-assisted bicycle with adjustable magnetic block position sensor on flywheel
CN202783633U (en) Multi-magnet position-adjustable turntable sensor for power-assisted bicycles
CN102795297B (en) Moped with adjustable magnetic block position sensor on motor casing
CN202783646U (en) Power-assisted bicycle equipped with adjustable magnetic block position turntable sensor
CN202783678U (en) Power-assisted bicycle with adjustable sensor for magnetic block position and magnetic flux in housing
CN102785742B (en) A power-assisted bicycle with multi-magnetic blocks unevenly distributed magnetic flux sensors on the flywheel
CN202783682U (en) Power-assisted bicycle equipped with multi-magnet position and magnetic flux adjustable turntable sensor
CN202783653U (en) Power-assisted bicycle equipped with multi-magnet position and magnetic flux change turntable sensor
CN102826187A (en) A power-assisted bicycle with sensors distributed unevenly by multiple magnetic blocks in the casing
CN202783663U (en) Position adjustable sensor with multiple magnets in the housing
CN102795306B (en) Power-assisted bicycle equipped with multi-magnetic blocks and evenly distributed turntable sensors
CN202783679U (en) A power-assisted bicycle with multi-magnetic blocks unevenly distributed magnetic flux sensors on the flywheel
CN102826182B (en) Power-assisted bicycle with adjustable sensor for magnetic block position and magnetic flux on motor housing
CN202783634U (en) Multi-magnet position and magnetic flux adjustable turntable sensor for power-assisted bicycles
CN202783636U (en) Power-assisted bicycle equipped with multi-magnetic blocks and unevenly distributed magnetic flux turntable sensor
CN102826168B (en) Moped with multi-magnetic block position and magnetic flux change sensor on motor casing
CN102795305B (en) Power-assisted bicycle equipped with adjustable magnetic block position turntable sensor
CN102785752B (en) Booster bicycle with multi-magnetic block position and magnetic flux change sensor on chain disc

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CB03 Change of inventor or designer information

Inventor after: Lu Hongxian

Inventor before: Huang Qiang

CB03 Change of inventor or designer information
TR01 Transfer of patent right

Effective date of registration: 20180103

Address after: 535000 the Guangxi Zhuang Autonomous Region, Qinzhou, Qinnan District Building Street, No. 9

Patentee after: QINZHOU INDUSTRY Research Institute

Address before: 510640 Guangdong City, Tianhe District Province, No. five, road, public education building, unit 371-1, unit 2401

Patentee before: GUANGDONG GAOHANG INTELLECTUAL PROPERTY OPERATION Co.,Ltd.

Effective date of registration: 20180103

Address after: 510640 Guangdong City, Tianhe District Province, No. five, road, public education building, unit 371-1, unit 2401

Patentee after: GUANGDONG GAOHANG INTELLECTUAL PROPERTY OPERATION Co.,Ltd.

Address before: 610000, Sichuan District, Longquanyi City, Chengdu District Street, Jackie Chan Road, paragraph two, No. 888, Chengdu open area A10 (building) 3, No. 301

Co-patentee before: Huang Qiang

Patentee before: CHENGDU KIND TECHNOLOGY Co.,Ltd.

Co-patentee before: Gao Song

Co-patentee before: Ouyang Yanxiong

TR01 Transfer of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140205

Termination date: 20180728

CF01 Termination of patent right due to non-payment of annual fee