The post discusses and tries to solve a common car door opening issue which may be seen in quite a few old model cars. The proposed circuit of a car door close optimizer was requested by Mr. Mark Rothwell.
Technical Specifications
Just stumbled across your site, hope you can help/advise me?I have a 1999 Mercedes SLK and it has a well-known design flaw, the doors are frameless and the windows have the closed position set mechanically by a small metal bracket glued to the window within the door which stops the window at the correct position when closed so when the doors are opened and closed the window just catches the rubber seal as the door closes and allows the window to slide into the recess.
问题是这些括号允许th脱落e window to close a couple of mm higher than designed which isn’t a problem for the window mech but this causes the window to catch on the rubber door seal and not sit into the seal recess properly, the only way to close the door properly is to drop the window slightly before closing the door.
当门关闭时,我的车上的门密封在窗户上擦了窗户,并且关闭的窗户将窗户固定在门密封的外部,所以我有一个想法将计时器电路置于掉落的窗户打开门时很少有毫米,然后在门关闭后再次关闭,理想情况下可以被内部灯的地面信号激活(我假设它的地面sig但尚未检查)
BMW 3 series (and poss others) have for many years had such a system incorporated in the car at manufacture that drops the window a couple of mm when the door is opened and closes the window when the door is closed and I think this car should have had this system when designed!
我的想法是使用555个计时器电路来实现这一目标,但是我上次涉足电路设计的时间是20年前,这让我头疼,试图记住这一理论,任何帮助或建议都将受到很大的赞赏,尽管most modern cars have now taken BMW’s initiative and now include this function there may even be a market out there for such a seal saving device on older cars?
How the Circuit is Supposed to Work
1)门打开,从门开关施加地面信号
2)暂时将继电器或输出施加 +12v 20a,以对大约500毫秒(安装时可能需要调整此时间),以暂时将窗口向下发送(打开)(打开)分数(此输出要连接到窗口的打开按钮,车)
3) On closing the door, ground signal removed
4)暂时将继电器或输出施加 +12V 20A约1秒钟(安装时可能需要调整此时间)以暂时发送窗口(闭合)(将其连接到汽车的窗口关闭按钮)
任何建议,感谢!
标记
该设计:
The presented car door close optimizer circuit is simple enough, and self explanatory. As soon as the car door is opened, the transistor receives the required negative base bias triggering the attached DPDT relay.
The DPDT relay contacts along with the 1000uf capacitors are wired such that the output across the capacitors changes polarity and switches ON the load only momentarily every time the door is opened or closed.
极性的变化是为了使电容器充电和放电过程所需的变化,这又需要将瞬时脉冲传递到连接的载荷所需的转移。
上面的设计已由Mark先生进行了适当的修改,让我们进一步了解:

我打算将电路连接到窗口开关的触点,IVE与一些其他组件一起附加了JPG,我认为这将与其他螺线管输出驱动器2中继2相关的额外继电器一起工作capacitors giving the required cut off releasing the relays 2&3 that I’ve added at the correct timing.
The diodes I’ve added after the original solenoid outputs in your circuit are to protect the electrolytic from reverse polarity with the GND presented through the coils of relays 1 & 2 when the first relay is not energised (but I’m not completely certain they are needed?).
Its not shown on the diagram but I later thought I could achieve a slight extension to the close relay energised time by adding an electrolytic cap across the relay coil of relay 3 and this will ensure the windows are always fully closed when the door is shut.
Something I have realised is when the windows are open in summer it means the circuit will always close the windows slightly when closing the door but I think that is a minor problem compared to currently wearing out the seals and the door not closing properly,
如果一切正常,我可能会看看我是否可以从某个地方点击我可以用来在屋顶掉落或降低窗户时骑电路的信号。
I will have to get it built and test and will let you know.
Following are some wonderful images and video sent by Mr. Mark, backs up the above discussion, and provides a clearer view of the involved operations.
图片和视频提供:马克·罗斯韦尔先生

接线校正
A closer inspection shows that the modified circuit of the door close optimizer sent by Mr. Mark needs a major correction otherwise it won't work as intended.
The issue is in the termination of the 1000uF capacitor to the car relays.
Since the capacitors and the circuit relay are designed for a dual polarity function, needs to be implemented such that the car relays are able to switch momentarily in response to both ON/OFF conditions of the circuits DPDT relay.
在电容器输出和汽车中继之间包含一个简单的桥梁二极管网络可以有效解决该问题,如下所示

先生,这个迷你视频很出色!我喜欢它
谢谢鲍伦,我很高兴您喜欢它。
Hello sir swagatam
How can i contact you.i need youre help with this.i want to build a window control.
Best regards
Rubenblockbmw@hotmail.com
鲁本,请随时在这里告诉我详细信息,我会尽力帮助您。
SLK至少是R170型号,使用一个用于窗户的一根电线控制,200/220OHMS上升,740/820OHMS下降。Windows的继电器在ECU盒子内,并在PCB中焊接。
they’re miniature double coil relays, double circuit.
The values of 200 and 740ohms, you get them, if you remove the switches from the car, and measure them. that’s how i discover how to control them. i have use the commercially available near values. if you shunt to ground the wire from window it goes down at once.
如果你想to do both at once, need to use a pair of diodes (signal diodes, will do), in each wire, join them in the ends and use a 100ohm resistor. all resistors 1/4w. it’s just a signal, the heavy load its take care by the relays (8amps when moving, and then +/- 15amps, when they reach the down or up, then the ecu disconnect them)
the windows switches have only 3 wires in this car:
1基地
2 illumination (illuminated switches)
3 window control (it’s the only one that matters)
R.
Thanks for this interesting information, appreciate it!!
你好,斯瓦加塔姆
我看到您发表了我对此的评论,如果您想更好地说明它,我可以发送一些拆卸开关,ECU盒打开的fotos,以便更好地看到控制窗户的继电器(后方(Small)和Mains Windows)。当我有一点时间时,会调查门开关是否会连接到ECU,或者是否要在这款汽车上进行PSE泵,没有电锁,所有的锁,都可以使用气压。
让我知道,如果您想要他们。
For the same car, i’d like you opinion in a circuit to bypass a limitation of it: it can only open the roof, if the speed it’s very low, there are two wires, that go to the same ecu box, one from ABS, and the other from Speed Sensor, have bypass this, but i’d like a more “elegant way” to this, the way, in the way i have it, it opens the roof at any speed, because the signal wire it’s cheated. I would like if i can, somehow to “adjust it”, so it can operate only until 30miles/50kmh. it’s a lot of stress to it.
很久以前,这个家伙做到了,并对它提出了一些想法,模式,PCB设计,代码,组件等
最好使用Google Translator,因为它是德语,无法阅读它,而英文部分则不包含所有信息
http://www.simpleroof.de/?Projekte:EasyRoof_SLK_R170:Funktion
full diagram of it
http://www.simpleroof.de/?Projekte:EasyRoof_SLK_R170:Schaltplan_%26amp%3B_Layout
there’re a page with code too.
如果您可以提出建议,那么对此的某种想法将欣赏它。
Or how much do you take, to make it.
在某个时候,我想要整个电路,但是就像我有两个Arduinos一样,决定尝试一下,两周后,已经将其连接到汽车上,以进行一些真实的测试。再花两个,以了解有关它和微调的更多信息,屋顶,窗户,汽车锁的开口,模拟#2上的点火开关(唯一的方法,屋顶已激活)。
Thank you.
Keep the good work.
R.
嗨,罗伯托,
if your basic requirement is to operate the motor with a controlled speed, then this could be done through a simple IC 555 PWM circuit as shown in the following article.
//www.addme-blog.com/2012/05/make-this-pwm-based-dc-motor-speed.html
instead of feeding the motor with a direct DC from the ECU, make it through the above circuit and this will allow the motor to run at the desired controlled speed as per the setting on the potentiometer
the circuit that you have referred looks huge and it won’t be possible for me to go through it due to lack of time, sorry about that, if time permits I will surely take a look into it.
Hi Swagatam,
回答。
但是我不想要,也不认为这是一个好主意,直接控制屋顶的液压泵。
它具有太多的变量,ECU控制了所有变量(电池状态(如果低,无法运行),液压温度,电动机温度,所有屋顶开关(超过12)等)。
也许是一个简单的电路,它连接到ABS和速度传感器(现在所有汽车,都有此),然后将其转换为……为电压,一些“电压转换器的频率”,如果超过电压预调节值,断开电路,在某些电位计之前对其进行测试,然后在所需的值之后,用固定电阻替换它……只是一个想法。
滚动缓慢或停放时的频率为3Hz,然后将其延伸到21Hz,阻止了操作。
I just like a simple thing, to control this, as i said, i have bypass this by-force, it opens the roof, from my tests at 100kms/h, and if the speed is higher, it will open too, but the structure of it, it is not designed to that “wind force”.
Do you have any frequency to voltage circuit, so i can make it on breadboard and test it?
谢谢你的时间。
Cheers,
Roberto
罗伯托(Roberto)是一个好主意,在不干扰内部电路的情况下控制频率绝对是可以使用频率来使用电压转换器电路的频率,例如:
//www.addme-blog.com/2012/05/make-this-simple-tachometer-circuit.html
You can use the last circuit, its output will proportionately rise as the input frequency rises.
在此链接下可以获得更多:
//www.addme-blog.com/?s=tachometer
但是,您打算如何获取频率数据,这是通过某种轮子和插槽布置吗?
再一次问好,
不,如果您查看此图片:i.ebayimg.com/images/g/kuqaaoswdkty1w1o/s-l1600.jpg
on pins 56 its ABS sensor and on 74 its the SPEED sensor, i have it hijacked, this way: cut both wires, on ecu side shunted both, in the end of the shunt, add a small resistor (200~600ohm 1/4w, will do the job) in the other end of resistor solder the speed sensor, leave abs wire unconnected. since “vital signals” from this are connected before they get on ecu (to speedmeter, to ABS system, ESP (stability System) ) it’s not a problem for the safety of the car.
it’s only very light signals that go here, in the bottom of pic, you can see too, the larger pins, its where are the relays for windows, on top, for example windshield and water spray relays, this way, i have the roof opening at any speed!
请记住,在我获得Arduino之前,用原始钥匙来控制屋顶和窗户,一直在使用4017,以“阅读” FOB输入中的信号……这是一个安静的有趣的IC…。用汽车脉冲ABS或速度或两者兼而有之,而不是最初的输出,而是中间或最后一个……也许我得到了一个简单的电路分隔器…
have to measure the voltage in those wires, maybe… its 12v like the rest of it, but like its a only a signal, using a transistor to have 12v again, on output of 4017, and inject the signal again on ecu… what do you think of this ? the frequency it’s low… max of 21hz, so no special transistor needed, i think.
Cheers,
R.
sorry, I am having difficulty interpreting the whole design quickly, you said you needed a frequency to voltage converter which I provided you in the last comment, so how do you plan to use it with your existing system?
对不起,回答迟到,但是有点忙,我在使用Arduino的廉价远程FOB屋顶和窗户进行了微调,您可以在这里看到它:https://www.youtube.com/channel/UC0Ly0UW-AOGnUHxjq-4hH7Q/featuredand here, in older posts have my first testshttps://vimeo.com/slkr170,在其中一个,您可以看到UNO和一些盾牌,躺在仪表板上。它的商业版本超过300欧元。
回到主题……我可以/如何更换仪表,并使用某种电路,如果电压达到一个值,请触发继电器(DPDT)。
this way, the “bypass” speed is always active, the speed and abs sensors are by default on NC relay pins, when the speed gets higher, example 50kms, it activate relay, and it goes as a standard connection, as the wires never been cut.
If i could upload some jpgs, it was easier to see, than i can describe it.
Never use a frequency to voltage, but i think… freq. goes high… voltage too; is that how it works?
Regards,
Roberto
OK thanks, understood, yes a frequency to voltage converter will do this for you, but from where would you access the frequency input for the converter?
来自ABS和速度传感器的信号将连接到ECU框,因为我已经将这两个删除了速度限制,所以我的想法是将Volt./freq的转换器放置。在我从汽车织机和ECU盒中切割的电线之间(已经切割了它们)。
也许需要制作两个转换器,每个行(ABS/速度传感器)必须进行更多研究。我的示波器很小,希望我可以“看到”它的行为。
R.
I don’t think the F to V converter will work in that way, the converter will have to be fed with a frequency at its specified input, and it will have to be supplied with a separate operating voltage, and its output will need to be configured with a transistor stage for generating the required cut-off signals whenever a high frequency is detected……
I am afraid, by inserting it between the wires will not help
Have to try it…
带有蜂鸣器位置的万用表,并停放了汽车,您可以听到“脉动”。必须拉动汽车内部的电线,并在开车时对其进行测试,以了解其行为方式。
I think some how, don’t know it yet, it should work.
如果您快速看一下模式,在左侧,有一个继电器(唯一的一个),在我看来,它的连接时,我打算这样做。
http://www.simpleroof.de/images/easyroof.png
其中ABS = ABS信号和TACHO =速度传感器,剪切和切割后的内外参考。这是在线唯一可用的模式……但是我认为它们都以相同的方式工作,即商业版本,都切割了两条电线以控制打开屋顶的速度。
Cheers,
R.
好的:),如果您确定的话,您可以继续前进,但是电路需要12V供应才能功能